[generated documentation]
BittrexRestClient > SpotApi > ExchangeData
Bittrex exchange data endpoints. Exchange data includes market data (tickers, order books, etc) and system status.
GetAssetAsync
https://bittrex.github.io/api/v3#operation--currencies--symbol--get
Gets info on a asset
var client = new BittrexRestClient();
var result = await client.SpotApi.ExchangeData.GetAssetAsync(/* parameters */);
Task<WebCallResult<BittrexAsset>> GetAssetAsync(string asset, CancellationToken ct = default);
Parameter | Description |
---|---|
asset | The name of the asset |
[Optional] ct | Cancellation token |
GetAssetsAsync
https://bittrex.github.io/api/v3#operation--currencies-get
Gets a list of all assets
var client = new BittrexRestClient();
var result = await client.SpotApi.ExchangeData.GetAssetsAsync();
Task<WebCallResult<IEnumerable<BittrexAsset>>> GetAssetsAsync(CancellationToken ct = default);
Parameter | Description |
---|---|
[Optional] ct | Cancellation token |
GetHistoricalKlinesAsync
Gets historical klines for a symbol
var client = new BittrexRestClient();
var result = await client.SpotApi.ExchangeData.GetHistoricalKlinesAsync(/* parameters */);
Task<WebCallResult<IEnumerable<BittrexKline>>> GetHistoricalKlinesAsync(string symbol, KlineInterval interval, int year, int? month = default, int? day = default, KlineType? type = default, CancellationToken ct = default);
Parameter | Description |
---|---|
symbol | The symbol to get klines for |
interval | The interval of the klines |
year | The year to get klines for |
[Optional] month | The month to get klines for |
[Optional] day | The day to get klines for |
[Optional] type | The type of klines |
[Optional] ct | Cancellation token |
GetKlinesAsync
Gets the klines for a symbol. Sequence number of the data available via ResponseHeaders.GetSequence()
var client = new BittrexRestClient();
var result = await client.SpotApi.ExchangeData.GetKlinesAsync(/* parameters */);
Task<WebCallResult<IEnumerable<BittrexKline>>> GetKlinesAsync(string symbol, KlineInterval interval, KlineType? type = default, CancellationToken ct = default);
Parameter | Description |
---|---|
symbol | The symbol to get klines for |
interval | The interval of the klines |
[Optional] type | The type of klines |
[Optional] ct | Cancellation token |
GetOrderBookAsync
https://bittrex.github.io/api/v3#operation--markets--marketSymbol--orderbook-get
Gets the order book of a symbol
var client = new BittrexRestClient();
var result = await client.SpotApi.ExchangeData.GetOrderBookAsync(/* parameters */);
Task<WebCallResult<BittrexOrderBook>> GetOrderBookAsync(string symbol, int? limit = default, CancellationToken ct = default);
Parameter | Description |
---|---|
symbol | The symbol to get the order book for |
[Optional] limit | The number of results per side for the order book (1, 25 or 500) |
[Optional] ct | Cancellation token |
GetServerTimeAsync
https://bittrex.github.io/api/v3#operation--ping-get
Gets the server time
var client = new BittrexRestClient();
var result = await client.SpotApi.ExchangeData.GetServerTimeAsync();
Task<WebCallResult<DateTime>> GetServerTimeAsync(CancellationToken ct = default);
Parameter | Description |
---|---|
[Optional] ct | Cancellation token |
GetSymbolAsync
https://bittrex.github.io/api/v3#operation--markets--marketSymbol--get
Gets information about a symbol
var client = new BittrexRestClient();
var result = await client.SpotApi.ExchangeData.GetSymbolAsync(/* parameters */);
Task<WebCallResult<BittrexSymbol>> GetSymbolAsync(string symbol, CancellationToken ct = default);
Parameter | Description |
---|---|
symbol | The symbol to get info for |
[Optional] ct | Cancellation token |
GetSymbolsAsync
https://bittrex.github.io/api/v3#operation--markets-get
Gets information about all available symbols
var client = new BittrexRestClient();
var result = await client.SpotApi.ExchangeData.GetSymbolsAsync();
Task<WebCallResult<IEnumerable<BittrexSymbol>>> GetSymbolsAsync(CancellationToken ct = default);
Parameter | Description |
---|---|
[Optional] ct | Cancellation token |
GetSymbolSummariesAsync
https://bittrex.github.io/api/v3#operation--markets-summaries-get
Gets summaries of all symbols. Sequence number of the data available via ResponseHeaders.GetSequence()
var client = new BittrexRestClient();
var result = await client.SpotApi.ExchangeData.GetSymbolSummariesAsync();
Task<WebCallResult<IEnumerable<BittrexSymbolSummary>>> GetSymbolSummariesAsync(CancellationToken ct = default);
Parameter | Description |
---|---|
[Optional] ct | Cancellation token |
GetSymbolSummaryAsync
https://bittrex.github.io/api/v3#operation--markets--marketSymbol--summary-get
Gets summary of a symbol
var client = new BittrexRestClient();
var result = await client.SpotApi.ExchangeData.GetSymbolSummaryAsync(/* parameters */);
Task<WebCallResult<BittrexSymbolSummary>> GetSymbolSummaryAsync(string symbol, CancellationToken ct = default);
Parameter | Description |
---|---|
symbol | The symbol to get info for |
[Optional] ct | Cancellation token |
GetTickerAsync
https://bittrex.github.io/api/v3#operation--markets--marketSymbol--ticker-get
Gets the ticker of a symbol
var client = new BittrexRestClient();
var result = await client.SpotApi.ExchangeData.GetTickerAsync(/* parameters */);
Task<WebCallResult<BittrexTick>> GetTickerAsync(string symbol, CancellationToken ct = default);
Parameter | Description |
---|---|
symbol | The symbol to get ticker for |
[Optional] ct | Cancellation token |
GetTickersAsync
https://bittrex.github.io/api/v3#operation--markets-tickers-get
Gets list of tickers for all symbols. Sequence number of the data available via ResponseHeaders.GetSequence()
var client = new BittrexRestClient();
var result = await client.SpotApi.ExchangeData.GetTickersAsync();
Task<WebCallResult<IEnumerable<BittrexTick>>> GetTickersAsync(CancellationToken ct = default);
Parameter | Description |
---|---|
[Optional] ct | Cancellation token |
GetTradeHistoryAsync
https://bittrex.github.io/api/v3#operation--markets--marketSymbol--trades-get
Gets the trade history of a symbol. Sequence number of the data available via ResponseHeaders.GetSequence()
var client = new BittrexRestClient();
var result = await client.SpotApi.ExchangeData.GetTradeHistoryAsync(/* parameters */);
Task<WebCallResult<IEnumerable<BittrexTrade>>> GetTradeHistoryAsync(string symbol, CancellationToken ct = default);
Parameter | Description |
---|---|
symbol | The symbol to get trades for |
[Optional] ct | Cancellation token |