Skip to main content

py_calc_bets_pnl

Function py_calc_bets_pnl 

Source
pub fn py_calc_bets_pnl(bets: Vec<Bet>) -> PyResult<Decimal>
Expand description

Calculates the combined profit and loss for a slice of bets.