Error CS0612: 'cAlgo.API.Internals.MarketData.GetSeries(cAlgo.API.TimeFrame)' is obsolete

Created at 09 Jul 2021, 00:53
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!
prlozc's avatar

prlozc

Joined 25.12.2020

Error CS0612: 'cAlgo.API.Internals.MarketData.GetSeries(cAlgo.API.TimeFrame)' is obsolete
09 Jul 2021, 00:53


Normally when there is something obsolete it gives you what to use instead. 

But this isn't the case. 

What should I use instead of "GetSeries"?

Thanks


@prlozc
Replies

PanagiotisCharalampous
09 Jul 2021, 08:13

Hi prlozc,

Use GetBars() instead.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook


@PanagiotisCharalampous

prlozc
18 Jul 2021, 02:13

RE:

PanagiotisCharalampous said:

Hi prlozc,

Use GetBars() instead.

Best Regards,

Panagiotis 

Join us on Telegram and Facebook

Yeah, I end up reading the full documentation and end up fixing this "obsolete" warnings/errors.

 

Anyways, thanks :)


@prlozc