Serialized Form

  • Package xyz.felh.okx.v5.entity

  • Package xyz.felh.okx.v5.entity.rest

  • Package xyz.felh.okx.v5.entity.rest.account

    • Class xyz.felh.okx.v5.entity.rest.account.Balance

      class Balance extends Object implements Serializable
      • Serialized Fields

        • adjEq
          BigDecimal adjEq
          美金层面有效保证金 适用于跨币种保证金模式/组合保证金模式
        • borrowFroz
          BigDecimal borrowFroz
          账户美金层面潜在借币占用保证金 仅适用于跨币种保证金模式/组合保证金模式。在其他账户模式下为""。
        • details
          List<Balance.Detail> details
          各币种资产详细信息
        • imr
          BigDecimal imr
          美金层面占用保证金 适用于跨币种保证金模式/组合保证金模式
        • isoEq
          BigDecimal isoEq
          美金层面逐仓仓位权益 适用于单币种保证金模式/跨币种保证金模式/组合保证金模式
        • mgnRatio
          BigDecimal mgnRatio
          美金层面保证金率 适用于跨币种保证金模式/组合保证金模式
        • mmr
          BigDecimal mmr
          美金层面维持保证金 适用于跨币种保证金模式/组合保证金模式
        • notionalUsd
          BigDecimal notionalUsd
          以美金价值为单位的持仓数量,即仓位美金价值 适用于跨币种保证金模式/组合保证金模式
        • ordFroz
          BigDecimal ordFroz
          美金层面全仓挂单占用保证金 仅适用于跨币种保证金模式
        • totalEq
          BigDecimal totalEq
          美金层面权益
        • upl
          BigDecimal upl
          账户层面全仓未实现盈亏(美元单位) 适用于跨币种保证金模式/组合保证金模式
        • uTime
          Long uTime
          账户信息的更新时间,Unix时间戳的毫秒数格式,如 1597026383085
  • Package xyz.felh.okx.v5.entity.ws

  • Package xyz.felh.okx.v5.entity.ws.biz

    • Class xyz.felh.okx.v5.entity.ws.biz.DepositInfo

      class DepositInfo extends Object implements Serializable
      • Serialized Fields

        • actualDepBlkConfirm
          Integer actualDepBlkConfirm
          最新的充币网络确认数
        • amt
          BigDecimal amt
          充值数量
        • areaCodeFrom
          String areaCodeFrom
          如果from为手机号,该字段为该手机号的区号
        • ccy
          String ccy
          币种名称,如 BTC
        • chain
          String chain
          币种链信息 有的币种下有多个链,必须要做区分,如USDT下有USDT-ERC20,USDT-TRC20多个链
        • depId
          String depId
          充值记录 ID
        • from
          String from
          充值账户,只显示内部账户转账地址,不显示区块链充值地址
        • fromWdId
          String fromWdId
          内部转账发起者提币申请 ID 如果该笔充值来自于内部转账,则该字段展示内部转账发起者的提币申请 ID,其他情况返回""
        • pTime
          Long pTime
          推送时间,Unix时间戳的毫秒数格式,如 1597026383085
        • state
          Integer state
          账充值状态 0:等待确认 1:确认到账 2:充值成功 8:因该币种暂停充值而未到账,恢复充值后自动到账 11:命中地址黑名单 12:账户或充值被冻结 13:子账户充值拦截 14:KYC限额
        • subAcct
          String subAcct
          子账户名称 如果是母账户产生的数据,该字段返回""
        • to
          String to
          到账地址
        • ts
          Long ts
          充值记录创建时间,Unix 时间戳的毫秒数格式,如 1655251200000
        • txId
          String txId
          区块转账哈希记录
        • uid
          String uid
          (产生数据者的)用户标识
    • Class xyz.felh.okx.v5.entity.ws.biz.EconomicCalendar

      class EconomicCalendar extends Object implements Serializable
      • Serialized Fields

        • actual
          BigDecimal actual
          事件实际值
        • calendarId
          String calendarId
          经济日历ID
        • category
          String category
          类别名
        • ccy
          String ccy
          事件实际值对应的货币
        • date
          Long date
          actual字段值的预期发布时间,Unix时间戳的毫秒数格式,如 1597026383085
        • event
          String event
          事件名
        • forecast
          BigDecimal forecast
          由权威经济学家共同得出的预测值
        • importance
          Integer importance
          重要性 1: 低 2: 中等 3: 高
        • prevInitial
          BigDecimal prevInitial
          该事件上一周期的初始值 仅在修正发生时有值
        • previous
          BigDecimal previous
          当前事件上个周期的最新实际值 若发生数据修正,该字段存储上个周期修正后的实际值
        • refDate
          Long refDate
          当前事件指向的日期
        • region
          String region
          国家,地区或实体
        • ts
          Long ts
          推送时间,Unix 时间戳的毫秒数格式,如 1655251200000
        • unit
          String unit
          事件实际值对应的单位
    • Class xyz.felh.okx.v5.entity.ws.biz.IndexCandle

      class IndexCandle extends Object implements Serializable
    • Class xyz.felh.okx.v5.entity.ws.biz.MarkPriceCandle

      class MarkPriceCandle extends Object implements Serializable
    • Class xyz.felh.okx.v5.entity.ws.biz.WithdrawalInfo

      class WithdrawalInfo extends Object implements Serializable
      • Serialized Fields

        • addrEx
          Object addrEx
          提币地址备注。如币种TONCOIN的提币地址备注标签名为comment,则该字段返回:{'comment':'123456'}
        • amt
          BigDecimal amt
          数量
        • areaCodeFrom
          String areaCodeFrom
          如果from为手机号,该字段为该手机号的区号
        • areaCodeTo
          String areaCodeTo
          如果to为手机号,该字段为该手机号的区号
        • ccy
          String ccy
          币种
        • chain
          String chain
          币种链信息 有的币种下有多个链,必须要做区分,如USDT下有USDT-ERC20,USDT-TRC20多个链
        • clientId
          String clientId
          客户自定义ID
        • fee
          BigDecimal fee
          提币手续费数量
        • feeCcy
          String feeCcy
          提币手续费币种,如 USDT > state String
        • from
          String from
          提币账户 可以是邮箱/手机号/子账户名
        • memo
          String memo
          部分币种提币需要此字段
        • nonTradableAsset
          Boolean nonTradableAsset
          是否为不可交易资产 true:不可交易资产,false:可交易资产
        • pmtId
          String pmtId
          部分币种提币需要此字段(payment_id)
        • pTime
          Long pTime
          推送时间,Unix时间戳的毫秒数格式,如 1597026383085
        • state
          Integer state
          提币状态

          阶段1:等待提币 10:等待划转 0:等待提币 4/5/6/8/9/12:等待客服审核 7:审核通过

          阶段2:提币处理中(适用于链上提币,内部转账无此阶段) 1:正在将您的交易广播到链上 15:交易待确认 16:根据当地法律法规,您的提币最多可能需要 24 小时才能到账 -3:撤销中

          最终阶段 -2:已撤销 -1:失败 2:提币成功

        • subAcct
          String subAcct
          子账户名称 如果是母账户产生的数据,该字段返回""
        • tag
          String tag
          部分币种提币需要标签
        • to
          String to
          收币地址
        • ts
          Long ts
          提币申请时间,Unix 时间戳的毫秒数格式,如 1655251200000
        • txId
          String txId
          提币哈希记录 内部转账该字段返回""
        • uid
          String uid
          (产生数据者的)用户标识
        • wdId
          String wdId
          提币申请ID
  • Package xyz.felh.okx.v5.entity.ws.pri

    • Class xyz.felh.okx.v5.entity.ws.pri.Account

      class Account extends Object implements Serializable
      • Serialized Fields

        • adjEq
          BigDecimal adjEq
          美金层面有效保证金 适用于跨币种保证金模式/组合保证金模式
        • borrowFroz
          BigDecimal borrowFroz
          账户美金层面潜在借币占用保证金 仅适用于跨币种保证金模式/组合保证金模式。在其他账户模式下为""。
        • details
          List<Account.Detail> details
          各币种资产详细信息
        • imr
          BigDecimal imr
          美金层面占用保证金 适用于跨币种保证金模式/组合保证金模式
        • isoEq
          BigDecimal isoEq
          美金层面逐仓仓位权益 适用于单币种保证金模式/跨币种保证金模式/组合保证金模式
        • mgnRatio
          BigDecimal mgnRatio
          美金层面保证金率 适用于跨币种保证金模式/组合保证金模式
        • mmr
          BigDecimal mmr
          美金层面维持保证金 适用于跨币种保证金模式/组合保证金模式
        • notionalUsd
          BigDecimal notionalUsd
          以美金价值为单位的持仓数量,即仓位美金价值 适用于跨币种保证金模式/组合保证金模式
        • ordFroz
          BigDecimal ordFroz
          美金层面全仓挂单占用保证金 仅适用于跨币种保证金模式
        • totalEq
          BigDecimal totalEq
          美金层面权益
        • upl
          BigDecimal upl
          账户层面全仓未实现盈亏(美元单位) 适用于跨币种保证金模式/组合保证金模式
        • uTime
          Long uTime
          获取账户信息的最新时间,Unix时间戳的毫秒数格式,如 1597026383085
    • Class xyz.felh.okx.v5.entity.ws.pri.AccountGreeks

      class AccountGreeks extends Object implements Serializable
      • Serialized Fields

        • ccy
          String ccy
          币种
        • deltaBS
          BigDecimal deltaBS
          美金本位账户资产delta
        • deltaPA
          BigDecimal deltaPA
          币本位账户资产delta
        • gammaBS
          BigDecimal gammaBS
          美金本位账户资产gamma,仅适用于期权
        • gammaPA
          BigDecimal gammaPA
          币本位账户资产gamma,仅适用于期权
        • thetaBS
          BigDecimal thetaBS
          美金本位账户资产theta,仅适用于期权
        • thetaPA
          BigDecimal thetaPA
          币本位账户资产theta,仅适用于期权
        • ts
          Long ts
          获取greeks的时间,Unix时间戳的毫秒数格式,如 1597026383085
        • vegaBS
          BigDecimal vegaBS
          美金本位账户资产vega,仅适用于期权
        • vegaPA
          BigDecimal vegaPA
          币本位账户资产vega,仅适用于期权
    • Class xyz.felh.okx.v5.entity.ws.pri.BalanceAndPosition

      class BalanceAndPosition extends Object implements Serializable
    • Class xyz.felh.okx.v5.entity.ws.pri.BalanceAndPosition.BalanceData

      class BalanceData extends Object implements Serializable
      • Serialized Fields

        • cashBal
          BigDecimal cashBal
          币种余额
        • ccy
          String ccy
          币种
        • uTime
          Long uTime
          币种余额信息的更新时间,Unix时间戳的毫秒数格式,如 1597026383085
    • Class xyz.felh.okx.v5.entity.ws.pri.BalanceAndPosition.PositionData

      class PositionData extends Object implements Serializable
      • Serialized Fields

        • avgPx
          BigDecimal avgPx
          开仓平均价
        • ccy
          String ccy
          占用保证金的币种
        • instId
          String instId
          交易产品ID,如 BTC-USD-180213
        • instType
          InstrumentType instType
          交易产品类型
        • mgnMode
          MgnMode mgnMode
          保证金模式
        • pos
          BigDecimal pos
          持仓数量,逐仓自主划转模式下,转入保证金后会产生pos为0的仓位
        • posCcy
          String posCcy
          持仓数量币种 只适用于币币杠杆仓位。当是交割、永续、期权持仓时,该字段返回“”
        • posId
          String posId
          持仓ID
        • posSide
          PositionsSide posSide
          持仓方向
        • tradeId
          String tradeId
          最新成交ID
        • uTime
          Long uTime
          仓位信息的更新时间,Unix时间戳的毫秒数格式,如 1597026383085
    • Class xyz.felh.okx.v5.entity.ws.pri.BalanceAndPosition.Trade

      class Trade extends Object implements Serializable
      • Serialized Fields

        • instId
          String instId
          产品ID,如 BTC-USDT
        • tradeId
          String tradeId
          最新成交ID
    • Class xyz.felh.okx.v5.entity.ws.pri.LiquidationWarning

      class LiquidationWarning extends Object implements Serializable
      • Serialized Fields

        • ccy
          String ccy
          占用保证金的币种
        • cTime
          Long cTime
          持仓创建时间,Unix时间戳的毫秒数格式,如 1597026383085
        • instId
          String instId
          产品ID,如 BTC-USD-180216
        • instType
          InstrumentType instType
          产品类型
        • lever
          BigDecimal lever
          杠杆倍数,不适用于期权卖方
        • markPx
          BigDecimal markPx
          标记价格
        • mgnMode
          MgnMode mgnMode
          保证金模式
        • mgnRatio
          BigDecimal mgnRatio
          保证金率
        • pos
          BigDecimal pos
          持仓数量
        • posCcy
          String posCcy
          持仓数量币种,仅适用于币币杠杆
        • posId
          String posId
          持仓ID
        • posSide
          PositionsSide posSide
          持仓方向
        • pTime
          Long pTime
          持仓信息的推送时间,Unix时间戳的毫秒数格式,如 1597026383085
        • uTime
          Long uTime
          最近一次持仓更新时间,Unix时间戳的毫秒数格式,如 1597026383085
    • Class xyz.felh.okx.v5.entity.ws.pri.Positions

      class Positions extends Object implements Serializable
      • Serialized Fields

        • adl
          Integer adl
          信号区,分为5档,从1到5,数字越小代表adl强度越弱
        • availPos
          BigDecimal availPos
          可平仓数量,适用于 币币杠杆,交割/永续(开平仓模式),期权 对于杠杆仓位,平仓时,杠杆还清负债后,余下的部分会视为币币交易,如果想要减少币币交易的数量,可通过"获取最大可用数量"接口获取只减仓的可用数量。
        • avgPx
          BigDecimal avgPx
          开仓平均价
        • bePx
          BigDecimal bePx
          盈亏平衡价
        • bizRefId
          String bizRefId
          外部业务id,e.g. 体验券id
        • bizRefType
          String bizRefType
          外部业务类型
        • ccy
          String ccy
          占用保证金的币种
        • closeOrderAlgo
          List<Positions.CloseOrderAlgo> closeOrderAlgo
          平仓策略委托订单。调用策略委托下单,且closeFraction=1 时,该数组才会有值。
        • cTime
          Long cTime
          持仓创建时间,Unix时间戳的毫秒数格式,如 1597026383085
        • deltaBS
          BigDecimal deltaBS
          美金本位持仓仓位delta,仅适用于期权
        • deltaPA
          BigDecimal deltaPA
          币本位持仓仓位delta,仅适用于期权
        • fee
          BigDecimal fee
          累计手续费金额,正数代表平台返佣 ,负数代表平台扣除
        • fundingFee
          BigDecimal fundingFee
          累计资金费用
        • gammaBS
          BigDecimal gammaBS
          美金本位持仓仓位gamma,仅适用于期权
        • gammaPA
          BigDecimal gammaPA
          币本位持仓仓位gamma,仅适用于期权
        • idxPx
          BigDecimal idxPx
          最新指数价格
        • imr
          BigDecimal imr
          初始保证金,仅适用于全仓
        • instId
          String instId
          产品ID,如 BTC-USD-180216
        • instType
          InstrumentType instType
          产品类型
        • interest
          BigDecimal interest
          利息,已经生成未扣利息
        • last
          BigDecimal last
          最新成交价
        • lever
          BigDecimal lever
          杠杆倍数,不适用于期权卖方
        • liab
          BigDecimal liab
          负债额,仅适用于币币杠杆
        • liabCcy
          String liabCcy
          负债币种,仅适用于币币杠杆
        • liqPenalty
          BigDecimal liqPenalty
          累计爆仓罚金,有值时为负数。
        • liqPx
          BigDecimal liqPx
          预估强平价 不适用于期权
        • margin
          BigDecimal margin
          保证金余额,仅适用于逐仓,可增减
        • markPx
          BigDecimal markPx
          最新标记价格
        • mgnMode
          MgnMode mgnMode
          保证金模式
        • mgnRatio
          BigDecimal mgnRatio
          保证金率
        • mmr
          BigDecimal mmr
          维持保证金
        • notionalUsd
          BigDecimal notionalUsd
          以美金价值为单位的持仓数量
        • optVal
          BigDecimal optVal
          期权价值,仅适用于期权
        • pendingCloseOrdLiabVal
          BigDecimal pendingCloseOrdLiabVal
          逐仓杠杆负债对应平仓挂单的数量
        • pnl
          BigDecimal pnl
          平仓订单累计收益额
        • pos
          BigDecimal pos
          持仓数量,逐仓自主划转模式下,转入保证金后会产生pos为0的仓位
        • posCcy
          String posCcy
          持仓数量币种,仅适用于币币杠杆
        • posId
          String posId
          持仓ID
        • posSide
          PositionsSide posSide
          持仓方向
        • pTime
          Long pTime
          持仓信息的推送时间,Unix时间戳的毫秒数格式,如 1597026383085
        • realizedPnl
          BigDecimal realizedPnl
          已实现收益
        • spotInUseAmt
          BigDecimal spotInUseAmt
          现货对冲占用数量 适用于组合保证金模式
        • spotInUseCcy
          String spotInUseCcy
          现货对冲占用币种,如 BTC 适用于组合保证金模式
        • thetaBS
          BigDecimal thetaBS
          美金本位持仓仓位theta,仅适用于期权
        • thetaPA
          BigDecimal thetaPA
          币本位持仓仓位theta,仅适用于期权
        • tradeId
          String tradeId
          最新成交ID
        • upl
          BigDecimal upl
          未实现收益(以标记价格计算)
        • uplLastPx
          BigDecimal uplLastPx
          以最新成交价格计算的未实现收益,主要做展示使用,实际值还是 upl
        • uplRatio
          BigDecimal uplRatio
          未实现收益率(以标记价格计算
        • uplRatioLastPx
          BigDecimal uplRatioLastPx
          以最新成交价格计算的未实现收益率
        • usdPx
          BigDecimal usdPx
          美金价格
        • uTime
          Long uTime
          最近一次持仓更新时间,Unix时间戳的毫秒数格式,如 1597026383085
        • vegaBS
          BigDecimal vegaBS
          美金本位持仓仓位vega,仅适用于期权
        • vegaPA
          BigDecimal vegaPA
          币本位持仓仓位vega,仅适用于期权
    • Class xyz.felh.okx.v5.entity.ws.pri.Positions.CloseOrderAlgo

      class CloseOrderAlgo extends Object implements Serializable
      • Serialized Fields

        • algoId
          String algoId
          策略委托单ID
        • closeFraction
          BigDecimal closeFraction
          策略委托触发时,平仓的百分比。1 代表100%
        • slTriggerPx
          BigDecimal slTriggerPx
          止损触发价
        • slTriggerPxType
          TriggerPxType slTriggerPxType
          止损触发价类型
        • tpTriggerPx
          BigDecimal tpTriggerPx
          止盈委托价
        • tpTriggerPxType
          TriggerPxType tpTriggerPxType
          止盈触发价类型
  • Package xyz.felh.okx.v5.entity.ws.pub

    • Class xyz.felh.okx.v5.entity.ws.pub.AdlWarning

      class AdlWarning extends Object implements Serializable
      • Serialized Fields

        • adlBal
          BigDecimal adlBal
          触发自动减仓的风险准备金余额
        • adlRate
          BigDecimal adlRate
          触发自动减仓的风险准备金下降率
        • adlRecBal
          BigDecimal adlRecBal
          自动减仓结束的风险准备金余额
        • adlRecRate
          BigDecimal adlRecRate
          自动减仓结束的风险准备金下降率
        • adlType
          AdlWarning.Type adlType
          关于自动减仓的事件 rate_adl_start:由于风险准备金下降率过高造成的自动减仓开始 bal_adl_start:由于风险准备金余额下降过高造成的自动减仓开始 adl_end:自动减仓结束 两个开启条件同时触发时,仅推送bal_adl_start
        • bal
          BigDecimal bal
          实时风险准备金余额
        • ccy
          String ccy
          风险准备金余额对应币种
        • decRate
          BigDecimal decRate
          风险准备金实时下降率(bal与maxBal相比较) 仅在状态为warning及adl时推送,状态为normal时推送空字符串""
        • instFamily
          String instFamily
          交易品种
        • instType
          InstrumentType instType
          产品类型
        • maxBal
          BigDecimal maxBal
          过去八小时内的风险准备金余额最大值 仅在状态为warning及adl时推送,状态为normal时推送空字符串""
        • maxBalTs
          Long maxBalTs
          过去八小时内风险准备金余额最大值对应的时间戳,Unix时间戳的毫秒数格式,如 1597026383085
        • state
          String state
          状态 normal:普通状态 warning:预警状态 adl:已开启自动减仓
        • ts
          Long ts
          数据更新时间,Unix时间戳的毫秒数格式,如 1597026383085
    • Class xyz.felh.okx.v5.entity.ws.pub.EstimatedPrice

      class EstimatedPrice extends Object implements Serializable
      • Serialized Fields

        • instId
          String instId
          产品ID,如 BTC-USD-170310
        • instType
          InstrumentType instType
          产品类型
        • settlePx
          BigDecimal settlePx
          预估交割/行权价
        • ts
          Long ts
          数据更新时间,Unix时间戳的毫秒数格式,如 1597026383085
    • Class xyz.felh.okx.v5.entity.ws.pub.FundingRate

      class FundingRate extends Object implements Serializable
      • Serialized Fields

        • fundingRate
          BigDecimal fundingRate
          资金费率
        • fundingTime
          Long fundingTime
          最新的到期结算的资金费时间,Unix时间戳的毫秒数格式,如 1597026383085
        • instId
          String instId
          产品ID,如 LTC-USD-SWAP
        • instType
          InstrumentType instType
          产品类型,SWAP
        • maxFundingRate
          BigDecimal maxFundingRate
          下一期的预测资金费率上限
        • method
          FundingRateMethod method
          资金费收取逻辑
        • minFundingRate
          BigDecimal minFundingRate
          下一期的预测资金费率下限
        • nextFundingRate
          BigDecimal nextFundingRate
          下一期预测资金费率
        • nextFundingTime
          Long nextFundingTime
          下一期资金费时间,Unix时间戳的毫秒数格式,如 1622851200000
        • premium
          BigDecimal premium
          溢价,为合约的中间价和指数价格的差异
        • settFundingRate
          BigDecimal settFundingRate
          若 settState = processing,该字段代表用于本轮结算的资金费率;若 settState = settled,该字段代表用于上轮结算的资金费率
        • settState
          FundingRateSettleState settState
          资金费率结算状态 processing:结算中 settled:已结算
        • ts
          Long ts
          数据更新时间,Unix时间戳的毫秒数格式,如 1597026383085
    • Class xyz.felh.okx.v5.entity.ws.pub.IndexTickers

      class IndexTickers extends Object implements Serializable
      • Serialized Fields

        • high24h
          BigDecimal high24h
          24小时指数最高价格
        • idxPx
          BigDecimal idxPx
          最新指数价格
        • instId
          String instId
          指数,以USD、USDT、BTC 为计价货币的指数,如 BTC-USDT
        • low24h
          BigDecimal low24h
          24小时指数最低价格
        • open24h
          BigDecimal open24h
          24小时开盘价
        • sodUtc0
          BigDecimal sodUtc0
          UTC 0 时开盘价
        • sodUtc8
          BigDecimal sodUtc8
          UTC+8 时开盘价
        • ts
          Long ts
          指数价格更新时间,Unix时间戳的毫秒数格式,如 1597026383085
    • Class xyz.felh.okx.v5.entity.ws.pub.Instruments

      class Instruments extends Object implements Serializable
      • Serialized Fields

    • Class xyz.felh.okx.v5.entity.ws.pub.LiquidationOrders

      class LiquidationOrders extends Object implements Serializable
    • Class xyz.felh.okx.v5.entity.ws.pub.MarkPrice

      class MarkPrice extends Object implements Serializable
      • Serialized Fields

        • instId
          String instId
          产品ID
        • instType
          InstrumentType instType
          产品类型
        • markPx
          BigDecimal markPx
          标记价格
        • ts
          Long ts
          标记价格数据更新时间 ,Unix时间戳的毫秒数格式,如 1597026383085
    • Class xyz.felh.okx.v5.entity.ws.pub.OpenInterest

      class OpenInterest extends Object implements Serializable
      • Serialized Fields

        • instId
          String instId
          产品ID,如 LTC-USD-SWAP
        • instType
          InstrumentType instType
          产品类型
        • openInterest
          BigDecimal openInterest
          持仓量,按张为单位,open interest
        • openInterestCcy
          BigDecimal openInterestCcy
          持仓量,按币为单位
        • timestamp
          Long timestamp
          数据更新的时间,Unix时间戳的毫秒数格式,如 1597026383085
    • Class xyz.felh.okx.v5.entity.ws.pub.OptSummary

      class OptSummary extends Object implements Serializable
      • Serialized Fields

        • askVol
          BigDecimal askVol
          ask波动率
        • bidVol
          BigDecimal bidVol
          bid波动率
        • delta
          BigDecimal delta
          期权价格对uly价格的敏感度
        • deltaBS
          BigDecimal deltaBS
          BS模式下期权价格对uly价格的敏感度
        • fwdPx
          BigDecimal fwdPx
          远期价格
        • gamma
          BigDecimal gamma
          delta对uly价格的敏感度
        • gammaBS
          BigDecimal gammaBS
          BS模式下delta对uly价格的敏感度
        • instId
          String instId
          产品ID
        • instType
          InstrumentType instType
          产品类型, OPTION
        • lever
          BigDecimal lever
          杠杆倍数
        • markVol
          BigDecimal markVol
          标记波动率
        • realVol
          BigDecimal realVol
        • theta
          BigDecimal theta
          期权价格对剩余期限的敏感度
        • thetaBS
          BigDecimal thetaBS
          BS模式下期权价格对剩余期限的敏感度
        • ts
          Long ts
          数据更新时间,Unix时间戳的毫秒数格式,如 1597026383085
        • uly
          String uly
          标的指数
        • vega
          BigDecimal vega
          期权价格对隐含波动率的敏感度
        • vegaBS
          BigDecimal vegaBS
          BS模式下期权价格对隐含波动率的敏感度
        • volLv
          BigDecimal volLv
    • Class xyz.felh.okx.v5.entity.ws.pub.PriceLimit

      class PriceLimit extends Object implements Serializable
      • Serialized Fields

        • buyLmt
          BigDecimal buyLmt
          最高买价 当enabled为false时,返回""
        • enabled
          Boolean enabled
          限价是否生效 true:限价生效 false:限价不生效
        • instId
          String instId
          产品ID,如 LTC-USD-SWAP
        • instType
          InstrumentType instType
          产品类型
        • sellLmt
          BigDecimal sellLmt
          最低卖价 当enabled为false时,返回""
        • ts
          Long ts
          限价数据更新时间 ,Unix时间戳的毫秒数格式,如 1597026383085