Integrate Python within cAlgo

Created at 22 Aug 2017, 12:14
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!
TR

trend_meanreversion

Joined 31.07.2014

Integrate Python within cAlgo
22 Aug 2017, 12:14


Hi Everyone,

I have recently started exploring some ideas in Python ( mostly in Machine Learning space ) and would like to utilize cAlgo power with python to develop strategies and backtest them. Is it possible to integrate them ? I essentially want cAlgo Data -> Python -> Signal Generation -> cAlgo simulation/trading. 

I would like to know if someone can tell me if it is possible(and how) and can we backtest strategies also with such framework ?

cTDN team, please advise if you can.

 

Cheers

 

 

 

 


@trend_meanreversion
Replies

Spotware
22 Aug 2017, 14:08

Dear trend_meanreversion,

Please check the following resource. It could be helpful for what you are trying to achieve

https://code.msdn.microsoft.com/windowsdesktop/C-and-Python-interprocess-171378ee

Best Regards,

cTrader Team


@Spotware

solark
22 Aug 2017, 23:01

Check out https://github.com/pythonnet/pythonnet and also consider http://accord-framework.net/.


@solark

amusleh
16 Dec 2021, 16:03

Hi,

You can use our new Python package for cTrader open API: OpenApiPy (spotware.github.io)


@amusleh