Spaces:
Running
Running
add template pn
Browse files
app.py
CHANGED
|
@@ -6,9 +6,10 @@ import hvplot as hv
|
|
| 6 |
import panel as pn
|
| 7 |
import hvplot.pandas
|
| 8 |
|
| 9 |
-
|
| 10 |
|
| 11 |
def simulate(initialcapital , bet_chance , betsize , rewardrisk, riskpercent, max_rounds, max_profit , num_realization):
|
|
|
|
| 12 |
|
| 13 |
bet = lambda cash: cash * betsize
|
| 14 |
|
|
|
|
| 6 |
import panel as pn
|
| 7 |
import hvplot.pandas
|
| 8 |
|
| 9 |
+
pn.extension('bokeh', template='bootstrap')
|
| 10 |
|
| 11 |
def simulate(initialcapital , bet_chance , betsize , rewardrisk, riskpercent, max_rounds, max_profit , num_realization):
|
| 12 |
+
hv.extension('bokeh')
|
| 13 |
|
| 14 |
bet = lambda cash: cash * betsize
|
| 15 |
|