balance  = 87.0000
  basebet  = balance * 1000e-8
  chance   = 50
  edge     = 0.10
  kedge    = 1.0
  targetprofit  = balance * 1.10
  profitpct     = 1.001 
  base2         = basebet
  nextbet       = base2
  chance        = 41
  newchance     = chance
  edge = 0.15
  kedge = 1.0
  odds = (100-kedge)/newchance
  multi = odds/(odds-1)
  chance2 = (100-kedge)/odds
  probability = chance2/100
  kellyratio = ((probability*odds) + (probability-1))/odds
  kellybet = basebet * kellyratio
  
  print("probability -> " ..probability)
  print("odds --------> " ..odds)