/historical-prices

Collect historical prices from different sources

Primary LanguageJavaScript

Historical Prices

npm i

How to use

  1. Add tokens to DB npm run add-tokens
  2. Coingecko npm run coingecko
  3. Uniswap npm run uniswap

DB

tokens

  • id - int
  • address - varchar(42)
  • decimals - tinyint
  • label - varchar(255)
  • symbol - varchar(255

coingecko_hourly

  • id - bigint
  • price_usd - double(20,10)
  • volume - double(30,10)
  • was_at - datetime
  • created_at - datetime

uniswap_daily

  • id - bigint
  • price_usd - double(20,10)
  • volume - double(30,10)
  • was_at - date
  • created_at - datetime