Package org.knowm.xchange.krakenfutures
Class KrakenFuturesAdapters
java.lang.Object
org.knowm.xchange.krakenfutures.KrakenFuturesAdapters
- Author:
- Jean-Christophe Laruelle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AccountInfo
adaptAccounts
(KrakenFuturesAccounts krakenFuturesAccounts, KrakenFuturesOpenPositions krakenFuturesOpenPositions) AccountInfo only for the MultiCollateral account is implementedstatic UserTrade
adaptFill
(KrakenFuturesFill fill) static UserTrades
adaptFills
(KrakenFuturesFills krakenFuturesFills) static FundingRate
adaptFundingRate
(KrakenFuturesTicker krakenFuturesTicker) static FundingRates
adaptFundingRates
(KrakenFuturesTickers krakenFuturesTickers) static Instrument
adaptInstrument
(String symbol) static ExchangeMetaData
adaptInstrumentsMetaData
(KrakenFuturesInstruments krakenFuturesInstruments) static Order
adaptKrakenFuturesOrder
(KrakenFuturesOrdersStatusesResponse.KrakenFuturesOrder krakenFuturesOrder) static String
adaptKrakenFuturesSymbol
(Instrument instrument) static LimitOrder
static OpenOrders
static OpenPositions
adaptOpenPositions
(KrakenFuturesOpenPositions krakenFuturesOpenPositions) static OrderBook
adaptOrderBook
(KrakenFuturesOrderBook krakenFuturesOrderBook) static Order.OrderStatus
adaptOrderStatus
(KrakenFuturesOrderStatus krakenFuturesOrderStatus) static Order.OrderType
adaptOrderType
(KrakenFuturesOrderSide krakenFuturesOrderType) static StopOrder
static Ticker
adaptTicker
(KrakenFuturesTicker krakenFuturesTicker, Instrument instrument) static Trades
adaptTrades
(KrakenFuturesPublicFills krakenFuturesTrades, Instrument instrument)
-
Constructor Details
-
KrakenFuturesAdapters
public KrakenFuturesAdapters()
-
-
Method Details
-
adaptTicker
-
adaptAccounts
public static AccountInfo adaptAccounts(KrakenFuturesAccounts krakenFuturesAccounts, KrakenFuturesOpenPositions krakenFuturesOpenPositions) AccountInfo only for the MultiCollateral account is implemented -
adaptOrderType
-
adaptLimitOrder
-
adaptStopOrder
-
adaptOpenOrders
-
adaptFill
-
adaptFills
-
adaptOrderBook
-
adaptInstrumentsMetaData
public static ExchangeMetaData adaptInstrumentsMetaData(KrakenFuturesInstruments krakenFuturesInstruments) -
adaptInstrument
-
adaptKrakenFuturesSymbol
-
adaptTrades
public static Trades adaptTrades(KrakenFuturesPublicFills krakenFuturesTrades, Instrument instrument) -
adaptFundingRates
-
adaptFundingRate
-
adaptKrakenFuturesOrder
public static Order adaptKrakenFuturesOrder(KrakenFuturesOrdersStatusesResponse.KrakenFuturesOrder krakenFuturesOrder) -
adaptOrderStatus
-
adaptOpenPositions
public static OpenPositions adaptOpenPositions(KrakenFuturesOpenPositions krakenFuturesOpenPositions)
-