Index

A B C D E F G H I L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

Account - Class in xyz.felh.okx.v5.entity.ws.pri
 
Account() - Constructor for class xyz.felh.okx.v5.entity.ws.pri.Account
 
ACCOUNT - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
获取账户信息,首次订阅按照订阅维度推送数据,此外,当下单、撤单、成交等事件触发时,推送数据以及按照订阅维度定时推送数据 系统将限制订阅 WebSocket 频道的最大并发连接数。 1、如果同时成交多个订单,那么将对账户频道的推送尽量进行聚合。 2、首次推送,只推用户币种层面资产不为0的账户信息。币种层面资产不为0的定义:eq、availEq、availBal 中任意一个字段不为0,即币种层面资产不为0。如果数据太大无法在单个推送消息中发送,它将被分成多个消息发送。 3、定时推送,只推用户币种层面资产不为0的账户信息。币种层面资产不为0的定义:eq、availEq、availBal 中任意一个字段不为0,即币种层面资产不为0。 例:按照所有币种订阅且有5个币种的余额或者权益都不为0,首次和定时推全部5个;账户下有一个币种余额或者权益改变,那么账户变更的触发只推这一个。
ACCOUNT_GREEKS - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
获取账户资产的greeks信息,首次订阅按照订阅维度推送数据,此外,当增加或者减少币种余额、持仓数量等事件触发时,推送数据以及按照订阅维度定时推送数据 系统将限制订阅 WebSocket 频道的最大并发连接数。详情在限制 WebSocket 私有频道对应连接数量
Account.Detail - Class in xyz.felh.okx.v5.entity.ws.pri
 
AccountArg - Class in xyz.felh.okx.v5.entity.ws.request.pri
 
AccountArg - Class in xyz.felh.okx.v5.entity.ws.response.pri
 
AccountArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.pri.AccountArg
 
AccountArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.pri.AccountArg
 
AccountGreeks - Class in xyz.felh.okx.v5.entity.ws.pri
 
AccountGreeks() - Constructor for class xyz.felh.okx.v5.entity.ws.pri.AccountGreeks
 
AccountGreeksArg - Class in xyz.felh.okx.v5.entity.ws.request.pri
 
AccountGreeksArg - Class in xyz.felh.okx.v5.entity.ws.response.pri
 
AccountGreeksArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.pri.AccountGreeksArg
 
AccountGreeksArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.pri.AccountGreeksArg
 
ADJUST_MARGIN - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.EventType
调整保证金
ADL - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.EventType
ADL自动减仓
ADL_END - Enum constant in enum class xyz.felh.okx.v5.entity.ws.pub.AdlWarning.Type
自动减仓结束
ADL_WARNINGS - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
自动减仓预警频道 普通状态(normal)下,每分钟推送一次,展示风险准备金的余额等信息。 预警状态下或有自动减仓风险(warning/adl)时,每1秒推送一次数据,展示风险准备金的实时下降率等信息。 更多自动减仓细节,请见自动减仓机制介绍
AdlWarning - Class in xyz.felh.okx.v5.entity.ws.pub
 
AdlWarning() - Constructor for class xyz.felh.okx.v5.entity.ws.pub.AdlWarning
 
AdlWarning.Type - Enum Class in xyz.felh.okx.v5.entity.ws.pub
 
AdlWarningArg - Class in xyz.felh.okx.v5.entity.ws.request.pub
 
AdlWarningArg - Class in xyz.felh.okx.v5.entity.ws.response.pub
 
AdlWarningArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.pub.AdlWarningArg
 
AdlWarningArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.pub.AdlWarningArg
 
ANY - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.InstrumentType
全部
AttachAlgoOrder() - Constructor for class xyz.felh.okx.v5.entity.rest.trading.order.booking.PlaceOrderReq.AttachAlgoOrder
 
AuthenticationInterceptor - Class in xyz.felh.okx.v5.interceptor
OkHttp Interceptor that adds an authorization header
AuthenticationInterceptor(String, String, String, boolean) - Constructor for class xyz.felh.okx.v5.interceptor.AuthenticationInterceptor
 

B

BAL_ADL_START - Enum constant in enum class xyz.felh.okx.v5.entity.ws.pub.AdlWarning.Type
由于风险准备金余额下降过高造成的自动减仓开始
Balance - Class in xyz.felh.okx.v5.entity.rest.account
 
Balance() - Constructor for class xyz.felh.okx.v5.entity.rest.account.Balance
 
BALANCE_AND_POSITION - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
获取账户余额和持仓信息,首次订阅按照订阅维度推送数据,此外,当成交、资金划转等事件触发时,推送数据。
Balance.Detail - Class in xyz.felh.okx.v5.entity.rest.account
 
BalanceAndPosition - Class in xyz.felh.okx.v5.entity.ws.pri
 
BalanceAndPosition() - Constructor for class xyz.felh.okx.v5.entity.ws.pri.BalanceAndPosition
 
BalanceAndPosition.BalanceData - Class in xyz.felh.okx.v5.entity.ws.pri
 
BalanceAndPosition.PositionData - Class in xyz.felh.okx.v5.entity.ws.pri
 
BalanceAndPosition.Trade - Class in xyz.felh.okx.v5.entity.ws.pri
 
BalanceAndPositionArg - Class in xyz.felh.okx.v5.entity.ws.request.pri
 
BalanceAndPositionArg - Class in xyz.felh.okx.v5.entity.ws.response.pri
 
BalanceAndPositionArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.pri.BalanceAndPositionArg
 
BalanceAndPositionArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.pri.BalanceAndPositionArg
 
BalanceData() - Constructor for class xyz.felh.okx.v5.entity.ws.pri.BalanceAndPosition.BalanceData
 
BASE_URL - Static variable in interface xyz.felh.okx.v5.constant.OkxConstants
 
buildApi(String, String, String, boolean, Duration) - Static method in class xyz.felh.okx.v5.OkxApiService
 
BUSINESS - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.WsChannel
 
BusinessWsListener - Class in xyz.felh.okx.v5.ws
business channel ws listener
BusinessWsListener(OkxWsApiService) - Constructor for class xyz.felh.okx.v5.ws.BusinessWsListener
 
BUY - Enum constant in enum class xyz.felh.okx.v5.enumeration.Side

C

CANCEL_BOTH - Enum constant in enum class xyz.felh.okx.v5.enumeration.rest.StpMode
 
CANCEL_MAKER - Enum constant in enum class xyz.felh.okx.v5.enumeration.rest.StpMode
 
CANCEL_TAKER - Enum constant in enum class xyz.felh.okx.v5.enumeration.rest.StpMode
 
cancelOrder(CancelOrderReq) - Method in interface xyz.felh.okx.v5.OkxApi
撤单 撤销之前下的未完成订单。
cancelOrder(CancelOrderReq) - Method in class xyz.felh.okx.v5.OkxApiService
撤单
CancelOrderReq - Class in xyz.felh.okx.v5.entity.rest.trading.order.booking
 
