fn apply_fill_ledger_side_effects( conn: &mut PgConnection, wallet: &WalletAddress, fill: &Fill, realized_delta: Decimal, premium_delta: Decimal, ) -> Result<()>