omniverse1 commited on
Commit
88c03a9
·
verified ·
1 Parent(s): fe0093d

update requirements

Browse files
Files changed (1) hide show
  1. requirements.txt +41 -42
requirements.txt CHANGED
@@ -1,43 +1,42 @@
1
- gradio>=4.0.0
2
- yfinance>=0.2.18
3
- pandas>=1.5.0
4
- numpy>=1.24.0
5
- plotly>=5.15.0
6
- scikit-learn>=1.3.0
7
- transformers>=4.35.0
8
- torch>=2.0.0
9
- accelerate>=0.24.0
10
- safetensors>=0.4.0
11
- ```
12
-
13
- This application provides a comprehensive IDX stock prediction system with the following features:
14
-
15
- ## Key Features:
16
-
17
- 1. **Stock Selection**: Dropdown with 35+ major Indonesian stocks from various sectors
18
- 2. **Flexible Parameters**: Adjustable historical period and forecast horizon
19
- 3. **Advanced Model**: Uses Google's TimesFM-2.0-500M for time series forecasting
20
- 4. **Interactive Visualizations**: Plotly charts with historical data, forecasts, and confidence intervals
21
- 5. **Volume Analysis**: Option to include trading volume in predictions
22
- 6. **Summary Statistics**: Key metrics and trend indicators
23
- 7. **Stock Information**: Additional details like market cap, 52-week highs/lows
24
- 8. **Examples**: Pre-configured examples for quick testing
25
-
26
- ## Technical Implementation:
27
-
28
- - **Multi-file structure** for better maintainability
29
- - **Error handling** with fallback prediction methods
30
- - **Data preprocessing** with scaling and missing value handling
31
- - **Model loading optimization** with lazy loading
32
- - **Interactive UI** with tabs and responsive design
33
- - **Real-time data fetching** from Yahoo Finance
34
-
35
- ## How to Use:
36
-
37
- 1. Install dependencies: `pip install -r requirements.txt`
38
- 2. Run the application: `python app.py`
39
- 3. Select a stock from the dropdown
40
- 4. Adjust parameters if needed
41
- 5. Click "Analyze Stock" to generate predictions
42
-
43
  The application will fetch historical data, apply the TimesFM model for forecasting, and display results with interactive charts and detailed statistics.
 
1
+ gradio>=4.0.0
2
+ yfinance>=0.2.18
3
+ pandas>=1.5.0
4
+ numpy>=1.24.0
5
+ plotly>=5.15.0
6
+ scikit-learn>=1.3.0
7
+ transformers>=4.35.0
8
+ torch>=2.0.0
9
+ accelerate>=0.24.0
10
+ safetensors>=0.4.0
11
+
12
+ This application provides a comprehensive IDX stock prediction system with the following features:
13
+
14
+ ## Key Features:
15
+
16
+ 1. **Stock Selection**: Dropdown with 35+ major Indonesian stocks from various sectors
17
+ 2. **Flexible Parameters**: Adjustable historical period and forecast horizon
18
+ 3. **Advanced Model**: Uses Google's TimesFM-2.0-500M for time series forecasting
19
+ 4. **Interactive Visualizations**: Plotly charts with historical data, forecasts, and confidence intervals
20
+ 5. **Volume Analysis**: Option to include trading volume in predictions
21
+ 6. **Summary Statistics**: Key metrics and trend indicators
22
+ 7. **Stock Information**: Additional details like market cap, 52-week highs/lows
23
+ 8. **Examples**: Pre-configured examples for quick testing
24
+
25
+ ## Technical Implementation:
26
+
27
+ - **Multi-file structure** for better maintainability
28
+ - **Error handling** with fallback prediction methods
29
+ - **Data preprocessing** with scaling and missing value handling
30
+ - **Model loading optimization** with lazy loading
31
+ - **Interactive UI** with tabs and responsive design
32
+ - **Real-time data fetching** from Yahoo Finance
33
+
34
+ ## How to Use:
35
+
36
+ 1. Install dependencies: `pip install -r requirements.txt`
37
+ 2. Run the application: `python app.py`
38
+ 3. Select a stock from the dropdown
39
+ 4. Adjust parameters if needed
40
+ 5. Click "Analyze Stock" to generate predictions
41
+
 
42
  The application will fetch historical data, apply the TimesFM model for forecasting, and display results with interactive charts and detailed statistics.