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.8.tar.gz (122.4 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.8-py3-none-any.whl (168.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: risklabai-1.0.8.tar.gz
  • Upload date:
  • Size: 122.4 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.8.tar.gz
Algorithm Hash digest
SHA256 5e153ffda7618d24bb0431ad04651e69c1b53f5a96477f67455909571268a795
MD5 0eed2acd0ce3327cc8b56d2e9ebb6c30
BLAKE2b-256 8618605ac6c3882a7e25e881cbdf11a1ec9b691f2ae4563314e21dec285b2014

See more details on using hashes here.

File details

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

File metadata

  • Download URL: risklabai-1.0.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fad473b73bdb4426bb1cb80a54a3a9384bea0065ece6fec110b06fb1d536c00f
MD5 a873b758ef6c0bb12402cad68b81cacb
BLAKE2b-256 5cd1523a01d9a11866a093c8d392d4eac9848cca4f9c7f985122efe2dc05d3f4

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