I would like to see an emergency KillSwitch in the API that can be triggered via API and through model management.
The killSwitch should liquidate all positions of a strategy at market, set sync (desiredposition sync) to off and not accepting any orders unless the killswitch is turned off.
A KillSwitch should only be reversed by setting a counter flag, i.e. killswitch(stratid,1) means : liquidate positions, stop position sync, cancels all working orders and does not accept orders.
killswitch(stratid,0) would set the model back to normal operation.