pub fn validate_market_active( ticker: &str, status: &DydxMarketStatus, ) -> Result<()>
Validates that a market is active and tradable.
Returns an error if the market status is not Active.