I have written an "account protection strategy" which allows me to submit orders via custom buttons and which runs a range of checks against the orders placed. If the checks fail no order is submitted. If the check is successful an ATM Strategy is created based on the selected ATMStrategy.
Now in case the checks fail: Instead of not submitting the order, I'd like to go ahead and "redirect" the order to be placed on the Sim101 account. Is this possible?
Essentially I am looking for:
Account a = chartTraderAccountSelector.GetAccount("Sim101")
a.AtmStrategyCreate(....)
How would I be able to implement this?
This is for my discretionary trading, so looking to use an ATMStrategy rather than a fully automated strategy setup.
Kind regards
Frank
Comment