Skip to main content

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

Metadata

Release files for quant-glow 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quant-glow 0.1.1
File Size Uploaded
quant_glow-0.1.1.tar.gz 217.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quant-glow 0.1.1
File Interpreter ABI Platform
quant_glow-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 432.6 kB

Release files / quant_glow-0.1.1.tar.gz

Download URL quant_glow-0.1.1.tar.gz
Size 217.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9ae8e07efe69ba73ceb1fab8d671b53dd82b90356ea2898acb57fbc14083c95e
BLAKE2b-256 checksum
How to use checksums
e678859ae0bb0b4b65c1c5bef2fbc82b1f86c008db70d7822b13d10252eb3d15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.12.12

Release files / quant_glow-0.1.1-py3-none-any.whl

Download URL quant_glow-0.1.1-py3-none-any.whl
Size 215.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb1d76b85ed44344c849621434ccc6a820b76186059dceb2b065687f0c3d3ba3
BLAKE2b-256 checksum
How to use checksums
02e00fc4b15ec2c3eb226b2449ce56478178f65f5f0715c4b764ab2e6d1eef62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.12.12

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page