Skip to main content

Financial AI using Python, based on 'Advances in Financial Machine Learning' and 'Machine Learning for Asset Managers'.

Project description

RiskLabAI.py

PyPI version

A Python library for quantitative finance and financial AI, implementing core concepts from Marcos López de Prado's books, "Advances in Financial Machine Learning" and "Machine Learning for Asset Managers."

This library provides production-ready implementations for:

  • Advanced Financial Data Structures (Tick, Volume, Dollar, Imbalance, and Run Bars)
  • Fractional Differentiation (FFD)
  • The Triple-Barrier Method and Meta-Labeling
  • Advanced Cross-Validation (Purged K-Fold, Combinatorial Purged CV)
  • Feature Importance (MDI, MDA, SFI) and Clustered Feature Importance
  • Portfolio Optimization (HRP, NCO)
  • And many more...

📦 Installation

Install the library directly from PyPI:

pip install RiskLabAI

Project details


Download files

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

Source Distribution

risklabai-1.0.7.tar.gz (122.3 kB view details)

Uploaded Source

Built Distribution

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

risklabai-1.0.7-py3-none-any.whl (168.7 kB view details)

Uploaded Python 3

File details

Details for the file risklabai-1.0.7.tar.gz.

File metadata

  • Download URL: risklabai-1.0.7.tar.gz
  • Upload date:
  • Size: 122.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for risklabai-1.0.7.tar.gz
Algorithm Hash digest
SHA256 b21a3fd155689bb4d988a2dbbe2a1e5cb797ae72196c573c77301c4ceabae910
MD5 c07092a97a9c8e90b11d326bf9359c4b
BLAKE2b-256 0a3dec3378cdef00dc79a2086b9ab22bb147d6498ea0ebbbda4e6b7d4883c681

See more details on using hashes here.

File details

Details for the file risklabai-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: risklabai-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 168.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for risklabai-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e169fd6557ba9311c6f8888095f3232cf7c1c3433ecb7069e1eb910d54094242
MD5 952b487f132d0b8e2189e2fbc01e6c1d
BLAKE2b-256 35367b08ccb36c94cfe70a08e701dc298828cdca38760558cd805f21b1ec4fbb

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