AlirezaX2 commited on
Commit
75cf0fb
·
1 Parent(s): 01124f4

add kelly methods

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def simulate(initialcapital , bet_chance , betsize , rewardrisk, riskpercent, ma
53
  Reach Max profit: {round(len(rich) / len(all_profits) * 100):.1f} %
54
  Avg time to reach max profit:, {np.mean([ len(x) for x in rich ]):.1f}
55
  Challenge from {initialcapital}$ to {max_profit}$
56
- intial bet {betsize*initialcapital/100}$ with winrate={bet_chance}% reward to risk={rewardrisk}:1 and possible reward/loss={riskpercent/100*betsize*initialcapital/100}$ and betsize = {betsize}%
57
  """
58
  if round(len(bust) / len(all_profits)) > .5:
59
  alert_type="danger"
 
53
  Reach Max profit: {round(len(rich) / len(all_profits) * 100):.1f} %
54
  Avg time to reach max profit:, {np.mean([ len(x) for x in rich ]):.1f}
55
  Challenge from {initialcapital}$ to {max_profit}$
56
+ intial bet {betsize*initialcapital/100:.1f}$ with winrate={bet_chance}% reward to risk={rewardrisk}:1 and possible reward/loss={riskpercent/100*betsize*initialcapital/100:.1f}$ and betsize = {100*betsize:.1f}%
57
  """
58
  if round(len(bust) / len(all_profits)) > .5:
59
  alert_type="danger"