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

controlling the historical data manager

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

  • NinjaTrader_Bertrand
    replied
    Hi Juan, you could create a so called MultiSeries strategy here, the code would be able to add the series internally and work decisions then on all series - however it would not be able to visualize all series automatically on your chart or Strategy Analyzer. You could for example check into the SampleMultiTimeFrame and SampleMultiInstrument scripts we ship with NT to see an entry into this powerful framework. The full documentation is found online here - http://www.ninjatrader.com/support/h...nstruments.htm

    Leave a comment:


  • jmroa
    replied
    Thanks again Betrand! Not sure I would want to re-write all my C++ code but as I become more familiar with the Ninjatrader environment, I hope I will be able to migrate some of the functionality.
    In the meantime, can you explain (or point me to the right place to get the information) how do you do a historical simulation of a strategy that uses multiple intruments/charts (for example 30, 5 and 1 minutes or for ex 900, and 300 tick charts) for 2 or 3 securities (such as ES, NQ and 30 year US bond)?
    I would like to test the strategy using up to 6 months of tick data if available (I think Kinetics provides up to 6 months) and/or up to 3.5 years of intra day minute data.

    Based on the emails from you it looks like I have to manually configure the specific securities (ES, NQ, etc) and chart intervals (X Minutes or Ticks) and data ranges (X months) before running the simulation... The code can not automatically decide what securities to look at or what charts intervals and durations to use... am I correct?

    Thanks again for your help!

    Juan

    Leave a comment:


  • NinjaTrader_Bertrand
    replied
    Hi Juan, unfortunately the HDM could not be accessed / controlled programmatically - have you considered porting over your models to the NinjaScript environment we have? That would give you more power and flexibility for 'feeding' them. I also replied to your other thread showing your loaded baded on bars could be done,

    Leave a comment:


  • jmroa
    started a topic controlling the historical data manager

    controlling the historical data manager

    Folks,

    Is it possible to control the Historical Data Manager using code? I regularly download data for multiple instruments and charts (1, 5, 30 minutes, some tick charts etc). to feed a C++ program which updates some models I use for my trading. It'd be too cumbersome to do the download by hand. I've been trying to write a custom indicator but it seems NT does not allows an indicator to set the range of data to use in the Bars object... so I'm looking at other options.

    Thanks!

    Juan
    p.s. I'm new to NinjaTrader but a seasoned programmer.

Latest Posts

Collapse

Topics Statistics Last Post
Started by OrphaCollieR, Today, 04:52 AM
0 responses
3 views
0 likes
Last Post OrphaCollieR  
Started by ronyggg83, 08-07-2022, 03:48 PM
13 responses
126 views
0 likes
Last Post ronyggg83  
Started by newdill, Today, 04:40 AM
0 responses
7 views
0 likes
Last Post newdill
by newdill
 
Started by elliot5, Today, 03:28 AM
1 response
18 views
0 likes
Last Post NinjaTrader_Jason  
Started by pjsmith, 09-25-2022, 07:13 AM
7 responses
59 views
0 likes
Last Post pjsmith
by pjsmith
 
Working...
X