piker
piker copied to clipboard
`ib` offering a wEbApI!?
Was digging through api docs for #260 and found this!
https://ndcdyn.interactivebrokers.com/api/doc.html
Looks like we might not require that users run tws/gateway in the long run 🥳
I know personally I would love to be able to not have to run either of those java-mem-hog programs remote or local as they're a super hassle to deal with generally..
Haven't found too many peeps talking about this (yet) but here's some links:
-
where i found it on the main api client landing page: https://www.interactivebrokers.com/en/index.php?f=5041
Use our modern REST API to trade, monitor and manage your IBKR account. The Client Portal API enables simple integration and lets you access account and sub-account data plus FYI messages and more.
-
(unanswered) questions in the
ib_insyncforums:- https://groups.io/g/insync/message/3383?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Acreated%2C0%2Cweb+api%2C20%2C2%2C0%2C31200003
- https://groups.io/g/insync/message/3164
-
downloads page has all the high level resources and code:
- https://www.interactivebrokers.com/en/index.php?f=5041
- "client portal" api: https://www.interactivebrokers.com/api/doc.html
- pretty sure you have to do the gw auth for this set of eps to work?
-
3rd party web api: https://www.interactivebrokers.com/webtradingapi/
- rest docs: https://www.interactivebrokers.com/webtradingapi/doc.html#section/Authentication
- this seems to not require running a local gateway based on the endpoint docs?
Moar to come i'm sure 🏄🏼
Websocket streaming api docs are here: https://interactivebrokers.github.io/cpwebapi/RealtimeSubscription.html
Looks like you have to run the gateway still to auth says the FAQ: https://interactivebrokers.github.io/cpwebapi/faq.html