Convert Symbol
conver_symbol
Request Parameter
Parameter | Type | Meaning |
---|---|---|
symbol | string | Symbol from accounting |
expiry_date | string | Expiry Date |
strike_price | float ( Optional ) | Strike Price |
call_put | CallPut ( Optional ) | Call / Put : Call Call 、 Put Put |
Response Parameter
Parameter | Type | Meaning |
---|---|---|
symbol | string | Symbol for Order or Subscribe MarketData |
info
You can refer to the Enumerations table for month codes.
Request Example
#Future
sdk.futopt.convert_symbol("FITX","202404")
#Option
sdk.futopt.convert_symbol("TXO","202404",20000,CallPut.Call)
Response Example
#Future
"TXFD4"
#Option
"TXO20000D4"