Class CmcExchange
java.lang.Object
org.knowm.xchange.BaseExchange
org.knowm.xchange.coinmarketcap.pro.v1.CmcExchange
- All Implemented Interfaces:
Exchange
-
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
-
Method Summary
Modifier and TypeMethodDescriptionThe Meta Data defining some semi-static properties of an exchange such as currency pairs, trading fees, etc.protected void
void
Initialize this instance with the remote meta data.Methods inherited from class org.knowm.xchange.BaseExchange
applySpecification, getAccountService, getExchangeInstruments, getMarketDataService, getMetaDataFileName, getNonceFactory, getTradeService, loadExchangeMetaData, loadMetaData, 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
applySpecification, getAccountService, getExchangeInstruments, getMarketDataService, getNonceFactory, getResilienceRegistries, getTradeService
-
Constructor Details
-
CmcExchange
public CmcExchange()
-
-
Method Details
-
initServices
protected void initServices()- Specified by:
initServices
in classBaseExchange
-
getDefaultExchangeSpecification
- Specified by:
getDefaultExchangeSpecification
in interfaceExchange
- Returns:
- A default ExchangeSpecification to use during the creation process if one is not supplied
-
getSandboxExchangeSpecification
-
getExchangeSpecification
- Specified by:
getExchangeSpecification
in interfaceExchange
- Overrides:
getExchangeSpecification
in classBaseExchange
- Returns:
- The ExchangeSpecification in use for this exchange
-
getExchangeMetaData
Description copied from interface:Exchange
The Meta Data defining some semi-static properties of an exchange such as currency pairs, trading fees, etc.- Specified by:
getExchangeMetaData
in interfaceExchange
- Overrides:
getExchangeMetaData
in classBaseExchange
- Returns:
- The exchange's meta data
-
remoteInit
Description copied from interface:Exchange
Initialize 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:
remoteInit
in interfaceExchange
- Overrides:
remoteInit
in classBaseExchange
- Throws:
ExchangeException
-