Trying to get tick data and getting an error

Created at 21 Mar 2020, 19:24
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!
CO

colel1410

Joined 21.03.2020

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


@colel1410
Replies

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