Skip to main content

Portfolio Optimization Package

Project description

PyFolioC

The PyFolioCC class is designed to build an optimal portfolio in the sense of Markowitz using general graph clustering techniques. The idea is to provide a historical return database of an asset universe (historical_data), a lookback window (lookback_window) for portfolio construction, a number of clusters (number_clusters), a clustering method (clustering_method), and an evaluation window (evaluation_window). From there, the objective is to construct a portfolio based on historical return data over the period corresponding to lookback_window by creating a sub-portfolio composed of a specified number of synthetic assets (ETFs) using the clustering method specified in clustering_method. The performance (Sharpe ratio and cumulative PnL) of the constructed portfolio is then evaluated over the evaluation_window.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyFolioC-0.1.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PyFolioC-0.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file PyFolioC-0.1.tar.gz.

File metadata

  • Download URL: PyFolioC-0.1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for PyFolioC-0.1.tar.gz
Algorithm Hash digest
SHA256 0b437ce19c164955b28ec9db31af470399b2e66c6a42a7aa994ca2bf60dc7bd6
MD5 3507b1823bef54638ced9b074e051a71
BLAKE2b-256 a2aac6e63622078709ca494d2fa8b243eba04b63976da188fce6e94d2ccca584

See more details on using hashes here.

File details

Details for the file PyFolioC-0.1-py3-none-any.whl.

File metadata

  • Download URL: PyFolioC-0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for PyFolioC-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 09705e4092afb08e18eb5d5ecf19d3fa98f7ae38a1a837e43f9d4362799227b6
MD5 b08e07340dd2126510c98088394ff820
BLAKE2b-256 b8b0b21676a43da796b6f504a5eb0c8867ec4af4e1a5ce27daf6a63355512ce2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page