I need a compete example of strategy (template) which works without creating "Order overfill" problems.
I have seen different strategies with different approaches (some of them cancel/nullify the orders in `OnOrderUpdate`, some of them change things and cancel positions in `OnExecution` and etc..).
Is there any standard/recommended example? (with both Short/Long positions in example and correctly handling them without "ORDER OVERFILL" alike problems).
Comment