Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtesting strageties

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

    Backtesting strageties

    Hello.

    When running a stragety performance test in NT on an atm stragety, apparently it doesn´t calculate trades entered and exit on the same bar. Of course this is a huge disadvantage when you want to backtest your stragety. I hope you can fix this until the next version, and also to be able to use continiuos contracts for testing

    #2
    borne, welcome to our forums - ATM strategies could generally not be backtested, so I'm not exactly sure what you're referring to, do you mean a regular NinjaScript strategy? The backtest would per default not look inside the bar, that's correct - you could though add in more granularity to be able to simulate an intrabar fill -

    You can submit orders to different Bars objects. This allows you the flexibility of submitting orders to different timeframes. Like in live trading, taking entry conditions from a 5min chart means executing your order as soon as possible instead of waiting until the next 5min bar starts building. You can achieve this by


    Our next major update of the platform will have more options and flexibility in this area.

    Continuous contracts are created in NT per default, as well for backtesting - just use the regular current front month symbol and NT will be create a continuous contract if you request data over contract boundaries. For providers that natively support continuous contract access, you can also work with the ##-## symbol for charting and backtesting.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by TraderBCL, Today, 04:38 AM
    2 responses
    16 views
    0 likes
    Last Post TraderBCL  
    Started by martin70, 03-24-2023, 04:58 AM
    14 responses
    106 views
    0 likes
    Last Post martin70  
    Started by Radano, 06-10-2021, 01:40 AM
    19 responses
    609 views
    0 likes
    Last Post Radano
    by Radano
     
    Started by KenneGaray, Today, 03:48 AM
    0 responses
    5 views
    0 likes
    Last Post KenneGaray  
    Started by thanajo, 05-04-2021, 02:11 AM
    4 responses
    471 views
    0 likes
    Last Post tradingnasdaqprueba  
    Working...
    X