Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Real Time Trades vs not real time.

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

    Real Time Trades vs not real time.

    Im running into an issue where live trading doesnt line up with historical trades. When I load a strategy, Im seeing one result from previous trades that would have been taken but when its the strat is running and it catches a trade in real time, the result is completely different. Photos below are of the same trade but the first one is when i caught it real time, i reloaded the strategy and the second pic is what it shows now.

    Realtime trades (First picture), the condition is met and the short trades are taken at the top of the bar and exited at the top of a bar.

    Historical trades (Second Picture), the condition is met and the short takes place at the top of the bar and exit at bottom of a bar.

    I ideally want the second result if possible. The strat is set to onbarclose. Can someone help me understand what is going on, and is there a way to get the disired result with live trading as historical?

    Click image for larger version

Name:	image.png
Views:	114
Size:	78.3 KB
ID:	1237597Click image for larger version

Name:	image.png
Views:	103
Size:	62.9 KB
ID:	1237598​​​
    Attached Files

    #2
    Hello amigatlin,

    From the image it looks like you may be using a renko, if so that won't be accurate toward realtime when backtesting. Renko require realtime data to correctly build bars so the backtest will be different. You can use the playback connection to forward test renko which would provide more accurate results compared to realtime.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    53 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
    70 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