NexusFi: Find Your Edge


Home Menu

 





Ninja Live/Demo vs Replay differences


Discussion in NinjaTrader

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




 
Search this Thread
  #1 (permalink)
kandlekid
College Point, NY (Queens)
 
Posts: 63 since Nov 2009
Thanks Given: 5
Thanks Received: 20

Hello All,

I've been involved with Ninjatrader for about a year now, working on my automated strategy. Doing some good stuff, I think. But one of the areas that I'm getting hung up on is the apparent difference between Ninja Live (Demo) and Replay data. This apparent difference when running a replay file prevents my strategies from firing when the live ones did.

To really see the difference, I decided to write a small ninjascript strategy. It just writes tick data to the file specified. I am attaching the ninajscript (PrintCurrentBidAsk.cs) and 2 sample output files from after hours testing (~10:30 pm EST) as NinjaTickTesting.zip. One sample is from the Live (i.e. demo feed), the other is from the corresponding replay file. Historical bars seem to be fairly consistent. You really see the difference by searching for "Tick 2" ... the 2nd tick of the 1st non-historical (i.e. real time) bar.

What think ye ?


Attached Files
Elite Membership required to download: NinjaTickTesting.zip
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
The Week Ahead -- CPI Wednesday With Oil Past $90, PPI L …
Traders Hideout
$12M Ceasefire Contract Goes Disputed as Bandar Abbas St …
Prediction Markets & Event Contracts
After $87M Settles NO: Irans Nuclear Redline Sets Up the …
Prediction Markets & Event Contracts
NYSE Owner ICE Invests in Crypto Exchange OKX at $25 Bil …
Cryptocurrency
CFTC Approves First US Bitcoin Perpetual Futures -- Kals …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 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)
kandlekid
College Point, NY (Queens)
 
Posts: 63 since Nov 2009
Thanks Given: 5
Thanks Received: 20

I wanted to show another difference in live/demo and replay charts. Take a quick look at my attached word file. As you can see, there may be a substantial difference in how calculations are made w/r to live/demo and replays (due to the starting point of the data).


Attached Files
Elite Membership required to download: ReplayVsLiveDifference.doc
Reply With Quote
  #3 (permalink)
kandlekid
College Point, NY (Queens)
 
Posts: 63 since Nov 2009
Thanks Given: 5
Thanks Received: 20


Answered my own question ... it appears that NT 7 will solve this issue (i.e.
live vs replay differences) ...

Market replay help - NinjaTrader Support Forum


Reply With Quote




Last Updated on December 2, 2009


© 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