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 kinfxhk, 07-13-2026, 10:18 AM
        0 responses
        59 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 09:50 AM
        0 responses
        41 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 07:21 AM
        0 responses
        46 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-11-2026, 02:11 AM
        0 responses
        37 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        157 views
        0 likes
        Last Post SalmaTrader  
        Working...
        X