does a plugin have to redo MarketData to refresh the data in the timer event?

Created at 21 Feb 2025, 18:27
cTrader Discord
LB

lbellego

Joined 20.06.2024

does a plugin have to redo MarketData to refresh the data in the timer event?
21 Feb 2025, 18:27


for a plugin that reads multiple price data, with multiple timeframes, do I need to redo the MarketData command to refresh the data in the timer event?


@lbellego
Replies

... Deleted by UFO ...

amusleh
22 Feb 2025, 14:05

Hi,

No, you don't have to, the bars object you load via market data Get bars are auto updated and kept in sync.


@amusleh

amusleh
22 Feb 2025, 14:05

Hi,

No, you don't have to, the bars object you load via market data Get bars are auto updated and kept in sync.


@amusleh