GithubHelp home page GithubHelp logo

portfoliosummary's Introduction

Fidelity Portfolio Summary

The Fidelity Portfolio page allows you to download positions for all your accounts.

This program organizes and summarizes your positions across all of these accounts. For example, it will summarize all cash and money market entries (including "Pending Activity") into "*CASH*" and all bonds and CDs into "Fixed Income". It will then aggregate the stocks positions from all accounts so you can see your total position in each stock.

Program

Dependencies

As you can see, the script is named 'portfolioSummary.py'. It has been tested on Python 3.10 but should work on Python 3.8+ There is a requirements.txt file that you can use to install the required modules, pandas and matplotlib.

pip3 install -r requirements.txt

(You can just use 'pip' if it won't default to an old Python 2.X version)

Usage

Log into your Fidelity account and select "All accounts" on the left, and then click on "Positions". On the right you'll see a download icon to download a CSV file.

Then run:

python3 portfolioSummary.py downloaded_fidelity_portfolio.csv output_directory  

Output

Three files are created: a spreadsheet (xlsx), a piechart (png), and a JSON file that has the same values as the spreadsheet.

portfoliosummary's People

Contributors

rabinnh avatar

Stargazers

 avatar Tim Anderson avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.