Skip to main content

get_instruments_pattern

Function get_instruments_pattern 

Source
pub fn get_instruments_pattern(venue: Venue) -> MStr<Pattern>
Expand description

Returns a wildcard subscription pattern that matches all instrument topics for the given venue.

For example, venue BINANCE produces pattern data.instrument.BINANCE.*, which matches per-instrument topics like data.instrument.BINANCE.BTCUSDT.