Voyz / ibind

IBind is a REST and WebSocket client library for Interactive Brokers Client Portal Web API.
Apache License 2.0
114 stars 14 forks source link

Portfolio 2 - Update to Positions Request #8

Closed climbercarmich closed 4 months ago

climbercarmich commented 5 months ago

https://ibkrcampus.com/ibkr-api-page/cpapi-v1/#positions

IBKR have just made available a new version of Portfolio Positions that gives near real time updates on the position fields. It would be great to have this available within ibind.

Voyz commented 5 months ago

Hey @climbercarmich thanks for spotting this and for making the suggestion 👏👏

I've just released v0.1.3 with that endpoint supported. Note that the documentation states that pageId query parameter is supported, however the endpoint itself seems to not work when it is provided. The current implementation doesn't have page_id parameter.

https://pypi.org/project/ibind/0.1.3/

Let me know if it works for you 👍

Harald-F commented 5 months ago

Perfect. Works for me. Thanks @climbercarmich for spotting!

Voyz commented 4 months ago

I'm going to close this Issue since it was addressed and implemented. Thanks!