Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Position Handling on multiple instruments

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

    Position Handling on multiple instruments

    Hello,

    i am using Ninjatrader 7 and have got a question.

    If i run a strategy on multiple instruments at the same time, does Ninjatrader handle those strategy-orders as instances or do i have to query the instrument in onOrderUpdate and when i am using SetStopLoss etc?

    Thank you,
    mike

    #2
    Hello mk77ch,
    Thanks for posting today.

    I have received your inquiry and am looking in to currently. Thank you for your patience.
    Alex G.NinjaTrader Customer Service

    Comment


      #3
      thank you alex,

      same question applies to this topic:


      does Position.MarketPosition work over all instances or for each instrument i add the strategy?

      thank you,
      mike

      Comment


        #4
        Hello mk77ch,
        Thanks for your patience.

        To answer your first question
        does Ninjatrader handle those strategy-orders as instances or do i have to query the instrument in onOrderUpdate
        Each strategy is it's own instance. No the onOrderUpdate will only apply to that specific strategy and does not have to reference the instrument in onOrderUpdate.

        does Position.MarketPosition work over all instances or for each instrument i add the strategy?
        Position.MarketPosition is working for that specific strategy instance and does not referrence other strategies. This will return the position for that specific strategy instance and not other instances or other instruments.

        Please let me know if this resolves the question or let us know if we may be of further assistance for anything NinjaTrader.
        Alex G.NinjaTrader Customer Service

        Comment


          #5
          thank you very much!

          perfect, have a good day,
          mike

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by techgetgame, Yesterday, 11:42 PM
          0 responses
          8 views
          0 likes
          Last Post techgetgame  
          Started by sephichapdson, Yesterday, 11:36 PM
          0 responses
          2 views
          0 likes
          Last Post sephichapdson  
          Started by bortz, 11-06-2023, 08:04 AM
          47 responses
          1,613 views
          0 likes
          Last Post aligator  
          Started by jaybedreamin, Yesterday, 05:56 PM
          0 responses
          10 views
          0 likes
          Last Post jaybedreamin  
          Started by DJ888, 04-16-2024, 06:09 PM
          6 responses
          20 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Working...
          X