Coder Social home page Coder Social logo

badsamuraidev / sec-item-1.05 Goto Github PK

View Code? Open in Web Editor NEW
3.0 0.0 0.0 177 KB

Python script to query SEC API for "Item 1.05" to find cybersecurity incident disclosures of public companies.

License: MIT License

Python 100.00%
3rd-party breach federal-government security-audit

sec-item-1.05's Introduction

SEC Item 1.05 API Query

This script queries the SEC API for filings with a "Item 1.05" in the full text search and matches tickers from a watchlist. Ideally this script would be run on an interval (mind the API limits!) against a list populated manually or by a 3rd party risk job.

By default the script will search between the current date and 30 days ago. This can be changed by modifying the start_date and end_date variables in the API body.

Usage:

  python sec-item-1.05.py --token YOUR_API_TOKEN          # Run the script with an API token.
  python sec-item-1.05.py --debug --token YOUR_API_TOKEN  # Run the script in debug mode with an API token.
  python sec-item-1.05.py --debug                         # Run the script in debug mode, you'll be prompted for the API token.
  python sec-item-1.05.py --token YOUR_API_TOKEN --watchlist MY_WL.yaml --output MY_OUTPUT.json

Options:

  --token     Provide the SEC API token. If omitted, the script will prompt for it.
  --debug     Enable debug mode for additional output useful for troubleshooting.
  --watchlist Provide a different watchlist file. If omitted, the script will use the default.
  --output    Provide a different output file. If omitted, the script will print to console.
  --help      Show this message and exit.
  --readme    Show the README and exit.

Resources:

sec-item-1.05's People

Contributors

paddlingcode avatar

Stargazers

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