parse_market_depth
Documentation for eth_defi.gmx.market_depth.parse_market_depth function.
- parse_market_depth(market_data)
Parse a single market entry from the
/markets/infoREST response.- Parameters
market_data (dict[str, Any]) – Raw market dictionary as returned inside
response["markets"].- Returns
Structured
MarketDepthInfofor this market.- Return type