CoinMetricsClient.get_stream_pair_quotes

coinmetrics.api_client.CoinMetricsClient.get_stream_pair_quotes(
    pairs,
    aggregation_method=None,
    backfill=None,
)

Returns a websocket stream of pair quotes for the requested asset pairs.

  • Parameters:

    • pairs (Optional *[*Union [strarrow-up-right , List [strarrow-up-right ] ] ]) -- Comma separated list of asset pairs. Use the /catalog-all/pairs endpoint for the full list of supported asset pairs.

    • aggregation_method (strarrow-up-right) -- The method to use for aggregation.

    • backfill (strarrow-up-right) -- What data should be sent upon a connection. By default the latest values are sent just before real-time data.

  • Returns:

Returns:

Last updated

Was this helpful?