![]() |
|
|||||||
| Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Aug 2011
Posts: 120
Thanks: 10
Thanked 0 times in 0 posts
|
Hi,
I'ts probably in the manual, but I just couldn't find it - from within a Ninjascript, how can I tell if I'm running a backtest or a live session? Thanks, Boaz |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,573
Thanks: 262
Thanked 1,018 times in 999 posts
|
Boaz, you could use Historical to distinguish between Live and Historical Data - http://www.ninjatrader.com/support/h...historical.htm
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Different between backtest and live | olingerc | Strategy Analyzer | 2 | 04-30-2011 09:21 PM |
| Backtest vs Live | lookOutBelow | Strategy Analyzer | 1 | 01-28-2011 08:45 AM |
| another live vs backtest question | greg814 | Automated Trading | 8 | 09-17-2010 03:48 PM |
| backtest vs live / replay issue | tradejockey | Version 7 Beta General Questions & Bug Reports | 5 | 12-13-2009 02:19 PM |
| live (sim) versus backtest | ceesvh | Strategy Analyzer | 4 | 07-04-2007 12:18 PM |