open API - python script to collect data
I am looking for a scrip (Python is preferred) to be bale extract unrealized profil/loss value from ctrader in given time eintervals (for example 10 seconds). Data point should be stored in CSV.
Example of the data in the csv file:
13:05:20 GMT, -42.5
13:05:30 GMT, -39.15
and so on.
Should be able to set time interval manually and CSV to be saved after each data point addition just in case.