This scans every ticker on the market, gets their last 5 months of volume history, and alerts you when a stock's volume exceeds 10 standard deviations from the mean within the last 3 days. (these numbers are all adjustable). Helps find anomalies in the stock market
Docker - install Docker https://docs.docker.com/get-docker/
Alternatively,
-
download your favorite Python IDE. (For example, the project creator uses VSCode)
-
Clone project from GitHub
-
Open project in your IDE and install all required dependancies by typing pip install -r requirements.txt into the IDE's terminal. You can get to the the terminal on VSC by pressing CMD and ` at the same time.
Build docker image by running commands below, from the same directory as Dockerfile.
docker build --tag NAME:VERSION . ie docker build --tag wsb:1.0 .
You will be presented with a message
Successfully built ID Successfully tagged wsb:1.0
Then run
docker run -ti ID bash Once inside python /opt/wsb/market_scanner.py
Alternatively,
- run the market_scanner.py and it will print out results into the terminal
- you can also graph any ticker's volume in grapher.py
Line 17 controls the amount of months of historical volume the script gets
Line 75 controls the amount of days before today that it will alert you
Line 84 controls the number of standard deviations away from the mean volume