How long can I use Obsolete code

Created at 18 Sep 2021, 18:40
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!
UM

umadrat2012

Joined 18.09.2021

How long can I use Obsolete code
18 Sep 2021, 18:40


Hello,

How long can I go with obsolete code before updating it. I have a nice cbot that is working pretty nicely but has a ton of code that says obsolete. How long until it wont work anymore?


@umadrat2012
Replies

amusleh
20 Sep 2021, 08:26 ( Updated at: 20 Sep 2021, 08:28 )

Hi,

We recommend not using the obsolete API functions, and if you did on past you can easily replace them with new API functions.

Most of the time there is an equivalent for obsolete API functions with just a different name.

Regarding how long we will support the obsolete API functions, there is no fixed time, we will stop supporting them whenever it was not feasible to keep supporting them, so please update your code.


@amusleh