Uses of Class
org.knowm.xchange.deribit.v2.dto.DeribitException
-
Uses of DeribitException in org.knowm.xchange.deribit.v2
Modifier and TypeMethodDescriptionstatic ExchangeException
DeribitAdapters.adapt
(DeribitException ex) Parse errors from HTTP exceptionsModifier and TypeMethodDescriptionDeribit.auth
(GrantType grantType, String username, String password, String clientId, String clientSecret, String refreshToken, String timestamp, String signature, String nonce, String state, String scope) Retrieve an Oauth access token, to be used for authentication of 'private' requests.DeribitAuthenticated.buy
(String instrumentName, BigDecimal amount, OrderType type, String label, BigDecimal price, TimeInForce timeInForce, BigDecimal maxShow, Boolean postOnly, Boolean rejectPostOnly, Boolean reduceOnly, BigDecimal triggerPrice, Trigger trigger, AdvancedOptions advanced, Boolean mmp, si.mazi.rescu.ParamsDigest auth) Places a buy order for an instrument.Cancels an order, specified by order id.DeribitAuthenticated.cancelAll
(si.mazi.rescu.ParamsDigest auth) This method cancels all users orders and trigger orders within all currencies and instrument kinds.DeribitAuthenticated.cancelByLabel
(String label, si.mazi.rescu.ParamsDigest auth) Cancels orders by label.DeribitAuthenticated.edit
(String orderId, BigDecimal amount, BigDecimal price, Boolean postOnly, Boolean rejectPostOnly, Boolean reduceOnly, BigDecimal triggerPrice, AdvancedOptions advanced, Boolean mmp, si.mazi.rescu.ParamsDigest auth) Changes price, amount and/or other properties of an order.DeribitAuthenticated.getAccountSummary
(String currency, Boolean extended, si.mazi.rescu.ParamsDigest auth) Retrieves user account summary.Deribit.getCurrencies()
Retrieves available trading instruments.Deribit.getHistoricalVolatility
(String currency) Provides information about historical volatility for given cryptocurrency.Deribit.getInstruments
(String currency, Kind kind, Boolean expired) Deribit.getLastTradesByInstrument
(String instrumentName, Integer startSeq, Integer endSeq, Integer count, Boolean includeOld, String sorting) Retrieve the latest trades that have occurred for a specific instrument.DeribitAuthenticated.getOpenOrdersByCurrency
(String currency, Kind kind, String type, si.mazi.rescu.ParamsDigest auth) Retrieves list of user's open orders.DeribitAuthenticated.getOpenOrdersByInstrument
(String instrumentName, String type, si.mazi.rescu.ParamsDigest auth) Retrieves list of user's open orders within given Instrument.Deribit.getOrderBook
(String instrumentName, Integer depth) Retrieves the order book, along with other market values for a given instrument.DeribitAuthenticated.getOrderHistoryByCurrency
(String currency, Kind kind, Integer count, Integer offset, Boolean includeOld, Boolean includeUnfilled, si.mazi.rescu.ParamsDigest auth) Retrieves history of orders that have been partially or fully filled.DeribitAuthenticated.getOrderHistoryByInstrument
(String instrumentName, Integer count, Integer offset, Boolean includeOld, Boolean includeUnfilled, si.mazi.rescu.ParamsDigest auth) Retrieves history of orders that have been partially or fully filled.DeribitAuthenticated.getOrderState
(String orderId, si.mazi.rescu.ParamsDigest auth) Retrieve the current state of an orderDeribitAuthenticated.getPositions
(String currency, Kind kind, si.mazi.rescu.ParamsDigest auth) Retrieves user positions.DeribitAuthenticated.getSettlementHistoryByInstrument
(String instrumentName, SettlementType type, Integer count, String continuation, si.mazi.rescu.ParamsDigest auth) Retrieves public settlement, delivery and bankruptcy events filtered by instrument name.Deribit.getSummaryByInstrument
(String instrumentName) Retrieves the summary information such as open interest, 24h volume, etc.Get ticker for an instrument.DeribitAuthenticated.getUserTradesByCurrency
(String currency, Kind kind, String startId, String endId, Integer count, Boolean includeOld, String sorting, si.mazi.rescu.ParamsDigest auth) Retrieves the latest user trades that have occurred for instruments in a specific currency symbol.DeribitAuthenticated.getUserTradesByCurrencyAndTime
(String currency, Kind kind, long startTimestamp, long endTimestamp, Integer count, Boolean includeOld, String sorting, si.mazi.rescu.ParamsDigest auth) Retrieves the latest user trades that have occurred for instruments in a specific currency symbol and within given time range.DeribitAuthenticated.getUserTradesByInstrument
(String instrumentName, Integer startSeq, Integer endSeq, Integer count, Boolean includeOld, String sorting, si.mazi.rescu.ParamsDigest auth) Retrieves the latest user trades that have occurred for a specific instrument.DeribitAuthenticated.getUserTradesByInstrumentAndTime
(String instrumentName, long startTimestamp, long endTimestamp, Integer count, Boolean includeOld, String sorting, si.mazi.rescu.ParamsDigest auth) Retrieves the latest user trades that have occurred for a specific instrument and within given time range.DeribitAuthenticated.sell
(String instrumentName, BigDecimal amount, OrderType type, String label, BigDecimal price, TimeInForce timeInForce, BigDecimal maxShow, Boolean postOnly, Boolean rejectPostOnly, Boolean reduceOnly, BigDecimal triggerPrice, Trigger trigger, AdvancedOptions advanced, Boolean mmp, si.mazi.rescu.ParamsDigest auth) Places a sell order for an instrument. -
Uses of DeribitException in org.knowm.xchange.deribit.v2.service
Modifier and TypeMethodDescriptionprotected si.mazi.rescu.ParamsDigest
DeribitBaseService.getDeribitAuthentication()