CoinCandle is a high-performance cryptocurrency analysis system that processes historical market data from Binance, stores it in PostgreSQL, and provides actionable trading insights through advanced technical indicators.
Core Capabilities:
- Real-time data ingestion from Binance API
- Smart duplicate detection with SHA-256 hashing
- Automated technical analysis (SMA, RSI, Volatility)
- PostgreSQL-optimized storage engine
git clone https://gitlab.com/AnastasiaLitvinova/coincandle.git
cd coincandle-
Set up environment:
python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt -
Configure database:
createdb crypto_metrics
-
Create
.envfile:DB_HOST=localhost DB_PORT=5432 DB_NAME=crypto_metrics DB_USER=postgres DB_PASSWORD=*****
Basic analysis:
./.venv/bin/python3 src/app.py --days 356 --symbol ETHUSDT --interval 1hSample output:
Advanced Market Analysis Report
==================================================
Volatility Analysis:
Peak Volatility: 18.50% on 2024-08-05 01:00
Technical Indicators:
Current Price: 1772.28
20-period SMA: 1765.75
Trend: Bullish (6.53 deviation)
Returns Statistics:
Average Daily Return: -0.00%
Max Daily Gain: 9.56%
Max Daily Loss: -11.74%
Volume Analysis:
Average Volume: 18827.68
Volume Trend: Up
Price vs SMA(20):
[5 days ago] Price: 1767.26 | SMA: 1761.51
[4 days ago] Price: 1776.96 | SMA: 1762.85
[3 days ago] Price: 1777.18 | SMA: 1763.95
[2 days ago] Price: 1775.19 | SMA: 1764.82
[1 days ago] Price: 1772.28 | SMA: 1765.75- Binance Futures support
- Machine Learning integration
- Telegram bot notifications
- Multi-exchange aggregation
Distributed under MIT License. See LICENSE for more information.