[−][src]Function crypto_crawler::crawl_l2_snapshot
pub fn crawl_l2_snapshot(
exchange: &str,
market_type: MarketType,
symbols: Option<&[String]>,
on_msg: Arc<Mutex<dyn FnMut(Message) + Send + 'static>>,
interval: Option<u64>,
duration: Option<u64>
)
Crawl level2 orderbook snapshot through REST API.