Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Tick Replay with multiple instruments

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • NinjaTrader_Jesse
    replied
    Hello swcooke,

    That is a release, I suppose that could be a little more specific. I believe this was release 8.0.15 this note is referring to.

    12882 Added NinjaScript Added overload for NinjaScript: AddDataSeries(string instrumentName), allowing same Bars Period with a different instrument
    Most users should be past that release at this point, I wouldn't believe this should be a concern any longer.

    I look forward to being of further assistance.

    Leave a comment:


  • swcooke
    replied
    A follow up question about the comment next to this method example:
    Code:
    AddDataSeries(string instrumentName) //only for R15 and higher
    What is R15? Is that a release number? If so, are we far enough passed the R15 release to assume that most users would be above that or should I be concerned about using the method this way?

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    Hello swcooke,

    I believe what this note is referring to is that there is no way in code to specify a series to not be included in TickReplay. That would mean that any of the overloads can be used, if you enable tick replay it will use force all of the series into that processing mode. There is nothing you need to change about the way you add the series.


    I look forward to being of further assistance.

    Leave a comment:


  • swcooke
    started a topic Tick Replay with multiple instruments

    Tick Replay with multiple instruments

    I am reading through the help guide topic about Tick Replay at this link:


    My question is about this comment in the Notes of that article:
    Tick Replay is forced for all series loaded, and there is NOT any method to reduce the number of calculations on a per series basis. In other words, you cannot mix and match tick replay series with non-tick replay series

    My question is, what is the appropriate method to use for AddDataSeries? Seems like you can call it any one of many ways:
    Code:
    AddDataSeries(string instrumentName, BarsPeriodType periodType, int period)
    AddDataSeries(string instrumentName, BarsPeriodType periodType, int period, MarketDataType marketDataType)
    AddDataSeries(string instrumentName, BarsPeriod barsPeriod)
    AddDataSeries(string instrumentName, BarsPeriod barsPeriod, string tradingHoursName)
    AddDataSeries(string instrumentName, BarsPeriod barsPeriod, string tradingHoursName, bool? isResetOnNewTradingDay)
    AddDataSeries(string instrumentName, BarsPeriod barsPeriod, int barsToLoad, string tradingHoursName, bool? isResetOnNewTradingDay)
    AddDataSeries(string instrumentName) //only for R15 and higher
    In other words, given that tick replay is going to be forced, do I need to specify tick data explicitly in my AddDataSeries method? If I used something different, like AddDataSeries("AAPL",BarsPeriodType.Minute,1) would it still force tick replay? Which method and parameters would you use?

Latest Posts

Collapse

Topics Statistics Last Post
Started by alifarahani, Today, 09:40 AM
6 responses
38 views
0 likes
Last Post alifarahani  
Started by Waxavi, Today, 02:10 AM
1 response
18 views
0 likes
Last Post NinjaTrader_LuisH  
Started by Kaledus, Today, 01:29 PM
5 responses
15 views
0 likes
Last Post NinjaTrader_Jesse  
Started by Waxavi, Today, 02:00 AM
1 response
12 views
0 likes
Last Post NinjaTrader_LuisH  
Started by gentlebenthebear, Today, 01:30 AM
3 responses
17 views
0 likes
Last Post NinjaTrader_Jesse  
Working...
X