Transfer ESPP shares from Computershare to another brokerage
- selenium
- webdriver-manager
- Chrome for the webdriver
- python-dotenv
- Install dependencies using
pip install -r requirements.txt
- Install Chrome
These are environment variables:
USERNAME
: Computershare usernamePASSWORD
: Computershare passwordCOMPANY_NAME
: Company nameDTC
: DTC for brokerageACCOUNT_NUMBER
: Account number for brokerage
You can define using whatever method works best for you (export
in .bash_profile
, define in Python console, or just define in the script), or you can create a .env file in the following format:
# .env file
USERNAME=username1
PASSWORD=password
COMPANY_NAME=company
DTC=0000
ACCOUNT_NUMBER=X12345678
In terminal, run python transfer.py
. Selenium will open a new Chrome window and automate the transfer of all whole shares to your chosen brokerage.
This is incomplete and still needs cleanup. If it works, this will transfer all whole shares to your chosen brokerage.
Use at your own risk.