Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rsisignalsendernode

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

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.

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 18 Mar 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc