Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,9 @@ import yfinance as yf
|
|
| 4 |
import numpy as np
|
| 5 |
import matplotlib.pyplot as plt
|
| 6 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
def sma_crossover_strategy(initial_budget, start_date, end_date, ticker):
|
| 9 |
# Fetch the selected stock data using yfinance
|
|
|
|
| 4 |
import numpy as np
|
| 5 |
import matplotlib.pyplot as plt
|
| 6 |
import gradio as gr
|
| 7 |
+
import os
|
| 8 |
+
os.system('pip install --upgrade gradio')
|
| 9 |
+
|
| 10 |
|
| 11 |
def sma_crossover_strategy(initial_budget, start_date, end_date, ticker):
|
| 12 |
# Fetch the selected stock data using yfinance
|