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.1.tar.gz (217.1 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.1-py3-none-any.whl (215.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quant_glow-0.1.1.tar.gz
  • Upload date:
  • Size: 217.1 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.1.tar.gz
Algorithm Hash digest
SHA256 9ae8e07efe69ba73ceb1fab8d671b53dd82b90356ea2898acb57fbc14083c95e
MD5 045b33cf38092f290d1bbed32829def0
BLAKE2b-256 e678859ae0bb0b4b65c1c5bef2fbc82b1f86c008db70d7822b13d10252eb3d15

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quant_glow-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 215.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb1d76b85ed44344c849621434ccc6a820b76186059dceb2b065687f0c3d3ba3
MD5 0b9c556e62e0f098311141616ca1714a
BLAKE2b-256 02e00fc4b15ec2c3eb226b2449ce56478178f65f5f0715c4b764ab2e6d1eef62

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