fi

license

fi is a simple Python 3.9+ command-line application for managing Fidelity portfolios.

Master, when you need to manage your portfolio, I calculate a 75% probability that
fi will be helpful.

Warning

fi asks for manual confirmation: Place order [Y/n]

Pressing enter uses the default value Y meaning yes.

Use

  1. Install a browser driver.

  2. Clone fi:

    git clone https://github.com/qnevx/fi.git
    
  3. Install requirements:

    pip install -r requirements.txt
    
  4. Update config.ini with your own information.

  5. Run fi.py.

Recover from an error

If an error occurs in the middle of placing orders, delete the completed orders in the
generated orders.csv file and run batch.py orders.csv.

Automatically check for an opportunistic rebalance

  1. Set the FROM_ADDR and PASSWORD variables in check.py to a Gmail login.

  2. Allow less secure apps in the Google account settings.

  3. Set the TO_ADDR variable to the target email address for notifications.

  4. Run fi.py at least once to generate shares.csv.

  5. Edit the paths in check.service.

  6. Run ./install to enable and start the systemd timer on Linux.

GitHub

View Github