Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Sending a trade signal every 5 seconds

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Sending a trade signal every 5 seconds

    Dear all,

    Is it possible to send a trading signal every 5 seconds to IB, as part of a automated trading strategy? If so, do you have any examples to provide?
    Thank you very much.

    Best,
    N.Lapo

    #2
    N.Lapo, thanks for the post, generally that would be possible, either based on a 5 second chart or by running a strictly time based timer signal via a script for example. I'm just not sure I understand what you want to create here, so would be helpful if you could clarify a bit more for us. Thanks.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Hello,

      Thanks for the reply.
      The idea is simply to send every x seconds a buy or sell signal between let's say 8:00:00 and 8:00:30 (8am and 30 secs).

      Best,
      N.Lapo

      Comment


        #4
        Thanks, yes generally that would be feasible. However if you work based on the bars (counting for example 1 second bars, or acting on a new 5 second bar) you would need to keep in mind that a trade has to happen in our event based framework to create new bars if time conditions warrant so. So even if time conditons would call for a new bar to be created, when no tick is seen then NT would not create a new bar for you. If you seek to strictly work on a time based event then a timer could be helping here.

        BertrandNinjaTrader Customer Service

        Comment


          #5
          Hello,

          Thanks for the information.
          Additional question: is there a way to create a 5sec chart?

          best,
          N.Lapo

          Comment


            #6
            N.Lapo, yes that would be possible if you have access to tick data from your broker / technology provider connected in NT. You can for example just type 5S on your chart to change to a 5 second chart.
            BertrandNinjaTrader Customer Service

            Comment


              #7
              Thanks for the help. Done for today
              Cheers

              N.Lapo

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by wzgy0920, 04-20-2024, 06:09 PM
              2 responses
              27 views
              0 likes
              Last Post wzgy0920  
              Started by wzgy0920, 02-22-2024, 01:11 AM
              5 responses
              32 views
              0 likes
              Last Post wzgy0920  
              Started by wzgy0920, 04-23-2024, 09:53 PM
              2 responses
              49 views
              0 likes
              Last Post wzgy0920  
              Started by Kensonprib, 04-28-2021, 10:11 AM
              5 responses
              193 views
              0 likes
              Last Post Hasadafa  
              Started by GussJ, 03-04-2020, 03:11 PM
              11 responses
              3,235 views
              0 likes
              Last Post xiinteractive  
              Working...
              X