Spaces:
Sleeping
Download README.md from 1FahadShah/kryptrix: direct link, hf CLI and curl.
- Browser
- Download file 2.44 kB
-
https://huggingface.co/spaces/1FahadShah/kryptrix/resolve/main/README.md
- Command line
-
hf download hf://spaces/1FahadShah/kryptrix/README.md
-
curl -L -o README.md https://huggingface.co/spaces/1FahadShah/kryptrix/resolve/main/README.md
A newer version of the Streamlit SDK is available: 1.68.0
title: Kryptrix
emoji: πΉ
colorFrom: blue
colorTo: green
sdk: streamlit
sdk_version: 1.49.1
app_file: app.py
pinned: false
Kryptrix πΉ
Overview
Kryptrix is a real-time cryptocurrency analytics and simulation platform, designed for both Centralized (CEX) and Decentralized (DEX) exchanges. It provides:
β Real-time Trading Analytics: Fetches live prices from Binance, CoinGecko, and optionally Uniswap. Computes indicators: SMA10/30, EMA, RSI14, VWAP24h, realized volatility. Detects arbitrage opportunities between CEX and DEX. Detects anomalies: volume spikes, price jumps, z-score deviations.
β Feature Simulation (A/B Testing): Models the impact of changing fees, latency, or UI conversion. Shows baseline vs simulated revenue, delta, and actionable recommendations.
β KPI Dashboard: Visualizes Last Price, 24h Volume, VWAP, Active Arbitrage, API Health, Anomalies. Interactive charts and tables powered by Plotly.
β Stakeholder Requests & Reporting: Input portal for stakeholder questions. Generates PDF reports with KPIs, top arbitrage opportunities, anomalies, and charts.
Getting Started
Run Locally
git clone https://github.com/1FahadShah/kryptrix.git
cd kryptrix
python -m venv venv
source venv/bin/activate # Mac/Linux
# .\venv\Scripts\activate # Windows
pip install -r requirements.txt
streamlit run app.py
Hugging Face Space
Visit the live demo: kryptrix.1fahadshah.com
Project Structure
kryptrix/
βββ core/ # Backend logic and analytics
βββ dashboard/ # Streamlit UI pages
βββ database/ # SQLite setup and migrations
βββ scripts/ # Helper scripts like seed_db.py
βββ tests/ # Unit tests
βββ app.py # Streamlit entrypoint
βββ config.py # API endpoints and thresholds
βββ requirements.txt
βββ Dockerfile
βββ README.md
Deployment
- Hugging Face Space: Auto-deploy via GitHub Actions.
- Local Development: Use streamlit run app.py.
- Docker: docker build -t kryptrix . && docker run -p 8501:8501 kryptrix
License
This project is licensed under the MIT License