MartingaleStrat

model.entities.customers.MartingaleStrat
See theMartingaleStrat companion class

Companion object for MartingaleStrat, providing convenient factory methods.

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply[A <: Bankroll[LazyRef(...)] & CustomerState[LazyRef(...)]](baseBet: Double, option: Int): MartingaleStrat[A]

Creates a Martingale strategy with a single option, starting with baseBet.

Creates a Martingale strategy with a single option, starting with baseBet.

Type parameters

A

The entity type.

Value parameters

baseBet

The initial bet amount.

option

The single game option.

Attributes

Returns

A new MartingaleStrat instance.

def apply[A <: Bankroll[LazyRef(...)] & CustomerState[LazyRef(...)]](baseBet: Double, options: List[Int]): MartingaleStrat[A]

Creates a Martingale strategy with a list of options, starting with baseBet.

Creates a Martingale strategy with a list of options, starting with baseBet.

Type parameters

A

The entity type.

Value parameters

baseBet

The initial bet amount.

options

The list of game options.

Attributes

Returns

A new MartingaleStrat instance.

def apply[A <: Bankroll[LazyRef(...)] & CustomerState[LazyRef(...)]](baseBet: Double, betAmount: Double, option: Int, lossStreak: Int): MartingaleStrat[A]
def apply[A <: Bankroll[LazyRef(...)] & CustomerState[LazyRef(...)]](baseBet: Double, betAmount: Double, options: List[Int], lossStreak: Int): MartingaleStrat[A]