Trying to get tick data and getting an error
Trying to get tick data and getting an error
21 Mar 2020, 19:24
I attempted to get current tick data with the MarketData.getTicks method and I got the following error.
"Crashed in OnTick with NotSupportedException: Unable to load data for [EURUSD, Tick]. `m1 data from Server` data source doesn't support requested timeframe. Use `Tick data from Server` data source."
Could someone help me with the proper way to get the most recent tick data? Also is using the market data object the optimal way to get market price data? I've seen it done a lot of different ways on the example algorithms and I can't really tell from the information in the api. Many of the example bots use market series but it isn't mentioned anywhere on the api
PanagiotisCharalampous
23 Mar 2020, 08:49 ( Updated at: 21 Dec 2023, 09:21 )
Hi colel1410,
Go to your Backtesting Settings and choose Tick Data from Server
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous