Broker API HubMenu

Interactive Brokers API error code

Interactive Brokers API error: conid or conidex is required

The error, as text you can copy

conid or conidex is required
Kind
API error code
HTTP status
400
API
Interactive Brokers

What does conid or conidex is required mean on the Interactive Brokers API?

Web API status 400 BadRequest, with the error message "conid or conidex is required" (the vendor's wording). Interactive Brokers lists it on its order error details page. The vendor's context: conid or conidex is not included, or is misspelled.

Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.

Independent and unofficialinteractivebrokers.comchecked

How do I fix conid or conidex is required?

Include conid or conidex and check the spelling of the field name.