I'm looking for ways to implement something for HK structured products. In IB the contract type = 'IOPT'. I cannot find the equivalent in ib-insync. Please kindly advise. Thank you
Best regards
Jason
Below is from TWS API official page:
Dutch Warrants and Structured Products
To unambiguously define a Dutch Warrant or Structured Product (IOPTs) the conId or localSymbol field must be used.
It is important to note that if reqContractDetails is used with an incompletely-defined IOPT contract definition, that thousands of results can be returned and the API connection broken.
IOPT contract definitions will often change and it will be necessary to restart TWS or IB Gateway to download the new contract definition.
1 contract = Contract()
2 contract.localSymbol = "B881G"
3 contract.secType = "IOPT"
4 contract.exchange = "SBF"
5 contract.currency = "EUR"
Hello,
I'm looking for ways to implement something for HK structured products. In IB the contract type = 'IOPT'. I cannot find the equivalent in ib-insync. Please kindly advise. Thank you
Best regards
Jason
Below is from TWS API official page:
Dutch Warrants and Structured Products To unambiguously define a Dutch Warrant or Structured Product (IOPTs) the conId or localSymbol field must be used. It is important to note that if reqContractDetails is used with an incompletely-defined IOPT contract definition, that thousands of results can be returned and the API connection broken. IOPT contract definitions will often change and it will be necessary to restart TWS or IB Gateway to download the new contract definition. 1 contract = Contract() 2 contract.localSymbol = "B881G" 3 contract.secType = "IOPT" 4 contract.exchange = "SBF" 5 contract.currency = "EUR"