All Projects → jackmoody11 → stockscore

jackmoody11 / stockscore

Licence: MIT License
A python project to fetch stock financials/statistics and perform preliminary screens to aid in the stock selection process

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects
shell
77523 projects

Projects that are alternatives of or similar to stockscore

Tradestation
EasyLanguage indicators and systems for TradeStation
Stars: ✭ 65 (+20.37%)
Mutual labels:  finance, stock-market, stocks
Yahoo Finance Api
PHP client for Yahoo Finance API 📈
Stars: ✭ 179 (+231.48%)
Mutual labels:  finance, stock-market, stocks
Algobot
A C++ stock market algorithmic trading bot
Stars: ✭ 78 (+44.44%)
Mutual labels:  finance, stock-market, stocks
Mop
Stock market tracker for hackers.
Stars: ✭ 1,534 (+2740.74%)
Mutual labels:  finance, stock-market, stocks
cira
Cira algorithmic trading made easy. A Façade library for simpler interaction with alpaca-trade-API from Alpaca Markets.
Stars: ✭ 21 (-61.11%)
Mutual labels:  finance, stock-market, stocks
Pyex
Python interface to IEX and IEX cloud APIs
Stars: ✭ 311 (+475.93%)
Mutual labels:  finance, stock-market, stocks
Tiingo Python
Python REST Client for interacting with the Tiingo Financial Data API
Stars: ✭ 152 (+181.48%)
Mutual labels:  finance, stock-market, stocks
Sec Edgar Downloader
Download SEC filings from the EDGAR database using Python
Stars: ✭ 146 (+170.37%)
Mutual labels:  finance, stock-market, stocks
Finance-Robinhood
Trade stocks and ETFs with free brokerage Robinhood and Perl
Stars: ✭ 42 (-22.22%)
Mutual labels:  finance, stock-market, stocks
Ta Rs
Technical analysis library for Rust language
Stars: ✭ 248 (+359.26%)
Mutual labels:  finance, stock-market, stocks
AIPortfolio
Use AI to generate a optimized stock portfolio
Stars: ✭ 28 (-48.15%)
Mutual labels:  finance, stock-market, stocks
pyEX
Python interface to IEX and IEX cloud APIs
Stars: ✭ 407 (+653.7%)
Mutual labels:  finance, stock-market, stocks
tuneta
Intelligently optimizes technical indicators and optionally selects the least intercorrelated for use in machine learning models
Stars: ✭ 77 (+42.59%)
Mutual labels:  finance, stock-market, stocks
Iex Api
The IEX API provides any individual or academic, public or private institution looking to develop applications that require stock market data to access near real-time quote and trade data for all stocks trading on IEX.
Stars: ✭ 683 (+1164.81%)
Mutual labels:  finance, stock-market, stocks
investbook
Оценка эффективности инвестиций с учетом комиссий, налогов (удержанных и ожидающихся), дивидендов и купонов.
Stars: ✭ 83 (+53.7%)
Mutual labels:  finance, stock-market, stocks
Finance
Here you can find all the quantitative finance algorithms that I've worked on and refined over the past year!
Stars: ✭ 194 (+259.26%)
Mutual labels:  finance, stock-market, stocks
fundamentos
Download Bovespa Stock Market fundamentals with Python.
Stars: ✭ 80 (+48.15%)
Mutual labels:  finance, stock-market, stocks
Beibo
🤖 Predict the stock market with AI 用AI预测股票市场
Stars: ✭ 46 (-14.81%)
Mutual labels:  finance, stock-market, stocks
qtrn
⚠️ Deprecated, see https://github.com/piquette/qtrn ⚠️
Stars: ✭ 20 (-62.96%)
Mutual labels:  finance, stock-market
web trader
📊 Python Flask game that consolidates data from Nasdaq, allowing the user to practice buying and selling stocks.
Stars: ✭ 21 (-61.11%)
Mutual labels:  finance, stock-market

Stock Score

https://www.codefactor.io/repository/github/jackmoody11/stockscore/badge https://api.codacy.com/project/badge/Grade/d2108117522f4fe498530c6f7185108e https://travis-ci.com/jackmoody11/stockscore.svg?branch=master https://img.shields.io/github/license/mashape/apistatus.svg?style=popout

Stock Score is a python script to score stocks based on specified criteria. The goal of this project is to provide a stock screening system for various types of stock classifications (growth, momentum, value, etc.).

Similar to how one might rank the best options when they are deciding where to go to dinner, Stock Score lets investors choose what screens they want to run. Then, this script takes care of the rest, showing which stocks performed best under the given screens.

Prerequisites

  • You can get the latest version of Python 3 here (this should come with the latest version of pip)
  • All dependencies are contained in requirements.txt (more on that directly below)

Getting Started

To clone this repository, run the following:

git clone https://github.com/jackmoody11/stockscore

Change working directory to project folder

cd my/path/to/stockscore

Create a virtual environment

python3 -m venv env

Activate the virtual environment. See the docs for help.

Then make init to install required modules.

Run the program!

To make sure that everything is working, while in the working directory of the stockScore project, run python3 stockscore.py.

Note: Make sure you are using python3. This project does not support versions below Python 3.6 since it uses f strings. This may change in the future to allow for earlier versions of Python to run.

Here is an example output of what you can expect to see when you run the program:

Terminal output:

/media/terminal_output.png

Top 10 stocks output:

/media/StockScores.png

Running the tests

All tests can be run by simply running

pytest

In order to run a specific test file (like test_fundamental_functions.py), run

pytest tests/test_fundamental_functions.py

To run a specific test (like "test_dividend_test_returns_scores" in test_fundamental_screens.py), run

pytest tests/test_fundamental_screens.py -k 'test_dividend_test_returns_scores'

For more information on how to use pytest (like how to select a few tests), look here for the official pytest docs.

Deployment

In order to make code styling simple, this project uses black. To make sure that this code adheres to this opinion based formatting, stockscore uses pre-commit. In order to run black automatically before making a commit, please download pre-commit.

You may need to run pre-commit install before you are able to use this. For more details, check out the pre-commit website.

This project is very simple to deploy to a live system. To change which tests you are using, change which functions are added to the suites (this is the name used in both files) of fundamental_functions.py and technical_functions.py.

Built With

Python 3 and some great third party modules (see requirements.txt for full list).

Contributing

Please read the code of conduct for details on how to positively contribute to this project.

Versioning

This project uses SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

  • Hat tip to Benjamin Graham's Intelligent Investor. If you haven't already, read this book!
  • Also, I recommend reading Common Stocks and Uncommon Profits by Philip Fisher.

Notes

  • Note that the screens included in this project are not exclusive and do not guarantee any sort of returns. I assume no liability for investment decisions you make and am not a professional adviser. Please do your due diligence before making investment decisions and consult with a professional as necessary.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].