Skip to content

Releases: mbk-dev/okama

Okama 1.0.0

16 Aug 15:58
d8e363d
Compare
Choose a tag to compare

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 .close and .adj_close properties (close time series)
  • Dividend time series are adjusted to the base currency in Portfolio and AssetList
  • .dividend_yield for Portfolio is a weighted sum of the assets dividend yields (adjusted to the base currency)
  • Portfolio has .dividends method (dividends history time series)
  • New notebook in examples for investment portfolios (examples/03 investment portfolios.ipynb)

Okama 0.99

30 Apr 04:31
f81920c
Compare
Choose a tag to compare

Several improvements to Portoflio and AssetList classes:

  • get_return_ts has rebalancing_period parameter
  • get_rebalanced_portfolio_return_ts method in Portfolio is depreciated
  • get_rolling_cagr and get_rolling_cumulative_return could use real=True option to calculate real return values
  • get_cagr and cumulative_return have real option
  • Several new docstrings in Portfolio and AssetLists classes

Project RoadMap and Contributing guidelines are added to GitHub repository.

Bugs fixed

19 Mar 04:23
Compare
Choose a tag to compare

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

27 Jan 03:45
Compare
Choose a tag to compare

setuptools builds correctly the package after updating setup.py.

Fix the build in PyPi

26 Jan 15:34
Compare
Choose a tag to compare
v0.96

fix: make new build

Portfolio class improvements

26 Jan 03:13
Compare
Choose a tag to compare
  • 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

20 Jan 14:22
Compare
Choose a tag to compare
  • get_cagr() works correctly in AssetList class
  • EffiecientFrontier was not awailable through init.py

symbols_in_namespace() method

20 Jan 05:30
Compare
Choose a tag to compare

symbols_in_namespace() function added. It allows to get all available symbols from a namespace.

Refactor & Bugs fix

04 Jan 07:22
Compare
Choose a tag to compare
  • 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

get_monte_carlo method in EfficientFrontier

23 Dec 05:21
Compare
Choose a tag to compare
  • new get_monte_carlo method in Efficient Frontier class
  • CAGR is calculated in Efficient Frontier / plot_assets instead of "CAGR by approximation"