Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 - Dataseries Overloads

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

    NT8 - Dataseries Overloads

    Sometthing like this is a handy thing to have:

    This will improve performance and the problems with people and historical data...
    And will allow developers to really do some very nice things without performance or data impacts...

    1...
    you dont want to load historical data always
    you want to also control the sessiotemplate
    and periodtype and period

    DataSeries dSDaily = new Dataseries(Daily,1, doNotLoadHistorical, sessionTemplateRTH)

    or would it be similar to:
    DataSeries dSDaily = new DataSeries(BarsPeriod barsPeriod, int barsToLoad, string tradingHoursName)


    I would pay you to add this

    sometimes i use arrays and generics to do the job of dataseries as above quite often to avoid overheads - but then i have to sometimes write a subsystem of indicators that do not use dataseries they work off the arrays.... are far more lightweight and quicker than NT indicators as they just array and formula based - but time consuming.... so then i might then copy the values to an indicator based on a dataseries... and its all quite crazy as the above solutions would work very good
    Last edited by MicroTrends; 05-07-2015, 08:11 PM.
    MicroTrends
    NinjaTrader Ecosystem Vendor - micro-trends.co.uk

    #2
    Sorry not following 100%

    Are you referencing the AddDataSeries() and adding in a secondary series or the ISeries<T> DataSeries objects?

    I believe your referncing AddDataSeries() in which case we do have a new AddDataSeries() overload where you can specify the amount of data to load.



    AddDataSeries(string instrumentName, BarsPeriod barsPeriod, int barsToLoad, string tradingHoursName, bool? isResetOnNewTradingDay)

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DavidHP, Today, 07:56 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by kujista, Today, 06:23 AM
    3 responses
    8 views
    0 likes
    Last Post kujista
    by kujista
     
    Started by Mindset, Yesterday, 02:04 AM
    2 responses
    18 views
    0 likes
    Last Post NinjaTrader_RyanS  
    Started by f.saeidi, Today, 08:03 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by samish18, 04-17-2024, 08:57 AM
    15 responses
    53 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Working...
    X