Package org.knowm.xchange.okcoin
Class OkexExchangeV3
java.lang.Object
org.knowm.xchange.BaseExchange
org.knowm.xchange.okcoin.OkexExchangeV3
- All Implemented Interfaces:
Exchange
public class OkexExchangeV3 extends BaseExchange
-
Field Summary
Fields inherited from class org.knowm.xchange.BaseExchange
accountService, exchangeMetaData, exchangeSpecification, logger, marketDataService, tradeService
Fields inherited from interface org.knowm.xchange.Exchange
USE_SANDBOX
-
Constructor Summary
Constructors Constructor Description OkexExchangeV3()
-
Method Summary
Modifier and Type Method Description ExchangeSpecification
getDefaultExchangeSpecification()
si.mazi.rescu.SynchronizedValueFactory<Long>
getNonceFactory()
The nonce factory used to create a nonce value.protected void
initServices()
Methods inherited from class org.knowm.xchange.BaseExchange
applySpecification, getAccountService, getExchangeInstruments, getExchangeMetaData, getExchangeSpecification, getMarketDataService, getMetaDataFileName, getTradeService, loadExchangeMetaData, loadMetaData, remoteInit, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.knowm.xchange.Exchange
getResilienceRegistries
-
Constructor Details
-
OkexExchangeV3
public OkexExchangeV3()
-
-
Method Details
-
initServices
protected void initServices()- Specified by:
initServices
in classBaseExchange
-
getDefaultExchangeSpecification
- Returns:
- A default ExchangeSpecification to use during the creation process if one is not supplied
-
getNonceFactory
Description copied from interface:Exchange
The nonce factory used to create a nonce value. Allows services to accept a placeholder that is replaced with generated value just before message is serialized and sent. If a method of a rest accepts ValueFactory as a parameter, it's evaluated, the message is serialized and sent in a single synchronized block.- Specified by:
getNonceFactory
in interfaceExchange
- Overrides:
getNonceFactory
in classBaseExchange
- Returns:
- Synchronized value factory
-