pub fn inverse_probability_to_bet(
probability: Decimal,
volume: Decimal,
side: OrderSideSpecified,
) -> Bet
Expand description
Converts a probability and volume into a Bet using the inverse probability.
The side is also inverted (BUY becomes SELL and vice versa).