Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

debug without realtime

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

    debug without realtime

    how can I debug wthout real-time data. If I disconnect I can't enable

    do I need to add

    if (State == State.Realtime) return;

    onBarUpdate?
    Last edited by dibDab; 11-08-2022, 04:55 AM.

    #2
    There are a couple of choices for debugging a strategy when not connected to real time data.

    1) Run the strategy in the strategy analyzer which will process without needing to enable as it is only historical data.

    2) Use the Playback connection and use Market Replay data which will be treated the same as Live data and you will be able to enable the strategy and have it perform on both the historical as well as the Live (market re[play) data.

    Comment


      #3
      Hello dibDab,

      Thank you for your note.

      As Tasker-182 suggested, you could debug your strategy with only historical data (no real-time) by running a backtest in the Strategy Analyzer. We have more information in the help guide and our YouTube channel at the following links:



      You could also check the historical strategy performance by right-clicking in the chart where the strategy is applied:


      This is basically the same as running a Strategy Analyzer backtest.

      Please let us know if we may be of further assistance.

      Comment


        #4
        added this "if (State == State.Realtime) return;" to code so I don't receive any realtime bar data.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        54 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        130 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        72 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        44 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        49 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X