Compare a coin's mood with the whole market

See whether the mood around one coin moves with the mood of the whole market, or on its own.

You need: an API key (opens in a new tab) and a notebook.

  1. Get the coin's index

    Find the coin with search_cryptos and call get_chart_data with kind index for 90 days. Days with too few posts come back empty.

    A Python example that asks for a daily series
  2. Get the market index

    Call get_market_index for the same 90 days.

  3. Measure how they move together

    Join them by date, drop the empty days and measure the correlation of the daily changes, not of the levels.

  4. Look at the days they split

    Mark the days when the coin's mood moves against the market and open the posts for those days with get_entity_posts.

  • What you will see

    A number for how much the coin's mood follows the market, and a list of days when it did not.

  • Data used

    get_chart_data with kind index and get_market_index, through the API (opens in a new tab).

  • Limits

    • Small coins have many empty days.
    • Correlation does not show which one leads.