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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    67 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    36 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    61 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X