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 andrewtrades, Today, 04:57 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    5 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    436 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    7 views
    0 likes
    Last Post FAQtrader  
    Started by rocketman7, Today, 09:41 AM
    5 responses
    19 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X