RefreshData() throws InvalidOperationException

Created at 19 Aug 2019, 21:41
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
SI

simone.matta

Joined 17.08.2019

RefreshData() throws InvalidOperationException
19 Aug 2019, 21:41


Why is RefreshData() throwing InvalidOperationException randomly?
I'm working aroung this catching the exception and trying again to execute untill it works but this is annoyng and it's wasting performances


@simone.matta
Replies

srubtsov
22 Aug 2019, 10:37

Hi,

Do you call `RefreshData()` from another thread?


@srubtsov