Questions tagged [ib-api]

Interactive Brokers Application Program Interface (API) to build customized automated rules-based trading application.

Details are found here;

https://www.interactivebrokers.com/en/index.php?f=5041

93 questions
0
votes
0 answers

coroutine never awaited after switching to new computer

The codes are running fine in Ubuntu with ib insync version 0.9.34 I want to switch my codes to windows, and download all packages again including ib insync version to the latest. When I run the codes, I got RuntimeWarning: coroutine 'dailyPrice'…
JOHN
  • 1,411
  • 3
  • 21
  • 41
0
votes
1 answer

How to export IB position data to a data frame?

I was trying to export IB position/account value into data frame for further processing purposes in python. But failed to figure out how to achieve this. Can anyone help? import pandas as pd import numpy as np import time import ibapi from…
Bobo Li
  • 11
  • 1
-2
votes
1 answer

ibapi.client connection hangs and doesn't close or disconnect

I'm getting started with the interactive brokers api, and starting off the examples do seem to work, but the one thing that's not is that the connection hangs pretty much on every instantiation of the IBapi class. Here's a basic example: from…
1 2 3 4 5 6
7