pub fn parse_instrument_id<S: AsRef<str>>(ticker: S) -> InstrumentIdExpand description
Parses a dYdX instrument ID from a ticker string.
dYdX v4 only lists perpetual markets, with tickers in the format “BASE-QUOTE” (e.g., “BTC-USD”). Nautilus standardizes perpetual instrument symbols by appending the product suffix “-PERP”.
This function converts a dYdX ticker into a Nautilus InstrumentId
by appending “-PERP” to the symbol and using the dYdX venue.