alpacahq/alpaca-backtrader-api

stop loss orders in brackets are not notified when filled

shlomiku opened this issue · 0 comments

the stop loss order, when filled is replaced by a different order and then filled
it's a broker implementation. the take profit order doesn't, it is filled directly
when the order is replaced, it is not found in the backtrader's cache.
we need to make sure that either way the order is completed.