backtrader2 / backtrader

Python Backtesting library for trading strategies
https://www.backtrader.com
GNU General Public License v3.0
221 stars 52 forks source link

Fixes issue #61: self.positions throws attribute error with IB Broker #73

Closed neilsmurphy closed 2 years ago

neilsmurphy commented 2 years ago

Added self.positions to collect positions defaultdict from IBStore.

neilsmurphy commented 2 years ago

@vladisld Do you have a second to look at this?