Class CoinbaseProStreamingTradeService
java.lang.Object
info.bitrich.xchangestream.coinbasepro.CoinbaseProStreamingTradeService
- All Implemented Interfaces:
StreamingTradeService
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.Observable<org.knowm.xchange.dto.Order>getOrderChanges(org.knowm.xchange.currency.CurrencyPair currencyPair, Object... args) Warning: the order change stream is not yet fully implemented for Coinbase Pro.io.reactivex.Observable<CoinbaseProWebSocketTransaction>getRawWebSocketTransactions(org.knowm.xchange.currency.CurrencyPair currencyPair, boolean filterChannelName) Web socket transactions related to the specified currency, in their raw format.io.reactivex.Observable<org.knowm.xchange.dto.trade.UserTrade>getUserTrades(org.knowm.xchange.currency.CurrencyPair currencyPair, Object... args) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface info.bitrich.xchangestream.core.StreamingTradeService
getOrderChanges, getUserTrades, getUserTrades
-
Method Details
-
getUserTrades
public io.reactivex.Observable<org.knowm.xchange.dto.trade.UserTrade> getUserTrades(org.knowm.xchange.currency.CurrencyPair currencyPair, Object... args) - Specified by:
getUserTradesin interfaceStreamingTradeService
-
getOrderChanges
public io.reactivex.Observable<org.knowm.xchange.dto.Order> getOrderChanges(org.knowm.xchange.currency.CurrencyPair currencyPair, Object... args) Warning: the order change stream is not yet fully implemented for Coinbase Pro. Orders are not fully populated, containing only the values changed since the last update. Other values will be null.- Specified by:
getOrderChangesin interfaceStreamingTradeService
-
getRawWebSocketTransactions
public io.reactivex.Observable<CoinbaseProWebSocketTransaction> getRawWebSocketTransactions(org.knowm.xchange.currency.CurrencyPair currencyPair, boolean filterChannelName) Web socket transactions related to the specified currency, in their raw format.- Parameters:
currencyPair- The currency pair.- Returns:
- The stream.
-