Skip to main content

Lightweight Cryptocurrency Prediction AI with TinyGraD

Project description

quant-glow 🔮

Lightweight Cryptocurrency Prediction with TinyGraD

Lumix adalah package Python untuk prediksi cryptocurrency yang ringan dan efisien, dibangun dengan TinyGraD. Package ini sudah include model LSTM yang telah ditraining dan siap untuk inference.

✨ Features

  • 🚀 Pre-trained Model - Model LSTM sudah included, tidak perlu training ulang
  • 📈 13 Technical Indicators - Open, High, Low, Close, Volume, RSI, MACD, dll
  • 🔮 Trend Prediction - Prediksi bullish/bearish dengan confidence score
  • 💻 Minimal Dependencies - Hanya butuh TinyGraD dan NumPy
  • 📊 Multi-step Forecasting - Prediksi beberapa steps ke depan
  • 🐍 Python & CLI - Bisa digunakan via Python API atau command line

from quant_glow import LuminaPredictor import numpy as np

Initialize predictor

predictor = LuminaPredictor()

Add your cryptocurrency data (13 features)

Format: [open, high, low, close, volume, rsi, macd, macd_signal, bb_high, bb_low, ema_12, ema_26, atr]

sample_data = [ 19500.50, 19800.75, 19450.25, 19700.80, # Price data 3245678901.25, # Volume 65.2, 125.8, 120.3, # RSI, MACD, MACD Signal 19850.25, 19420.75, # Bollinger Bands 19680.40, 19520.60, # EMA 12 & 26 180.45 # ATR ]

Add data points (need at least 30 sequences for prediction)

for i in range(35): # Simulate some price movement features = [x + (i * 10) for x in sample_data] predictor.add_data_point(features)

Get prediction

result = predictor.predict_next() print(f"🎯 Prediction: {result['prediction']:.6f}") print(f"📈 Trend: {result['trend'].upper()}") print(f"🎲 Confidence: {result['confidence']:.4f}") print(f"📊 Features Used: {result['features_used']}")

🚀 Installation

pip install quant-glow

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quant_glow-0.1.0.tar.gz (216.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quant_glow-0.1.0-py3-none-any.whl (214.7 kB view details)

Uploaded Python 3

File details

Details for the file quant_glow-0.1.0.tar.gz.

File metadata

  • Download URL: quant_glow-0.1.0.tar.gz
  • Upload date:
  • Size: 216.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.12.12

File hashes

Hashes for quant_glow-0.1.0.tar.gz
Algorithm Hash digest
SHA256 298dd6b0cf1440f7592ef04a6751b389c4d770f53021854929e5b375699dbc4e
MD5 1351b997d727849a2933cb1001865763
BLAKE2b-256 91b982570347bd782a7124667bd8379dbd6950d509122716a9e3472e06c5829a

See more details on using hashes here.

File details

Details for the file quant_glow-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: quant_glow-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 214.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.12.12

File hashes

Hashes for quant_glow-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e74ce77e2c68dcb7f1e8a4e4ae011ba80e21567855677b46b30143144eba8b22
MD5 44dcfe25e88f33472c0b51c4109ec7b4
BLAKE2b-256 27cd19db88c155c10ec07c6b1f8f51e5b34b4212b956902f29d3e02fc4358f8a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page