Clear the LocalStorage

Created at 13 Mar 2024, 20:50
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!
SE

sebastien.t

Joined 12.03.2024

Clear the LocalStorage
13 Mar 2024, 20:50


Good day,

 

is there any way to clear the LocalStorage ?

 

Thank you


@sebastien.t
Replies

PanagiotisCharalampous
14 Mar 2024, 07:43

Hi there,

There is no API method available at the moment. You can only clear it manually by deleting everything in this folder. Make sure cTrader is closed before you do this

Documents\cAlgo\LocalStorage

Best regards,

Panagiotis


@PanagiotisCharalampous

sebastien.t
14 Mar 2024, 07:48

RE: Clear the LocalStorage

PanagiotisCharalampous said: 

Hi there,

There is no API method available at the moment. You can only clear it manually by deleting everything in this folder. Make sure cTrader is closed before you do this

Documents\cAlgo\LocalStorage

Best regards,

Panagiotis

Thank you for your answer. Is there any way to store the info properly in a DB?

 

Thank you


@sebastien.t

PanagiotisCharalampous
14 Mar 2024, 11:56

RE: RE: Clear the LocalStorage

sebastien.t said: 

PanagiotisCharalampous said: 

Hi there,

There is no API method available at the moment. You can only clear it manually by deleting everything in this folder. Make sure cTrader is closed before you do this

Documents\cAlgo\LocalStorage

Best regards,

Panagiotis

Thank you for your answer. Is there any way to store the info properly in a DB?

 

Thank you

Hi Sebastien,

No, you would need to program your own storage to achieve this.

Best regards,

Panagiotis


@PanagiotisCharalampous