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 aa731, Today, 02:54 AM
          0 responses
          4 views
          0 likes
          Last Post aa731
          by aa731
           
          Started by thanajo, 05-04-2021, 02:11 AM
          3 responses
          470 views
          0 likes
          Last Post tradingnasdaqprueba  
          Started by Christopher_R, Today, 12:29 AM
          0 responses
          10 views
          0 likes
          Last Post Christopher_R  
          Started by sidlercom80, 10-28-2023, 08:49 AM
          166 responses
          2,237 views
          0 likes
          Last Post sidlercom80  
          Started by thread, Yesterday, 11:58 PM
          0 responses
          4 views
          0 likes
          Last Post thread
          by thread
           
          Working...
          X