Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/escomputers/automatic-order-book-scanner

Binance Automatic Order Book Scanner scans, aggregates price levels and displays them on a chart for further analysis
https://github.com/escomputers/automatic-order-book-scanner

algorithmic-trading binance binance-api charts cryptocurrencies orderbook orderbook-data python trading-signals

Last synced: 28 days ago
JSON representation

Binance Automatic Order Book Scanner scans, aggregates price levels and displays them on a chart for further analysis

Awesome Lists containing this project

README

        

## Scope
The scope of this tool is providing useful order book signals from Binance order book, by:
- reading symbol order book repeatedly
- saving aggregated price levels
- displaying data into a webpage using charts

Note: each symbol scan depth is limited by Binance API of last 5000 bids & asks

## Requirements
Docker

## Usage
Docker image is made of:
- PostgreSql database (official image)
- Redis server (official image)
- pgAdmin4 (official image)
- Application

In production run it in front of nginx reverse proxy

scanned by snyk

1. Export required environment variables
```
export=DJANGO_SECRET_KEY=
export=POSTGRES_PASSWORD=
export=PGADMIN_DEFAULT_EMAIL
export=PGADMIN_DEFAULT_PASSWORD=
```
2. Build and run
```
# Build (optional)
bash run.sh

# Run
docker compose exec web python babsproj/manage.py qcluster
```

3. First time run, populate symbols list and schedule weekly update
```
docker compose exec web python babsproj/babs/bootstrap.py schedule-symbols
```