Created
September 6, 2018 14:51
-
-
Save ruzli/a6af956bef315b421b80adcc957be5c5 to your computer and use it in GitHub Desktop.
strategy 5x 10x skip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const baseBet = 1 | |
const baseTarget = 5 | |
const multiplierBet = 2 | |
const maxProfit = 10000 | |
let bet = baseBet | |
let target = baseTarget | |
let lostbet = baseBet | |
let lost = 0 | |
let win = 0 | |
while(true){ | |
if (this.balance / 100 > maxProfit){ | |
await this.stop() | |
} | |
if (lost > baseTarget * 2){ | |
var{multiplier} = await this.skip() | |
}else{ | |
var{multiplier} = await this.bet(bet * 100, target) | |
} | |
if (multiplier < baseTarget){ // LOSS | |
lost++ | |
win = 0 | |
if (lost >= 3){ | |
target = baseTarget * 2 | |
bet = baseBet | |
}else{ | |
target = baseTarget | |
bet = bet * multiplierBet | |
} | |
}else{ // WIN | |
win++ | |
lost = 0 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment