Open each issue with a mood line

Start every issue of your newsletter with one line on how bullish or bearish the market feels today, taken from the AssetFeed Sentiment Index.

You need: an API key (opens in a new tab) and a newsletter tool where you can fill a template. Each request uses credits.

  1. Open the index to know what it looks like

    Sign in and open the Sentiment index (opens in a new tab). The gauge shows today's value and the zone from very bearish to very bullish.

    The Sentiment index gauge
  2. Read it from the API

    Once a day call get_market_index with 7 days. You get the latest value and the values of the week.

    An example request to the API with the days parameter
  3. Count the change

    Take the difference between the latest value and the value seven days ago. Round both to whole numbers.

  4. Put one line into the template

    Write a sentence with the value and the change, for example the index at 62, up 5 over the week. Add a link to the Sentiment index.

  • What you will see

    A one-line mood summary for the top of each issue, filled in automatically every morning.

  • Data used

    get_market_index through the API (opens in a new tab). The index is calculated once a day for the previous UTC day.

  • Limits

    • The latest value describes the previous day.
    • Describe the mood, do not predict prices.