Git Product home page Git Product logo

etfportfoliomanager's Introduction

ETFPortfolioManager

ETFPortfolioManager is a Python-based web application that allows users to manage their Exchange Traded Funds (ETFs) and calculate portfolio values. The application is built using Flask, a lightweight WSGI web application framework.

Features

  • Upload ETF holdings data via CSV files.
  • Calculate the portfolio value based on the uploaded ETF holdings data.
  • The application uses sessions to manage ETF data for each user.

Installation

  1. Clone the repository to your local machine.
  2. Install the required dependencies using pip:
    pip install -r requirements.txt
    
  3. Set the SECRET_KEY environment variable. This is used for session management in Flask.
  4. Run the application:
    python app.py
    

Usage

The application provides two main endpoints:

  • POST /upload-csv: This endpoint is used to upload a CSV file containing ETF holdings data. The CSV file should be sent as a file in the request body. The cusip should be sent as a form data in the request body.

  • POST /calculate-portfolio: This endpoint is used to calculate the portfolio value. The ETF data map should be sent as JSON in the request body.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

etfportfoliomanager's People

Contributors

jd499 avatar

Watchers

 avatar

etfportfoliomanager's Issues

Add Support for Stocks in ETFPortfolioManager

Currently, the ETFPortfolioManager application only supports the management and calculation of Exchange Traded Funds (ETFs). This limitation restricts the versatility of the application as it cannot handle individual stocks.

Add a feature that allows users to manage individual stocks in addition to ETFs. This feature should include the ability to:

  • Upload individual stock data, similar to the existing functionality for ETFs.
  • Calculate the portfolio value, treating individual stocks similar to ETFs.

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.