This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 116
example history.py runs with errors #20
Comments
I don't think the history portion of his code ever worked. |
Did anybody get a resolution to this? I have had some very mixed results with getting data. Usually it just hangs. My request is - fut_contract = ibConn.createFuturesContract("GF", expiry="201806") |
@josefstr did u manage to solve this issue? can u share a code example for getting historical data? highly appreciated! |
@asnatm I didn't start using this tool. So I cannot help you out. |
@asnatm I had a rough solution to this. Do a requesthistoricaldata with no contracts created first so that it prompts for market data then create the contracts, put a sleep for 10 seconds then requesthistoricaldata again. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm running the history.py example with
contract = ibConn.createStockContract("AAPL", exchange="NYSE")
or
contract = ibConn.createFuturesContract(symbol="FDAX", exchange="DTB", currency="EUR", expiry="201709")
I don't get any data, I just get the following errors:
I'm connecting to an advisor account.
The text was updated successfully, but these errors were encountered: