I'm not sure if this was intentional in the design, but the FuturesContract and Contract models uses i64 for the conid field, whereas get_security_definition_by_contract_id accepts a vector of i32. Therefore, if you do a search by futures by symbol search you receive i64, and then have to change it to i32 when looking up the security definition.
I'm not sure if this was intentional in the design, but the FuturesContract and Contract models uses i64 for the conid field, whereas get_security_definition_by_contract_id accepts a vector of i32. Therefore, if you do a search by futures by symbol search you receive i64, and then have to change it to i32 when looking up the security definition.