Function crypto_crawler::crawl_trade
source · [−]pub async fn crawl_trade(
exchange: &str,
market_type: MarketType,
symbols: Option<&[String]>,
tx: Sender<Message>
)
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.