CancelOrderReq() - Constructor for class xyz.felh.okx.v5.entity.rest.trading.order.booking.CancelOrderReq
 
CancelOrderRsp - Class in xyz.felh.okx.v5.entity.rest.trading.order.booking
 
CancelOrderRsp() - Constructor for class xyz.felh.okx.v5.entity.rest.trading.order.booking.CancelOrderRsp
 
Channel - Enum Class in xyz.felh.okx.v5.enumeration.ws
 
CLAW_BACK - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.EventType
穿仓补偿
CloseOrderAlgo() - Constructor for class xyz.felh.okx.v5.entity.ws.pri.Positions.CloseOrderAlgo
 
CommonResponse - Class in xyz.felh.okx.v5.entity.ws.response
 
CommonResponse() - Constructor for class xyz.felh.okx.v5.entity.ws.response.CommonResponse
 
CONDITION - Enum constant in enum class xyz.felh.okx.v5.enumeration.rest.TpOrderKind
 
connect(WsChannel) - Method in class xyz.felh.okx.v5.OkxWsApiService
connect ws
CROSS - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.MgnMode
全仓
CURRENT_PERIOD - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.FundingRateMethod
当期收

D

DateUtils - Class in xyz.felh.okx.v5.util
 
DateUtils() - Constructor for class xyz.felh.okx.v5.util.DateUtils
 
defaultClient(String, String, String, boolean, Duration) - Static method in class xyz.felh.okx.v5.OkxApiService
 
defaultClient(Duration) - Static method in class xyz.felh.okx.v5.OkxWsApiService
 
defaultObjectMapper() - Static method in class xyz.felh.okx.v5.OkxApiService
 
defaultRequest(WsChannel, boolean) - Static method in class xyz.felh.okx.v5.OkxWsApiService
 
defaultRetrofit(OkHttpClient, ObjectMapper, boolean) - Static method in class xyz.felh.okx.v5.OkxApiService
 
DELIVERED - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.EventType
交割
DEPOSIT_INFO - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
当发起充值或者充值状态发生变化时会触发消息推送。 支持母账户或者子账户的订阅
DepositInfo - Class in xyz.felh.okx.v5.entity.ws.biz
 
DepositInfo() - Constructor for class xyz.felh.okx.v5.entity.ws.biz.DepositInfo
 
DepositInfoArg - Class in xyz.felh.okx.v5.entity.ws.request.biz
 
DepositInfoArg - Class in xyz.felh.okx.v5.entity.ws.response.biz
 
DepositInfoArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.biz.DepositInfoArg
 
DepositInfoArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.biz.DepositInfoArg
 
Detail() - Constructor for class xyz.felh.okx.v5.entity.rest.account.Balance.Detail
 
Detail() - Constructor for class xyz.felh.okx.v5.entity.ws.pri.Account.Detail
 
Detail() - Constructor for class xyz.felh.okx.v5.entity.ws.pub.LiquidationOrders.Detail
 
disconnect(WsChannel, int, String) - Method in class xyz.felh.okx.v5.OkxWsApiService
Manually close connection

E

ECONOMIC_CALENDAR - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
经济日历频道 获取最新经济日历数据。 该频道仅开放给交易费等级VIP1及以上的用户。
EconomicCalendar - Class in xyz.felh.okx.v5.entity.ws.biz
 
EconomicCalendar() - Constructor for class xyz.felh.okx.v5.entity.ws.biz.EconomicCalendar
 
EconomicCalendarArg - Class in xyz.felh.okx.v5.entity.ws.request.biz
 
EconomicCalendarArg - Class in xyz.felh.okx.v5.entity.ws.response.biz
 
EconomicCalendarArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.biz.EconomicCalendarArg
 
EconomicCalendarArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.biz.EconomicCalendarArg
 
EMPTY - Static variable in interface xyz.felh.okx.v5.constant.OkxConstants
 
ERROR - Enum constant in enum class xyz.felh.okx.v5.entity.ws.response.Event
 
ErrorResponse - Class in xyz.felh.okx.v5.entity.ws.response
 
ErrorResponse() - Constructor for class xyz.felh.okx.v5.entity.ws.response.ErrorResponse
 
ESTIMATED_PRICE - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
预估交割/行权价格频道 获取永续合约,交割合约和期权预估交割/行权价。交割/行权预估价只有交割/行权前一小时开始推送预估交割/行权价,有价格变化就推送
EstimatedPrice - Class in xyz.felh.okx.v5.entity.ws.pub
 
EstimatedPrice() - Constructor for class xyz.felh.okx.v5.entity.ws.pub.EstimatedPrice
 
EstimatedPriceArg - Class in xyz.felh.okx.v5.entity.ws.request.pub
 
EstimatedPriceArg - Class in xyz.felh.okx.v5.entity.ws.response.pub
 
EstimatedPriceArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.pub.EstimatedPriceArg
 
EstimatedPriceArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.pub.EstimatedPriceArg
 
Event - Enum Class in xyz.felh.okx.v5.entity.ws.response
 
EventType - Enum Class in xyz.felh.okx.v5.enumeration.ws
 
execute(Single<T>) - Static method in class xyz.felh.okx.v5.OkxApiService
Calls the Open AI api, returns the response, and parses error messages if the request fails
EXERCISED - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.EventType
行权

F

FelhWsListener - Class in xyz.felh.okx.v5.ws
felh ws listener
FelhWsListener(OkxWsApiService, WsChannel) - Constructor for class xyz.felh.okx.v5.ws.FelhWsListener
 
FILLED - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.EventType
成交
FOK - Enum constant in enum class xyz.felh.okx.v5.enumeration.OrderType
全部成交或立即取消
format(String, Date) - Static method in class xyz.felh.okx.v5.util.DateUtils
 
format(String, Date, int) - Static method in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_D - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_D_1 - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_D_2 - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_D_3 - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_D_4 - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_DT_1 - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_DT_2 - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_DT_3 - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_DT_4 - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_DT_5 - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_DT_6 - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_DT_7 - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_M - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_M_1 - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_M_2 - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_M_3 - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_MD_1 - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_MD_2 - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_MD_3 - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_T_1 - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_T_2 - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_TH - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_TM - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_TS - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_UTC_ISO8601 - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
FORMAT_Y - Static variable in class xyz.felh.okx.v5.util.DateUtils
 
fromValue(String) - Static method in enum class xyz.felh.okx.v5.entity.ws.response.Event
 
fromValue(String) - Static method in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
FUNDING_FEE - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.EventType
资金费
FUNDING_RATE - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
资金费率频道 获取永续合约资金费率,30秒到90秒内推送一次数据
FundingRate - Class in xyz.felh.okx.v5.entity.ws.pub
 
