Skip to content

docs: define the paper trading minimum observation period - #770

Merged
Pigbibi merged 1 commit into
mainfrom
docs/paper-trading-min-observation-period
Nov 2, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
docs/paper-trading-min-observation-period

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

AI assistance

Codex (GPT-6); exact model variant was not exposed in this job.

What changed

Add "Paper-trading minimum observation period" to the Chinese strategy promotion risk standard. Count only completed whole sessions of the relevant exchange calendar; exclude partial, half-day, aborted and closed holiday/weekend sessions. Accept only explicitly configured integers 3 through 5; recommend 5. Missing, unreadable or invalid settings mean the gate is not satisfied, even after five observed sessions. Reject bools and numeric coercion.

This is a written rule only. Repository inspection found no natural consumer for a universal Paper minimum: candidate forward-observation policies are explicitly frozen per candidate, release readiness binds artifacts, and the legacy shadow performance proxy is not a Paper go-live gate. No constant, config key, schema, validator or counting subsystem is added.

How verified

  • python3 scripts/check_style.py: exit 0; zero blocking findings and one existing README advisory.
  • git diff --check: passed.
  • Readback confirmed exactly one new section in one Markdown file; all pre-existing text and the candidate-specific forward contract are unchanged; the relative contract link exists.
  • No Python, config or schema changes. Boundary/counting tests, adverse fail-before/pass-after tests and focused/full application suites are N/A for this docs-only change and were not run. No hosted CI, runtime calendar counting or live readiness result is claimed.

Why

The owner explicitly authorized a 3–5 trading-day Paper observation minimum on 2026-11-03 at 02:06 SGT. The previous investigation found no canonical universal gate to edit; this adds the newly authorized written rule rather than claiming to modify an existing machine gate.

Risk

Risk-control document: owner approval via the owner-approved label is required before merge. This job does not add that label. Review and merge belong to the established code-review-and-merge bot; this PR must remain Draft pending that process.

A shorter observation sample may miss operational faults or market regimes. The minimum remains necessary but insufficient: clean reconciliation, resolved alerts, unchanged and passing risk checks, and a separate owner decision on the website are required. Live trading, Kelly and every stop-loss switch, including PORTFOLIO_LOSS_STOPLOSS_ENABLED, remain OFF; no switch is changed here. Candidate-specific research/forward windows, including the SOXL 252-session example, are unchanged and cannot be overridden by the 3–5-day rule. No deployment or runtime adoption is performed.

@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 66435ac8-570f-4a0f-80ae-a774fe16490f
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@Pigbibi Pigbibi added the owner-approved Owner approval for high-risk PRs. AI agents must never apply this label. label Nov 2, 2026
@Pigbibi
Pigbibi marked this pull request as ready for review November 2, 2026 18:37
@Pigbibi
Pigbibi merged commit aabbef0 into main Nov 2, 2026
10 of 11 checks passed
@Pigbibi
Pigbibi deleted the docs/paper-trading-min-observation-period branch November 2, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

owner-approved Owner approval for high-risk PRs. AI agents must never apply this label.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants