try again
Browse files
app.py
CHANGED
@@ -246,15 +246,15 @@ api_key_link = "https://www.alphavantage.co/support/#api-key"
|
|
246 |
|
247 |
# Create a Gradio interface
|
248 |
gr.Interface(
|
249 |
-
fn=run_backtest,
|
250 |
inputs=[
|
251 |
gr.inputs.Textbox(label="API Key", placeholder="Enter your API key"),
|
252 |
gr.inputs.Dropdown(label="From Currency", choices=['EUR', 'GBP', 'USD', 'AUD', 'JPY']),
|
253 |
gr.inputs.Dropdown(label="To Currency", choices=['USD', 'JPY', 'GBP', 'AUD', 'CAD']),
|
254 |
gr.inputs.Radio(label="Interval", choices=["1min", "5min", "15min", "30min", "60min"])
|
255 |
],
|
256 |
-
outputs="html",
|
257 |
live=True,
|
258 |
title="Trading Signal",
|
259 |
-
description="Run Backtest and Get Trading Signal"
|
260 |
).launch()
|
|
|
246 |
|
247 |
# Create a Gradio interface
|
248 |
gr.Interface(
|
249 |
+
fn=run_backtest,
|
250 |
inputs=[
|
251 |
gr.inputs.Textbox(label="API Key", placeholder="Enter your API key"),
|
252 |
gr.inputs.Dropdown(label="From Currency", choices=['EUR', 'GBP', 'USD', 'AUD', 'JPY']),
|
253 |
gr.inputs.Dropdown(label="To Currency", choices=['USD', 'JPY', 'GBP', 'AUD', 'CAD']),
|
254 |
gr.inputs.Radio(label="Interval", choices=["1min", "5min", "15min", "30min", "60min"])
|
255 |
],
|
256 |
+
outputs="html",
|
257 |
live=True,
|
258 |
title="Trading Signal",
|
259 |
+
description="Run Backtest and Get Trading Signal"
|
260 |
).launch()
|