FundingRate() - Constructor for class xyz.felh.okx.v5.entity.ws.pub.FundingRate
 
FundingRateArg - Class in xyz.felh.okx.v5.entity.ws.request.pub
 
FundingRateArg - Class in xyz.felh.okx.v5.entity.ws.response.pub
 
FundingRateArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.pub.FundingRateArg
 
FundingRateArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.pub.FundingRateArg
 
FundingRateMethod - Enum Class in xyz.felh.okx.v5.enumeration.ws
 
FundingRateSettleState - Enum Class in xyz.felh.okx.v5.enumeration.ws
 
FUTURES - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.InstrumentType
交割合约

G

getBalance(String) - Method in interface xyz.felh.okx.v5.OkxApi
查看账户余额 限速:10次/2s 限速规则:UserID
getBalance(String) - Method in class xyz.felh.okx.v5.OkxApiService
查看账户余额
getHandler(String) - Static method in class xyz.felh.okx.v5.handler.WsSubscribeEntityHandlerFactory
 

H

handle(WsMessageListener) - Method in class xyz.felh.okx.v5.handler.WsSubscribeEntityHandler
 
HEADER_OK_ACCESS_KEY - Static variable in interface xyz.felh.okx.v5.constant.OkxConstants
字符串类型的APIKey
HEADER_OK_ACCESS_PASSPHRASE - Static variable in interface xyz.felh.okx.v5.constant.OkxConstants
您在创建API密钥时指定的Passphrase
HEADER_OK_ACCESS_SIGN - Static variable in interface xyz.felh.okx.v5.constant.OkxConstants
使用HMAC SHA256哈希函数获得哈希值,再使用Base-64编码(请参阅签名)。
HEADER_OK_ACCESS_TIMESTAMP - Static variable in interface xyz.felh.okx.v5.constant.OkxConstants
发起请求的时间(UTC),如:2020-12-08T09:08:57.715Z
HEADER_X_SIMULATED_TRADING - Static variable in interface xyz.felh.okx.v5.constant.OkxConstants
模拟盘
HEARTBEAT_INTERVAL_SEC - Static variable in interface xyz.felh.okx.v5.constant.OkxConstants
 
HEARTBEAT_REQ_MESSAGE - Static variable in interface xyz.felh.okx.v5.constant.OkxConstants
发送的心跳信息
HEARTBEAT_RSP_MESSAGE - Static variable in interface xyz.felh.okx.v5.constant.OkxConstants
回复的心跳信息
hmacSHA256(byte[], byte[]) - Static method in class xyz.felh.okx.v5.util.SignUtils
HmacSHA256算法,返回的结果始终是32位

I

INDEX - Enum constant in enum class xyz.felh.okx.v5.enumeration.TriggerPxType
指数价格
INDEX_CANDLE_12H - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_15M - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_1D - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_1D_UTC - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_1H - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_1M - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_1M_UTC - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_1MON - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_1W - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_1W_UTC - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_2D - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_2D_UTC - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_2H - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_2H_UTC - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_30M - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_3D - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_3D_UTC - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_3M - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_3M_UTC - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_3MON - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
指数K线频道 获取指数的K线数据,推送频率最快是间隔1秒推送一次数据。
INDEX_CANDLE_4H - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_5D - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_5D_UTC - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_5M - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_6H - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_CANDLE_6H_UTC - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
INDEX_TICKERS - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
指数行情频道 获取指数的行情数据。每100ms有变化就推送一次数据,否则一分钟推一次。
IndexCandle - Class in xyz.felh.okx.v5.entity.ws.biz
 
IndexCandle() - Constructor for class xyz.felh.okx.v5.entity.ws.biz.IndexCandle
 
IndexCandleArg - Class in xyz.felh.okx.v5.entity.ws.request.biz
 
IndexCandleArg - Class in xyz.felh.okx.v5.entity.ws.response.biz
 
IndexCandleArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.biz.IndexCandleArg
 
IndexCandleArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.biz.IndexCandleArg
 
IndexTickers - Class in xyz.felh.okx.v5.entity.ws.pub
 
IndexTickers() - Constructor for class xyz.felh.okx.v5.entity.ws.pub.IndexTickers
 
IndexTickersArg - Class in xyz.felh.okx.v5.entity.ws.request.pub
 
IndexTickersArg - Class in xyz.felh.okx.v5.entity.ws.response.pub
 
IndexTickersArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.pub.IndexTickersArg
 
IndexTickersArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.pub.IndexTickersArg
 
Instruments - Class in xyz.felh.okx.v5.entity.ws.pub
 
Instruments() - Constructor for class xyz.felh.okx.v5.entity.ws.pub.Instruments
 
INSTRUMENTS - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
当有产品状态变化时(如期货交割、期权行权、新合约/币对上线、人工暂停/恢复交易等),推送产品的增量数据。 (2022年12月28日起不再推送全量数据,点此查看详情);
InstrumentsArg - Class in xyz.felh.okx.v5.entity.ws.request.pub
 
InstrumentsArg - Class in xyz.felh.okx.v5.entity.ws.response.pub
 
InstrumentsArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.pub.InstrumentsArg
 
InstrumentsArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.pub.InstrumentsArg
 
InstrumentType - Enum Class in xyz.felh.okx.v5.enumeration.ws
 
intercept(Interceptor.Chain) - Method in class xyz.felh.okx.v5.interceptor.AuthenticationInterceptor
 
INTEREST_DEDUCTION - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.EventType
扣息
IOC - Enum constant in enum class xyz.felh.okx.v5.enumeration.OrderType
立即成交并取消剩余
IOkxObject - Interface in xyz.felh.okx.v5.entity
The interface for all object from OKX
IOkxRestObject - Interface in xyz.felh.okx.v5.entity.rest
for rest api
IOkxRestReq - Interface in xyz.felh.okx.v5.entity.rest
 
IOkxRestRsp - Interface in xyz.felh.okx.v5.entity.rest
 
IOkxWsObject - Interface in xyz.felh.okx.v5.entity.ws
for websocket
IRestEntity - Interface in xyz.felh.okx.v5.entity.rest
for all rest entity
isConnect(WsChannel) - Method in class xyz.felh.okx.v5.OkxWsApiService
is connect
ISOLATED - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.MgnMode
逐仓
IWsResponse - Interface in xyz.felh.okx.v5.entity.ws.response
all ws response

L

LAST - Enum constant in enum class xyz.felh.okx.v5.enumeration.TriggerPxType
最新价格
LIMIT - Enum constant in enum class xyz.felh.okx.v5.enumeration.OrderType
限价单
LIMIT - Enum constant in enum class xyz.felh.okx.v5.enumeration.rest.TpOrderKind
 
