A repository containing scripts and projects for automating stock orders across multiple brokerages.
For a majority of these projects, on your browser of choice, you will need to download the Selenium IDE browser extension.
- Charles Schwab
- Firstrade
- Vanguard
- Fidelity
- Chase / JP Morgan Invest
- Ally Invest
- Sofi Invest (Archived)
To use this project, you will need to set the following environment variables in your .env file:
SCHWAB_AI
=Total number of Schwab accounts.
CHASE_AI
= A stringified JSON array containing your Chase Investment AI numbers
found within the desktop stock order URL, separated by commas.
FIDELITY_AI
= A stringified JSON array containing your Fidelity Investment account numbers, separated by commas.
ALLY_AI
= A stringified JSON array containing your Ally Investment account name + numbers, separated by commas.
- In Ally Invest Settings Webpage, you will need to change the default orders on the settings for all accounts to be a small penny stock for default stock ticker to miminize risk, Market, & Quantity: 1.
FIRSTRADE_AI
= A stringified JSON array containing your FirstTrade Investment account numbers, separated by commas.
VANGUARD_AI
= A stringified JSON array containing your Vanguard Investment account numbers, separated by commas.
CUSTOM_DIR
= Directory path updated .side files should be located. (Optional)
Example:
CHASE_AI="['1234567890','0987654321']";
ALLY_AI="['Individual-A123456789','Individual-B098765432']";
FIRSTRADE_AI="['111111','222222']";
VANGUARD_AI="['54554326','54678936']";
Refer to .env.example
for more clarity.
Clone the repository & install dependencies:
git clone https://github.com/Prem-ium/Auto-StockTrader
cd Auto-StockTrader
pip install -r requirements.txt
Configure Enviornmental Variables and run the script.
python main.py
Passing an argument will quickly update the stock orders in all .side projects.
python main.py APPL
Automating Chase, Fidelity, Firstrade, Schwab, Vanguard, & Ally Invest, run main.py
after configurating your .env
.
Once you've generated your .side projects, login to your brokerage accounts on your browser and utilize the Selenium IDE browser extension to open the .side
projects generated & run your desired stock order automation(s).
For more assistance, refer to archived README
Automating orders for Sofi Invest can be attempted through the now archived sofi_main.py
Python script.
Sofi is very unpredictable and unstable, and has been archived with no plans for further development.
You can still attempt to use it, however the chances of every order going through are slim as Sofi Invest has weird order landing pages that contain different requirements & order layout for different stock tickers.
Find more information here
If you find my project helpful and would like to support its development, please consider making a donation. Every little bit helps and is greatly appreciated!
You can donate by clicking on the following button:
-
This script is provided for informational purposes only and does not constitute financial or investment advice. The user is solely responsible for any investment decisions made based on the information provided by the script(s)/.side project/repository.
-
The script is provided "as is" and without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose.
-
The user understands that the script's performance may be affected by factors beyond developer's control, such as market volatility, technical issues with the trading platform, internet connectivity issues, & more.
-
The user agrees to indemnify and hold the developer(s) harmless from any and all claims, damages, or losses arising from their use of the script(s)/.side project/repository.
Thank you for your interest in this repository. Please consider leaving a 🌟 if you found this project to be cool!