Esempio n. 1
0
        public Task <List <Trade> > Trades_latest_data_symbolAsync(string symbolId)
        {
            var url = CoinApiEndpointUrls.Trades_LatestSymbol(symbolId);

            return(GetData <List <Trade> >(url));
        }
Esempio n. 2
0
        public Task <List <OHLCV> > Ohlcv_historical_dataAsync(string symbolId, string periodId, DateTime start)
        {
            var url = CoinApiEndpointUrls.Ohlcv_HistoricalData(symbolId, periodId, start.ToString(DateFormat));

            return(GetData <List <OHLCV> >(url));
        }
Esempio n. 3
0
        public Task <List <Trade> > Trades_latest_data_allAsync(int limit)
        {
            var url = CoinApiEndpointUrls.Trades_Latest(limit);

            return(GetData <List <Trade> >(url));
        }
Esempio n. 4
0
        public Task <List <OHLCV> > Ohlcv_latest_dataAsync(string symbolId, string periodId)
        {
            var url = CoinApiEndpointUrls.Ohlcv_LatestData(symbolId, periodId);

            return(GetData <List <OHLCV> >(url));
        }
Esempio n. 5
0
        public Task <List <OHLCV> > Ohlcv_latest_asset_dataAsync(string assetBase, string assetQuote, string periodId)
        {
            var url = CoinApiEndpointUrls.Ohlcv_Asset_Latest(assetBase, assetQuote, periodId);

            return(GetData <List <OHLCV> >(url));
        }
Esempio n. 6
0
        public Task <ExchangeCurrentrate> Exchange_rates_get_all_current_ratesAsync(string baseId, bool invert = false)
        {
            var url = CoinApiEndpointUrls.ExchangeRate(baseId, invert);

            return(GetData <ExchangeCurrentrate>(url));
        }
Esempio n. 7
0
        public Task <List <Period> > Ohlcv_list_all_periodsAsync()
        {
            var url = CoinApiEndpointUrls.Ohlcv_Periods();

            return(GetData <List <Period> >(url));
        }
Esempio n. 8
0
 public Task <List <Icon> > Metadata_list_exchanges_iconsAsync(int iconSize)
 {
     return(GetData <List <Icon> >(CoinApiEndpointUrls.Exchanges_Icons(iconSize)));
 }
Esempio n. 9
0
        public Task <Exchangerate> Exchange_rates_get_specific_rateAsync(string baseId, string quoteId)
        {
            var url = CoinApiEndpointUrls.ExchangeRateSpecific(baseId, quoteId);

            return(GetData <Exchangerate>(url));
        }
Esempio n. 10
0
 public Task <List <Icon> > Metadata_list_assets_iconsAsync(int iconSize)
 {
     return(GetData <List <Icon> >(CoinApiEndpointUrls.Assests_Icons(iconSize)));
 }
Esempio n. 11
0
 public Task <List <Symbol> > Metadata_list_symbols_exchangeAsync(string exchangeId)
 {
     return(GetData <List <Symbol> >(CoinApiEndpointUrls.Symbols(exchangeId)));
 }
Esempio n. 12
0
 public Task <List <Symbol> > Metadata_list_symbolsAsync()
 {
     return(GetData <List <Symbol> >(CoinApiEndpointUrls.Symbols()));
 }
Esempio n. 13
0
 public Task <List <Asset> > Metadata_list_assetsAsync()
 {
     return(GetData <List <Asset> >(CoinApiEndpointUrls.Assets()));
 }
Esempio n. 14
0
 public Task <List <Exchange> > Metadata_list_exchangesAsync()
 {
     return(GetData <List <Exchange> >(CoinApiEndpointUrls.Exchanges()));
 }