notional_fast

Function notional_fast 

Source
pub fn notional_fast(price_ticks: Price, size_units: Qty) -> i64
Expand description

Calculate notional value (price * size) (FAST VERSION)

Returns the result in the same scale as our quantities. This avoids the expensive Decimal multiplication.

Example: notional_fast(6543, 1000000) = 6543000000 (representing $654.30)