v5_types.go 376 B

12345678910111213
  1. package yu_okx
  2. // 产品类型
  3. type InstType string
  4. const (
  5. InstType_SPOT InstType = "SPOT" // 币币
  6. InstType_MARGIN InstType = "MARGIN" // 币币杠杆
  7. InstType_SWAP InstType = "SWAP" // 永续合约
  8. InstType_FUTURES InstType = "FUTURES" // 交割合约
  9. InstType_OPTION InstType = "OPTION" // 期权
  10. InstType_ANY InstType = "ANY" // 全部
  11. )