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 srtrader, 02-12-2025, 09:01 PM
    3 responses
    23 views
    0 likes
    Last Post rockmanx00  
    Started by bertochi, Yesterday, 05:25 PM
    2 responses
    28 views
    0 likes
    Last Post bertochi  
    Started by sclay115, 02-10-2025, 03:58 PM
    6 responses
    30 views
    0 likes
    Last Post sclay115  
    Started by Babbou72, Today, 08:37 PM
    0 responses
    14 views
    0 likes
    Last Post Babbou72  
    Started by ethanguh, Today, 08:34 PM
    0 responses
    9 views
    0 likes
    Last Post ethanguh  
    Working...
    X