CoinMetricsClient.get_stream_market_contract_prices
coinmetrics.api_client.CoinMetricsClient.get_stream_market_contract_prices(
markets,
backfill=None,
)
Returns timeseries stream of market contract prices.
This includes index price and mark price that are used by the exchange for settlement and risk management purposes.
- Parameters:
- markets (Union [str , List [str ] ]) -- Comma separated list of markets or market patterns like exchange-* or exchange-*-spot or *USDT-future. Use the /catalog-all-v2/markets endpoint for the full list of supported markets.
- backfill (Optional [str ]) -- What data should be sent upon a connection. By default the latest values are sent just before real-time data.
Returns:
- CmStream
- Market Contract Prices timeseries stream.