Spaces:
Running
Running
Update src/app.py
Browse files- src/app.py +1 -1
src/app.py
CHANGED
|
@@ -138,7 +138,7 @@ enddate.value = get_next_friday()
|
|
| 138 |
option_type = pn.widgets.Select(name='Option Type', options=['C', 'P'])
|
| 139 |
option_type.value = 'C'
|
| 140 |
|
| 141 |
-
strike_price = pn.widgets.IntInput(name='Strike', value=
|
| 142 |
|
| 143 |
interval = pn.widgets.Select(name='Time Frame (min)', options=['1', '5', '10'])
|
| 144 |
timeframe = "minute" #The only supported resolutions are minute|hour|day|week|month|quarter|year"0
|
|
|
|
| 138 |
option_type = pn.widgets.Select(name='Option Type', options=['C', 'P'])
|
| 139 |
option_type.value = 'C'
|
| 140 |
|
| 141 |
+
strike_price = pn.widgets.IntInput(name='Strike', value=140, step=10, start=0, end=1000)
|
| 142 |
|
| 143 |
interval = pn.widgets.Select(name='Time Frame (min)', options=['1', '5', '10'])
|
| 144 |
timeframe = "minute" #The only supported resolutions are minute|hour|day|week|month|quarter|year"0
|