Class that calculates portfolio performance in USD given asset weights in portfolio, asset prices in different currencies and currencies rate to dollar.
Перейти к файлу
Anastasia Sergienko b6812ca20a
Create README.md
2019-07-29 15:29:13 +03:00
.vs/portfolioPerf/v15 add docstrings 2019-07-29 15:19:18 +03:00
portfolioPerf add docstrings 2019-07-29 15:19:18 +03:00
README.md Create README.md 2019-07-29 15:29:13 +03:00
portfolioPerf.sln first init 2019-07-29 14:39:01 +03:00

README.md

Portfolio Performance

Class that calculates portfolio performance in USD given asset weights in portfolio, asset prices in different currencies and currencies rate to dollar. Class have the following methods:

  • calculate asset performance(start date, end date);
  • calculate currency performance(start date, end date);
  • calculate total performance(start date, end date).

Each method return pandas.Series with portfolio performances from start date to end date.

Prerequisits

Installation

pip install pandas
pip install numpy

Tests

test_portfolioPerf.py