sunk818 / Auto-StockTrader

πŸ“ˆ Tool(s) to Automate Stock orders for Fidelity, Chase, Vanguard, Schwab, & more across multiple accounts!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto Stock Trader

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. selenium

Supported Brokerages

  • Charles Schwab
  • Firstrade
  • Vanguard
  • Fidelity
  • Chase / JP Morgan Invest
  • Ally Invest
  • Sofi Invest (Archived)

Enviornmental Variables

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.

Installation

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

Selenium IDE

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

Archived Sofi Invest

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

Donations

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:

Buy Me A Coffee

Disclaimer

⚠️ DISCLAIMER: You're using these automation scripts at your own risk, I am not responsible for any financial or account loss or damage that may occur.

Important Information

  • 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.

Final Remarks

Thank you for your interest in this repository. Please consider leaving a 🌟 if you found this project to be cool!

About

πŸ“ˆ Tool(s) to Automate Stock orders for Fidelity, Chase, Vanguard, Schwab, & more across multiple accounts!


Languages

Language:Python 100.0%