Package org.knowm.xchange.binance
Class BinanceExchange
java.lang.Object
org.knowm.xchange.BaseExchange
org.knowm.xchange.binance.BinanceExchange
- All Implemented Interfaces:
Exchange
- Direct Known Subclasses:
BinanceUsExchange
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringprotected static ResilienceRegistriesstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected si.mazi.rescu.SynchronizedValueFactory<Long>Fields 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) si.mazi.rescu.SynchronizedValueFactory<Long>si.mazi.rescu.SynchronizedValueFactory<Long>protected voidprotected booleanbooleanbooleanbooleanvoidstatic voidbooleanMethods inherited from class org.knowm.xchange.BaseExchange
getAccountService, getExchangeInstruments, getExchangeMetaData, getExchangeSpecification, getMarketDataService, getMetaDataFileName, 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
getAccountService, getExchangeInstruments, getExchangeMetaData, getExchangeSpecification, getMarketDataService, getTradeService
-
Field Details
-
SPECIFIC_PARAM_USE_SANDBOX
- See Also:
-
SPECIFIC_PARAM_USE_FUTURES_SANDBOX
- See Also:
-
SPECIFIC_PARAM_FUTURES_ENABLED
- See Also:
-
SPECIFIC_PARAM_PORTFOLIO_MARGIN_ENABLED
- See Also:
-
FUTURES_URL
- See Also:
-
INVERSE_FUTURES_URL
- See Also:
-
PORTFOLIO_MARGIN_URL
- See Also:
-
SANDBOX_FUTURES_URL
- See Also:
-
RESILIENCE_REGISTRIES
-
timestampFactory
-
-
Constructor Details
-
BinanceExchange
public BinanceExchange()
-
-
Method Details
-
initServices
protected void initServices()- Specified by:
initServicesin classBaseExchange
-
getTimestampFactory
-
getNonceFactory
- Specified by:
getNonceFactoryin interfaceExchange- Overrides:
getNonceFactoryin classBaseExchange
-
resetResilienceRegistries
public static void resetResilienceRegistries() -
getResilienceRegistries
- Specified by:
getResilienceRegistriesin interfaceExchange
-
getDefaultExchangeSpecification
- Specified by:
getDefaultExchangeSpecificationin interfaceExchange
-
applySpecification
- Specified by:
applySpecificationin interfaceExchange- Overrides:
applySpecificationin classBaseExchange
-
isFuturesSandbox
public boolean isFuturesSandbox() -
isFuturesEnabled
public boolean isFuturesEnabled() -
isPortfolioMarginEnabled
public boolean isPortfolioMarginEnabled() -
usingSandbox
public boolean usingSandbox() -
remoteInit
public void remoteInit()- Specified by:
remoteInitin interfaceExchange- Overrides:
remoteInitin classBaseExchange
-
isAuthenticated
protected boolean isAuthenticated()
-