Example #1
0
def strategy(justdice):
    # Settings for this strategy.
    strat_name = u'weirdo 0.2%' # Some funny name for your strategy.
    win_chance = Decimal('0.2')  # %
    bankroll = Decimal('1.0')   # BTC
    target =   Decimal('1.6')   # Amount to reach in BTC.
    getout =   Decimal('0.1')   # Stopping condition in BTC.
    to_bet =   Decimal('0.001') # BTC
    roll_high = True
    simulation = True # Only 0 BTC bets will be performed when this is True.
    #

    run_strategy(justdice, locals())
Example #2
0
def dabs(justdice):
    # Settings for this strategy.
    win_chance = Decimal('87.7779')             # %
    bankroll = Decimal('1')                     # BTC
    to_bet =   Decimal('0.00001658') * bankroll # Starting BTC amount to bet.
    lose_multiplier = Decimal('8.8219') # Multiply bet by this amount on a lose.
    reset_on_win = True         # Reset to_bet to its original value on a win.

    target =   Decimal('2')     # Amount to reach in BTC.
    # Other settings.
    strat_name = u'Dabs'  # Strategy name.
    roll_high = True      # Roll high ?
    simulation = True # Only 0 BTC bets will be performed when this is True.
    #
    run_strategy(justdice, locals())
Example #3
0
def martingale(justdice):
    # Settings for this strategy.
    win_chance = Decimal('50')  # %
    to_bet =   Decimal('0.001') # Starting BTC amount to bet.
    lose_multiplier = Decimal('2') # Multiply bet by this amount on a lose.
    reset_on_win = True         # Reset to_bet to its original value on a win.
    # Basic settings.
    bankroll = Decimal('1.0')   # BTC
    target =   Decimal('1.6')   # Amount to reach in BTC.
    getout =   Decimal('0.1')   # Stopping condition in BTC.
    # Other settings.
    strat_name = u'Martingale'  # Strategy name.
    roll_high = True            # Roll high ?
    simulation = True # Only 0 BTC bets will be performed when this is True.
    #
    run_strategy(justdice, locals())
Example #4
0
def dabs(justdice):
    # Settings for this strategy.
    win_chance = Decimal('87.7779')  # %
    bankroll = Decimal('1')  # BTC
    to_bet = Decimal('0.00001658') * bankroll  # Starting BTC amount to bet.
    lose_multiplier = Decimal(
        '8.8219')  # Multiply bet by this amount on a lose.
    reset_on_win = True  # Reset to_bet to its original value on a win.

    target = Decimal('2')  # Amount to reach in BTC.
    # Other settings.
    strat_name = u'Dabs'  # Strategy name.
    roll_high = True  # Roll high ?
    simulation = True  # Only 0 BTC bets will be performed when this is True.
    #
    run_strategy(justdice, locals())