LIQUIDATION - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.EventType
强平
LIQUIDATION_ORDERS - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
平台公共爆仓单频道 获取爆仓单信息。产品ID维度最多一秒推一条爆仓单信息。
LIQUIDATION_WARNING - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
此推送频道仅作为风险提示,不建议作为策略交易的风险判断。 在行情剧烈波动的情况下,可能会出现此消息推送的同时仓位已经被强平的可能性。 预警会在某一个逐仓仓位有风险时推送。预警会在所有全仓仓位有风险时推送。 系统将限制订阅 WebSocket 频道的最大并发连接数。详情在限制 WebSocket 私有频道对应连接数量
LiquidationOrders - Class in xyz.felh.okx.v5.entity.ws.pub
 
LiquidationOrders() - Constructor for class xyz.felh.okx.v5.entity.ws.pub.LiquidationOrders
 
LiquidationOrders.Detail - Class in xyz.felh.okx.v5.entity.ws.pub
 
LiquidationOrdersArg - Class in xyz.felh.okx.v5.entity.ws.request.pub
 
LiquidationOrdersArg - Class in xyz.felh.okx.v5.entity.ws.response.pub
 
LiquidationOrdersArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.pub.LiquidationOrdersArg
 
LiquidationOrdersArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.pub.LiquidationOrdersArg
 
LiquidationWarning - Class in xyz.felh.okx.v5.entity.ws.pri
 
LiquidationWarning() - Constructor for class xyz.felh.okx.v5.entity.ws.pri.LiquidationWarning
 
LiquidationWarningArg - Class in xyz.felh.okx.v5.entity.ws.request.pri
 
LiquidationWarningArg - Class in xyz.felh.okx.v5.entity.ws.response.pri
 
LiquidationWarningArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.pri.LiquidationWarningArg
 
LiquidationWarningArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.pri.LiquidationWarningArg
 
login(LoginArg, String) - Method in class xyz.felh.okx.v5.OkxWsApiService
 
LOGIN - Enum constant in enum class xyz.felh.okx.v5.entity.ws.request.Operation
 
LOGIN - Enum constant in enum class xyz.felh.okx.v5.entity.ws.response.Event
 
LoginArg - Class in xyz.felh.okx.v5.entity.ws.request.pri
 
LoginArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.pri.LoginArg
 
LoginResponse - Class in xyz.felh.okx.v5.entity.ws.response
 
LoginResponse() - Constructor for class xyz.felh.okx.v5.entity.ws.response.LoginResponse
 
LONG - Enum constant in enum class xyz.felh.okx.v5.enumeration.PositionsSide
开平仓模式开多

M

MARGIN - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.InstrumentType
币币杠杆
MARK - Enum constant in enum class xyz.felh.okx.v5.enumeration.TriggerPxType
标记价格
MARK_PRICE - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
标记价格频道 获取标记价格,标记价格有变化时,每200ms推送一次数据,标记价格没变化时,每10s推送一次数据
MARK_PRICE_CANDLE_12H - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_15M - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_1D - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_1D_UTC - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_1H - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_1M - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_1M_UTC - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_1MON - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_1W - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_1W_UTC - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_2D - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_2D_UTC - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_2H - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_2H_UTC - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_30M - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_3D - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_3D_UTC - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_3M - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_3M_UTC - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_3MON - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
标记价格K线频道 获取标记价格的K线数据,推送频率最快是间隔1秒推送一次数据。
MARK_PRICE_CANDLE_4H - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_5D - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_5D_UTC - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_5M - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_6H - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARK_PRICE_CANDLE_6H_UTC - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
MARKET - Enum constant in enum class xyz.felh.okx.v5.enumeration.OrderType
市价单
MarkPrice - Class in xyz.felh.okx.v5.entity.ws.pub
 
MarkPrice() - Constructor for class xyz.felh.okx.v5.entity.ws.pub.MarkPrice
 
MarkPriceArg - Class in xyz.felh.okx.v5.entity.ws.request.pub
 
MarkPriceArg - Class in xyz.felh.okx.v5.entity.ws.response.pub
 
MarkPriceArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.pub.MarkPriceArg
 
MarkPriceArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.pub.MarkPriceArg
 
MarkPriceCandle - Class in xyz.felh.okx.v5.entity.ws.biz
 
MarkPriceCandle() - Constructor for class xyz.felh.okx.v5.entity.ws.biz.MarkPriceCandle
 
MarkPriceCandleArg - Class in xyz.felh.okx.v5.entity.ws.request.biz
 
MarkPriceCandleArg - Class in xyz.felh.okx.v5.entity.ws.response.biz
 
MarkPriceCandleArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.biz.MarkPriceCandleArg
 
MarkPriceCandleArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.biz.MarkPriceCandleArg
 
MgnMode - Enum Class in xyz.felh.okx.v5.enumeration.ws
 
MMP - Enum constant in enum class xyz.felh.okx.v5.enumeration.OrderType
做市商保护(仅适用于组合保证金账户模式下的期权订单)
MMP_AND_POST_ONLY - Enum constant in enum class xyz.felh.okx.v5.enumeration.OrderType
做市商保护且只做maker单(仅适用于组合保证金账户模式下的期权订单)

N

NET - Enum constant in enum class xyz.felh.okx.v5.enumeration.PositionsSide
买卖模式(交割/永续/期权:pos为正代表开多,pos为负代表开空。币币杠杆:posCcy为交易货币时,代表开多;posCcy为计价货币时,代表开空。)
NEXT_PERIOD - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.FundingRateMethod
跨期收

O

OkeHttpException - Exception Class in xyz.felh.okx.v5.entity.rest
 
OkeHttpException(OkxRestError, String, Throwable) - Constructor for exception class xyz.felh.okx.v5.entity.rest.OkeHttpException
 
OkxApi - Interface in xyz.felh.okx.v5
Retrofit2 API interface
OkxApiService - Class in xyz.felh.okx.v5
 
OkxApiService(String, String, String) - Constructor for class xyz.felh.okx.v5.OkxApiService
 
OkxApiService(String, String, String, boolean) - Constructor for class xyz.felh.okx.v5.OkxApiService
 
OkxApiService(OkxApi, OkHttpClient, boolean) - Constructor for class xyz.felh.okx.v5.OkxApiService
 
OkxConstants - Interface in xyz.felh.okx.v5.constant
OKX constants
OkxRestError - Class in xyz.felh.okx.v5.entity.rest
 
OkxRestError() - Constructor for class xyz.felh.okx.v5.entity.rest.OkxRestError
 
OkxRestResponse<T> - Class in xyz.felh.okx.v5.entity.rest
 
OkxRestResponse() - Constructor for class xyz.felh.okx.v5.entity.rest.OkxRestResponse
 
okxWsApiService - Variable in class xyz.felh.okx.v5.ws.FelhWsListener
 
OkxWsApiService - Class in xyz.felh.okx.v5
 
OkxWsApiService() - Constructor for class xyz.felh.okx.v5.OkxWsApiService
 
