NexusFi: Find Your Edge


Home Menu

 





playback ninja trader 8 errors


Discussion in NinjaTrader

Updated
    1. trending_up 2,247 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 
dmr1's Avatar
 dmr1 
Lexington KY
 
Experience: Advanced
Platform: ninja
Trading: Cl Gold
Posts: 13 since Nov 2018
Thanks Given: 12
Thanks Received: 1

Hi! I don't get it . Running simulation nasdaq futures in playback and the strategy is stopped almost all the time. "Sell stop or sell stop limit can't be placed above the market" what does it mean?


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
400 Million Barrels to Address Middle East Supply Disruption
Commodities
May 26 Deadline Dies at 7.5% as US Strikes Iran During C …
Prediction Markets & Event Contracts
Trump Truth Social Fires Hormuz From 10% to 59% -- Arsen …
Prediction Markets & Event Contracts
April CPI Preview: +3.7% YoY Expected at 8:30 AM ET -- C …
Traders Hideout
Iran Talks Final Stages -- Two VLCCs Exit Hormuz, Record …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (permalink)
 
Madness's Avatar
 Madness 
Tampa Florida
 
Experience: Intermediate
Platform: ThinkOrSwim, NinjaTrader
Broker: TD Ameritrade, NinjaTrader
Trading: ES, NQ, CL, NG, Equities
Frequency: Daily
Posts: 25 since Mar 2020
Thanks Given: 22
Thanks Received: 43


dmr1 View Post
Hi! I don't get it . Running simulation nasdaq futures in playback and the strategy is stopped almost all the time. "Sell stop or sell stop limit can't be placed above the market" what does it mean?

That message usueally means you tried to place a stop loss above the cuerrent market price.


Reply With Quote
  #3 (permalink)
 
dmr1's Avatar
 dmr1 
Lexington KY
 
Experience: Advanced
Platform: ninja
Trading: Cl Gold
Posts: 13 since Nov 2018
Thanks Given: 12
Thanks Received: 1


I understand .
If it is like that means that the strategy doesn't work in real time.
I think then that I need a dedicated server - unless their algos will beat me ...


Started this thread Reply With Quote
  #4 (permalink)
 
dmr1's Avatar
 dmr1 
Lexington KY
 
Experience: Advanced
Platform: ninja
Trading: Cl Gold
Posts: 13 since Nov 2018
Thanks Given: 12
Thanks Received: 1

https://ninjatrader.com/support/helpGuides/nt8/?realtimeerrorhandling.htm

Seems that is very common .
And a long explanation from ninja lol


Started this thread Reply With Quote
  #5 (permalink)
 
Madness's Avatar
 Madness 
Tampa Florida
 
Experience: Intermediate
Platform: ThinkOrSwim, NinjaTrader
Broker: TD Ameritrade, NinjaTrader
Trading: ES, NQ, CL, NG, Equities
Frequency: Daily
Posts: 25 since Mar 2020
Thanks Given: 22
Thanks Received: 43


dmr1 View Post
https://ninjatrader.com/support/helpGuides/nt8/?realtimeerrorhandling.htm

Seems that is very common .
And a long explanation from ninja lol

I've never encountered that yet but good to know. Thanks


Reply With Quote
  #6 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,174 since Jan 2013
Thanks Given: 57,989
Thanks Received: 26,406


dmr1 View Post
Hi! I don't get it . Running simulation nasdaq futures in playback and the strategy is stopped almost all the time. "Sell stop or sell stop limit can't be placed above the market" what does it mean?


dmr1 View Post
I understand .
If it is like that means that the strategy doesn't work in real time.
I think then that I need a dedicated server - unless their algos will beat me ...


dmr1 View Post
https://ninjatrader.com/support/helpGuides/nt8/?realtimeerrorhandling.htm

Seems that is very common .
And a long explanation from ninja lol

You may have understood what I am going to say, in which case, my apologies for not realizing it. But in case the situation is still not clear...

A stop order that would be executed instantly is generally rejected by a broker because it's regarded as an error.

For instance, a sell stop at price x is executed when price goes to or below x. If it is placed above the current market, it should execute immediately, because the current market is below x. Which basically makes it not a very good stop. This order will generally be rejected.

So NT is doing the same thing in playback, and rejecting the order. Then the error handling assumes something is wrong and won't continue, unless you have code to handle the situation. If you were trading in real time, the broker would have rejected your order and you would either have to handle the error in code or the strategy would stop, because the default error handling would assume something had gone wrong.

You may have understood this, and my comment may be unnecessary.... ignore it if so, with my apologies for belaboring the point.

Bob.


When one door closes, another opens.
-- Cervantes, Don Quixote
Reply With Quote
Thanked by:




Last Updated on July 25, 2020


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts