auto start

Created at 25 Mar 2014, 18:16
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!
BA

Balena

Joined 17.12.2012

auto start
25 Mar 2014, 18:16


 

Is there a way to auto start a robot using code?

If not, how long till we will be able to use code to auto start robots?

 


@Balena
Replies

Spotware
26 Mar 2014, 10:31

It is currently not possible.

We can recommend you to post your idea to vote.spotware.com


@Spotware

jobenb
27 Mar 2014, 12:43

I completely agree! The sooner we have more programmatic control within cTrader / cAlgo the easier it would be on you guys since we can then develop solutions ourselves...

 

So why not follow the "App" approach where you open the platform to App developers that can then sell it within the platform and you guys get a cut? This will solve a lot of problems. Qualified developers can then write Apps that fill needs within the trader community and it takes a bit pressure off you guys to fully support and constantly add new features. It will be a win win!


@jobenb

Cerunnos
27 Mar 2014, 14:04

RE:

Hm, I think it should also work differently: For example the second robot (with live account?) is running normally - but in inactive mode. Only when a condition is met (eg value is read from a extern file), then within onTick () it will be switched to active "trading-mode" ...

 protected override void OnBar()
        {
           // read from file...

            if (!isAllowed_live)
                return;               

           // isAllowed_live == true
           // live trading-mode will be activated...

           ...
           ...

        }   

Balena said:

 

Is there a way to auto start a robot using code?

If not, how long till we will be able to use code to auto start robots?

 

 


@Cerunnos