Convert Symbol
converSymbol
Request Parameter
| Parameter | Type | Meaning |
|---|---|---|
| symbol | string | Symbol from accounting |
| expiryDate | string | Expiry Date |
| strikePrice | number ( Optional ) | Strike Price |
| callPut | 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.convertSymbol("FITX","202404")
// Future
sdk.futopt.convertSymbol("TXO","202404",20000,CallPut.Call)
Response Example
// Future
"TXFD4"
// Future
"TXO20000D4"