I am wondering if it is possible to track the level executed on an order to build a stop and or take profit off that level?
if so, would it be possible to use that level plus a formula inside the original order such as: order(context.stock, int(cash/current_price), style=StopLimitOrder(filled_px + (2 * atr), (1*atr) - filled_px))?