Spaces:
Sleeping
Sleeping
Upload 4 files
Browse files- README (1).md +12 -0
- app (1).py +239 -0
- config (1).py +19 -0
- requirements (1).txt +20 -0
README (1).md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: AI Market Prediction Dashboard
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: red
|
| 5 |
+
colorTo: green
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 5.22.0
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app (1).py
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
import gradio as gr
|
| 3 |
+
import pandas as pd
|
| 4 |
+
import numpy as np
|
| 5 |
+
import os
|
| 6 |
+
from datetime import datetime, timedelta
|
| 7 |
+
import logging
|
| 8 |
+
from core.data import load_data, add_technical_indicators, add_sentiment
|
| 9 |
+
from core.model_runner import get_model
|
| 10 |
+
from core.plot import plot_forecast, plot_metrics_r2, plot_metrics_errors, plot_metrics_precision_recall, plot_metrics_risk, plot_loss_curve, plot_model_architecture, plot_future_forecast, plot_indicators, plot_signals, plot_backtest
|
| 11 |
+
import plotly.io as pio
|
| 12 |
+
from core.signals import generate_signals
|
| 13 |
+
from config import AVAILABLE_MODELS, DEFAULT_TICKERS, AVAILABLE_TIMEFRAMES, AVAILABLE_INDICATORS
|
| 14 |
+
from newsapi import NewsApiClient
|
| 15 |
+
from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer
|
| 16 |
+
|
| 17 |
+
log_path = "/tmp/app_log.txt"
|
| 18 |
+
os.makedirs("/tmp", exist_ok=True)
|
| 19 |
+
logging.basicConfig(
|
| 20 |
+
level=logging.DEBUG,
|
| 21 |
+
handlers=[
|
| 22 |
+
logging.FileHandler(log_path),
|
| 23 |
+
logging.StreamHandler()
|
| 24 |
+
],
|
| 25 |
+
format='%(asctime)s - %(levelname)s - %(message)s'
|
| 26 |
+
)
|
| 27 |
+
analyzer = SentimentIntensityAnalyzer()
|
| 28 |
+
|
| 29 |
+
def sentiment_analysis(ticker, start_date, end_date, api_key):
|
| 30 |
+
try:
|
| 31 |
+
if not api_key:
|
| 32 |
+
return "No API key provided", None
|
| 33 |
+
newsapi = NewsApiClient(api_key=api_key)
|
| 34 |
+
start = pd.to_datetime(start_date)
|
| 35 |
+
end = pd.to_datetime(end_date)
|
| 36 |
+
articles = newsapi.get_everything(
|
| 37 |
+
q=ticker, from_param=start.strftime("%Y-%m-%d"), to=end.strftime("%Y-%m-%d"),
|
| 38 |
+
language='en', sort_by='relevancy'
|
| 39 |
+
)
|
| 40 |
+
sentiments = [analyzer.polarity_scores(article["title"])["compound"] for article in articles["articles"]]
|
| 41 |
+
avg_sentiment = np.mean(sentiments) if sentiments else 0.0
|
| 42 |
+
sentiment_text = f"Average sentiment for {ticker}: {avg_sentiment:.2f}"
|
| 43 |
+
return sentiment_text, avg_sentiment
|
| 44 |
+
except Exception as e:
|
| 45 |
+
logging.error(f"Sentiment analysis failed: {str(e)}")
|
| 46 |
+
return f"Sentiment analysis failed: {str(e)}", None
|
| 47 |
+
|
| 48 |
+
def update_horizon_label(timeframe):
|
| 49 |
+
units = {'1m': 'minutes', '5m': 'minutes', '15m': 'minutes', '30m': 'minutes',
|
| 50 |
+
'1h': 'hours', '4h': 'hours', '1d': 'days', '1wk': 'weeks'}
|
| 51 |
+
return gr.update(label=f"Horizon ({units.get(timeframe, 'days')})")
|
| 52 |
+
|
| 53 |
+
def run_dashboard(data_src, ticker, file_upload, timeframe, start_date, end_date, horizon, indicators,
|
| 54 |
+
include_sentiment, news_api_key, alpha_api_key, account_size, risk_percent, model,
|
| 55 |
+
hidden_units, n_layers, epochs, learning_rate, beta1, beta2, weight_decay, dropout,
|
| 56 |
+
window_size, test_split, rsi_mid, macd_sens, adx_thr, sent_thr, vote_buy, vote_sell,
|
| 57 |
+
feat_selector, feat_threshold):
|
| 58 |
+
try:
|
| 59 |
+
logging.info(f"Running dashboard for {ticker}, timeframe: {timeframe}, model: {model}")
|
| 60 |
+
start_date = pd.to_datetime(start_date).strftime("%Y-%m-%d")
|
| 61 |
+
end_date = pd.to_datetime(end_date).strftime("%Y-%m-%d")
|
| 62 |
+
|
| 63 |
+
df = load_data(data_src=data_src, ticker=ticker, start=start_date, end=end_date,
|
| 64 |
+
interval=timeframe, file_upload=file_upload, alpha_api_key=alpha_api_key)
|
| 65 |
+
if df.empty:
|
| 66 |
+
logging.error("Failed to load data")
|
| 67 |
+
return [None] * 12 + ["Failed to load data", None, None, None, None, "Failed to load data"]
|
| 68 |
+
|
| 69 |
+
df, valid_indicators = add_technical_indicators(df, indicators)
|
| 70 |
+
if include_sentiment and news_api_key:
|
| 71 |
+
df = add_sentiment(df, ticker, news_api_key, start_date, end_date)
|
| 72 |
+
sentiment_text, sentiment_score = sentiment_analysis(ticker, start_date, end_date, news_api_key)
|
| 73 |
+
|
| 74 |
+
features = valid_indicators # Use valid_indicators for feature
|
| 75 |
+
target = 'value'
|
| 76 |
+
result = get_model(
|
| 77 |
+
df=df,
|
| 78 |
+
features=features,
|
| 79 |
+
target=target,
|
| 80 |
+
model_name=model,
|
| 81 |
+
horizon=horizon,
|
| 82 |
+
hidden_units=hidden_units,
|
| 83 |
+
n_layers=n_layers,
|
| 84 |
+
epochs=epochs,
|
| 85 |
+
learning_rate=learning_rate,
|
| 86 |
+
beta1=beta1,
|
| 87 |
+
beta2=beta2,
|
| 88 |
+
weight_decay=weight_decay,
|
| 89 |
+
dropout=dropout,
|
| 90 |
+
window_size=window_size,
|
| 91 |
+
test_split=test_split,
|
| 92 |
+
selector_method=feat_selector,
|
| 93 |
+
importance_threshold=feat_threshold
|
| 94 |
+
)
|
| 95 |
+
if isinstance(result, dict) and result.get("error"):
|
| 96 |
+
logging.error(f"Model training failed: {result['error']})")
|
| 97 |
+
return [None] * 12 + [f"Model training failed: {result['error']}", None, None, None, None, f"Model training failed: {result['error']}"]
|
| 98 |
+
|
| 99 |
+
signals_df, trades_df, equity_df = generate_signals(df, result)
|
| 100 |
+
if signals_df.empty:
|
| 101 |
+
logging.error("Failed to generate signals")
|
| 102 |
+
return [None] * 12 + ["Failed to generate signals", None, None, None, None, "Failed to generate signals"]
|
| 103 |
+
|
| 104 |
+
chart_plot = plot_indicators(df, ticker)
|
| 105 |
+
signals_plot = plot_signals(signals_df, ticker)
|
| 106 |
+
backtest_plot = plot_backtest(equity_df, trades_df, ticker)
|
| 107 |
+
|
| 108 |
+
|
| 109 |
+
future_plot = plot_future_forecast(df, result, indicators)
|
| 110 |
+
future_table = pd.DataFrame({
|
| 111 |
+
"Date": [df.index[-1] + timedelta(days=i+1) for i in range(horizon)],
|
| 112 |
+
"Prediction": result["latest_prediction"]
|
| 113 |
+
})
|
| 114 |
+
signals_table = signals_df.reset_index()[["Date", "Price", "Signal", "Position_Size", "Stop_Loss", "Take_Profit", "Equity"]]
|
| 115 |
+
r2_plot = plot_metrics_r2(result)
|
| 116 |
+
error_plot = plot_metrics_errors(result)
|
| 117 |
+
precision_recall_plot = plot_metrics_precision_recall(result)
|
| 118 |
+
risk_plot = plot_metrics_risk(result)
|
| 119 |
+
loss_plot = plot_loss_curve(result)
|
| 120 |
+
architecture_plot = plot_model_architecture(result)
|
| 121 |
+
|
| 122 |
+
signals_csv = f"signals_{ticker}.csv"
|
| 123 |
+
signals_df.to_csv(signals_csv)
|
| 124 |
+
|
| 125 |
+
|
| 126 |
+
|
| 127 |
+
predictions_csv = f"predictions_{ticker}.csv"
|
| 128 |
+
pd.DataFrame({
|
| 129 |
+
"Actual": result["actual"],
|
| 130 |
+
"Forecast": result["forecast"]
|
| 131 |
+
}).to_csv(predictions_csv)
|
| 132 |
+
chart_png = f"chart_{ticker}.png"
|
| 133 |
+
pio.write_image(chart_plot, chart_png, format='png')
|
| 134 |
+
|
| 135 |
+
with open(log_path, 'r') as log_file:
|
| 136 |
+
log_output = log_file.read()
|
| 137 |
+
|
| 138 |
+
logging.info("Dashboard run completed successfully")
|
| 139 |
+
return [
|
| 140 |
+
chart_plot, sentiment_text, signals_table, backtest_plot, future_plot, future_table,
|
| 141 |
+
r2_plot, error_plot, precision_recall_plot, risk_plot, loss_plot, architecture_plot,
|
| 142 |
+
"Dashboard generated successfully", chart_png, signals_csv, predictions_csv, signals_plot, log_output
|
| 143 |
+
]
|
| 144 |
+
except Exception as e:
|
| 145 |
+
logging.error(f"Dashboard error: {str(e)}")
|
| 146 |
+
return [None] * 12 + [f"Error: {str(e)}", None, None, None, None, f"Error: {str(e)}"]
|
| 147 |
+
|
| 148 |
+
def main_interface():
|
| 149 |
+
try:
|
| 150 |
+
with gr.Blocks(title="Market Prediction Pro", theme=gr.themes.Default()) as app:
|
| 151 |
+
gr.Markdown("# Market Prediction Pro")
|
| 152 |
+
with gr.Row():
|
| 153 |
+
with gr.Column(scale=1):
|
| 154 |
+
data_src = gr.Dropdown(["yahoo", "csv"], label="Data Source", value="yahoo")
|
| 155 |
+
ticker = gr.Dropdown(DEFAULT_TICKERS, label="Ticker", value="AAPL")
|
| 156 |
+
file_upload = gr.File(label="Upload CSV", visible=False)
|
| 157 |
+
timeframe = gr.Dropdown(AVAILABLE_TIMEFRAMES, label="Timeframe", value="1d")
|
| 158 |
+
start_date = gr.Textbox("2020-01-01", label="Start Date (YYYY-MM-DD)")
|
| 159 |
+
end_date = gr.Textbox("2023-01-01", label="End Date (YYYY-MM-DD)")
|
| 160 |
+
horizon = gr.Slider(1, 30, step=1, label="Horizon (days)", value=1)
|
| 161 |
+
indicators = gr.CheckboxGroup(AVAILABLE_INDICATORS, label="Technical Indicators", value=["rsi", "macd", "bbands"])
|
| 162 |
+
include_sentiment = gr.Checkbox(label="Include Sentiment Analysis", value=False)
|
| 163 |
+
news_api_key = gr.Textbox(label="News API Key", visible=False, type="password")
|
| 164 |
+
alpha_api_key = gr.Textbox(label="Alpha Vantage API Key", type="password")
|
| 165 |
+
account_size = gr.Slider(1000, 100000, step=1000, label="Account Size ($)", value=10000)
|
| 166 |
+
risk_percent = gr.Slider(0.01, 0.1, step=0.01, label="Risk per Trade (%)", value=0.01)
|
| 167 |
+
with gr.Column(scale=1):
|
| 168 |
+
model = gr.Dropdown(AVAILABLE_MODELS, label="Model", value="LSTM")
|
| 169 |
+
hidden_units = gr.Slider(16, 256, step=16, label="Hidden Units", value=64)
|
| 170 |
+
n_layers = gr.Slider(1, 4, step=1, label="Layers", value=1)
|
| 171 |
+
epochs = gr.Slider(10, 100, step=10, label="Epochs", value=50)
|
| 172 |
+
learning_rate = gr.Slider(0.0001, 0.01, step=0.0001, label="Learning Rate", value=0.001)
|
| 173 |
+
beta1 = gr.Slider(0.8, 0.99, step=0.01, label="Beta 1", value=0.9)
|
| 174 |
+
beta2 = gr.Slider(0.9, 0.999, step=0.001, label="Beta 2", value=0.999)
|
| 175 |
+
weight_decay = gr.Slider(0.0, 0.1, step=0.01, label="Weight Decay", value=0.01)
|
| 176 |
+
dropout = gr.Slider(0.0, 0.5, step=0.05, label="Dropout", value=0.2)
|
| 177 |
+
window_size = gr.Slider(5, 60, step=5, label="Window Size", value=30)
|
| 178 |
+
test_split = gr.Slider(0.1, 0.5, step=0.05, label="Test Split", value=0.2)
|
| 179 |
+
rsi_mid = gr.Slider(30, 70, step=5, label="RSI Middle", value=50)
|
| 180 |
+
macd_sens = gr.Slider(0.0, 0.5, step=0.05, label="MACD Sensitivity", value=0.0)
|
| 181 |
+
adx_thr = gr.Slider(10, 50, step=5, label="ADX Threshold", value=20)
|
| 182 |
+
sent_thr = gr.Slider(0.0, 0.5, step=0.05, label="Sentiment Threshold", value=0.1)
|
| 183 |
+
vote_buy = gr.Slider(1, 5, step=1, label="Vote Buy Threshold", value=2)
|
| 184 |
+
vote_sell = gr.Slider(-5, -1, step=1, label="Vote Sell Threshold", value=-2)
|
| 185 |
+
feat_selector = gr.Dropdown(["RandomForest", "PCA"], label="Feature Selector", value="RandomForest")
|
| 186 |
+
feat_threshold = gr.Slider(0.0, 0.5, step=0.05, label="Feature Importance Threshold", value=0.0)
|
| 187 |
+
|
| 188 |
+
run_btn = gr.Button("Run Analysis")
|
| 189 |
+
|
| 190 |
+
with gr.Tabs():
|
| 191 |
+
with gr.TabItem("Price & Indicators"):
|
| 192 |
+
chart_plot = gr.Plot(label="π Price and Indicators")
|
| 193 |
+
with gr.TabItem("Signals"):
|
| 194 |
+
signals_plot = gr.Plot(label="π Trading Signals")
|
| 195 |
+
signals_table = gr.DataFrame(label="π
Signals")
|
| 196 |
+
with gr.TabItem("Sentiment"):
|
| 197 |
+
sentiment_text = gr.Textbox(label="Sentiment Analysis")
|
| 198 |
+
with gr.TabItem("Forecast"):
|
| 199 |
+
backtest_plot = gr.Plot(label="π Backtest Results")
|
| 200 |
+
future_plot = gr.Plot(label="π Future Forecast")
|
| 201 |
+
future_table = gr.DataFrame(label="π
Future Predictions")
|
| 202 |
+
with gr.TabItem("Metrics"):
|
| 203 |
+
r2_plot = gr.Plot(label="π RΒ² & MAPE")
|
| 204 |
+
error_plot = gr.Plot(label="π Error Metrics")
|
| 205 |
+
precision_recall_plot = gr.Plot(label="π Precision & Recall")
|
| 206 |
+
risk_plot = gr.Plot(label="π Risk Metrics")
|
| 207 |
+
loss_plot = gr.Plot(label="π Training Loss Curve")
|
| 208 |
+
architecture_plot = gr.Plot(label="π§ Model Architecture")
|
| 209 |
+
with gr.TabItem("Export"):
|
| 210 |
+
status = gr.Textbox(label="Status")
|
| 211 |
+
export_chart = gr.File(label="Export Chart (PNG)")
|
| 212 |
+
export_signals = gr.File(label="Export Signals (CSV)")
|
| 213 |
+
export_predictions = gr.File(label="Export Predictions (CSV)")
|
| 214 |
+
log_output = gr.Textbox(label="Debug Logs", lines=10)
|
| 215 |
+
|
| 216 |
+
data_src.change(fn=lambda src: gr.update(visible=(src == "csv")), inputs=[data_src], outputs=[file_upload])
|
| 217 |
+
include_sentiment.change(fn=lambda sent: gr.update(visible=sent), inputs=[include_sentiment], outputs=[news_api_key])
|
| 218 |
+
timeframe.change(fn=update_horizon_label, inputs=[timeframe], outputs=[horizon])
|
| 219 |
+
|
| 220 |
+
run_btn.click(
|
| 221 |
+
fn=run_dashboard,
|
| 222 |
+
inputs=[data_src, ticker, file_upload, timeframe, start_date, end_date, horizon, indicators,
|
| 223 |
+
include_sentiment, news_api_key, alpha_api_key, account_size, risk_percent, model,
|
| 224 |
+
hidden_units, n_layers, epochs, learning_rate, beta1, beta2, weight_decay, dropout,
|
| 225 |
+
window_size, test_split, rsi_mid, macd_sens, adx_thr, sent_thr, vote_buy, vote_sell,
|
| 226 |
+
feat_selector, feat_threshold],
|
| 227 |
+
outputs=[chart_plot, sentiment_text, signals_table, backtest_plot, future_plot, future_table,
|
| 228 |
+
r2_plot, error_plot, precision_recall_plot, risk_plot, loss_plot, architecture_plot,
|
| 229 |
+
status, export_chart, export_signals, export_predictions, signals_plot, log_output]
|
| 230 |
+
)
|
| 231 |
+
except Exception as e:
|
| 232 |
+
logging.error(f"Error in main_interface: {str(e)}")
|
| 233 |
+
raise
|
| 234 |
+
return app
|
| 235 |
+
|
| 236 |
+
if __name__ == "__main__":
|
| 237 |
+
main_interface().launch(server_name="0.0.0.0", server_port=7860, share=False)
|
| 238 |
+
|
| 239 |
+
|
config (1).py
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# config.py
|
| 2 |
+
DEFAULT_TICKERS = ["BTC-USD", "ETH-USD", "AAPL", "MSFT", "TSLA", "GOOG", "META", "AMZN", "XAUUSD=X", "EURUSD=X"]
|
| 3 |
+
AVAILABLE_MODELS = ["LSTM", "GRU", "BiLSTM", "CNN", "Transformer", "Hybrid", "MLP"]
|
| 4 |
+
AVAILABLE_TIMEFRAMES = ["1m", "2m", "5m", "15m", "30m", "60m", "90m", "1h", "1d", "5d", "1wk", "1mo", "3mo"]
|
| 5 |
+
AVAILABLE_INDICATORS = [
|
| 6 |
+
"adx", "ao", "apo", "aroon", "atr", "bbands", "cci", "cg", "cmo", "copp",
|
| 7 |
+
"dema", "dma", "donchian", "dpo", "efi", "ema", "eom", "fama", "fisher",
|
| 8 |
+
"hma", "ichimoku", "kama", "kc", "kdj", "kst", "macd", "mama", "mfi", "mom",
|
| 9 |
+
"natr", "obv", "ppo", "psar", "roc", "rsi", "rvi", "sma", "stoch", "stochrsi",
|
| 10 |
+
"supertrend", "tema", "trix", "tsi", "uo", "vortex", "vp", "vwap", "willr", "wma", "zlema"
|
| 11 |
+
]
|
| 12 |
+
DEFAULT_PARAMS = {
|
| 13 |
+
"epochs": 100,
|
| 14 |
+
"hidden_units": 256,
|
| 15 |
+
"layers": 3,
|
| 16 |
+
"learning_rate": 0.001,
|
| 17 |
+
"window_size": 30,
|
| 18 |
+
"test_split": 0.2
|
| 19 |
+
}
|
requirements (1).txt
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
gradio
|
| 2 |
+
pandas
|
| 3 |
+
yfinance
|
| 4 |
+
TA-Lib
|
| 5 |
+
vaderSentiment
|
| 6 |
+
newsapi-python
|
| 7 |
+
plotly
|
| 8 |
+
kaleido==0.2.1
|
| 9 |
+
torch
|
| 10 |
+
torchvision
|
| 11 |
+
torchaudio
|
| 12 |
+
torchsummary
|
| 13 |
+
numpy
|
| 14 |
+
scikit-learn
|
| 15 |
+
matplotlib
|
| 16 |
+
alpha_vantage
|
| 17 |
+
textblob
|
| 18 |
+
xgboost
|
| 19 |
+
torchviz
|
| 20 |
+
graphviz
|