Weighted Sentiment Metrics

    Definition

    The Sentiment Weighted is an improved version of the Sentiment Balance that also takes into account the Unique Social Volume.

    Why Sentiment Balance needs improvement?

    Sentiment Positive/Negative/Balance metrics' values are in the interval [-social_volume; +social_volume] where social_volume is the number of messages that mention a given coin.

    This makes the values of different assets hard to compare, as the mentions of Bitcoin are magnitutes higher compared to the mentions of a small token.

    Sentiment Weighted Intuitive Definition

    Sentiment Weighted adjusts the values by considering the number of mentions, standardizing data to make diverse asset sentiments comparable.

    This means that spikes/dips in the metric will be seen when there is:

    • a lot of mentions for a coin
    • most of the mentions are expressing the same sentiment -- most are positive or most are negative

    If the sentiment is mixed, or the asset is not mentioned a lot, there will be no spikes/dips.

    Sentiment Weighted Technical Definition

    The metric is defined as a rolling Z-score of the term X, where:

    More precisely we choose a duration which will be the length of our sliding window. Then for any timestamp we consider the population consisting of all values of for all timestamps between and . If we use and to denote mean and standard deviation, then we define Sentiment Weighted as:

    This score can be explained as a social-volume-weighted sentiment balance it spikes when the social volume is really high and the vast majority of the messages in it are very positive at the same time. Dips will occur when the social volume again is high, but the overall sentiment is negative. In case the volume is high but the sentiment is mixed, or the sentiment has a strong positive (negative) polarity but with a low volume, the Sentiment Weighted metric won't have significant changes and will stay around 0.

    Available Sources

    List of available sources

    Weighted Sentiment Bitcoin Chart

    Access

    Restricted Access


    Measuring Unit

    Sum of sentiment scores


    Data Type

    Timeseries Data


    Frequency

    Five-Minute Intervals


    Latency

    Social Data Latency


    Available Assets

    All metrics have the same set of available assets


    SanAPI

    Fetch timeseries data for sentiment_weighted_total for a single asset:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    {
      getMetric(metric: "sentiment_weighted_total") {
        timeseriesData(
          slug: "ethereum"
          from: "utc_now-90d"
          to: "utc_now-30d"
          interval: "7d"
        ) {
          datetime
          value
        }
      }
    }

    Run in explorer


    Fetch timeseries data for sentiment_weighted_telegram for multiple assets at the same time:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    {
      getMetric(metric: "sentiment_weighted_telegram") {
        timeseriesDataPerSlug(
          from: "utc_now-60d"
          to: "utc_now-55d"
          interval: "1d"
          selector: {slugs: ["ethereum","bitcoin"]})
          {
            data {
              slug
              value
            }
            datetime
          }
      }
    }

    Run in explorer


    Fetch aggregated daily values for many assets:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    {
      allProjects(page: 1 pageSize: 50){
        slug
        sentimentWeighted: aggregatedTimeseriesData(
          metric: "sentiment_weighted_total"
          from: "utc_now-7d"
          to: "utc_now")
      }
    }

    Run in Explorer


    Full list of metrics

    The full list of weighted sentiment metrics is:

    Open Weighted Sentiment Metrics List

    • sentiment_weighted_4chan
    • sentiment_weighted_bitcointalk
    • sentiment_weighted_reddit
    • sentiment_weighted_telegram
    • sentiment_weighted_twitter
    • sentiment_weighted_youtube_videos
    • sentiment_weighted_farcaster
    • sentiment_weighted_total