in the past in N7 a distinction was made and how I designed/developed strategies was that
OnExecution() is called after OnOrderUpdate() which ensures strategy receives the execution. And so stop/target orders were made in OnExecution() once the order was filled.
With the advent of addons in N8 and the interface for this - i wanted to check on the distinction and in looking over the sample addonframework - stop/target orders are made in OnOrderUpdate - with OnExecution being referred to as new executions coming in/existing execution is amended or execution is removed (ie by broker)
So can you outline what is the recommended approach now for this in N8 addon useage .. as it seems confusing and i would like to follow the correct approach :
What am i now doing in N8 addon with onExecution ? monitoring rejections cancellations or?
please advise
thanks
Comment