Function crypto_msg_parser::exchanges::bitmex::price_to_id [−][src]
Expand description
convert price to ID https://www.bitmex.com/app/wsAPI#OrderBookL2 ID = (100000000 * symbolIdx) - (price / tickSize)
convert price to ID https://www.bitmex.com/app/wsAPI#OrderBookL2 ID = (100000000 * symbolIdx) - (price / tickSize)