Releases: mbk-dev/okama
Releases · mbk-dev/okama
Okama 1.0.1
Documentation added for all methods and attributes in Assets, AssetList and Portfolio.
Okama 1.0.0
Several important updates in Portfolio and AssetList classes:
- Portfolio is an asset (like stocks, ETF or commodities) and can be included in the AssetList
- Portfolio has a symbol (.PF namespace)
- Rebalancing period is an attribute of Portfolio
- Asset has
.closeand.adj_closeproperties (close time series) - Dividend time series are adjusted to the base currency in Portfolio and AssetList
.dividend_yieldfor Portfolio is a weighted sum of the assets dividend yields (adjusted to the base currency)- Portfolio has
.dividendsmethod (dividends history time series) - New notebook in examples for investment portfolios (examples/03 investment portfolios.ipynb)
Okama 0.99
Several improvements to Portoflio and AssetList classes:
get_return_tshas rebalancing_period parameterget_rebalanced_portfolio_return_tsmethod in Portfolio is depreciatedget_rolling_cagrandget_rolling_cumulative_returncould usereal=Trueoption to calculate real return valuesget_cagrandcumulative_returnhaverealoption- Several new docstrings in Portfolio and AssetLists classes
Project RoadMap and Contributing guidelines are added to GitHub repository.
Bugs fixed
Several bugs are fixed.
New methods in Portfolio class:
- get_cagr (instead of cagr property)
- get_cumulative_return
- get_rolling_cumulative_return
Fix setup.py building
setuptools builds correctly the package after updating setup.py.
Fix the build in PyPi
v0.96 fix: make new build
Portfolio class improvements
- Portfolio .cagr property is replaced with .get_cagr() method taking: 'YTD', period length or no parameters.
- Portfolio .describe shows dividend yield
minor changes:
- EfficientFrontier.repr is fixed
- only relative imports in the package
- tests modules import okama as ok
- several unit tests added
Bugs fixed
- get_cagr() works correctly in AssetList class
- EffiecientFrontier was not awailable through init.py
symbols_in_namespace() method
symbols_in_namespace() function added. It allows to get all available symbols from a namespace.
Refactor & Bugs fix
- currency 'curr' parameter is renamed to 'ccy' in AssetList and Portolio
- namespaces information is obtained from API
- New Jupyter notebook for multi-period Efficient Frontier
- Bugs fixed in AssetList dividend_yield and Portfolio describe methods
- code refactoring according Anton Pak suggestions