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,

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    262 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    168 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    170 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    257 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    209 views
    0 likes
    Last Post CarlTrading  
    Working...
    X