Function crypto_msg_parser::exchanges::bitmex::id_to_price[][src]

pub fn id_to_price(symbol: &str, id: usize) -> f64
Expand description

convert ID to price https://www.bitmex.com/app/wsAPI#OrderBookL2 price = (100000000 * symbolIdx - ID) * tickSize