PERENNAR LAB
A Perennar Lab research framework

RSI Trading
Systems

Recursive Self-Improvement

Improve the strategy. Improve how you test it.

Explore the two loops
The evergreen line
Recursive self-improvement

Self-Improving Trading Systems

Two loops, one research harness. One loop revises strategies; the other revises the way the next strategy will be researched and tested.

01 / STRATEGY LOOP

Improve the strategy

  1. Hypothesize
  2. Test
  3. Challenge
  4. Revise ↺

Propose a rule with explicit assumptions. Compare it to a baseline on data held out from development. Account for costs and slippage. Keep the failure cases, not just the winning backtests.

02 / RESEARCH LOOP

Improve how you test it

  1. Review
  2. Propose a check
  3. Verify separately
  4. Adopt ↺

Recurring mistakes become proposals for better data checks, test cases or reviewer roles. An accepted change is versioned and carried into future experiments, including experiments for other strategies.

This is a research design. Agents propose changes, but do not approve their own work, rewrite acceptance thresholds, or place live trades.

Working notebook

Research Library

Fifteen short notes on the decisions, data and checks behind market research. Select a title to read the full note.

Research desk / 01

Trading

01A playbook you can falsifySetup design

Describe one context, one trigger and one invalidating condition. In a replay, label the setup before you reveal the next price bar. Log cases you deliberately pass on; otherwise the sample starts with the trades you already decided to take.

02Execution is part of the resultOrders and fills

A limit order controls the worst acceptable price, not whether a fill happens. A marketable order can get a different execution price than the last quote you saw. Compare fill rate and execution cost together, and include fees and partial fills. SEC investor bulletin ↗.

03A journal that still works after a bad dayReview design

Save the decision, timestamp, expected risk and reason to exit before adding hindsight notes. Mark rule deviations separately from losses. A well-executed losing trade and an impulsive winning trade belong in different review buckets.

Research desk / 02

Order Flow

01Tape versus bookTrade prints and quoted depth

The tape records trades; the book shows orders visible in that feed. If the offer shrinks from 80 to 30 and your feed shows 20 traded there, you still cannot assign the remaining change to an individual order from those two snapshots alone. Reconstruct events in sequence and label what remains unknown.

02Market by Price versus Market by OrderFeed granularity

An aggregated price-level feed answers how much is displayed at a level. An order-level feed can provide anonymous order and priority detail, depending on the venue. Do not claim a queue position from aggregate size or treat displayed liquidity as the entire market. CME Group’s MBO overview ↗.

03When aggressive volume does not move priceAbsorption as a hypothesis

If repeated buys trade at the offer without lifting it, check whether displayed size replenishes, how long the level holds, and what happens after the burst. It is an observation worth logging, not proof of anyone’s intent or a signal by itself.

Research desk / 03

Market Research

01Start with a question, not a ticker listResearch design

Write the mechanism you want to test, the comparison group and the outcome that would disconfirm it. Record the publication timestamp, not just the date, so a replay does not accidentally use information the market had not yet received.

02Separate a market move from a company moveEvent review

Compare a name against an appropriate broad-market and peer reference over the same window. Then line up earnings, macro releases and industry news. A residual move helps frame the question; it does not prove which headline caused it.

03A note should be reproducibleSource discipline

Keep the source, collection time, units, exclusions and sample size next to the chart. Publish both the distribution and what was not observed. A percentile without the failed or timed-out attempts can make one sample look cleaner than another.

Research desk / 04

Stock Analysis

01From filings to a working thesisFundamentals

Start with segment economics, revenue drivers, margins, cash conversion and balance-sheet constraints. For each material claim, note the exact filing or release, period and whether the figure is reported or adjusted. Keep facts separate from the forecast. SEC filing search ↗.

02Growth, margins and cash can disagreeQuality of earnings

In a hypothetical business, sales rise from 100 to 110, while operating margin falls from 20% to 17%. Operating profit slips from 20 to 18.7 before any cash-flow adjustments. An earnings note should explain the bridge instead of calling revenue growth a complete result.

03Use scenarios to expose the hingeValuation assumptions

Write a base, upside and downside case with different operating assumptions, not just three price targets. Ask which input changes the conclusion most, and what observable fact would make you abandon the base case. A scenario is an assumption set, not a forecast guarantee.

Research desk / 05

Applied AI

01Give the model evidence it can citeGrounding

Supply approved source excerpts with dates and identifiers. Ask the model to cite each material assertion and return unknown where support is missing. Check the source manually on important claims; fluent writing is not evidence. NIST’s Generative AI Profile ↗.

02Different agents, different jobsWorkflow design

A collector lists source facts; an analyst drafts the thesis; a reviewer looks for contrary evidence; a verifier checks quotations and arithmetic. Role separation does not make the outputs independent. Give the reviewer the original inputs and preserve disagreements.

03Test the harness as a systemEvaluation

Keep fixed fixtures for stale data, conflicting filings, a missing source, a restated table and an unsupported confident answer. Score citation accuracy, calculation checks, abstention and escalation before you score prose. Save the input version and run result so a regression can be repeated.

Framework / Design note

Multi-agent Research Harness

The harness connects both loops. It versions sources, assumptions and experiments; separates proposing from reviewing; and records whether a change was accepted or rejected. A person approves changes to the harness and decides what, if anything, moves beyond research.

  1. 01 · CollectRecord primary sources, dates and the exact period.
  2. 02 · AnalyzeDraft a thesis with assumptions and disconfirming evidence.
  3. 03 · ChallengeSend the same sources to a reviewer; preserve disagreements.
  4. 04 · VerifyRecompute numbers, check citations and hold for human review.