Skip to content

Instantly share code, notes, and snippets.

View ruzli's full-sized avatar

Ruzli ruzli

  • Russian Federation, Moscow
View GitHub Profile
const baseMultiplier = 1.08;
const lossMultiplier = 1.2;
const difference = 15400;
const maxStreak = 7;
const divisionToBackup = 1;
const stopLoss = 2000;
const maxProfit = 10000;
let lossStreak = 0;
let currentBet = 0;
@ruzli
ruzli / Martingale 1.5x.js
Last active April 18, 2019 01:40
Martingale with payout 1.5x and bet multiplier 3
const baseBet = 100 // how many satoshis to bet initially
const target = 1.50 // target multiplier
const betMultiplier = 3 // what to multiply the bet size by when we lose a wager
const sleepTime = 300 // Ms - milliseconds to pause between bets
let lossCount = 0
this.log(`Starting half target script, balance ${this.balance / 100} bits.`)
while (true) {
const { multiplier } = await this.bet(betSize(lossCount), target)
@ruzli
ruzli / random bets script.js
Last active November 17, 2021 22:42
Random bets script
const baseBet = 100
const baseTarget = 2
const maximumBet = 3500
let bet = baseBet
let engine = this
while(true){
const { multiplier} = await this.bet(bet, baseTarget)
@ruzli
ruzli / Simple martingale with reset.js
Last active September 24, 2018 11:57
Simple martingale with reset bet after X in a row streak
const baseBet = 100 // how many satoshis to bet initially
const target = 2.00 // target multiplier
const betMultiplier = 2 // what to multiply the bet size by when we lose a wager
const stopGameAfterLoss = 7 /* Trigger will lead to drop/stop script */
const sleepTimeInMS = 100
const dropInsteadOfStopScript = true /* stop script or drop losses and continue play */
const changeSeed = 3 /* How much losses obtain, and then change seed to decrease chance of big streak, 0 to disable */
const engine = this
@ruzli
ruzli / Skipping until streaks N times for 1.35x .js
Last active August 23, 2018 00:01
Skipping until streaks N times for 1.35x
const baseBet = 300 /* In satoshi, which means it will place 2 bits */
const target = 1.35
const streakSeek = 1 /* How much streaks in a row until starting to place bets */
const multiplierBet = 3 /* Multiply base bet if not regular bet was loss */
const stopLoss = 0 /* Stop script if balance will go under this value */
const regularBet = 100
const regularTarget = 1.35
const placeRegularNotSkip = true /* Place bets or skips */
const engine = this
@ruzli
ruzli / 1.7 with sleep at streaks
Last active August 31, 2018 14:06
1.7 with sleep at streaks
const baseBet = 1
const baseTarget = 1.7
const maximumBet = 100000
const multiplierBet = 2.41
const minimalToRunScript = 300
const changeSeed = true
const changeSeedAfterStreakOf = 3
/* Sleep Levels */
@ruzli
ruzli / 5x bet after skips until 10x appear.js
Created September 1, 2018 20:06
5x bet after skips until 10x appear
const baseBet = 1
const baseTarget = 10
const multiplierBet = 2
const maxProfit = 10000
const sleepTime = 0
let bet = baseBet
let target = baseTarget
let lostbet = baseBet
let lost = 0
@ruzli
ruzli / Periodic AntiScript Counterparty
Last active April 18, 2019 03:18
Periodic AntiScript Counterparty
/* AntiScript v1.06 Example uses configurables to obtain diffirent strategies:
baseTarget = 1.35, maximumBet = 500, multiplierBet = 4; that will turn script to safe enough
baseTarget = 1.35, maximumBet = 100, multiplierBet = 1.02; slowly increases and stays until lose bet
baseTarget = 15, maximumBet = 110, multiplierBet = 1.02; big profits, little risk */
/* Common */
const baseBet = 1 /* In bits */
const baseTarget = 1.35
/* Periods */
const PeriodBet = 1
const PeriodTarget = 1.35
@ruzli
ruzli / AntiScript.js
Last active April 18, 2019 03:18
AntiScript
/* AntiScript v1.06 Example uses configurables to obtain diffirent strategies:
baseTarget = 1.35, maximumBet = 500, multiplierBet = 4; that will turn script to safe enough
baseTarget = 1.35, maximumBet = 100, multiplierBet = 1.02; slowly increases and stays until lose bet
baseTarget = 15, maximumBet = 110, multiplierBet = 1.02; big profits, little risk
*/
const baseBet = 1
const baseTarget = 15
const maximumBet = 110
const multiplierBet = 1.02
const minimalToRunScript = 300
@ruzli
ruzli / antiscript_periodic.js
Last active April 18, 2019 01:42
Antiscript witth periodic bets [SHORT_TERM][10000 bits+]
/* AntiScript v1.06 Example uses configurables to obtain diffirent strategies:
baseTarget = 1.35, maximumBet = 500, multiplierBet = 4; that will turn script to safe enough
baseTarget = 1.35, maximumBet = 100, multiplierBet = 1.02; slowly increases and stays until lose bet
baseTarget = 15, maximumBet = 110, multiplierBet = 1.02; big profits, little risk */
/* Common */
const baseBet = 1 /* In bits */
const baseTarget = 30
/* Periods */
const PeriodBet = 1
const PeriodTarget = 1.01