OkxWsApiService(boolean) - Constructor for class xyz.felh.okx.v5.OkxWsApiService
 
OkxWsApiService(OkHttpClient, boolean) - Constructor for class xyz.felh.okx.v5.OkxWsApiService
 
onClosed(WebSocket, int, String) - Method in class xyz.felh.okx.v5.ws.BusinessWsListener
 
onClosed(WebSocket, int, String) - Method in class xyz.felh.okx.v5.ws.FelhWsListener
 
onClosed(WebSocket, int, String) - Method in class xyz.felh.okx.v5.ws.PrivateWsListener
 
onClosed(WebSocket, int, String) - Method in class xyz.felh.okx.v5.ws.PublicWsListener
 
onClosing(WebSocket, int, String) - Method in class xyz.felh.okx.v5.ws.BusinessWsListener
 
onClosing(WebSocket, int, String) - Method in class xyz.felh.okx.v5.ws.FelhWsListener
 
onClosing(WebSocket, int, String) - Method in class xyz.felh.okx.v5.ws.PrivateWsListener
 
onClosing(WebSocket, int, String) - Method in class xyz.felh.okx.v5.ws.PublicWsListener
 
onFailure(WebSocket, Throwable, Response) - Method in class xyz.felh.okx.v5.ws.BusinessWsListener
 
onFailure(WebSocket, Throwable, Response) - Method in class xyz.felh.okx.v5.ws.FelhWsListener
 
onFailure(WebSocket, Throwable, Response) - Method in class xyz.felh.okx.v5.ws.PrivateWsListener
 
onFailure(WebSocket, Throwable, Response) - Method in class xyz.felh.okx.v5.ws.PublicWsListener
 
onLoginSuccess() - Method in class xyz.felh.okx.v5.WsMessageListener
 
onMessage(WebSocket, String) - Method in class xyz.felh.okx.v5.ws.BusinessWsListener
 
onMessage(WebSocket, String) - Method in class xyz.felh.okx.v5.ws.FelhWsListener
 
onMessage(WebSocket, String) - Method in class xyz.felh.okx.v5.ws.PrivateWsListener
 
onMessage(WebSocket, String) - Method in class xyz.felh.okx.v5.ws.PublicWsListener
 
onMessage(WebSocket, ByteString) - Method in class xyz.felh.okx.v5.ws.BusinessWsListener
 
onMessage(WebSocket, ByteString) - Method in class xyz.felh.okx.v5.ws.FelhWsListener
 
onMessage(WebSocket, ByteString) - Method in class xyz.felh.okx.v5.ws.PrivateWsListener
 
onMessage(WebSocket, ByteString) - Method in class xyz.felh.okx.v5.ws.PublicWsListener
 
onOpen(WebSocket, Response) - Method in class xyz.felh.okx.v5.ws.BusinessWsListener
 
onOpen(WebSocket, Response) - Method in class xyz.felh.okx.v5.ws.FelhWsListener
 
onOpen(WebSocket, Response) - Method in class xyz.felh.okx.v5.ws.PrivateWsListener
 
onOpen(WebSocket, Response) - Method in class xyz.felh.okx.v5.ws.PublicWsListener
 
