Interactive Brokers API error code
Interactive Brokers API error: null time in force is not supported for this order
The error, as text you can copy
null time in force is not supported for this order- Kind
- API error code
- HTTP status
- 200
What does null time in force is not supported for this order mean on the Interactive Brokers API?
Web API status 200 OK, with the error message "null time in force is not supported for this order" (the vendor's wording). Interactive Brokers lists it on its order error details page. The vendor's context: no tif value was given, or the value was invalid.
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.
How do I fix null time in force is not supported for this order?
Send a valid tif value on the order.