Skip to main content

Convert Symbol

convert_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

# Options
sdk.futopt.convert_symbol("FITX","202404")

# Options
sdk.futopt.convert_symbol("TXO","202404",20000,CallPut.Call)

Response Example


# Future
"TXFD4"

# Future
"TXO20000D4"