CoinGecko

API

Watchers.CoinGecko.coinschartMethod

Get close price and volume for symbol id for specified number of days.

days="max"

returns all available history.

Watchers.CoinGecko.coinschart_rangeMethod

Same as CoinGecko.coinschart but for specified timerange.

  • from, to: date range boundaries.
From coingecko:

Data granularity is automatic (cannot be adjusted)

  • 1 day from current time = 5 minute interval data
  • 1 - 90 days from current time = hourly data
  • above 90 days from current time = daily data (00:00 UTC)
Watchers.CoinGecko.derivativesMethod

Returns all unexpired derivative contracts.

Contracts are grouped by exchange, the id being the slugified exchange name.

Watchers.CoinGecko.globaldataMethod

Returns global data for:

  • volume: total_volume (Dict{String, Float64})
  • mcap_change_24h: marketcapchangepercentage24h_usd