コード例 #1
0
        public Task <List <Trade> > Trades_latest_data_symbolAsync(string symbolId)
        {
            var url = CoinApiEndpointUrls.Trades_LatestSymbol(symbolId);

            return(GetData <List <Trade> >(url));
        }
コード例 #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));
        }
コード例 #3
0
        public Task <List <Trade> > Trades_latest_data_allAsync(int limit)
        {
            var url = CoinApiEndpointUrls.Trades_Latest(limit);

            return(GetData <List <Trade> >(url));
        }
コード例 #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));
        }
コード例 #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));
        }
コード例 #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));
        }
コード例 #7
0
        public Task <List <Period> > Ohlcv_list_all_periodsAsync()
        {
            var url = CoinApiEndpointUrls.Ohlcv_Periods();

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

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