NexusFi: Find Your Edge


Home Menu

 





Ninja Live/Demo vs Replay differences


Discussion in NinjaTrader

Updated
    1. trending_up 3,545 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?
CFTC Rewrites the Rulebook -- Kalshi Cracks $1B Non-Spor …
Prediction Markets & Event Contracts
CME Launches Bitcoin Volatility Futures June 1 -- First …
Cryptocurrency
Beijing Summit Closes: Xi Pledges Hormuz Help -- $1.14B …
Prediction Markets & Event Contracts
Bookmap Global Plus Lifetime + Lifetime Addons For Sale
Platforms and Indicators
Warsh Confirmed 54-45 on PPI Day -- 97% Say He Holds in …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
1 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