zipline-live / zipline

Zipline-Live, a Pythonic Algorithmic Trading Library
http://www.zipline-live.io/
Apache License 2.0
394 stars 65 forks source link

Populate account, portfolio & position related fields in IB Broker #44

Closed tibkiss closed 6 years ago

tibkiss commented 6 years ago

Currently there are a couple of fields are set to None at account, portfolio & position variables: https://github.com/zipline-live/zipline/blob/d7f0cff4fa322a72cb4a80208585739d2d2d73a2/zipline/gens/brokers/ib_broker.py#L377-L443

Some of the values are dependent on state persistence, while others could be deducted from IB's reporting.

This issue is to implement others, which are not dependent on state.