pub fn py_calc_bets_pnl(bets: Vec<Bet>) -> PyResult<Decimal>
Calculates the total PnL (realized + unrealized) for a list of Bet instances.
Bet
Returns a PyErr if the PnL calculation fails.
PyErr