My bot looks at the probability of losing x hands in a row, looks at your goal, your bankroll, house edge, roughly how many hands it would take to make x, and determines the safest course of action, or if it's even advisable.
It then applies a modified betting strategy around that.
That is, if you have a roughly realistic goal in mind, it will work. If, however, you decide to run the bot indefinitely then it can reduce the frequency of busts. It can also be ran in parallel (multiple hands) so that you can reduce your daily variance. It's safer to run 5 bots with x/5 amount instead of 1 with x.
If you run it, you have ~49% (based off house edge), chance to double your money before you bust. Therefore you're losing money.