Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy on Multiple Instruments

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

    Strategy on Multiple Instruments

    Hello,

    I’ve been searching through past threads but am unable to come to definitive answers.

    I have a question concerning how a strategy is applied to multiple instruments when selecting a given instrument list. Currently I’ve been using a strategy on a single instrument with majority buying power and am considering the feasibility of applying this strategy to other instruments.

    Ideally what I would like to do is continue trading at majority buying power on either Instrument A or B, whichever instance comes first. I don’t see trades very often but eventually the different instances will overlap, and I don’t want there to be any hangups, etc.

    My understanding is that when I select multiple instruments for the strategy to run on, they are each separate instances of the strategy. So if I reduced the order size to something that can be split among the different instruments, I should expect to see trading concurrently among the different instruments. No problems there. However, if I maintain an order size too large to be split among my buying power, it will attempt to trade concurrently and have errors. Is this understanding correct?

    Going from there, presumably I will need to implement a check to limit to a single open position across all instruments and outside of that strategy instance. I just want to check my understanding before going too much further.

    #2
    Hello,

    Thanks for your post.

    You could have each strategy instance (one instrument/strategy) read/write a common file to keep them in sync with the proper quantity. Alternative would be one strategy for all instruments.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Thanks for the reply.

      First of all, I'm glad to know that I'm on the right track in understanding how the strategy instances will interact with one another.

      What you described about using a common file is something I had been thinking of. I'll have to work out the exact solution... The most important thing was to make sure initially that I'm on the right track in my thinking.

      Thanks!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by trilliantrader, 04-18-2024, 08:16 AM
      4 responses
      18 views
      0 likes
      Last Post trilliantrader  
      Started by mgco4you, Today, 09:46 PM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by wzgy0920, Today, 09:53 PM
      0 responses
      9 views
      0 likes
      Last Post wzgy0920  
      Started by Rapine Heihei, Today, 08:19 PM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by Rapine Heihei, Today, 08:25 PM
      0 responses
      10 views
      0 likes
      Last Post Rapine Heihei  
      Working...
      X