Skip to main content

Convert Symbol

conver_symbol

Request Parameter

ParameterTypeMeaning
symbolstringSymbol from accounting
expiry_datestringExpiry Date
strike_pricefloat ( Optional )Strike Price
call_putCallPut ( Optional )Call / Put : Call Call 、 Put Put

Response Parameter

ParameterTypeMeaning
symbolstringSymbol 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"