![]() |
|
|||||||
| 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 2010
Location: http://twitter.com/Oil_Trader
Posts: 141
Thanks: 0
Thanked 0 times in 0 posts
|
Fort NT7
When the system runs a multi-instrument / strategy simulation, do you calculate on a; A. Concurrent basis = each instrument runs on the time-series at the same time for position sizing / money management purposes B. Sequential basis = each instrument runs on a separate batch then you just aggregate the results? Which one is it? |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
This reference sample offers a good example of the sequence of OnBarUpdate() calls.
If you want to try on your own, use the following script: if (BarsInProgress == 0) Print (Time[0] + " First Series"); if (BarsInProgress == 1) Print (Times[1][0] + " Second Series"); That script will display the bars time stamp for the given series, depending on whether updates were called within context of primary series or secondary series. Let us know if this doesn't answer your question.
Ryan M
NinjaTrader Customer Service |
|
|
|
![]() |
| Tags |
| multi instrument runtime |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multi Instrument Strategy | AlePaciotti | Strategy Development | 3 | 02-24-2010 04:27 AM |
| Multi-Instrument Multi-Time frame strategy | Shansen | Strategy Development | 1 | 12-28-2009 06:09 AM |
| Questions regarding multi-day, multi instrument capability | bridenour | Strategy Development | 39 | 01-24-2009 07:08 PM |
| Designing multi-instrument, multi-timeframe | mikeyork | Strategy Development | 5 | 07-08-2008 08:47 PM |
| Multi Time Frame/Multi Instrument? | GreenTrade | Strategy Development | 3 | 01-14-2008 02:24 PM |