Function crypto_crawler::crawl_ticker
source · pub async fn crawl_ticker(
exchange: &str,
market_type: MarketType,
symbols: Option<&[String]>,
tx: Sender<Message>
)
Expand description
Crawl 24hr rolling window ticker.
If symbols
is None, it means all trading symbols in the market_type
,
and updates the latest symbols every hour.