Finnhub.io icon

Finnhub.io

Consume Finnhub.io API

Stock → Stock Social Sentiment

AI-generated

Overview

This node interacts with the Finnhub.io API to retrieve social sentiment data for a specified stock symbol. It is useful for analyzing public sentiment and social media trends related to a particular company, which can aid in investment decisions or market analysis. For example, a user can input a stock symbol and optional date range to get sentiment insights from social platforms.

Use Case Examples

  1. Retrieve social sentiment for Apple Inc. (AAPL) from the last month to gauge public opinion trends.
  2. Analyze social sentiment for Tesla (TSLA) over a specific date range to inform trading strategies.

Properties

Name Meaning
Premium Access Toggle to use premium Finnhub endpoints based on your credential.
Symbol The stock symbol of the company to retrieve social sentiment for.
From Optional start date (YYYY-MM-DD) to filter the sentiment data.
To Optional end date (YYYY-MM-DD) to filter the sentiment data.
Request Options Settings for batching requests, SSL certificate validation, proxy usage, and request timeout.

Output

JSON

  • symbol - The stock symbol queried.
  • from - Start date of the sentiment data range.
  • to - End date of the sentiment data range.
  • sentimentData - Array of social sentiment data points retrieved from Finnhub.io API, including metrics such as positive, negative, and neutral sentiment counts.

Dependencies

  • Finnhub.io API
  • An API key credential for Finnhub authentication

Troubleshooting

  • Ensure the API key credential is valid and has access to the required endpoints, especially if using premium features.
  • Check date formats for 'From' and 'To' fields; they must be in YYYY-MM-DD format.
  • If requests time out, consider increasing the timeout setting or adjusting batching options to reduce request frequency.
  • If SSL errors occur, enabling 'Ignore SSL Issues' may help but use with caution due to security risks.

Links

Discussion