- Source:
Methods
(static) exports.OddsByMatches(odds, stakes) → {Array}
- Source:
Odds grouped by match
Parameters:
| Name | Type | Description |
|---|---|---|
odds |
Array | |
stakes |
Array |
Returns:
- Type
- Array
(static) exports.SinglesMatches(odds, stakes) → {object}
- Source:
Return matches per leagueId-matchId, stake and number of matches for multiple singles
Parameters:
| Name | Type | Description |
|---|---|---|
odds |
Array | |
stakes |
Array |
Returns:
- Type
- object
(static) exports.SystemMatches(odds) → {Array}
- Source:
Return matches per leagueId-matchId and number of matches for system bet
Parameters:
| Name | Type | Description |
|---|---|---|
odds |
Array |
Returns:
- Type
- Array
(static) exports.SystemSplitManager(odds, bonusPercentages, bonusOddsThreshold, isSplit, winCap) → {object}
- Source:
Calling SystemManager or SplitManager library and return response
Parameters:
| Name | Type | Description |
|---|---|---|
odds |
Array | |
bonusPercentages |
number | |
bonusOddsThreshold |
Array | |
isSplit |
object | |
winCap |
number |
Returns:
- Type
- object