A main cbot that filters orders for an entire account
A main cbot that filters orders for an entire account
14 Mar 2020, 00:36
Hi,
I have many cbots running across many markets. These are third party cbots whose behaviour i cannot change.
I want to write my own cbot that takes control of the whole account and does not let these cbots make trades on markets that have become more volatile then is usually the case.
I understand i cannot stop these cbots from my cbot but is there a callback function i can subscribe to which gets invoked before any market order is fulfilled.
I want the ability to filter out Market Orders in my cbot based on certain conditions.
I want to do this so I dont have to manually check for crazy markets and then manually make the effort of stopping the corresponding cbots running on those markets.
Thanks in advance,
Cheers.
Replies
driftingprogrammer
17 Mar 2020, 09:23
RE: Account based roboit
PanagiotisCharalampous said:
Hi driftingprogrammer,
There is no such option at the moment.
Best Regards,
Panagiotis
I am able to get my robot to log all positions opened on a particular account (the account on which the third party robots are running) and take corrective actions when the third party robot does something.
I am doing this by subscribing to the Postion Opened, Closed and Modified events which notifies me for all trades being opened on that account.
The only problem is if it was possible to get invoked before the trade opens and have the control to cancel it altogether.
Such a feature would be really helpful for algorithmic traders, i feel.
Thanks for your response.
Cheers.
@driftingprogrammer
PanagiotisCharalampous
16 Mar 2020, 09:06
Hi driftingprogrammer,
There is no such option at the moment.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous