Skip to content

Not able to get all contracts for a given instrument #572

Discussion options

You must be logged in to vote

I found the issue; IBKR was blocking the request due to a missing trading permission. I did not get any hints from the API error repsonse;

fut_contract = Contract()
fut_contract.secType = 'FUT'
fut_contract.exchange = 'OSE.JPN'
fut_contract.currency = 'JPY'
fut_contract.symbol = 'NKVI'
fut_contract.localSymbol = 'NVIK22'
ib.qualifyContracts(fut_contract)
>>>>
Error 200, reqId 8: No security definition has been found for the request, contract: Contract(secType='FUT', symbol='NKVI', exchange='OSE.JPN', currency='JPY', localSymbol='NVIK22')
Unknown contract: Contract(secType='FUT', symbol='NKVI', exchange='OSE.JPN', currency='JPY', localSymbol='NVIK22')

But logging into the web UI and enter…

Replies: 6 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@TobiasAntiGravity
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@TobiasAntiGravity
Comment options

Comment options

You must be logged in to vote
1 reply
@TobiasAntiGravity
Comment options

Comment options

You must be logged in to vote
1 reply
@TobiasAntiGravity
Comment options

Comment options

You must be logged in to vote
2 replies
@robcarver17
Comment options

@TobiasAntiGravity
Comment options

Answer selected by TobiasAntiGravity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants