Library for realtime and historical data on digital/crypto currencies
This is an ipm package, which contains one or more reusable assets within the ipm Community. The 'package.json' in this repo is a ipm spec's package.json, here, which is a superset of npm's package.json spec, here.
Get a free API Key Here:
https://www.alphavantage.co/support/#api-key
CryptoMarket
- Library for fetching crypto pricing
ExampleCryptoDaily
- Fetches daily prices for BTC
ExampleCryptoIntraday
- Fetches intraday prices for BTC
Fetch market prices for cryptocurrencies. Built upon Alpha Vantage's free API
Kind: global typedef
Link: https://www.alphavantage.co/documentation/
Param | Type | Description |
---|---|---|
apiKey | string |
API Key provided by Alpha Vantage |
market | string |
cryptocurrency market, ex "USD" (see docs link above for all options) |
Fetches intraday data for a cryptocurrency
memberof CryptoMarket
Kind: inner method of CryptoMarket
Param | Type | Description |
---|---|---|
symbol | string |
cryptocurrency symbol, ex "BTC" (see docs link above for all options) |
callback | callback |
response function(err, data) |
Fetches daily data for a cryptocurrency
memberof CryptoMarket
Kind: inner method of CryptoMarket
Param | Type | Description |
---|---|---|
symbol | string |
cryptocurrency symbol, ex "BTC" (see docs link above for all options) |
callback | callback |
response function(err, data) |
Powered by ClearBlade Enterprise IoT Platform: https://platform.clearblade.com