Function crypto_crawler::crawl_trade[][src]

pub fn crawl_trade(
    exchange: &str,
    market_type: MarketType,
    symbols: Option<&[String]>,
    tx: Sender<Message>,
    duration: Option<u64>
)
Expand description

Crawl realtime trades.

If symbols is None or empty, this API will crawl realtime trades for all symbols in the market_type market, and launch a thread to discover new symbols every hour. And so forth for all other APIs.