Version: 1.0
Last Updated: 2026-02-01
Attribution: Guillaume D.Isabelle
Caishen is a comprehensive Fractal Breakout Trading Platform designed to empower traders with advanced analysis and automated strategy management capabilities. It leverages chaos theory indicators (Bill Williams methodology) to identify and act on fractal breakout opportunities in the market.
Caishen enables users to:
Desired Outcomes:
The platform employs a Domain-Driven Service Architecture with a clear separation of concerns across Presentation, Service, and Data Layers.
┌─────────────────────────────────────────────────────────────────┐
│ PRESENTATION LAYER │
│ ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ │
│ │ WinForms UI │ │ Express API │ │ Console Apps │ │
│ │ (Charting) │ │ (REST/JSON) │ │ (CLI Tools) │ │
│ └─────────────────┘ └─────────────────┘ └─────────────────┘ │
└─────────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────────┐
│ SERVICE LAYER │
│ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ │
│ │ ADS │ │ SDS │ │ PDS │ │ CDS │ │ IDS │ │
│ │Analysis │ │Strategy │ │ Price │ │ Chaos │ │Indicator│ │
│ │ Data │ │ Data │ │ Data │ │ Data │ │ Data │ │
│ │ Service │ │ Service │ │ Service │ │ Service │ │ Service │ │
│ └─────────┘ └─────────┘ └─────────┘ └─────────┘ └─────────┘ │
│ ┌─────────┐ ┌─────────┐ ┌─────────┐ │
│ │ BITT │ │ SE │ │ THS │ │
│ │Timeline │ │ SEngine │ │Historic │ │
│ │ Service │ │ (Chart) │ │Snapshot │ │
│ └─────────┘ └─────────┘ └─────────┘ │
└─────────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────────┐
│ DATA LAYER │
│ ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ │
│ │ SQL Server │ │ MongoDB │ │ JSON Files │ │
│ │ (Entities) │ │ (TimeSeries) │ │ (CDB DTOs) │ │
│ └─────────────────┘ └─────────────────┘ └─────────────────┘ │
└─────────────────────────────────────────────────────────────────┘
Core Services:
| Component | Description |
|---|---|
| ADS | Analysis Data Services - Chart data creation and analysis |
| SDS | Strategic Data Services - Entry order management |
| PDS | Price Data Services - Market data processing |
| CDS | Chaos Data Services - Fractals and chaos indicators |
| IDS | Indicator Data Services - Technical indicators |
| BITT | Timeline Services - Market charting timeline |
| SE | SEngine - Charting engine core |
| THS | Timeline History Services - Snapshots |
EUR-USD_H4).yyMMddHHmm).The Caishen platform supports an end-to-end workflow for fractal breakout trading, encompassing:
ChaosDataBuilder (CDB) with all Bill Williams chaos indicators (Alligator, AO, AC, Fractals, Zones, Gator).Original Implementation (C#/.NET):
Target Implementation (Python/TypeScript):
Caishen integrates with the JGT Ecosystem to provide a unified trading platform. This bridge enables:
jgtml in Caishen-style charts.jgtfxcon order execution.For detailed specifications on each component, data schema, API, and workflow, please refer to the rispecs directory:
00-caishen-trading-platform.spec.md01-ads-analysis-data-services.spec.md02-sds-strategic-data-services.spec.md03-pds-price-data-services.spec.md04-cds-chaos-data-services.spec.md05-ids-indicator-data-services.spec.md06-bitt-timeline-services.spec.md07-se-charting-engine.spec.md08-ths-history-services.spec.md10-data-schemas.spec.md20-charting-ui-components.spec.md30-express-api.spec.md40-fractal-breakout-workflow.spec.md50-jgt-bridge.spec.md