Package org.knowm.xchange.binance
Class BinanceUsExchange
java.lang.Object
org.knowm.xchange.BaseExchange
org.knowm.xchange.binance.BinanceExchange
org.knowm.xchange.binance.BinanceUsExchange
- All Implemented Interfaces:
Exchange
-
Field Summary
Fields inherited from class org.knowm.xchange.binance.BinanceExchange
FUTURES_URL, INVERSE_FUTURES_URL, PORTFOLIO_MARGIN_URL, RESILIENCE_REGISTRIES, SANDBOX_FUTURES_URL, SPECIFIC_PARAM_FUTURES_ENABLED, SPECIFIC_PARAM_PORTFOLIO_MARGIN_ENABLED, SPECIFIC_PARAM_USE_FUTURES_SANDBOX, SPECIFIC_PARAM_USE_SANDBOX, timestampFactory
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 TypeMethodDescriptionprotected void
void
Initialize this instance with the remote meta data.Methods inherited from class org.knowm.xchange.binance.BinanceExchange
applySpecification, getNonceFactory, getResilienceRegistries, getTimestampFactory, isAuthenticated, isFuturesEnabled, isFuturesSandbox, isPortfolioMarginEnabled, resetResilienceRegistries, usingSandbox
Methods inherited from class org.knowm.xchange.BaseExchange
getAccountService, getExchangeInstruments, getExchangeMetaData, getExchangeSpecification, getMarketDataService, getMetaDataFileName, 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
getAccountService, getExchangeInstruments, getExchangeMetaData, getExchangeSpecification, getMarketDataService, getTradeService
-
Constructor Details
-
BinanceUsExchange
public BinanceUsExchange()
-
-
Method Details
-
getDefaultExchangeSpecification
- Specified by:
getDefaultExchangeSpecification
in interfaceExchange
- Overrides:
getDefaultExchangeSpecification
in classBinanceExchange
- Returns:
- A default ExchangeSpecification to use during the creation process if one is not supplied
-
initServices
protected void initServices()- Overrides:
initServices
in classBinanceExchange
-
remoteInit
public void 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 classBinanceExchange
-