Skip to content

AnastasiaLitvinova/CoinCandle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoinCandle: Cryptocurrency Market Analytics Platform

License: MIT

Getting Started

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

Add Your Files

git clone https://gitlab.com/AnastasiaLitvinova/coincandle.git
cd coincandle

Installation & Configuration

  1. Set up environment:

    python3 -m venv .venv
    source .venv/bin/activate
    pip install -r requirements.txt
  2. Configure database:

    createdb crypto_metrics
  3. Create .env file:

    DB_HOST=localhost
    DB_PORT=5432
    DB_NAME=crypto_metrics
    DB_USER=postgres
    DB_PASSWORD=*****

Usage Examples

Basic analysis:

./.venv/bin/python3 src/app.py --days 356 --symbol ETHUSDT --interval 1h

Sample 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

Roadmap

  • Binance Futures support
  • Machine Learning integration
  • Telegram bot notifications
  • Multi-exchange aggregation

License

Distributed under MIT License. See LICENSE for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages