Skip to content

report large trades where the stock moved over 3% during the following week

License

Notifications You must be signed in to change notification settings

dfwcnj/insidertrading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

insidertrading


Table of Contents

Installation

pip install insidertrading

License

insidertrading is distributed under the terms of the MIT license.

Description

This package chooses the largest dollar transactions in the SEC form345 file and reports transactions where the stock price rose, in case of an acquisition, or fell, in case of a disposal, over a certain percentage during the following week.

THIS DOES NOT CLAIM THAT ANY OF THESE TRANSACTIONS ARE ILLEGAL.

It merely reports that the stock moved by some threshold after the transaction. It could be because of personal reasons, coincidence, because the stock is unusually volatile, or some other innocuous reason.

If you do not provide a --yq argument, the command determines the last quarter from the current date and uses that

if you do not provide an --insiderdb argument, the sqlite3 database is created in RAM.

Usage

usage: edgarinsidertrading [-h] [--yq YQ] [--threshold THRESHOLD] [--interval INTERVAL] [--insiderdb INSIDERDB] [--directory DIRECTORY] [--file FILE]

report possibly illegal insider trading

options: -h, --help show this help message and exit --yq YQ year quarter in form YYYYQ[1-4] --threshold THRESHOLD stock price change threshold - 0-50 --interval INTERVAL number of days to consider for price movements 1-14 --insiderdb INSIDERDB full path to the sqlite3 database - default in memory --directory DIRECTORY directory to store the output --file FILE csv file to store the output - default stdout

About

report large trades where the stock moved over 3% during the following week

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages