How to request current Interactive Broker positions using VBnet/Activex and the API?
How to request current Interactive Broker positions using VBnet/Activex and the API?
Loading saved threads...
Anthony · External communityPost link
External question — Quantitative Finance Stack Exchange
Author: Anthony
Original post: https://quant.stackexchange.com/questions/26173
License: CC BY-SA 3.0 — https://creativecommons.org/licenses/by-sa/3.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
I'm trying to use the reqPositions() method but it doesn't have an event handler associated with it that it references in the API.
Quote
Report
hui · External communityPost link
External answer — Quantitative Finance Stack Exchange
Author: hui
Original post: https://quant.stackexchange.com/a/32087
License: CC BY-SA 3.0 — https://creativecommons.org/licenses/by-sa/3.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
Interactive Brokers hosted a webinar on Nov. 10 2016 about Implement Algo Trading coded in Python using Interactive Brokers API. The presenter gave a good explanation on the applicability of IBridgePy, which is an open-sourced software used to connect to Interactive Brokers C++ API for execution of python codes in live markets.The webinar is posted at youtube.
https://www.youtube.com/watch?v=hogXB07OJ_I
.
You don't need to call reqPositions() in IBridgePy. The positions are saved at context.portofolio.positions in pandas dataFrame. It is pretty easy to use them in other parts of the code.
Quote
Report
Post Reply
Quoted from Forex.com.bd-Editorial External question — Quantitative Finance Stack Exchange Author: Anthony Source score (net votes, not local likes): 2 Original post: https://quant.stackexchange.com/questions/26173 License: CC BY-SA 3.0 — https://creativecommons.org/licenses/by-sa/3.0/ Adaptation: HTML converted to plain text; contact email addresses removed. I'm trying to use the reqPositions() method but it doesn't have an event handler associated with it that it references in the API.
Checking account access…