Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available:
5.45.0
metadata
title: Stock Predictions
emoji: 📈
colorFrom: red
colorTo: purple
sdk: gradio
sdk_version: 5.44.0
app_file: app.py
pinned: true
license: mit
short_description: Use Amazon Chronos To Predict Stock Prices
tags:
- mcp-server-track
Structured Product & Crypto Prediction App
This Gradio-based app allows users to analyze stocks for structured financial products using advanced predictive models (Chronos T5), technical indicators, and visualize results. It also supports simple cryptocurrency predictions and provides affiliate links for automated trading bots.
Features
Stock & Structured Product Analysis
- Historical stock data fetching (daily, hourly, 15-minute intervals)
- Technical indicators: SMA, RSI, MACD, Bollinger Bands
- Volatility, drawdown, liquidity, and risk metrics
- Predictive analysis using Chronos T5 pipeline
- Automatic fallback to technical strategy if prediction fails
- Interactive Plotly visualizations
- Trading signals generation
Crypto Predictions
- Pulls historical crypto data (BTC, ETH, etc.) from Yahoo Finance
- Calculates SMA20 and SMA50 for trend signals
- Provides buy/sell indicators
Affiliate Links
- Links to popular crypto bots for automated trading:
Installation
Clone the repository and create a virtual environment:
git clone <repository-url>
cd crypto-prediction
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txt