KgBC / just-dice-bot

Hi, this is a flexible betting bot for just-dice.com. Feel free to use it under GPL. If you want to donate some Beer/Satoshis: 1CDjWb7zupTfQihc6sMeDvPmUHkfeMhC83 Thanks. The ACES branch is considered stable, use this if you don't want to develop and do not need latest features: https://github.com/KgBC/just-dice-bot/tree/aces
GNU General Public License v2.0
18 stars 6 forks source link

Feature request: Target amount, max_bet. #31

Open geekium opened 10 years ago

geekium commented 10 years ago

1.Martingale can not make one always win, often it'll end up out of money if one is too greedy to have a target. So config a target amount and let the bot run, and then stop upon reaching the target. if target config in only numbers, says 0.1, then if the bot win 0.1BTC in a session, it stops if target config in percentage, says 110%, the upon reaching the 110% of initial amount, it stops.

or maybe config a "rounds_to_play" ?

  1. Since it have a configable "min_bet", why not a "max_bet". I think max_bet is a protection to betting too much on a losing round, make it less possible to go bust. although the lose_round would also do the job, max_bet is a more intuitive way to do that.

Currently I hand play because the bot did not have these features, because the bot do play very fast but with enough time and rounds it'll lose money :-(

KgBC commented 10 years ago

Will be implemented.

I'll choose another name, as min_bet tells the minimum initial bet for one round. so it should be something like 'target_btc' / 'target_perc' (for btc and percent target, whichever comes first).

'target_btc' : 15.0, #stop if we own 15 BTC
'target_perc': 150, #stop when we reach 150 % of current balance
'target_rounds': 10000, #stop after playing 10000 rounds

Fine with that? Please consider a donation :) Thanks :+1: