CoinsImp..::..GetCoinOhlcTodayAsync Method
Get Open/High/Low/Close values with volume and market capitalization for the current day. Data can change every each request until actual close of the day.
Namespace:
CoinpaprikaApi.ImpAssembly: CoinpaprikaApi (in CoinpaprikaApi.dll)
Syntax
public Task<IEnumerable<OhlcvItem>> GetCoinOhlcTodayAsync( string coin_id, bool btc_quote )
Public Function GetCoinOhlcTodayAsync ( _ coin_id As String, _ btc_quote As Boolean _ ) As Task(Of IEnumerable(Of OhlcvItem))
Parameters
- coin_id
- Type: String
The coin identifier (ex: btc-bitcoin)..
- btc_quote
- Type: Boolean
>If set to true the quote currency is BTC, otherwise quote currency is USD.
Return Value
A Task<IEnumerable<OhlcvItem>> representing the asynchronous operation.Exceptions
Exception | Condition |
---|---|
ArgumentNullException | coin_id - Invalid value, coin_id must be a valid coin identified (ex: btc-bitcoin) |