• 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

affected order buytocover

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

  • NinjaTrader_ChrisL
    replied
    Hello gbux11,

    Thank you for the note

    If the market moves quickly, setting stops and targets close to each other could cause this error. What you could do is implement error handling logic that will handle rejected orders.

    You need to set RealtimeErrorHandling = RealtimeErrorHandling.IgnoreAllErrors; in your strategy so that NinjaTrader does not disable the strategy and implement error rejection logic. There is a brief example on this help guide page:

    https://ninjatrader.com/support/help...orhandling.htm

    Please also see this help guide page on submitting protective orders in OnOrderUpdate and OnExecuitionUpdate.

    https://ninjatrader.com/support/help...and_onexec.htm

    Please let me know if I can assist further.

    Leave a comment:


  • gbux11
    started a topic affected order buytocover

    affected order buytocover

    Hi today i had a trade on which was in profit the stop was moved to breakeven plus one tick ... when the market turned the buy to cover order was affected which was a stop market order

    the affected order caused 100s of popup errors and froze the platform , it also disabled the strategy but did not exit the position which left me naked in the market with a frozen platform.

    how can i make sure when this happens that the position is closed. i understand fast ,moving markets can skip my stop level but i can not afford to be left naked without a stop in the market.

    Any help is appreciated

Latest Posts

Collapse

Topics Statistics Last Post
Started by tvaughan4, Yesterday, 10:46 PM
2 responses
12 views
0 likes
Last Post tvaughan4  
Started by digibob, Yesterday, 10:01 PM
3 responses
11 views
0 likes
Last Post digibob
by digibob
 
Started by ldissinger, Today, 12:55 PM
1 response
11 views
0 likes
Last Post ldissinger  
Started by pstrusi, Today, 09:06 AM
1 response
24 views
0 likes
Last Post marcus2300  
Started by vpzdcv, Today, 02:31 AM
0 responses
13 views
0 likes
Last Post vpzdcv
by vpzdcv
 
Working...
X