Socket
Socket
Sign inDemoInstall

rsisignalsendernode

Package Overview
Dependencies
72
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rsisignalsendernode

RSISignalSenderNode is a Node.js application designed to fetch the weekly Relative Strength Index (RSI) of specified stocks using the Alpha Vantage API. It also features functionality for sending email alerts when certain RSI criteria are met.


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

RSISignalSenderNode

Overview

RSISignalSenderNode is a Node.js application designed to fetch the weekly Relative Strength Index (RSI) of specified stocks using the Alpha Vantage API. It also features functionality for sending email alerts when certain RSI criteria are met.

Prerequisites

  • Node.js
  • npm (Node Package Manager)
  • Access to Alpha Vantage API (API key required)
  • (Optional) Email service credentials for sending alerts

Installation

  1. Clone the Repository git clone https://github.com/yourusername/RSISignalSenderNode.git cd RSISignalSenderNode

  2. Install Dependencies

    npm install
    
  3. Set Up Environment Variables

  • Create a .env file in the root directory.
  • Add the following variables:
    ALPHA_VANTAGE_API_KEY=your_alpha_vantage_api_key
    PORT=3000
    EMAIL_USER=your_email@example.com
    EMAIL_PASS=your_email_password
    

Running the Application

  • Start the server:
    npm start
    
  • The server will be running on http://localhost:24001 (or the port you've specified in the .env file).

Usage

Fetch RSI Data

  • Endpoint: GET /api/stocks/rsi/:ticker
  • Replace :ticker with the stock symbol you want to check.
  • Example using curl:
    curl http://localhost:24001/api/stocks/rsi/AMZN
    

Contributing

Contributions to this project are welcome. Please fork the repository and submit a pull request for any enhancements or bug fixes.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Keywords

FAQs

Last updated on 18 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc