For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/

Execution order of events in live trading



  • Hi all.
    Simple question, to understand the logic of the BT events.
    (Sorry if there was an answer in other post. I searched a lot and cant found it)

    How is the execution order of events in live trading when I am running a strategy and the notify_order () is executed? The next () is executed before, after or not executed when a change in the order arrives?

    Thanks!


  • administrators

    notify_xxx is always called before next.

    You may also look at the quicknotify parameter for Cerebro - Docs - Cerebro


Log in to reply
 

});