Function crypto_crawler::subscribe_symbol [−][src]
pub fn subscribe_symbol(
exchange: &str,
market_type: MarketType,
symbol: &str,
msg_types: &[MessageType],
tx: Sender<String>,
duration: Option<u64>
)
Expand description
Subscribe to multiple message types of one symbol.
This API is suitable for client applications such as APP, website, etc.
String messages in tx
are already parsed by crypto-msg-parser
.