The FearNGreed Index Alarm is an open-source repository that allows you to fetch CNN Fear and Greed Index every morning using GitHub Actions. This index serves as an indicator of market sentiment. The repository includes a script that checks whether the fetched index value is above or below a specified threshold. If it exceeds the defined range, an exception is raised within the GitHub Actions workflow. You will receive an email notification from github.
In case of out of range, you can see the error like this:
You can also see today status:
To set up the FearNGreed Index Alarm, follow these steps:
- Make sure you have a GitHub account. If not, create one at https://github.com.
- Fork this repository by clicking the "Fork" button in the top-right corner of this page.
- In your forked repository, go to the "Settings" tab.
- Under "Repository name", click on "Secrets".
- Click on "New repository secret" and add the following secrets:
FNG_MIN
: The minimum threshold value for the Fear and Greed Index.FNG_MAX
: The maximum threshold value for the Fear and Greed Index. Make sure to provide the appropriate values for these secrets.
- Once you have added the secrets, the FearNGreed Index Alarm will be able to access them during the GitHub Actions workflow.
Once you have set up the FearNGreed Index Alarm and added the necessary secrets, the workflow will automatically run according to the schedule. If the fetched Fear and Greed Index value exceeds the defined range, a notification will be triggered. You can customize the notification settings based on your preferences and requirements.
If you want to use a AI stock watch service and notification service, or don't know how to use tech indicators, I recommand you to access www.investmentstrategy365.com.
You can see our past advices in this link: www.investmentstrategy365.com/monitor?history=1.