OPERATING MANUAL (v1 — STANDARDIZED WORKFLOW)

Skip to main content
< All Topics
Print

🎯 1. SYSTEM PURPOSE

This system is designed to:

Convert historical trading data into structured, repeatable strategy research using local AI (RAG + LLM reasoning).

It is NOT:

  • ❌ a prediction engine
  • ❌ a live trading system
  • ❌ a market signal generator

It is:

a quantitative research workstation for strategy evaluation and improvement


🧱 2. SYSTEM ARCHITECTURE (REFERENCE MODEL)

You already built this:

DATA LAYER
  ↓
RAG MEMORY LAYER
  ↓
PHASE 4: ANALYSIS ENGINE (LLM reasoning)
  ↓
PHASE 5: DASHBOARD UI
  ↓
PHASE 6: OPTIMIZATION (speed + routing)
  ↓
PHASE 8B: ADVANCED RESEARCH LAYER

🧠 3. MODEL USAGE RULES (32GB MAC CONFIG)

🟢 7B MODEL — TOOL LAYER

Use for:

  • summarization
  • tagging
  • quick explanations

🟡 14B MODEL — DEFAULT RESEARCH ENGINE

Use for:

  • all standard analysis
  • strategy comparisons
  • regime analysis

🔴 20B MODEL — AUDIT / DEEP REASONING ONLY

Use for:

  • contradiction checking
  • deep failure analysis
  • “why did this break?” questions

⚙️ 4. STANDARD RESEARCH SESSION (CORE WORKFLOW)

Every session MUST follow this structure:


🟢 STEP 1 — DEFINE RESEARCH QUESTION

You never start with vague prompts.

ACCEPTABLE FORMAT:

  • “Why did Strategy X fail in high volatility regimes?”
  • “Compare momentum vs mean reversion in bear markets”
  • “Which strategies are most stable across regimes?”

NOT ALLOWED:

  • random questions
  • non-data-specific queries

🟡 STEP 2 — SELECT CONTEXT FILTERS

In dashboard:

  • strategy (single or multiple)
  • regime (bull / bear / volatility)
  • time range (optional)

This defines RAG retrieval scope.


🔵 STEP 3 — RUN ANALYSIS (PHASE 4 ENGINE)

System automatically:

  1. retrieves relevant historical chunks
  2. filters by regime
  3. builds structured context
  4. routes to model (7B / 14B / 20B)
  5. generates structured output

📊 STEP 4 — INTERPRET OUTPUT (CRITICAL RULE)

You DO NOT treat output as truth.

You treat it as:

a structured hypothesis supported by historical evidence

You evaluate:

  • does evidence support conclusion?
  • is regime segmentation meaningful?
  • are comparisons consistent?
  • are risks clearly identified?

🧠 STEP 5 — EXTRACT INSIGHTS

You extract:

  • performance behavior
  • regime sensitivity
  • failure conditions
  • robustness indicators

💾 STEP 6 — SAVE OUTPUT

All useful outputs go to:

/06_ANALYSIS_OUTPUTS/

Each saved file contains:

  • question
  • context used
  • model output
  • timestamp

🔁 STEP 7 — ITERATE (RESEARCH LOOP)

Good research is iterative:

Example loop:

  1. Why did momentum fail?
  2. Was it volatility-specific?
  3. Which trades caused losses?
  4. What happens if we isolate those periods?
  5. Does mean reversion behave differently?

📊 5. STANDARD OUTPUT FORMAT (ENFORCED)

Every analysis MUST follow:

1. Summary

2. Strategy Breakdown

3. Regime Behavior

4. Risk / Weakness Analysis

5. Strategy Comparison

6. Improvement Suggestions


🧪 6. RESEARCH SESSION TYPES


🟢 A. EXPLORATION SESSION

Goal:

  • discover patterns

Examples:

  • “What drives performance differences across regimes?”

🟡 B. DEEP ANALYSIS SESSION

Goal:

  • understand specific strategy behavior

Examples:

  • “Why did Strategy A fail in 2022?”

🔴 C. STRESS TEST SESSION

Goal:

  • break assumptions

Use 20B model:

  • contradiction checks
  • edge-case behavior

🟣 D. SYNTHESIS SESSION

Goal:

  • consolidate findings

Output:

  • final conclusions
  • updated strategy beliefs
  • saved research notes

📈 7. ADVANCED RESEARCH LAYER (8B EXTENSION)

When system matures, you add:


🧠 Strategy clustering:

Group by behavior, not name.


📊 Regime matrix:

Map all strategies vs market conditions.


⚖️ Robustness scoring:

Rank strategies by stability.


🧺 Portfolio thinking:

Analyze correlation + redundancy across strategies.


🚫 8. CRITICAL RULES

❌ DO NOT:

  • treat AI output as prediction
  • skip regime filtering
  • use unstructured prompts
  • rely on single-session conclusions

✔ ALWAYS:

  • use structured questions
  • filter by regime
  • save outputs
  • iterate analysis

🧠 9. SYSTEM MINDSET (MOST IMPORTANT)

You are NOT using AI like ChatGPT.

You are:

running structured quantitative research sessions on your own historical trading database


💡 FINAL ONE-LINE DEFINITION

This system is a structured AI-assisted trading research environment that converts historical strategy data into repeatable, regime-aware insights using RAG + local LLM reasoning.


🏁 WHAT YOU NOW HAVE

You now have a complete hedge-fund-style operating system:

✔ data architecture
✔ retrieval system
✔ reasoning engine
✔ dashboard interface
✔ optimization layer
✔ research workflow standardization
✔ advanced analytical extensions