Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

6.5 backtest on reference library cusomt_cs

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

    6.5 backtest on reference library cusomt_cs

    HI

    I wanted to test out the backtester and tried the reference library cusomt_cs strategy. It works perfect on a replay. However, when i try it on a backtest it did not work. I took a look inside the script and found that it was ignoring historical transactions. So i commented it out. The backtest ran for a while and then stopped. Upon checking the log I see many messages. the first message says: Atm Stratagies can not be created on historical transactions. Then I get the follow error 100's of times.
    GetAtmStrategyEntryOrderStatus() method error: orderID'xxxxxxxxx' does not exist


    Questions:
    1) Is the problem that we cannot Backtest with an ATM?

    2) If not, how do we correct the GetAtmStrategyEntryOrderStatus() method error

    Thank you
    Sammy

    Attached is the script but its the same as the one in the reference library
    Attached Files

    #2
    Correct Sammy, ATM's can't be backtested unfortunately, please use for example Market Replay as alternative here.

    Thanks,
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kempotrader, Today, 08:56 AM
    0 responses
    6 views
    0 likes
    Last Post kempotrader  
    Started by kempotrader, Today, 08:54 AM
    0 responses
    4 views
    0 likes
    Last Post kempotrader  
    Started by mmenigma, Today, 08:54 AM
    0 responses
    2 views
    0 likes
    Last Post mmenigma  
    Started by halgo_boulder, Today, 08:44 AM
    0 responses
    1 view
    0 likes
    Last Post halgo_boulder  
    Started by drewski1980, Today, 08:24 AM
    0 responses
    3 views
    0 likes
    Last Post drewski1980  
    Working...
    X