• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Wrong sequence of standard executions

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

    Wrong sequence of standard executions

    Hello

    I don`t understand why Ninja comeback to OnBarUpdate (where I put orders like EnterLong() ) after sequence OnBarUpdate ->OnOrderUpdate. And don`t come to OnExecutionUpdate but have to
    I checked it by debugging with MS Studio with Sim101 like realtime.

    I need to check that current Position is Position.MarketPosition == MarketPosition.Long. But without OnExecutionUpdate() I dont see have this info in OnBarUpdate part or my strategy.

    Thanks a lot

    #2
    Hello sergey_z,

    Thank you for the post.

    I don`t understand why Ninja comeback to OnBarUpdate (where I put orders like EnterLong() ) after sequence OnBarUpdate ->OnOrderUpdate. And don`t come to OnExecutionUpdate but have to
    I am not certain I understand what you are asking with how you worded the question. Are you saying that OnExecutionUpdate does not get called? Can you provide more detail on this question?

    I need to check that current Position is Position.MarketPosition == MarketPosition.Long. But without OnExecutionUpdate() I dont see have this info in OnBarUpdate part or my strategy.
    I am also unsure what you mean with this question, you can generally use the OnExecutionUpdate to complete logic or this can be done from OnBarUpdate, what specifically are you seeing in the platform? Can you provide more detail about the problem?

    I look forward to being of further assistance.

    JesseNinjaTrader Customer Service

    Comment


      #3
      Because if your order is never filled, ninja trader would effectively stop.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by rickyblah12, Today, 08:17 PM
      0 responses
      4 views
      0 likes
      Last Post rickyblah12  
      Started by mrlucky1x, Today, 08:07 PM
      0 responses
      2 views
      0 likes
      Last Post mrlucky1x  
      Started by uday12, Today, 07:21 PM
      0 responses
      3 views
      0 likes
      Last Post uday12
      by uday12
       
      Started by voltlon, Today, 05:18 PM
      0 responses
      6 views
      0 likes
      Last Post voltlon
      by voltlon
       
      Started by Bobisam, Today, 04:57 PM
      0 responses
      8 views
      0 likes
      Last Post Bobisam
      by Bobisam
       
      Working...
      X