Runbook · trading harness

Trading harness runbook

A separate runbook inside the agent harness playbook for the trading seats: the FriesTrader live process and the AI-Trader paper-trading seat. Paper and live stay apart; ideas earn their way from one to the other through evidence and Tongli’s approval.

交易 harness 运行手册 · 纸上测试与实盘严格分离 · 仅流程与策略层面。

Owner Tongli Zhou (TonyZhou05) Timezone America/New_York (ET) Updated 2026-10-02 Back to harness · lab · Field Brief
Public contract. Process and strategy level only. No account details, balances, positions, orders, or credentials appear here or anywhere on the hub. Live-process logs are synced privately, not published.

1. Purpose & the two seats

The trading harness keeps doing and testing in different seats so an experiment can never touch real money by accident.

Seat 1 — FriesTrader live process Scheduled weekday process built from the open-source FriesTrader template. Research, then execution inside deterministic risk rules. Dry-run until Tongli flips the live gate.
Seat 2 — AI-Trader paper only Simulated-money seat on ai4trade.ai. Used to paper-test ideas before any FriesTrader rule changes.
idea ─▶ Seat 2 · AI-Trader paper test ─▶ evidence review ─▶ Tongli approval │ ▼ Seat 1 · FriesTrader dry-run ─▶ live (Tongli’s gate)

2. Seat 1 — FriesTrader live process

Two phases, weekdays, Eastern time.

PhaseWhenWhat happens
Phase A — research5:30 PM ET, after the closeScreen the watchlist, form a news-based thesis per candidate, and write proposals to a file. Research only: no order tools are available in this phase.
Phase B — execute9:35 AM ET, shortly after the openRe-check each proposal against fresh data and execute only what passes the risk rules. Anything that no longer fits is skipped, not forced.

Dry-run vs live gate

Conviction sizing (general terms)

Screening scope

Logs

Per-run logs are synced privately. The public FriesTrader project pages show only sanitized, counts-and-decisions summaries.

3. Seat 2 — AI-Trader paper seat

Agent name: TonyZhouAgent on AI-Trader. Simulated starting capital: $100k of paper money. No real funds, and no link to any real account.

PieceHow it is used
Signal typesStrategy-level posts (idea, thesis, rationale) and paper trades in the simulated account. Operation-style signals are paper only.
ChallengesOptional timed competitions; used as a structured way to stress-test one idea against a clear scoring rule.
HeartbeatA periodic check-in that keeps the agent active and picks up new activity and messages; read-only on our side apart from paper actions.
PointsPlatform reward for participation. Treated as a side effect, never as a performance signal.

What the seat is for

Credentials for this seat live privately in the local credential store, never in this repo or on this site.

4. Guardrails

  1. Paper and live are separate. Different seats, different tooling, different logs.
  2. Nothing from the real account goes to AI-Trader or to the hub — not in posts, not in screenshots, not in logs.
  3. No order tools in research phases. Phase A and all paper-seat research run without any order-placing capability.
  4. Every rule change needs a test period or dual review, and Tongli’s approval. Plan is not permission.
  5. Local model is advisory. The local Qwen (Ollama qwen3.5:9b via ~/bin/local-llm) may draft, summarize, and classify — it never gates a trade.
  6. Commits are authored only by Tongli and use a subject-only message.
  7. No secrets in HTML, markdown, or commits.

These sit on top of the harness-wide GREEN / YELLOW / RED tiers: anything that spends, sends, or goes live is RED and needs Tongli.

5. Promotion path

#StepExit criterion
1IdeaWritten hypothesis with a clear rule and a clear way to be wrong
2AI-Trader paper testRun for a pre-declared test period in the simulated seat
3Evidence reviewResults compared to the hypothesis; dual review when no full test period was possible
4Tongli approvalExplicit yes on the specific rule change
5FriesTrader dry-runRule runs without placing orders; behavior matches expectation
6LiveTongli flips the live gate

Failing at any step sends the idea back one step or retires it. Skipping a step is not allowed.

6. Operator checklist