Automatic Trading Bot built with python to implement my trading strategy.
NOTE: This project was generated with Cookiecutter along with @clamytoe's toepack project template.
cd Projects
git clone https://github.com/clamytoe/traderbot.git
cd traderbotIf you are an Anaconda user, this command will get you up to speed with the base installation.
conda env create
conda activate traderbotIf you are just using normal Python, this will get you ready, but I highly recommend that you do this in a virtual environment. There are many ways to do this, the simplest using venv.
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtpip install -e .traderbotThe output should be: Successfully installed your project file: traderbot
- Value vs P/E ratio
- Earnings beats estimates
- Trends outside market
- Pre-IPO information
- How did they fund
- Who is backing
This is a blueprint that I have been working on for my retirement ROTH IRA account. I plan to build it modularly:
- CSV or JSON parser for your portfolio holdings
- Optional form for setting share counts, current prices, and custom CAGR assumptions
- Apply per-asset CAGR calculations to estimate 5-year values
- Allow toggling between current price vs. target price mode
- Show thresholds like "Take Profit" and "Buyback Trigger"
- Summary table showing current vs projected value, % to target, potential gains
- Timeline graphs to show how projected value compounds
- Pie charts for portfolio composition — present vs projected
- Export projected values or thresholds as JSON (ready for alerts or script triggers)
- Optional integration with TradingView price alerts or shell script execution
Contributions are welcomed.
Tests can be run with with pytest -v, please ensure that all tests are passing and that you've checked your code with the following packages before submitting a pull request:
- black
- flake8
- isort
- mypy
- pytest-cov
I am not adhering to them strictly, but try to clean up what's reasonable.
Distributed under the terms of the MIT license, "traderbot" is free and open source software.
If you encounter any problems, please file an issue along with a detailed description.
- v0.1.0 Initial commit.