[generated documentation]
BittrexSocketClient > SpotApi
Bittrex Spot streams


SubscribeToBalanceUpdatesAsync

https://bittrex.github.io/api/v3#method-Balance

Subscribe to balance updates

var client = new BittrexSocketClient();  
var result = await client.SpotApi.SubscribeToBalanceUpdatesAsync(/* parameters */);  
Task<CallResult<UpdateSubscription>> SubscribeToBalanceUpdatesAsync(Action<DataEvent<BittrexBalanceUpdate>> onUpdate, CancellationToken ct = default);  
Parameter Description
onUpdate Data handler
[Optional] ct Cancellation token for closing this subscription


SubscribeToConditionalOrderUpdatesAsync

https://bittrex.github.io/api/v3#method-Conditional-Order

Subscribe to conditional order updates

var client = new BittrexSocketClient();  
var result = await client.SpotApi.SubscribeToConditionalOrderUpdatesAsync(/* parameters */);  
Task<CallResult<UpdateSubscription>> SubscribeToConditionalOrderUpdatesAsync(Action<DataEvent<BittrexConditionalOrderUpdate>> onUpdate, CancellationToken ct = default);  
Parameter Description
onUpdate Data handler
[Optional] ct Cancellation token for closing this subscription


SubscribeToDepositUpdatesAsync

https://bittrex.github.io/api/v3#method-Deposit

Subscribe to deposit updates

var client = new BittrexSocketClient();  
var result = await client.SpotApi.SubscribeToDepositUpdatesAsync(/* parameters */);  
Task<CallResult<UpdateSubscription>> SubscribeToDepositUpdatesAsync(Action<DataEvent<BittrexDepositUpdate>> onUpdate, CancellationToken ct = default);  
Parameter Description
onUpdate Data handler
[Optional] ct Cancellation token for closing this subscription


SubscribeToHeartbeatAsync

https://bittrex.github.io/api/v3#method-Heartbeat

Subscribe to heartbeat updates

var client = new BittrexSocketClient();  
var result = await client.SpotApi.SubscribeToHeartbeatAsync(/* parameters */);  
Task<CallResult<UpdateSubscription>> SubscribeToHeartbeatAsync(Action<DataEvent<DateTime>> onHeartbeat, CancellationToken ct = default);  
Parameter Description
onHeartbeat Data handler
[Optional] ct Cancellation token for closing this subscription


SubscribeToKlineUpdatesAsync

https://bittrex.github.io/api/v3#method-Candle

Subscribe to kline(candle) updates for a symbol

var client = new BittrexSocketClient();  
var result = await client.SpotApi.SubscribeToKlineUpdatesAsync(/* parameters */);  
Task<CallResult<UpdateSubscription>> SubscribeToKlineUpdatesAsync(string symbol, KlineInterval interval, Action<DataEvent<BittrexKlineUpdate>> onUpdate, CancellationToken ct = default);  
Parameter Description
symbol The symbol
interval Interval of the candles
onUpdate Data handler
[Optional] ct Cancellation token for closing this subscription


SubscribeToKlineUpdatesAsync

https://bittrex.github.io/api/v3#method-Candle

Subscribe to kline(candle) updates for a symbol

var client = new BittrexSocketClient();  
var result = await client.SpotApi.SubscribeToKlineUpdatesAsync(/* parameters */);  
Task<CallResult<UpdateSubscription>> SubscribeToKlineUpdatesAsync(IEnumerable<string> symbols, KlineInterval interval, Action<DataEvent<BittrexKlineUpdate>> onUpdate, CancellationToken ct = default);  
Parameter Description
symbols The symbols
interval Interval of the candles
onUpdate Data handler
[Optional] ct Cancellation token for closing this subscription


SubscribeToOrderBookUpdatesAsync

https://bittrex.github.io/api/v3#method-Orderbook

Subscribe to order book updates

var client = new BittrexSocketClient();  
var result = await client.SpotApi.SubscribeToOrderBookUpdatesAsync(/* parameters */);  
Task<CallResult<UpdateSubscription>> SubscribeToOrderBookUpdatesAsync(string symbol, int depth, Action<DataEvent<BittrexOrderBookUpdate>> onUpdate, CancellationToken ct = default);  
Parameter Description
symbol The symbol
depth The depth of the oder book to receive update for
onUpdate Data handler
[Optional] ct Cancellation token for closing this subscription


SubscribeToOrderBookUpdatesAsync

https://bittrex.github.io/api/v3#method-Orderbook

Subscribe to order book updates

var client = new BittrexSocketClient();  
var result = await client.SpotApi.SubscribeToOrderBookUpdatesAsync(/* parameters */);  
Task<CallResult<UpdateSubscription>> SubscribeToOrderBookUpdatesAsync(IEnumerable<string> symbols, int depth, Action<DataEvent<BittrexOrderBookUpdate>> onUpdate, CancellationToken ct = default);  
Parameter Description
symbols The symbols
depth The depth of the oder book to receive update for
onUpdate Data handler
[Optional] ct Cancellation token for closing this subscription


SubscribeToOrderUpdatesAsync

https://bittrex.github.io/api/v3#method-Order

Subscribe to order updates

var client = new BittrexSocketClient();  
var result = await client.SpotApi.SubscribeToOrderUpdatesAsync(/* parameters */);  
Task<CallResult<UpdateSubscription>> SubscribeToOrderUpdatesAsync(Action<DataEvent<BittrexOrderUpdate>> onUpdate, CancellationToken ct = default);  
Parameter Description
onUpdate Data handler
[Optional] ct Cancellation token for closing this subscription


