Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

backtesting a multi-timeframe strategy

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

    backtesting a multi-timeframe strategy

    Hi


    I use IB as dataprovider.
    I have 2 simple strategies, both with CalculateOnBarClose=true.
    Strategy 1 has 1 timeframe.
    I have run a backtest on a 1 min timeframe without any difficulty.

    Strategy 2 has 2 timeframes of the same instrument. The secondary timeframe is 5 min.
    I have run a backtest on a 1 min primary timeframe using exactly the same period as the backtest of strategy 1.

    I got the followwing error

    NinjaTrader has reached an IB limitation for historical data requests.
    IB may reject al historical data requests etc

    I really do not understand this error. Why is Ninjatrader trying to load historical data from IB, as the backtest of strategy 1 runs without any difficulty. It should have all the necessary data

    #2
    There are many different situations where there may be a need to load/reload data from IB's servers. Unfortunately, I would not be able to tell you why its loading in your particular case since there are multiple variables involved.
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    287 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    180 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    178 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    263 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    216 views
    0 likes
    Last Post CarlTrading  
    Working...
    X