brain-synthesis
Tri-factor apex synthesis engine fusing options, sentiment, and risk-model signals for WorldQuant BRAIN.
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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| brain_synthesis-0.1.1.tar.gz | 12.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| brain_synthesis-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.7 kB
Release files / brain_synthesis-0.1.1.tar.gz
| Download URL | brain_synthesis-0.1.1.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c8abc148aaef78707a7dc3df79b21f4d1d71d9a6cce48839e791c99384a065f
|
|
BLAKE2b-256 checksum How to use checksums |
e38d9774c5f12a44b057e6c2135481f08130eded54dfd29f793b323294c61ff7
|
| 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.1-py3-none-any.whl
| Download URL | brain_synthesis-0.1.1-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68b3eb1c4737efb51dc73b1982ebab874956872ed9810970d7ce1618b731a75a
|
|
BLAKE2b-256 checksum How to use checksums |
898ac0e4824743845dabb829b04ba2a35818b00a913608fbae1c57047ae1db51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|