binanceCrawler
Requirements:
- python3
- pip3
Usage:
- clone project into /opt
chmod -R 777 binanceCrawler/
sudo chgrp -R pi binanceCrawler/
sudo chown -R $USER binanceCrawler/
cd binanceCrawler/crawler/crawler/spiders
chmod +x script.sh
- update file settings.txt:
- mail_address_recipient: where do you want to send the mail to
- mail_address_sender: from which mail do you want to send
- mail_address_password: password for mail to send
- api_key: gate.io api key
- api_secret: gate.io api secret
sudo apt-get update
sudo apt install git
sudo apt-get install python3-pip
sudo pip3 install -r requirements.txt
sudo apt-get install libxslt-dev
scrapy crawl binance -O newListings.json && python3 main.py
before first run, make sure that oldListings.json is up do date. So you don't accidentally buy something, you don't want to buy
crontab -e
*/1 04-11 * * 1-5 /opt/binanceCrawler/crawler/crawler/spiders/script.sh