Xinli Xiao commited on
Commit ·
c36abda
1
Parent(s): a566369
0.1.1
Browse files
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
title: Options
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
|
|
|
| 1 |
---
|
| 2 |
title: Options
|
| 3 |
+
emoji: 🌖
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
app.py
CHANGED
|
@@ -7,6 +7,7 @@ import numpy as np
|
|
| 7 |
import pandas as pd
|
| 8 |
import yfinance as yf
|
| 9 |
|
|
|
|
| 10 |
RETRY_ATTEMPTS = 3
|
| 11 |
RETRY_DELAY_SECONDS = 1.5
|
| 12 |
option_chain_cache: dict[tuple[str, str], tuple[object, str]] = {}
|
|
@@ -174,6 +175,7 @@ def toggle_target_time(disable_target_time: bool):
|
|
| 174 |
|
| 175 |
with gr.Blocks(title="Options Confidence Interval") as demo:
|
| 176 |
gr.Markdown("## Options Confidence Interval")
|
|
|
|
| 177 |
gr.Markdown("Enter one or more symbols. Use a comma or a new line to separate multiple symbols.")
|
| 178 |
|
| 179 |
with gr.Row():
|
|
|
|
| 7 |
import pandas as pd
|
| 8 |
import yfinance as yf
|
| 9 |
|
| 10 |
+
APP_VERSION = "0.1.1"
|
| 11 |
RETRY_ATTEMPTS = 3
|
| 12 |
RETRY_DELAY_SECONDS = 1.5
|
| 13 |
option_chain_cache: dict[tuple[str, str], tuple[object, str]] = {}
|
|
|
|
| 175 |
|
| 176 |
with gr.Blocks(title="Options Confidence Interval") as demo:
|
| 177 |
gr.Markdown("## Options Confidence Interval")
|
| 178 |
+
gr.Markdown(f"Version: `{APP_VERSION}`")
|
| 179 |
gr.Markdown("Enter one or more symbols. Use a comma or a new line to separate multiple symbols.")
|
| 180 |
|
| 181 |
with gr.Row():
|