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:	117
Size:	78.3 KB
ID:	1237597Click image for larger version

Name:	image.png
Views:	109
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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    87 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    134 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    118 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X