Betting Indicators e.g. ROI, Yield, Profitability, Hit Rate
$ npm install @kamdz/betting-indicators
const indicators = require("@kamdz/betting-indicators");
indicators.yield({
balance: 12760,
bankroll: 10000,
losses: new Array(170).fill(100),
wins: new Array(195).fill(100),
});
//=> "7.56%"
Type: number
Your current account balance.
Type: number
Your starting account bankroll.
Type: string
Default: 0%
ROI stands for the Return on Investment.
Type: number
Current account balance.
Type: number
Starting account bankroll.
Type: number[]
Array of numbers with won bet stakes.
Type: number[]
Array of numbers with lost bet stakes.
Type: string
Default: 0%
Yield measures betting efficiency compared to total turnover.
Type: number
Current account balance.
Type: number
Starting account bankroll.
Type: number[]
Your starting account bankroll.
Type: string
Default: 0%
Profitability is the ability of a business to earn a profit.
Type: number[]
Array of numbers with won bet stakes.
Type: number[]
Array of numbers with lost bet stakes.
Type: string
Default: 0%
Hit Rate is the number of winning bets concerning all placed bets.
Type: number
Your current account balance.
Type: number
Your starting account bankroll.
Type: number
Default: 0
Profit is simply difference between the current account balance and starting account bankroll.
Type: number
Current account balance.
Type: number
Starting account bankroll.
Type: number[]
Array of numbers with won bet stakes.
Type: number[]
Array of numbers with lost bet stakes.
Type: Object
Structure: { roi, yield, profitability, hitRate, profit }
Object with all indicators.