SubscribeToSymbolSummaryUpdatesAsync

https://bittrex.github.io/api/v3#method-Market-Summaries

Subscribe to all symbol summary updates

var client = new BittrexSocketClient();  
var result = await client.SpotApi.SubscribeToSymbolSummaryUpdatesAsync(/* parameters */);  
Task<CallResult<UpdateSubscription>> SubscribeToSymbolSummaryUpdatesAsync(Action<DataEvent<BittrexSummariesUpdate>> onUpdate, CancellationToken ct = default);  
Parameter Description
onUpdate Data handler
[Optional] ct Cancellation token for closing this subscription


SubscribeToSymbolSummaryUpdatesAsync

https://bittrex.github.io/api/v3#method-Market-Summary

Subscribe to symbol summary updates

var client = new BittrexSocketClient();  
var result = await client.SpotApi.SubscribeToSymbolSummaryUpdatesAsync(/* parameters */);  
Task<CallResult<UpdateSubscription>> SubscribeToSymbolSummaryUpdatesAsync(string symbol, Action<DataEvent<BittrexSymbolSummary>> onUpdate, CancellationToken ct = default);  
Parameter Description
symbol The symbol
onUpdate Data handler
[Optional] ct Cancellation token for closing this subscription


SubscribeToSymbolSummaryUpdatesAsync

https://bittrex.github.io/api/v3#method-Market-Summary

Subscribe to symbol summary updates

var client = new BittrexSocketClient();  
var result = await client.SpotApi.SubscribeToSymbolSummaryUpdatesAsync(/* parameters */);  
Task<CallResult<UpdateSubscription>> SubscribeToSymbolSummaryUpdatesAsync(IEnumerable<string> symbols, Action<DataEvent<BittrexSymbolSummary>> onUpdate, CancellationToken ct = default);  
Parameter Description
symbols The symbols
onUpdate Data handler
[Optional] ct Cancellation token for closing this subscription


SubscribeToTickerUpdatesAsync

https://bittrex.github.io/api/v3#method-Tickers

Subscribe to all symbols ticker updates

var client = new BittrexSocketClient();  
var result = await client.SpotApi.SubscribeToTickerUpdatesAsync(/* parameters */);  
Task<CallResult<UpdateSubscription>> SubscribeToTickerUpdatesAsync(Action<DataEvent<BittrexTickersUpdate>> onUpdate, CancellationToken ct = default);  
Parameter Description
onUpdate Data handler
[Optional] ct Cancellation token for closing this subscription


SubscribeToTickerUpdatesAsync

https://bittrex.github.io/api/v3#method-Ticker

Subscribe to symbol ticker updates

var client = new BittrexSocketClient();  
var result = await client.SpotApi.SubscribeToTickerUpdatesAsync(/* parameters */);  
Task<CallResult<UpdateSubscription>> SubscribeToTickerUpdatesAsync(string symbol, Action<DataEvent<BittrexTick>> onUpdate, CancellationToken ct = default);  
Parameter Description
symbol The symbol
onUpdate Data handler
[Optional] ct Cancellation token for closing this subscription


SubscribeToTickerUpdatesAsync

https://bittrex.github.io/api/v3#method-Ticker

Subscribe to symbol ticker updates

var client = new BittrexSocketClient();  
var result = await client.SpotApi.SubscribeToTickerUpdatesAsync(/* parameters */);  
Task<CallResult<UpdateSubscription>> SubscribeToTickerUpdatesAsync(IEnumerable<string> symbols, Action<DataEvent<BittrexTick>> onUpdate, CancellationToken ct = default);  
Parameter Description
symbols The symbols
onUpdate Data handler
[Optional] ct Cancellation token for closing this subscription


SubscribeToTradeUpdatesAsync

https://bittrex.github.io/api/v3#method-Trade

Subscribe to symbol trade updates

var client = new BittrexSocketClient();  
var result = await client.SpotApi.SubscribeToTradeUpdatesAsync(/* parameters */);  
Task<CallResult<UpdateSubscription>> SubscribeToTradeUpdatesAsync(string symbol, Action<DataEvent<BittrexTradesUpdate>> onUpdate, CancellationToken ct = default);  
Parameter Description
symbol The symbol
onUpdate Data handler
[Optional] ct Cancellation token for closing this subscription


SubscribeToTradeUpdatesAsync

https://bittrex.github.io/api/v3#method-Trade

Subscribe to symbol trade updates

var client = new BittrexSocketClient();  
var result = await client.SpotApi.SubscribeToTradeUpdatesAsync(/* parameters */);  
Task<CallResult<UpdateSubscription>> SubscribeToTradeUpdatesAsync(IEnumerable<string> symbols, Action<DataEvent<BittrexTradesUpdate>> onUpdate, CancellationToken ct = default);  
Parameter Description
symbols The symbols
onUpdate Data handler
[Optional] ct Cancellation token for closing this subscription


SubscribeToUserTradeUpdatesAsync

https://bittrex.github.io/api/v3#method-Execution

Subscribe to user trade updates

var client = new BittrexSocketClient();  
var result = await client.SpotApi.SubscribeToUserTradeUpdatesAsync(/* parameters */);  
Task<CallResult<UpdateSubscription>> SubscribeToUserTradeUpdatesAsync(Action<DataEvent<BittrexExecutionUpdate>> onUpdate, CancellationToken ct = default);  
Parameter Description
onUpdate Data handler
[Optional] ct Cancellation token for closing this subscription


Table of contents