Package org.knowm.xchange.bybit
Class BybitExchange
java.lang.Object
org.knowm.xchange.BaseExchange
org.knowm.xchange.bybit.BybitExchange
- All Implemented Interfaces:
Exchange
- Direct Known Subclasses:
BybitStreamingExchange
-
Field Summary
FieldsFields inherited from class org.knowm.xchange.BaseExchange
accountService, exchangeMetaData, exchangeSpecification, logger, marketDataService, tradeServiceFields inherited from interface org.knowm.xchange.Exchange
USE_SANDBOX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplySpecification(ExchangeSpecification exchangeSpecification) Applies any exchange specific parametersprotected voidvoidInitialize this instance with the remote meta data.Methods inherited from class org.knowm.xchange.BaseExchange
getAccountService, getExchangeInstruments, getExchangeMetaData, getExchangeSpecification, getMarketDataService, getMetaDataFileName, getNonceFactory, getTradeService, loadExchangeMetaData, loadMetaData, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.knowm.xchange.Exchange
getResilienceRegistries
-
Field Details
-
SPECIFIC_PARAM_ACCOUNT_TYPE
- See Also:
-
-
Constructor Details
-
BybitExchange
public BybitExchange()
-
-
Method Details
-
initServices
protected void initServices()- Specified by:
initServicesin classBaseExchange
-
getDefaultExchangeSpecification
- Returns:
- A default ExchangeSpecification to use during the creation process if one is not supplied
-
remoteInit
Description copied from interface:ExchangeInitialize this instance with the remote meta data. Most exchanges require this method to be called beforeExchange.getExchangeMetaData(). Some exchanges require it before using some of their services.- Specified by:
remoteInitin interfaceExchange- Overrides:
remoteInitin classBaseExchange- Throws:
IOExceptionExchangeException
-
applySpecification
Description copied from interface:ExchangeApplies any exchange specific parameters- Specified by:
applySpecificationin interfaceExchange- Overrides:
applySpecificationin classBaseExchange- Parameters:
exchangeSpecification- TheExchangeSpecification
-