File size: 1,692 Bytes
45d4dac
 
c8bde80
 
 
45d4dac
4ed5969
45d4dac
c8bde80
45d4dac
 
fe80389
c8bde80
45d4dac
 
1d3b489
c8bde80
1d3b489
7f41c98
 
 
1d3b489
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ea900ba
79472dd
7f41c98
1d3b489
7f41c98
 
1d3b489
 
7f41c98
1d3b489
7f41c98
4ed5969
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
title: Stock Predictions
emoji: 📈
colorFrom: red
colorTo: purple
sdk: gradio
sdk_version: 5.49.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:
  - [Pionex](https://www.pionex.com/?affiliate_id=YOUR_ID)
  - [Cornix](https://cornix.io/?ref=YOUR_ID)
  - [Cryptohopper](https://www.cryptohopper.com/signup?ref=YOUR_ID)
  - [3Commas](https://3commas.io/?r=YOUR_ID)

## Installation

Clone the repository and create a virtual environment:

```bash
git clone <repository-url>
cd crypto-prediction
python -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
pip install -r requirements.txt
```