Node JS app to aggregate and persist crypto currency market prices from 90+ exchanges. Quotes are persisted to a Postgresql database in a docker container or standalone.
see: https://github.com/ccxt/ccxt for supported exchanges
Copy config/production.sample.json to config/production.json and modify as required. default.json values will be overridden by file with same name as NODE_ENV environment variable
- database : set database connection parameters below
- driver
- host
- user
- pass
- schema
- fetcher
- includeExchanges : only include these exchanges for price fetching
- excludeExchanges : blacklist exchanges for price fetching
- includeSymbols : only include these market symbols for price fetching
- excludeSymbols : blacklist market symbols for price fetching
- concurrency : maximum number of conncurrent http requests to exchange api endpoints
- maxExchangeFetchFailures : exchange will be purged from include list after this many failed requests
- waitIntervalSeconds : wait this many seconds between each round of api requests
docker-compose up --build
-
Setup the database and edit config json file
-
Run install
npm install
- Run script
node main.js