Skip to main content

brain-synthesis

Tri-factor apex synthesis engine fusing options, sentiment, and risk-model signals for WorldQuant BRAIN.

CI License: MIT PyPI Python 3.9+

brain_synthesis combines orthogonal signals across asset classes and information tiers into high-scoring hybrid meta-alphas on WorldQuant BRAIN. By fusing options implied volatility surfaces (50%), analyst earnings revisions (30%), and systematic risk models (20%), it generates super-alphas with sub-0.15 platform correlation and 0.85+ uniqueness. For complete documentation of all 15+ WorldQuant BRAIN dataset field names used in apex formulations, see the Data Dictionary.

Installation

pip install brain-synthesis

Installing brain-synthesis automatically installs the complete 7-library suite and registers the global brain executable.

Quickstart

Python API

from brain_synthesis import SynthesisEngine

engine = SynthesisEngine()
golden = engine.get_golden_candidates()

for alpha in golden[:3]:
    print(f"[{alpha.archetype_name}] {alpha.expression}\n")

Unified CLI

# Generate 3 cross-domain apex meta-alphas
brain generate --domain synthesis --count 3

# Apply 6-axis orthogonal decorrelation
brain decorrelate "rank(close)" --base-sharpe 1.55

# Inspect storage subsystem health
brain store

The 5 Golden Apex Formulations

Formulation Leg 1 (Options, 50%) Leg 2 (Sentiment, 30%) Leg 3 (Risk Model, 20%) ValueScore
Apex 1: Accumulation Triple Put Floor Analyst Net Revisions Low SPY Beta 8.0+
Apex 2: SUE Smirk Confluence Inverted IV Skew SUE Earnings Shock Quality / Solvency 8.0+
Apex 3: Target Term Slope IV Term Structure Slope Net Target Upgrades Beta Acceleration 8.0+
Apex 4: Torpedo Quality Drift Call Breakeven Basis Revision Divergence Idiosyncratic Vol 8.0+
Apex 5: Attention Asymmetry Put Forward Cushion Coverage Disagreement Low Market Correlation 8.0+

Architecture

brain_synthesis/
├── brain_synthesis/
│   ├── __init__.py        # Public re-exports (SynthesisEngine, CombinationEngine, ApexCandidate)
│   ├── apex_generator.py  # 5 Golden Apex Formulations
│   ├── cli.py             # Global 'brain' CLI implementation
│   ├── combiner.py        # Dynamic multi-leg weighted synthesizer
│   ├── engine.py          # SynthesisEngine orchestrator
│   └── py.typed           # PEP 561 typing marker
├── tests/                 # Unit tests covering apex generation, combiner, CLI
└── docs/
    ├── API.md             # Complete API specification
    └── DATA_DICTIONARY.md # Comprehensive 15+ WorldQuant BRAIN dataset fields

Testing

pytest tests/ -v

Security

Report vulnerabilities per SECURITY.md.

Contributing

See CONTRIBUTING.md for contribution guidelines.

License

Released under the MIT License. Maintained by Xtley001.

Metadata

Release files for brain-synthesis 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for brain-synthesis 0.1.0
File Size Uploaded
brain_synthesis-0.1.0.tar.gz 11.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for brain-synthesis 0.1.0
File Interpreter ABI Platform
brain_synthesis-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.3 kB

Release files / brain_synthesis-0.1.0.tar.gz

Download URL brain_synthesis-0.1.0.tar.gz
Size 11.9 kB
Tags Source
SHA-256 checksum
How to use checksums
77bc943f4efd78a0937e2c610f33ed3c951dc0402b92bd5f2db304bcafb18a00
BLAKE2b-256 checksum
How to use checksums
eca9cfbea6a6432d41c1aa3e68ed2b42d26e2e1750863fdde0eb907bf24672e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / brain_synthesis-0.1.0-py3-none-any.whl

Download URL brain_synthesis-0.1.0-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0660dbf5bdc360336ac9a8b4a577f9057e87ded4ff42d5ff776a3702a0bac27
BLAKE2b-256 checksum
How to use checksums
8b973f321e57beb08d21bc8d4ccd7457eb4aef813f8755d7812ad040570b93ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page