Skip to content

the1des/crypto_data_collection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The repository was prepared for educational purposes by 1DES. How to develop a machine learning trading bot: Data Collection

Goal

This code is intended to collect the stream prices of the BTC/USDT and BTC/EUR pairs on Binance and the BTC/USD and BTC/EUR pairs on Kraken.

Setup

1 - Start with cloning the repository:

git clone git@github.com:the1des/crypto_data_collection.git

2- Installed all the requirements:

pip install -r requirements.txt

3- use the SQL queries files and make a database: crypto_data_collection/sql

4- make a copy of the file ".env.example" and rename it ".env", and then update the following environmental variables:

DB_HOST=localhost DB_USERNAME=postgres DB_PASSWORD=YOURPASSWORD DB_DATABASE=ohlc

5- Run the code for Binance:

python bin/binance.py

And Kraken:

python bin/kraken.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published