~franz/coin-fetch-rates

Fetch rates from exchange, save to Mongo
799f2240 — Franz Geffke 2 years ago
Updated readmel
8940fb3d — Franz Geffke 2 years ago
Updated readme, added timestamp
d6556ac8 — Franz Geffke 2 years ago
Updated readme

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~franz/coin-fetch-rates
read/write
git@git.sr.ht:~franz/coin-fetch-rates

You can also use your local clone with git send-email.

#Python modules

export LC_ALL=C
# https://stackoverflow.com/questions/36394101/pip-install-locale-error-unsupported-locale-setting
sudo apt-get install python3-pip # Ubuntu
python3 -m pip install --upgrade pip
git clone https://github.com/franzos/coin_fetch_rates.git
cd coin_fetch_rates
# python3 -m python_env
# source python_env/bin/activate

python3 -m pip install configparser requests setuptools ccxt pymongo

#Scheduling

pwd # Determine current path
crontab -e
*/1 * * * * cd /path/to/coin_fetch_rates/ && python3 run.py