WorldQuant Brain Alpha Research Automation Toolkit
Project description
wqb-toolkit
WorldQuant Brain Alpha Research Automation Toolkit
Overview
wqb-toolkit is a Python toolkit for automating alpha research workflows on the WorldQuant Brain (WQB) platform. It provides core infrastructure for:
- Alpha Simulation: Multi-threaded batch simulation with queue-based result handling
- Alpha Machine: Genetic iteration pipeline for alpha expression evolution
- Correlation Analysis: Self, PPAC, prod, and self_web correlation calculations
- Database Management: PostgreSQL ORM with SQLAlchemy for alpha metadata and PnL caching
- Super Alpha Tools: Construction and simulation of SUPER-type alphas
Installation
pip install wqb-toolkit
Prerequisites
- Python >= 3.10
- PostgreSQL (for database features)
wqbSDK (WorldQuant Brain official SDK, install via pip)
Quick Start
from wqbkit.app.core.alpha_db_core import AlphaDbCore
from wqbkit.modules.correlation import AlphaCalcCorr
core = AlphaDbCore()
calcor = AlphaCalcCorr()
Configuration
Create a .env file in your project root:
DB_HOST=localhost
DB_PORT=5432
DB_NAME=WorldQuant
DB_USER=your_db_user
DB_PASSWORD=your_db_password
WQB_USERNAME=your_wqb_username
WQB_PASSWORD=your_wqb_password
WQB_API_BASE_URL=https://www.worldquantbrain.com
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wqbkit-0.2.2.tar.gz
(2.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wqbkit-0.2.2.tar.gz.
File metadata
- Download URL: wqbkit-0.2.2.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
597f98dea3d6329ba877133c06d8d671553881902d75d81a51dd719df783166f
|
|
| MD5 |
df91614c5341f042f16355a30c4f2bad
|
|
| BLAKE2b-256 |
12a8bf1ccf656f4c3cdf24b2296945656ef331daf6cd75e31ffb63a529ec9c94
|
File details
Details for the file wqbkit-0.2.2-py3-none-any.whl.
File metadata
- Download URL: wqbkit-0.2.2-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fe157bcf42783de038835a45a80534561b568eef8f3a989e62fc02b57984667
|
|
| MD5 |
ea2b38646361dbc3352da81743b8f5d7
|
|
| BLAKE2b-256 |
3dc4cdfaf91ab5e7b957d3ed40dd8820b0b96cf8153fb73b259196a0f7e92b88
|