Uses of Class
org.knowm.xchange.binance.dto.BinanceException
Packages that use BinanceException
-
Uses of BinanceException in org.knowm.xchange.binance
Methods in org.knowm.xchange.binance with parameters of type BinanceExceptionModifier and TypeMethodDescriptionstatic ExchangeException
BinanceErrorAdapter.adapt
(BinanceException e) Methods in org.knowm.xchange.binance that throw BinanceExceptionModifier and TypeMethodDescriptionBinanceAuthenticated.account
(Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Get current account information.Get compressed, aggregate trades.Get compressed, aggregate trades.BinanceAuthenticated.allOrders
(String symbol, Long orderId, Integer limit, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Get all account orders; active, canceled, or filled.BinanceAuthenticated.assetDetail
(Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Fetch asset details.BinanceAuthenticated.assetDividend
(String asset, Long startTime, Long endTime, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Fetch small amounts of assets exchanged BNB records.BinanceFuturesAuthenticated.cancelAllFutureOpenOrders
(String symbol, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Cancels all active orders on a symbol.BinanceAuthenticated.cancelAllOpenOrders
(String symbol, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Cancels all active orders on a symbol.BinanceFuturesAuthenticated.cancelFutureOrder
(String symbol, long orderId, String origClientOrderId, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Cancel an active futures order.BinanceFuturesAuthenticated.cancelInverseFutureOrder
(String symbol, long orderId, String origClientOrderId, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Cancel an active inverse futures order.BinanceAuthenticated.cancelOrder
(String symbol, long orderId, String origClientOrderId, String newClientOrderId, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Cancel an active order.BinanceFuturesAuthenticated.cancelPortfolioMarginFutureOrder
(String symbol, long orderId, String origClientOrderId, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Cancel an active portfolio margin futures order.BinanceFuturesAuthenticated.cancelPortfolioMarginInverseFutureOrder
(String symbol, long orderId, String origClientOrderId, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Cancel an active inverse portfolio margin futures order.Map<?,
?> BinanceAuthenticated.closeUserDataStream
(String apiKey, String listenKey) Closes the websocket authenticated connection.BinanceAuthenticated.depositAddress
(String coin, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Fetch deposit address.BinanceAuthenticated.depositHistory
(String coin, Long startTime, Long endTime, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Fetch deposit history.BinanceFutures.fundingRate
(String symbol) BinanceFutures.fundingRates()
BinanceFuturesAuthenticated.futureInverseOrderStatus
(String symbol, long orderId, String origClientOrderId, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Check an inverse order's status.
Either orderId or origClientOrderId must be sent.BinanceFuturesAuthenticated.futureOpenInverseOrders
(String symbol, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Get future open orders on a symbol.BinanceFuturesAuthenticated.futureOpenOrders
(String symbol, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Get future open orders on a symbol.BinanceFuturesAuthenticated.futureOpenPortfolioMarginInverseOrders
(String symbol, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Get future open portfolio margin orders on a symbol.BinanceFuturesAuthenticated.futureOpenPortfolioMarginOrders
(String symbol, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Get future open portfolio margin orders on a symbol.BinanceFuturesAuthenticated.futureOrderStatus
(String symbol, long orderId, String origClientOrderId, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Check an order's status.
Either orderId or origClientOrderId must be sent.BinanceFuturesAuthenticated.futurePortfolioMarginInverseOrderStatus
(String symbol, long orderId, String origClientOrderId, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Check a portfolio margin inverse/coin margin order's status.
Either orderId or origClientOrderId must be sent.BinanceFuturesAuthenticated.futurePortfolioMarginOrderStatus
(String symbol, long orderId, String origClientOrderId, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Check a portfolio margin order's status.
Either orderId or origClientOrderId must be sent.BinanceFuturesAuthenticated.futuresAccount
(Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Get current futures account information.BinanceAuthenticated.getCurrencyInfos
(Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) BinanceAuthenticated.getDustLog
(Long startTime, Long endTime, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Retrieves the dust log from Binance.Map<?,
?> BinanceAuthenticated.keepAliveUserDataStream
(String apiKey, String listenKey) Keeps the authenticated websocket session alive.Kline/candlestick bars for a symbol.BinanceFuturesAuthenticated.myFutureTrades
(String symbol, Long orderId, Long startTime, Long endTime, Long fromId, Integer limit, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Get trades for a specific account and symbol.BinanceAuthenticated.myTrades
(String symbol, Long orderId, Long startTime, Long endTime, Long fromId, Integer limit, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Get trades for a specific account and symbol.BinanceFuturesAuthenticated.newInverseOrder
(String symbol, OrderSide side, OrderType type, TimeInForce timeInForce, BigDecimal quantity, boolean reduceOnly, BigDecimal price, String newClientOrderId, BigDecimal stopPrice, boolean closePosition, BigDecimal activationPrice, BigDecimal callbackRate, BinanceNewOrder.NewOrderResponseType newOrderRespType, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Send in a new inverse futures orderBinanceAuthenticated.newOrder
(String symbol, OrderSide side, OrderType type, TimeInForce timeInForce, BigDecimal quantity, BigDecimal quoteOrderQty, BigDecimal price, String newClientOrderId, BigDecimal stopPrice, Long trailingDelta, BigDecimal icebergQty, BinanceNewOrder.NewOrderResponseType newOrderRespType, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Send in a new orderBinanceFuturesAuthenticated.newOrder
(String symbol, OrderSide side, OrderType type, TimeInForce timeInForce, BigDecimal quantity, boolean reduceOnly, BigDecimal price, String newClientOrderId, BigDecimal stopPrice, boolean closePosition, BigDecimal activationPrice, BigDecimal callbackRate, BinanceNewOrder.NewOrderResponseType newOrderRespType, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Send in a new futures orderBinanceFuturesAuthenticated.newPortfolioMarginInverseOrder
(String symbol, OrderSide side, OrderType type, TimeInForce timeInForce, BigDecimal quantity, boolean reduceOnly, BigDecimal price, String newClientOrderId, BinanceNewOrder.NewOrderResponseType newOrderRespType, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Send in a new coin based (inverse) futures order to portfolio margin engineBinanceFuturesAuthenticated.newPortfolioMarginLinearOrder
(String symbol, OrderSide side, OrderType type, TimeInForce timeInForce, BigDecimal quantity, boolean reduceOnly, BigDecimal price, String newClientOrderId, BinanceNewOrder.NewOrderResponseType newOrderRespType, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Send in a new USD based (linear) futures order to portfolio margin engineBinanceAuthenticated.openOrders
(String symbol, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Get open orders on a symbol.BinanceAuthenticated.orderStatus
(String symbol, long orderId, String origClientOrderId, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Check an order's status.
Either orderId or origClientOrderId must be sent.BinanceAuthenticated.startUserDataStream
(String apiKey) Returns a listen key for websocket login.BinanceAuthenticated.testNewOrder
(String symbol, OrderSide side, OrderType type, TimeInForce timeInForce, BigDecimal quantity, BigDecimal quoteOrderQty, BigDecimal price, String newClientOrderId, BigDecimal stopPrice, Long trailingDelta, BigDecimal icebergQty, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Test new order creation and signature/recvWindow long.Binance.ticker24h()
24 hour price change statistics for all symbols.24 hour price change statistics.BinanceFutures.ticker24h()
24 hour price change statistics for all symbols24 hour price change statistics.Binance.tickerAllBookTickers()
Best price/qty on the order book for all symbols.Binance.tickerAllPrices()
Latest price for all symbols.Binance.tickerPrice
(String symbol) Latest price for a symbol.BinanceAuthenticated.transferHistory
(String fromEmail, Long startTime, Long endTime, Integer page, Integer limit, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) BinanceAuthenticated.transferSubUserHistory
(String asset, Integer type, Long startTime, Long endTime, Integer limit, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) BinanceAuthenticated.withdraw
(String coin, String address, String addressTag, BigDecimal amount, String name, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Submit a withdraw request.BinanceAuthenticated.withdrawHistory
(String coin, Long startTime, Long endTime, Long recvWindow, si.mazi.rescu.SynchronizedValueFactory<Long> timestamp, String apiKey, si.mazi.rescu.ParamsDigest signature) Fetch withdraw history. -
Uses of BinanceException in org.knowm.xchange.binance.service
Methods in org.knowm.xchange.binance.service that throw BinanceExceptionModifier and TypeMethodDescriptionBinanceAccountServiceRaw.account()
BinanceTradeServiceRaw.allOrders
(CurrencyPair pair, Long orderId, Integer limit) BinanceTradeServiceRaw.cancelAllOpenOrdersAllProducts
(Instrument pair) BinanceTradeServiceRaw.cancelOrderAllProducts
(Instrument pair, Long orderId, String origClientOrderId, String newClientOrderId) BinanceAccountServiceRaw.currencyInfos()
BinanceAccountServiceRaw.depositHistory
(String asset, Long startTime, Long endTime) BinanceAccountServiceRaw.futuresAccount()
BinanceAccountServiceRaw.getAssetDividend
(Long startTime, Long endTime) BinanceAccountServiceRaw.getAssetDividend
(String asset, Long startTime, Long endTime) BinanceAccountServiceRaw.getSubUserHistory
(String asset, Integer type, Long startTime, Long endTime, Integer limit) BinanceAccountServiceRaw.getTransferHistory
(String fromEmail, Long startTime, Long endTime, Integer page, Integer limit) BinanceTradeServiceRaw.myTradesAllProducts
(Instrument pair, Long orderId, Long startTime, Long endTime, Long fromId, Integer limit) BinanceTradeServiceRaw.newFutureOrder
(Instrument pair, OrderSide side, OrderType type, TimeInForce timeInForce, BigDecimal quantity, boolean reduceOnly, BigDecimal price, String newClientOrderId, BigDecimal stopPrice, boolean closePosition, BigDecimal activationPrice, BigDecimal callbackRate, BinanceNewOrder.NewOrderResponseType newOrderRespType) BinanceTradeServiceRaw.newInverseFutureOrder
(Instrument pair, OrderSide side, OrderType type, TimeInForce timeInForce, BigDecimal quantity, boolean reduceOnly, BigDecimal price, String newClientOrderId, BigDecimal stopPrice, boolean closePosition, BigDecimal activationPrice, BigDecimal callbackRate, BinanceNewOrder.NewOrderResponseType newOrderRespType) BinanceTradeServiceRaw.newOrder
(Instrument pair, OrderSide side, OrderType type, TimeInForce timeInForce, BigDecimal quantity, BigDecimal quoteOrderQty, BigDecimal price, String newClientOrderId, BigDecimal stopPrice, Long trailingDelta, BigDecimal icebergQty, BinanceNewOrder.NewOrderResponseType newOrderRespType) BinanceTradeServiceRaw.newPortfolioMarginFutureOrder
(Instrument pair, OrderSide side, OrderType type, TimeInForce timeInForce, BigDecimal quantity, boolean reduceOnly, BigDecimal price, String newClientOrderId, BinanceNewOrder.NewOrderResponseType newOrderRespType) BinanceTradeServiceRaw.newPortfolioMarginInverseFutureOrder
(Instrument pair, OrderSide side, OrderType type, TimeInForce timeInForce, BigDecimal quantity, boolean reduceOnly, BigDecimal price, String newClientOrderId, BinanceNewOrder.NewOrderResponseType newOrderRespType) BinanceTradeServiceRaw.openOrdersAllProducts()
BinanceTradeServiceRaw.openOrdersAllProducts
(Instrument pair) BinanceTradeServiceRaw.openPositions()
BinanceTradeServiceRaw.orderStatusAllProducts
(Instrument pair, Long orderId, String origClientOrderId) void
BinanceTradeServiceRaw.testNewOrder
(Instrument pair, OrderSide side, OrderType type, TimeInForce timeInForce, BigDecimal quantity, BigDecimal quoteOrderQty, BigDecimal price, String newClientOrderId, BigDecimal stopPrice, Long trailingDelta, BigDecimal icebergQty) BinanceAccountServiceRaw.withdraw
(String coin, String address, String addressTag, BigDecimal amount) BinanceAccountServiceRaw.withdraw
(String coin, String address, BigDecimal amount) BinanceAccountServiceRaw.withdrawHistory
(String asset, Long startTime, Long endTime)