model.entities.customers.MartingaleStrat
See theMartingaleStrat companion class
object MartingaleStrat
Companion object for MartingaleStrat, providing convenient factory methods.
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
MartingaleStrat.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
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]
In this article