From his post:
95% winners (so 19 out of 20 win)
Average winner = $20
Average loser = $5,000
Horrible expectancy. Unless he made a typo, I think it can be dismissed right there, regardless if he uses Kelly or any other money management system? Martingale might be fun with those $5,000 losses, though...
Ok, maybe I am plugging the data in wrong, but with the call half of an iron condor way out of the money, say, with a delta on the short of about -97 (and the long wing a little further out), and a 97% win rate, risking say 5,000K to make $20, how would I do the Kelly? I can't believe there is no edge with a delta like that.
import random
from statistics import mean
random.seed()
def trade(p):
"""
Flips a biased coin with probability of success p. With p in (0, 1]
"""
if random.random() <= p:
return True
return False
def simulate():
"""
Simulates 100 trades of the worst system ever.
"""
bankroll = 10000
for x in range(0, 100):
if trade(0.95):
bankroll += 20
else:
bankroll -= 5000
return bankroll
def main():
# 10000 Monte Carlo simulations of the worst system ever
# excluding any actual costs.
bankrolls = []
for x in range(0, 10000):
bankrolls.append(simulate())
print(f"Average Bankroll: {mean(bankrolls)}")
if "__name__" == "__main__":
main()