For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
BID and ASK on Interactive Brokers
-
How to trade with bid and ask
-
How can I make it, I wanted use them like this
self.unbalance_1 = self.datas[0].ask[0]-(self.datas[2].bid[0]*self.datas[1].bid[0]) self.unbalance_2 = self.datas[0].bid[0]-(self.datas[2].ask[0]*self.datas[1].ask[0])
-
see my WIP contribution here: https://community.backtrader.com/topic/1539/get-bid-ask-price-and-size-on-interactive-brokers-data-feed/3