RISE Framework Specification - Master Index
Version: 1.0
Document ID: caishen-rise-spec-v1.0
Last Updated: 2025-01-31
Attribution: Guillaume D.Isabelle
Caishen is a comprehensive Fractal Breakout Trading Platform that enables traders to:
This document serves as the master index for all RISE framework specifications that describe the Caishen platform architecture and behavior in a codebase-agnostic manner.
What Caishen Enables Users to Create:
Desired Outcomes:
The platform follows a Domain-Driven Service Architecture with clear separation of concerns:
┌─────────────────────────────────────────────────────────────────┐
│ 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) │ │
│ └─────────────────┘ └─────────────────┘ └─────────────────┘ │
└─────────────────────────────────────────────────────────────────┘
| Spec ID | Component | Description | Link |
|---|---|---|---|
| 01 | ADS | Analysis Data Services - Chart data creation and analysis | 01-ads-analysis-data-services.md |
| 02 | SDS | Strategic Data Services - Entry order management | 02-sds-strategic-data-services.md |
| 03 | PDS | Price Data Services - Market data processing | 03-pds-price-data-services.md |
| 04 | CDS | Chaos Data Services - Fractals and chaos indicators | 04-cds-chaos-data-services.md |
| 05 | IDS | Indicator Data Services - Technical indicators | 05-ids-indicator-data-services.md |
| 06 | BITT | Timeline Services - Market charting timeline | 06-bitt-timeline-services.md |
| 07 | SE | SEngine - Charting engine core | 07-se-charting-engine.md |
| 08 | THS | Timeline History Services - Snapshots | 08-ths-history-services.md |
| Spec ID | Component | Description | Link |
|---|---|---|---|
| 10 | Data Schemas | Core data entities and relationships | 10-data-schemas.md |
| 11 | DTO Contracts | Service data transfer objects | 11-dto-contracts.md |
| Spec ID | Component | Description | Link |
|---|---|---|---|
| 20 | Charting UI | WinForms charting components | 20-charting-ui-components.md |
| 21 | Strategy UI | Order entry and strategy management | 21-strategy-ui-components.md |
| Spec ID | Component | Description | Link |
|---|---|---|---|
| 30 | Express API | REST API for chart data access | 30-express-api.md |
| 50 | JGT Bridge | Integration with JGT ecosystem | 50-jgt-bridge.md |
| Spec ID | Component | Description | Link |
|---|---|---|---|
| 40 | Fractal Breakout | End-to-end fractal breakout workflow | 40-fractal-breakout-workflow.md |
A POV represents a specific market instrument at a specific timeframe. Format: {Instrument}_{Timeframe} (e.g., EUR-USD_H4)
The ChaosDataBuilder is the central data structure containing all chaos indicator values for a given POV at a point in time.
A BDBO Strategy represents a fractal breakout entry order with defined breakout price, direction, and state machine logic.
CRSI provides relative strength comparison across currency pairs for a base currency.
Standard timeframes: m5, m15, H1, H2, H3, H4, H6, H8, D1, W1, M1
User views chart → Identifies fractal breakout → Creates BDBO strategy → System monitors
Price updates → CDB recalculates → BDBO states advance → Orders execute
User loads snapshot → Reviews past decision → Analyzes outcome → Improves strategy
Original Implementation (C#/.NET):
Target Implementation (Python/TypeScript):