Skip to content

Releases: mbk-dev/okama

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"

New methods to work with distributions

16 Dec 10:17
Compare
Choose a tag to compare

Kolmogorov-Smirnov test method (kstest) for Portfolio and AssetList.

New forecasting methods for Portfolio:

  • percentile_inverse
  • percentile_from_history
  • forecast_wealth_history
  • forecast_monte_carlo_cagr
  • forecast_wealth

Some of the old forecasting methods are renamed.

New Plotting methods for forecasts in Portfolio:

  • plot_forecast
  • plot_forecast_monte_carlo
  • plot_plot_hist_fit
  • plot_percentiles_fit

New notebooks with examples:
04 backtesting distribution.ipynb
05 forecasting.ipynb

distribution backtesting

08 Dec 05:52
Compare
Choose a tag to compare

New methods for distribution backtesting in AssetList and Portfolio:

  • skewness
  • skewness_rolling
  • kurtosis
  • kurtsis_roling
  • jarque_bera