Launch a cBot Automated strategy using API

Created at 14 May 2023, 10:34
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!
LO

lookitsben

Joined 05.05.2023

Launch a cBot Automated strategy using API
14 May 2023, 10:34


Hi there,

I have what I think is a relatively simply query - 

I have built a cBot and I am looking at a way of starting the bot remotely (e.g. by using a button on my website), it's part of a larger plan to build out a service I am offering.

The idea is that, instead of managing a whole trading strategy via a series of API calls, I can build the strategies and back test them, and then have a simple off/on button which triggers the start or stop of a cBot instance.

Is this something that can be achieved easily?

Thanks!

Ben


@lookitsben
Replies

PanagiotisChar
15 May 2023, 08:45

Hi Ben,

In brief, It's not easy :) There is no API functionality that allows you start or stop a cBot. You would need to write a lot of custom code yourself that would control when the cBot trades or on.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisChar

lookitsben
15 May 2023, 12:21

Thanks for the reply! Good to know what I'm up against, for sure!

Have you seen anything like this done before? Or anything you might be able to share that might point me in the right direction for achieving something like this?

Any and all thoughts appreciated!

Thanks,

Ben


@lookitsben