onOperateAccount(WsResponse<AccountArg>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onOperateAccountGreeks(WsResponse<AccountGreeksArg>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onOperateAdlWarning(WsResponse<AdlWarningArg>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onOperateBalanceAndPosition(WsResponse<BalanceAndPositionArg>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onOperateDepositInfo(WsResponse<DepositInfoArg>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onOperateEconomicCalendar(WsResponse<EconomicCalendarArg>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onOperateError(ErrorResponse) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onOperateEstimatedPrice(WsResponse<EstimatedPriceArg>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onOperateFundingRate(WsResponse<FundingRateArg>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onOperateIndexCandle(WsResponse<IndexCandleArg>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onOperateIndexTickers(WsResponse<IndexTickersArg>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onOperateInstruments(WsResponse<InstrumentsArg>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onOperateLiquidationOrders(WsResponse<LiquidationOrdersArg>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onOperateLiquidationWarning(WsResponse<LiquidationWarningArg>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onOperateMarkPrice(WsResponse<MarkPriceArg>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onOperateMarkPriceCandle(WsResponse<MarkPriceCandleArg>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onOperateOpenInterest(WsResponse<OpenInterestArg>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onOperateOptSummary(WsResponse<OptSummaryArg>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onOperatePositions(WsResponse<PositionsArg>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onOperatePriceLimit(WsResponse<PriceLimitArg>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onOperateWithdrawalInfo(WsResponse<WithdrawalInfoArg>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onReceiveAccount(WsSubscribeResponse<AccountArg, Account>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onReceiveAccountGreeks(WsSubscribeResponse<AccountGreeksArg, AccountGreeks>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onReceiveAdlWarning(WsSubscribeResponse<AdlWarningArg, AdlWarning>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onReceiveBalanceAndPosition(WsSubscribeResponse<BalanceAndPositionArg, BalanceAndPosition>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onReceiveDepositInfo(WsSubscribeResponse<DepositInfoArg, DepositInfo>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onReceiveEconomicCalendar(WsSubscribeResponse<EconomicCalendarArg, EconomicCalendar>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onReceiveEstimatedPrice(WsSubscribeResponse<EstimatedPriceArg, EstimatedPrice>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onReceiveFundingRate(WsSubscribeResponse<FundingRateArg, FundingRate>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onReceiveIndexCandle(WsSubscribeResponse<IndexCandleArg, IndexCandle>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onReceiveIndexTickers(WsSubscribeResponse<IndexTickersArg, IndexTickers>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onReceiveInstruments(WsSubscribeResponse<InstrumentsArg, Instruments>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onReceiveLiquidationOrders(WsSubscribeResponse<LiquidationOrdersArg, LiquidationOrders>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onReceiveLiquidationWarning(WsSubscribeResponse<LiquidationWarningArg, LiquidationWarning>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onReceiveMarkPrice(WsSubscribeResponse<MarkPriceArg, MarkPrice>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onReceiveMarkPriceCandle(WsSubscribeResponse<MarkPriceCandleArg, MarkPriceCandle>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onReceiveOpenInterest(WsSubscribeResponse<OpenInterestArg, OpenInterest>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onReceiveOptSummary(WsSubscribeResponse<OptSummaryArg, OptSummary>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onReceivePositions(WsSubscribeResponse<PositionsArg, Positions>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onReceivePriceLimit(WsSubscribeResponse<PriceLimitArg, PriceLimit>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
onReceiveWithdrawalInfo(WsSubscribeResponse<WithdrawalInfoArg, WithdrawalInfo>) - Method in class xyz.felh.okx.v5.WsMessageListener
 
OPEN_INTEREST - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
获取持仓总量,每3s有数据更新推送一次数据
OpenInterest - Class in xyz.felh.okx.v5.entity.ws.pub
 
OpenInterest() - Constructor for class xyz.felh.okx.v5.entity.ws.pub.OpenInterest
 
OpenInterestArg - Class in xyz.felh.okx.v5.entity.ws.request.pub
 
OpenInterestArg - Class in xyz.felh.okx.v5.entity.ws.response.pub
 
OpenInterestArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.pub.OpenInterestArg
 
OpenInterestArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.pub.OpenInterestArg
 
Operation - Enum Class in xyz.felh.okx.v5.entity.ws.request
 
OPT_SUMMARY - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
期权定价频道 获取所有期权合约详细定价信息,一次性推送所有
OPTIMAL_LIMIT_IOC - Enum constant in enum class xyz.felh.okx.v5.enumeration.OrderType
市价委托立即成交并取消剩余(仅适用交割、永续)
OPTION - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.InstrumentType
期权
OptSummary - Class in xyz.felh.okx.v5.entity.ws.pub
 
OptSummary() - Constructor for class xyz.felh.okx.v5.entity.ws.pub.OptSummary
 
OptSummaryArg - Class in xyz.felh.okx.v5.entity.ws.request.pub
 
OptSummaryArg - Class in xyz.felh.okx.v5.entity.ws.response.pub
 
OptSummaryArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.pub.OptSummaryArg
 
OptSummaryArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.pub.OptSummaryArg
 
OrderType - Enum Class in xyz.felh.okx.v5.enumeration
 

P

parse(String) - Method in class xyz.felh.okx.v5.entity.ws.response.CommonResponse
 
parse(String) - Method in class xyz.felh.okx.v5.entity.ws.response.ErrorResponse
 
parse(String) - Method in class xyz.felh.okx.v5.entity.ws.response.LoginResponse
 
parse(String, String) - Static method in class xyz.felh.okx.v5.util.DateUtils
 
parse(String, String, int) - Static method in class xyz.felh.okx.v5.util.DateUtils
 
placeOrder(PlaceOrderReq) - Method in interface xyz.felh.okx.v5.OkxApi
下单 限速:60次/2s 跟单交易带单产品的限速:4次/2s 限速规则(期权以外):UserID + Instrument ID 限速规则(只限期权):UserID + Instrument Family
placeOrder(PlaceOrderReq) - Method in class xyz.felh.okx.v5.OkxApiService
下单
PlaceOrderReq - Class in xyz.felh.okx.v5.entity.rest.trading.order.booking
 
PlaceOrderReq() - Constructor for class xyz.felh.okx.v5.entity.rest.trading.order.booking.PlaceOrderReq
 
PlaceOrderReq.AttachAlgoOrder - Class in xyz.felh.okx.v5.entity.rest.trading.order.booking
 
PlaceOrderRsp - Class in xyz.felh.okx.v5.entity.rest.trading.order.booking
 
PlaceOrderRsp() - Constructor for class xyz.felh.okx.v5.entity.rest.trading.order.booking.PlaceOrderRsp
 
PositionData() - Constructor for class xyz.felh.okx.v5.entity.ws.pri.BalanceAndPosition.PositionData
 
Positions - Class in xyz.felh.okx.v5.entity.ws.pri
 
Positions() - Constructor for class xyz.felh.okx.v5.entity.ws.pri.Positions
 
POSITIONS - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
获取持仓信息,首次订阅按照订阅维度推送数据,此外,当下单、撤单等事件触发时,推送数据以及按照订阅维度定时推送数据 系统将限制订阅 WebSocket 频道的最大并发连接数。
Positions.CloseOrderAlgo - Class in xyz.felh.okx.v5.entity.ws.pri
 
PositionsArg - Class in xyz.felh.okx.v5.entity.ws.request.pri
 
PositionsArg - Class in xyz.felh.okx.v5.entity.ws.response.pri
 
PositionsArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.pri.PositionsArg
 
PositionsArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.pri.PositionsArg
 
PositionsSide - Enum Class in xyz.felh.okx.v5.enumeration
 
POST_ONLY - Enum constant in enum class xyz.felh.okx.v5.enumeration.OrderType
只做maker单
PRICE_LIMIT - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
限价频道 获取交易产品的最高买价和最低卖价。限价有变化时,每秒推送一次数据,限价没变化时,不推送数据
PriceLimit - Class in xyz.felh.okx.v5.entity.ws.pub
 
PriceLimit() - Constructor for class xyz.felh.okx.v5.entity.ws.pub.PriceLimit
 
PriceLimitArg - Class in xyz.felh.okx.v5.entity.ws.request.pub
 
PriceLimitArg - Class in xyz.felh.okx.v5.entity.ws.response.pub
 
PriceLimitArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.pub.PriceLimitArg
 
PriceLimitArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.pub.PriceLimitArg
 
PRIVATE - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.WsChannel
 
PrivateWsListener - Class in xyz.felh.okx.v5.ws
private channel ws listener
PrivateWsListener(OkxWsApiService) - Constructor for class xyz.felh.okx.v5.ws.PrivateWsListener
 
PROCESSING - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.FundingRateSettleState
结算中
PUBLIC - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.WsChannel
 
PublicWsListener - Class in xyz.felh.okx.v5.ws
public channel ws listener
PublicWsListener(OkxWsApiService) - Constructor for class xyz.felh.okx.v5.ws.PublicWsListener
 

R

RATE_ADL_START - Enum constant in enum class xyz.felh.okx.v5.entity.ws.pub.AdlWarning.Type
由于风险准备金下降率过高造成的自动减仓开始
reconnect(WsChannel) - Method in class xyz.felh.okx.v5.OkxWsApiService
reconnect
resetConnectCount(WsChannel) - Method in class xyz.felh.okx.v5.OkxWsApiService
 
RSP_ARG - Static variable in interface xyz.felh.okx.v5.constant.OkxConstants
 
RSP_CHANNEL - Static variable in interface xyz.felh.okx.v5.constant.OkxConstants
 

S

SELL - Enum constant in enum class xyz.felh.okx.v5.enumeration.Side
send(WsChannel, String) - Method in class xyz.felh.okx.v5.OkxWsApiService
send string message
send(WsChannel, ByteString) - Method in class xyz.felh.okx.v5.OkxWsApiService
send byte message
setConnectState(WsChannel, boolean) - Method in class xyz.felh.okx.v5.OkxWsApiService
 
SETTLED - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.FundingRateSettleState
已结算
setWebSocket(WsChannel, WebSocket) - Method in class xyz.felh.okx.v5.OkxWsApiService
set it when connected
SHORT - Enum constant in enum class xyz.felh.okx.v5.enumeration.PositionsSide
开平仓模式开空
Side - Enum Class in xyz.felh.okx.v5.enumeration
 
signRest(String, String, String, String, String) - Static method in class xyz.felh.okx.v5.util.SignUtils
 
SignUtils - Class in xyz.felh.okx.v5.util
 
SignUtils() - Constructor for class xyz.felh.okx.v5.util.SignUtils
 
signWebsocket(LoginArg, String) - Static method in class xyz.felh.okx.v5.util.SignUtils
 
SIM_BASE_URL - Static variable in interface xyz.felh.okx.v5.constant.OkxConstants
 
SIM_WS_BUSINESS_URL - Static variable in interface xyz.felh.okx.v5.constant.OkxConstants
 
SIM_WS_PRIVATE_URL - Static variable in interface xyz.felh.okx.v5.constant.OkxConstants
 
SIM_WS_PUBLIC_URL - Static variable in interface xyz.felh.okx.v5.constant.OkxConstants
 
SNAPSHOT - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.EventType
首推快照
SPOT - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.InstrumentType
币币
ST_LEVERAGE - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.EventType
设置杠杆
StpMode - Enum Class in xyz.felh.okx.v5.enumeration.rest
 
SUBSCRIBE - Enum constant in enum class xyz.felh.okx.v5.entity.ws.request.Operation
 
SUBSCRIBE - Enum constant in enum class xyz.felh.okx.v5.entity.ws.response.Event
 
subscribeAccount(AccountArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
账户频道
subscribeAccountGreeks(AccountGreeksArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
账户greeks频道
subscribeBalanceAndPosition(BalanceAndPositionArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
账户余额和持仓频道
subscribeDepositInfo(DepositInfoArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
充值信息频道
subscribeEconomicCalendar(EconomicCalendarArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
经济日历频道
subscribeIndexCandle(IndexCandleArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
指数K线频道
subscribeInstruments(InstrumentsArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
品频道
subscribeLiquidationWarning(LiquidationWarningArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
爆仓风险预警推送频道
subscribeMarkPriceCandle(MarkPriceCandleArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
标记价格K线频道
subscribeOpenInterest(OpenInterestArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
持仓总量频道
subscribePositions(PositionsArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
持仓频道
subscribeWithdrawalInfo(WithdrawalInfoArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
提币信息频道
SWAP - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.InstrumentType
永续合约

T

TpOrderKind - Enum Class in xyz.felh.okx.v5.enumeration.rest
 
Trade() - Constructor for class xyz.felh.okx.v5.entity.ws.pri.BalanceAndPosition.Trade
 
TRANSFERRED - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.EventType
划转
TriggerPxType - Enum Class in xyz.felh.okx.v5.enumeration
 
tryParse(Class<T>, Class<D>, String) - Method in class xyz.felh.okx.v5.entity.ws.response.WsSubscribeResponse
 
tryParse(Class<T>, String) - Method in class xyz.felh.okx.v5.entity.ws.response.WsResponse
 
tryParse(String) - Method in class xyz.felh.okx.v5.entity.ws.response.CommonResponse
 

U

UNSUBSCRIBE - Enum constant in enum class xyz.felh.okx.v5.entity.ws.request.Operation
 
UNSUBSCRIBE - Enum constant in enum class xyz.felh.okx.v5.entity.ws.response.Event
 
unsubscribeAccount(AccountArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
 
unsubscribeAccountGreeks(AccountGreeksArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
 
unsubscribeBalanceAndPosition(BalanceAndPositionArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
 
unsubscribeDepositInfo(DepositInfoArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
 
unsubscribeEconomicCalendar(EconomicCalendarArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
 
unsubscribeIndexCandle(IndexCandleArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
 
unsubscribeInstruments(InstrumentsArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
 
unsubscribeLiquidationWarning(LiquidationWarningArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
 
unsubscribeMarkPriceCandle(MarkPriceCandleArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
 
unsubscribeOpenInterest(OpenInterestArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
 
unsubscribePositions(PositionsArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
 
unsubscribeWithdrawalInfo(WithdrawalInfoArg) - Method in class xyz.felh.okx.v5.OkxWsApiService
 

V

validate() - Method in class xyz.felh.okx.v5.entity.ws.response.CommonResponse
 
validate() - Method in class xyz.felh.okx.v5.entity.ws.response.ErrorResponse
 
validate() - Method in class xyz.felh.okx.v5.entity.ws.response.LoginResponse
 
value() - Method in enum class xyz.felh.okx.v5.entity.ws.pub.AdlWarning.Type
 
value() - Method in enum class xyz.felh.okx.v5.entity.ws.request.Operation
 
value() - Method in enum class xyz.felh.okx.v5.entity.ws.response.Event
 
value() - Method in enum class xyz.felh.okx.v5.enumeration.OrderType
 
value() - Method in enum class xyz.felh.okx.v5.enumeration.PositionsSide
 
value() - Method in enum class xyz.felh.okx.v5.enumeration.rest.StpMode
 
value() - Method in enum class xyz.felh.okx.v5.enumeration.rest.TpOrderKind
 
value() - Method in enum class xyz.felh.okx.v5.enumeration.Side
 
value() - Method in enum class xyz.felh.okx.v5.enumeration.TriggerPxType
 
value() - Method in enum class xyz.felh.okx.v5.enumeration.ws.Channel
 
value() - Method in enum class xyz.felh.okx.v5.enumeration.ws.EventType
 
value() - Method in enum class xyz.felh.okx.v5.enumeration.ws.FundingRateMethod
 
value() - Method in enum class xyz.felh.okx.v5.enumeration.ws.FundingRateSettleState
 
value() - Method in enum class xyz.felh.okx.v5.enumeration.ws.InstrumentType
 
value() - Method in enum class xyz.felh.okx.v5.enumeration.ws.MgnMode
 
valueOf(String) - Static method in enum class xyz.felh.okx.v5.entity.ws.pub.AdlWarning.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.felh.okx.v5.entity.ws.request.Operation
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.felh.okx.v5.entity.ws.response.Event
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.felh.okx.v5.enumeration.OrderType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.felh.okx.v5.enumeration.PositionsSide
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.felh.okx.v5.enumeration.rest.StpMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.felh.okx.v5.enumeration.rest.TpOrderKind
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.felh.okx.v5.enumeration.Side
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.felh.okx.v5.enumeration.TriggerPxType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.felh.okx.v5.enumeration.ws.Channel
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.felh.okx.v5.enumeration.ws.EventType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.felh.okx.v5.enumeration.ws.FundingRateMethod
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.felh.okx.v5.enumeration.ws.FundingRateSettleState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.felh.okx.v5.enumeration.ws.InstrumentType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.felh.okx.v5.enumeration.ws.MgnMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class xyz.felh.okx.v5.enumeration.ws.WsChannel
Returns the enum constant of this class with the specified name.
values() - Static method in enum class xyz.felh.okx.v5.entity.ws.pub.AdlWarning.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.felh.okx.v5.entity.ws.request.Operation
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.felh.okx.v5.entity.ws.response.Event
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.felh.okx.v5.enumeration.OrderType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.felh.okx.v5.enumeration.PositionsSide
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.felh.okx.v5.enumeration.rest.StpMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.felh.okx.v5.enumeration.rest.TpOrderKind
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.felh.okx.v5.enumeration.Side
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.felh.okx.v5.enumeration.TriggerPxType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.felh.okx.v5.enumeration.ws.Channel
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.felh.okx.v5.enumeration.ws.EventType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.felh.okx.v5.enumeration.ws.FundingRateMethod
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.felh.okx.v5.enumeration.ws.FundingRateSettleState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.felh.okx.v5.enumeration.ws.InstrumentType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.felh.okx.v5.enumeration.ws.MgnMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class xyz.felh.okx.v5.enumeration.ws.WsChannel
Returns an array containing the constants of this enum class, in the order they are declared.

W

WITHDRAWAL_INFO - Enum constant in enum class xyz.felh.okx.v5.enumeration.ws.Channel
当发起提币或者提币状态发生变化时会触发消息推送。 支持母账户或者子账户的订阅
WithdrawalInfo - Class in xyz.felh.okx.v5.entity.ws.biz
 
WithdrawalInfo() - Constructor for class xyz.felh.okx.v5.entity.ws.biz.WithdrawalInfo
 
WithdrawalInfoArg - Class in xyz.felh.okx.v5.entity.ws.request.biz
 
WithdrawalInfoArg - Class in xyz.felh.okx.v5.entity.ws.response.biz
 
WithdrawalInfoArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.biz.WithdrawalInfoArg
 
WithdrawalInfoArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.biz.WithdrawalInfoArg
 
WS_BUSINESS_URL - Static variable in interface xyz.felh.okx.v5.constant.OkxConstants
 
WS_PRIVATE_URL - Static variable in interface xyz.felh.okx.v5.constant.OkxConstants
 
WS_PUBLIC_URL - Static variable in interface xyz.felh.okx.v5.constant.OkxConstants
 
WsArg - Interface in xyz.felh.okx.v5.entity.ws
 
WsChannel - Enum Class in xyz.felh.okx.v5.enumeration.ws
 
WsMessageListener - Class in xyz.felh.okx.v5
handle all message from server
WsMessageListener() - Constructor for class xyz.felh.okx.v5.WsMessageListener
 
WsRequest - Class in xyz.felh.okx.v5.entity.ws.request
 
WsRequest() - Constructor for class xyz.felh.okx.v5.entity.ws.request.WsRequest
 
WsRequestArg - Class in xyz.felh.okx.v5.entity.ws.request
 
WsRequestArg() - Constructor for class xyz.felh.okx.v5.entity.ws.request.WsRequestArg
 
WsResponse<T> - Class in xyz.felh.okx.v5.entity.ws.response
 
WsResponse() - Constructor for class xyz.felh.okx.v5.entity.ws.response.WsResponse
 
WsResponseArg - Class in xyz.felh.okx.v5.entity.ws.response
 
WsResponseArg() - Constructor for class xyz.felh.okx.v5.entity.ws.response.WsResponseArg
 
WsSubscribeEntity - Interface in xyz.felh.okx.v5.entity.ws
 
WsSubscribeEntityHandler<T,D> - Class in xyz.felh.okx.v5.handler
 
WsSubscribeEntityHandler(Class<T>, Class<D>, Channel, String) - Constructor for class xyz.felh.okx.v5.handler.WsSubscribeEntityHandler
 
WsSubscribeEntityHandlerFactory - Class in xyz.felh.okx.v5.handler
 
WsSubscribeEntityHandlerFactory() - Constructor for class xyz.felh.okx.v5.handler.WsSubscribeEntityHandlerFactory
 
WsSubscribeResponse<T,D> - Class in xyz.felh.okx.v5.entity.ws.response
 
WsSubscribeResponse() - Constructor for class xyz.felh.okx.v5.entity.ws.response.WsSubscribeResponse
 
WsSubUnsubArg - Class in xyz.felh.okx.v5.entity.ws
 
WsSubUnsubArg() - Constructor for class xyz.felh.okx.v5.entity.ws.WsSubUnsubArg
 

X

xyz.felh.okx.v5 - package xyz.felh.okx.v5
 
xyz.felh.okx.v5.constant - package xyz.felh.okx.v5.constant
 
xyz.felh.okx.v5.entity - package xyz.felh.okx.v5.entity
 
xyz.felh.okx.v5.entity.rest - package xyz.felh.okx.v5.entity.rest
 
xyz.felh.okx.v5.entity.rest.account - package xyz.felh.okx.v5.entity.rest.account
 
xyz.felh.okx.v5.entity.rest.trading.order.booking - package xyz.felh.okx.v5.entity.rest.trading.order.booking
 
xyz.felh.okx.v5.entity.ws - package xyz.felh.okx.v5.entity.ws
 
xyz.felh.okx.v5.entity.ws.biz - package xyz.felh.okx.v5.entity.ws.biz
 
xyz.felh.okx.v5.entity.ws.pri - package xyz.felh.okx.v5.entity.ws.pri
 
xyz.felh.okx.v5.entity.ws.pub - package xyz.felh.okx.v5.entity.ws.pub
 
xyz.felh.okx.v5.entity.ws.request - package xyz.felh.okx.v5.entity.ws.request
 
xyz.felh.okx.v5.entity.ws.request.biz - package xyz.felh.okx.v5.entity.ws.request.biz
 
xyz.felh.okx.v5.entity.ws.request.pri - package xyz.felh.okx.v5.entity.ws.request.pri
 
xyz.felh.okx.v5.entity.ws.request.pub - package xyz.felh.okx.v5.entity.ws.request.pub
 
xyz.felh.okx.v5.entity.ws.response - package xyz.felh.okx.v5.entity.ws.response
 
xyz.felh.okx.v5.entity.ws.response.biz - package xyz.felh.okx.v5.entity.ws.response.biz
 
xyz.felh.okx.v5.entity.ws.response.pri - package xyz.felh.okx.v5.entity.ws.response.pri
 
xyz.felh.okx.v5.entity.ws.response.pub - package xyz.felh.okx.v5.entity.ws.response.pub
 
xyz.felh.okx.v5.enumeration - package xyz.felh.okx.v5.enumeration
 
xyz.felh.okx.v5.enumeration.rest - package xyz.felh.okx.v5.enumeration.rest
 
xyz.felh.okx.v5.enumeration.ws - package xyz.felh.okx.v5.enumeration.ws
 
xyz.felh.okx.v5.handler - package xyz.felh.okx.v5.handler
 
xyz.felh.okx.v5.interceptor - package xyz.felh.okx.v5.interceptor
 
xyz.felh.okx.v5.util - package xyz.felh.okx.v5.util
 
xyz.felh.okx.v5.ws - package xyz.felh.okx.v5.ws
 
A B C D E F G H I L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form