For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Collect pending orders from interactive brokers independ to the strategy
-
hello everybody,
I'm new in backtrader. It's look like a greate job !
I use Interactive Brokers and I would like to collect all pendings orders from strategy and
manuels orders. I mind about reqAllOpenOrders fromself.cerebro.broker.ib.conn.reqAllOpenOrders()
Is it the good method to do this ?Let me know if I found the good object.
Thanks
-
There is no good method because the implementation is not meant to retrieve pending/open orders.
You need to write a custom broker.
-
Thank you.