I know there\'s a lot of martingale simulation code out there but I haven\'t found one that stops at the first win (thus stopping once profit is made).
I\'m trying to