Giter VIP home page Giter VIP logo

tdevers619 / capittoltradebot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cjk268/insider-trading-alerts

0.0 0.0 0.0 10 KB

Python script for monitoring insider trading activities from CapitolTrades. Get email alerts for recent trades that match your specified criteria. Customizable filters and email notifications for informed decision-making.

License: MIT License

Python 100.00%

capittoltradebot's Introduction

Insider Trading Alerts

Insider Trading Alerts is a Python script that scrapes insider trading information from CapitolTrades and sends email alerts based on specified criteria.

Features

  • Fetches insider trades data from CapitolTrades website.
  • Checks specified criteria (recent days, trade size, etc.) to filter relevant trades.
  • Sends email alerts when insider trades meet the criteria.

Prerequisites

  • Python 3
  • Required Python packages (install using pip install -r requirements.txt)
    • requests
    • beautifulsoup4
    • smtplib (standard library)
    • dotenv

Setup

  1. Clone the repository: git clone https://github.com/cjk268/Insider-Trading-Alerts.git

  2. Navigate to the project directory:

    cd Insider-Trading-Alerts

  3. Install the required packages: pip install -r requirements.txt

  4. Set up your environment variables: Create a .env file in the project directory and add the following:

    • my_email=[email protected]
    • password=your_email_password
    • send_address=desired_send_email_address
  5. Run the script: python main.py

Configuration

Adjust the constants in the script to customize the criteria for insider trades:

  • RECENT: Maximum number of days considered recent for insider trades.
  • MIN_TRADE_SIZE: Minimum trade size desired by the user (in USD).
  • MIN_OR_MAX_RANGE: 0/1 variable indicating whether to use the min or max in the range size.

Usage

It is recommended to upload the script to the cloud and schedule daily checks using a task manager. Alternatively, you can schedule daily checks on your local device.

capittoltradebot's People

Contributors

dimago11 avatar cjk268 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.