Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategies behavior inconsistent and unreliable

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

    Strategies behavior inconsistent and unreliable

    Hi,

    Have a lot of strategies running on daily bars.
    Had them running for a couple of days and some of them had opened positions with target and stops in place.
    I performed the following actions in order:
    1. I disabled them.
    2. Reloaded data from Kinetick.
    3. Changed option to "wait until flat before executing"
    4. Enabled the strategies.

    None of them is yellow.
    How is this possible?!

    #2
    Would they hold any historical positions after the data reload / recalculation then at all per the conditions?

    Comment


      #3
      no.
      So realtime vs. backtesting behaves very differently.

      Comment


        #4
        It seems that when backtesting on daily bars NT executes the target always if target price was traded during the day. Does not take into consideration if target was reached after or before entry.

        Comment


          #5
          Yes, there are some expected discrepancies running realtime vs backtesting:



          Only the OHLCV info of a series (here the daily bar) is known in backtesting, not the intrabar / day formation, with additional coding granularity could be added to your script.

          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

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          58 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          39 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          19 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          21 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          51 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X