Class KrakenFuturesStreamingMarketDataService
java.lang.Object
info.bitrich.xchangestream.krakenfutures.KrakenFuturesStreamingMarketDataService
- All Implemented Interfaces:
StreamingMarketDataService
public class KrakenFuturesStreamingMarketDataService
extends Object
implements StreamingMarketDataService
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Observable<FundingRate>
getFundingRate
(Instrument instrument, Object... args) Get funding rate of specific instrument.io.reactivex.rxjava3.core.Observable<OrderBook>
getOrderBook
(Instrument instrument, Object... args) io.reactivex.rxjava3.core.Observable<Ticker>
getTicker
(Instrument instrument, Object... args) io.reactivex.rxjava3.core.Observable<Trade>
getTrades
(Instrument instrument, Object... args) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface info.bitrich.xchangestream.core.StreamingMarketDataService
getFundingRates, getOrderBook, getOrderBookUpdates, getTicker, getTrades
-
Constructor Details
-
KrakenFuturesStreamingMarketDataService
-
-
Method Details
-
getOrderBook
public io.reactivex.rxjava3.core.Observable<OrderBook> getOrderBook(Instrument instrument, Object... args) - Specified by:
getOrderBook
in interfaceStreamingMarketDataService
-
getTicker
public io.reactivex.rxjava3.core.Observable<Ticker> getTicker(Instrument instrument, Object... args) - Specified by:
getTicker
in interfaceStreamingMarketDataService
-
getTrades
- Specified by:
getTrades
in interfaceStreamingMarketDataService
-
getFundingRate
public io.reactivex.rxjava3.core.Observable<FundingRate> getFundingRate(Instrument instrument, Object... args) Description copied from interface:StreamingMarketDataService
Get funding rate of specific instrument.- Specified by:
getFundingRate
in interfaceStreamingMarketDataService
- Parameters:
instrument
- Instrument to get the funding rate for- Returns:
Observable
that emitsFundingRate
when exchange sends the update.
-