I'm looking for a way to make my own Python backtester (like zipline or pyalgotrade) or improve one of these backtesters.
One major lack of these backtesters is the lack of support of bracket orders ("child" stoploss and takeprofit orders linked to a "parent" order)
I wonder how I should model bracket orders ?