This repository has been archived by the owner on Mar 14, 2024. It is now read-only.
CFD Historical Data Problem #672
skalaydzhiyski
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys, I am pretty new to using ib_insync, but I find it a lot better than using the official IB API so here goes my problem.
I am trying to retrieve historical data for a CFD contract (or get current market price) , but for some reason nothing happens. When requesting historical data it either times out or it returns that the contract was not found. Please see examples below.
Historical Data example:
output ->
MktData example:
output ->
I have tried NOT qualifying the contract, using MIDPOINT, using different dates, removing some of othe arguments in Contract, but to no effect.
Any help here is welcome! I just need to see an example of how to retrieve data for the contract, I couldn't find anything useful online.
Beta Was this translation helpful? Give feedback.
All reactions