NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

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.

Reply
 
Thread Tools Display Modes
Old 08-19-2010, 11:28 AM   #1
Oil_Trader
Senior Member
 
Join Date: Aug 2010
Location: http://twitter.com/Oil_Trader
Posts: 141
Thanks: 0
Thanked 0 times in 0 posts
Default Multi-Instrument Multi Strategy runtime

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?
Oil_Trader is offline  
Reply With Quote
Old 08-19-2010, 11:42 AM   #2
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

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.
NinjaTrader_RyanM is offline  
Reply With Quote
Reply

Tags
multi instrument runtime

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 11:39 PM.