GithubHelp home page GithubHelp logo

famu8 / fear-and-greed-index-alarm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brucewind/fear-and-greed-index-alarm

0.0 0.0 0.0 376 KB

A notification reminder for indicating when the CNN Fear and Greed Index is out of range.

License: Other

JavaScript 89.99% Dockerfile 10.01%

fear-and-greed-index-alarm's Introduction

中文

Fear-And-Greed Index Alarm

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: Screenshot 2023-12-07 at 12 53 09 PM

You can also see today status: Today Status

Setup

To set up the FearNGreed Index Alarm, follow these steps:

  1. Make sure you have a GitHub account. If not, create one at https://github.com.
  2. Fork this repository by clicking the "Fork" button in the top-right corner of this page.
  3. In your forked repository, go to the "Settings" tab.
  4. Under "Repository name", click on "Secrets".
  5. 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.
  6. Once you have added the secrets, the FearNGreed Index Alarm will be able to access them during the GitHub Actions workflow.
  7. Commit the changes to your forked repository. The GitHub Actions workflow will now be triggered according to the specified schedule.

Notification

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.

fear-and-greed-index-alarm's People

Contributors

brucewind avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.