Real Codex workflows

Real Sessions

Follow the actual prompts, responses, definitions, and charts from the October 7, 2026 research conversations.

SESSION 01

PIVOT_SPRING

A point-in-time NASDAQ-100 recovery strategy, simulated over 2021–2025.

PIVOT_SPRING RUN
2021–2025 · 496 completed trades
You

Please create a long-only trade plan named PIVOT_SPRING_TRADE_PLAN.

Universe: Common stocks with point-in-time NASDAQ-100 membership.

Fundamentals: Operating profit margin > 15% and operating-cash-flow-to-sales ratio > 10%.

Indicators: Daily standard monthly S2 pivot, daily standard weekly S2 pivot, and a 14-period daily ATR.

Entry Setup: Begin the setup while the stock's daily low is above its monthly S2. Advance when the low dips below monthly S2. Enter long when price recovers back above the weekly S2, provided the fundamental criteria still hold.

Risk & Exits: Set a stop loss at 3 ATR, a take profit at 1.5 ATR, and a maximum holding period of 30 calendar days.

WhaleRider

Created and validated PIVOT_SPRING_TRADE_PLAN.

Definition ID: 6ac66c292d45d7263f24a0c2

Entry confirmation uses the daily close above weekly S2. WhaleRider included its default maximum adverse slippage of 0.25 ATR.

PIVOT_SPRING_TRADE_PLAN.trade-plan.yaml

Validated YAML
# ==============================================================================
# WHALERIDER TRADE-PLAN CONFIGURATION
# ==============================================================================
# Artifact Name: PIVOT_SPRING_TRADE_PLAN
# Purpose: Defines market scope, calculations, signals, and trading decisions.
# Status: Generated configuration; validation is required before deployment.
# Website: https://whalerider.org
# WhaleRider © 2026 RockSoldi. All rights reserved.
# ------------------------------------------------------------------------------

NAME: PIVOT_SPRING_TRADE_PLAN
SIDE: LONG

# ------------------------------------------------------------------------------
# RISK MANAGEMENT
# ------------------------------------------------------------------------------
# Limits holding time to 30 calendar days and prohibits capital replacement.
# Risk exits are checked on evaluation events; execution levels are not guaranteed.
RISK:
  HOLDING_MAX_PERIOD: 30D
  REPLACEMENT_MODE: NONE
  # ----------------------------------------------------------------------------
  # ATR EXECUTION BOUNDARIES
  # ----------------------------------------------------------------------------
  # Uses fourteen daily bars; stop and target distances are ATR multiples.
  # Applies the documented agent default of 0.25 ATR maximum adverse slippage.
  ATR:
    LOOKBACK: 14
    INTERVAL: DAY
    STOP_LOSS: 3
    TAKE_PROFIT: 1.5
    MAX_SLIPPAGE: 0.25

# ------------------------------------------------------------------------------
# MARKET UNIVERSE
# ------------------------------------------------------------------------------
# Restricts trading to stocks with point-in-time NASDAQ-100 membership.
# Index membership is evaluated for the relevant event time.
UNIVERSE:
  SECURITY_TYPES:
    - STOCK
  MARKET_INDICES:
    - NASDAQ100

# ------------------------------------------------------------------------------
# INDICATOR CALCULATIONS
# ------------------------------------------------------------------------------
# Daily price and low observations drive the ordered pivot-spring workflow.
# Standard S2 pivots use monthly and weekly calendar windows on daily bars.
# Fundamental ratios are decimal fractions; daily ATR uses fourteen periods.
INDICATORS:
  - NAME: DAILY_LOW
    DOMAIN: CANDLE
    INTERVAL: DAY
    MEASUREMENT: Low

  - NAME: PRICE
    DOMAIN: CANDLE
    INTERVAL: DAY
    MEASUREMENT: Close

  # Supplies sixty daily observations for the monthly calendar pivot.
  - NAME: MONTHLY_S2
    DOMAIN: CANDLE
    INTERVAL: DAY
    STEPS:
      - TYPE: PIVOT
        LOOKBACK: 60
        ARGS:
          TYPE: Standard
          WINDOW_SIZE: MONTH
          LEVEL: S2

  # Supplies twenty daily observations for the weekly calendar pivot.
  - NAME: WEEKLY_S2
    DOMAIN: CANDLE
    INTERVAL: DAY
    STEPS:
      - TYPE: PIVOT
        LOOKBACK: 20
        ARGS:
          TYPE: Standard
          WINDOW_SIZE: WEEK
          LEVEL: S2

  - NAME: ATR_14
    DOMAIN: CANDLE
    INTERVAL: DAY
    STEPS:
      - TYPE: ATR
        LOOKBACK: 14

  - NAME: OPERATING_PROFIT_MARGIN
    DOMAIN: RATIO
    MEASUREMENT: OperatingProfitMargin

  - NAME: OPERATING_CASH_FLOW_SALES_RATIO
    DOMAIN: RATIO
    MEASUREMENT: OperatingCashFlowSalesRatio

# ------------------------------------------------------------------------------
# TRADING SIGNALS
# ------------------------------------------------------------------------------
# Converts 15% and 10% fundamental thresholds to decimal fractions.
# Strict comparisons distinguish the initial above-pivot state from the dip.
# Missing evidence invalidates conditions rather than preserving stale signals.
SIGNALS:
  - NAME: FUNDAMENTALS_PASS
    IS: OPERATING_PROFIT_MARGIN > 0.15 AND OPERATING_CASH_FLOW_SALES_RATIO > 0.10
    MISSING_DATA: FALSE

  - NAME: LOW_ABOVE_MONTHLY_S2
    IS: DAILY_LOW > MONTHLY_S2
    MISSING_DATA: FALSE

  - NAME: LOW_BELOW_MONTHLY_S2
    IS: DAILY_LOW < MONTHLY_S2
    MISSING_DATA: FALSE

  - NAME: PRICE_ABOVE_WEEKLY_S2
    IS: PRICE > WEEKLY_S2
    MISSING_DATA: FALSE

# ------------------------------------------------------------------------------
# ENTRY WORKFLOW AND EXIT CONTROL
# ------------------------------------------------------------------------------
# Starts above monthly S2, advances on a dip, then confirms above weekly S2.
# Fundamentals must pass at setup initiation and again at final entry.
# Confirmation may occur on the dip evaluation; exits use risk controls only.
CRITERIA:
  ENTER:
    IF: LOW_ABOVE_MONTHLY_S2 AND FUNDAMENTALS_PASS
    NEXT:
      - IF: LOW_BELOW_MONTHLY_S2
        NEXT:
          - IF: PRICE_ABOVE_WEEKLY_S2 AND FUNDAMENTALS_PASS

# ------------------------------------------------------------------------------
# LEGAL AND RISK NOTICE
# ------------------------------------------------------------------------------
# This configuration is provided for technical and informational use only.
# It is not investment, financial, legal, or tax advice and is not a
# recommendation or solicitation to buy, sell, or hold any instrument.
# Trading involves risk of loss. Margin and short selling may result in
# losses exceeding the capital initially committed.
# Historical, backtested, and simulated results do not guarantee future results.
# ==============================================================================
You

Create a risk policy named PIVOT_SPRING_RISK_POLICY. Set the maximum position value to 30% of account equity, minimum position value to 1%, and cap the maximum position risk at 3% of equity.

WhaleRider

Created and validated PIVOT_SPRING_RISK_POLICY with maximum position value 30%, minimum position value 1%, and maximum position risk 3% of equity.

Definition ID: 6ac66c542d45d7263f24a0c3

PIVOT_SPRING_RISK_POLICY.risk-policy.yaml

Validated YAML
# ==============================================================================
# WHALERIDER RISK-POLICY CONFIGURATION
# ==============================================================================
# Artifact Name: PIVOT_SPRING_RISK_POLICY
# Purpose: Defines reusable limits for position value and loss exposure.
# Status: Generated configuration; validation is required before deployment.
# Website: https://whalerider.org
# WhaleRider © 2026 RockSoldi. All rights reserved.
# ------------------------------------------------------------------------------

# Defines the reusable position-sizing policy.
NAME: PIVOT_SPRING_RISK_POLICY

# ------------------------------------------------------------------------------
# POSITION LIMITS
# ------------------------------------------------------------------------------
# Defines per-position value and risk limits as percentages of account equity.
# All percentages use current account equity, not leveraged buying power.
# Actual sizing also respects available buying power and the strategy's
# remaining aggregate allocation capacity.

# Caps each new position's market value at 30% of current account equity.
MAX_POSITION_VALUE_PCT: 30

# Rejects a newly sized position worth less than 1% of current account equity.
MIN_POSITION_VALUE_PCT: 1

# Targets a maximum loss budget of 3% of current account equity per position.
# With a positive trade-plan STOP_LOSS_ATR and a current ATR, this budget
# limits position size using the stop distance and estimated commission.
# Without STOP_LOSS_ATR, value-based sizing determines the position size,
# and this budget is used to derive a stop-loss price.
# Stops are checked at the trade plan's evaluation interval; gaps, slippage,
# execution delays, and commissions can cause losses to exceed this target.
MAX_POSITION_RISK_PCT: 3

# ------------------------------------------------------------------------------
# LEGAL AND RISK NOTICE
# ------------------------------------------------------------------------------
# This configuration is provided for technical and informational use only.
# It is not investment, financial, legal, or tax advice and is not a
# recommendation or solicitation to buy, sell, or hold any instrument.
# Trading involves risk of loss. Margin and short selling may result in
# losses exceeding the capital initially committed.
# Historical, backtested, and simulated results do not guarantee future results.
# ==============================================================================
You

Create a strategy named PIVOT_SPRING_STRATEGY combining trade plan PIVOT_SPRING_TRADE_PLAN and risk policy PIVOT_SPRING_RISK_POLICY.

WhaleRider

Created and validated PIVOT_SPRING_STRATEGY, combining PIVOT_SPRING_TRADE_PLAN and PIVOT_SPRING_RISK_POLICY.

Definition ID: 6ac66c7e2d45d7263f24a0c4

PIVOT_SPRING_STRATEGY.strategy.yaml

Validated YAML
# ==============================================================================
# WHALERIDER STRATEGY CONFIGURATION
# ==============================================================================
# Artifact Name: PIVOT_SPRING_STRATEGY
# Purpose: Connects one deployed trade plan to one deployed risk policy.
# Status: Generated configuration; validation is required before deployment.
# Website: https://whalerider.org
# WhaleRider © 2026 RockSoldi. All rights reserved.
# ------------------------------------------------------------------------------

# Identifies the strategy connecting the supplied trade plan and risk policy.
NAME: PIVOT_SPRING_STRATEGY

# ------------------------------------------------------------------------------
# DEPLOYED ARTIFACT REFERENCES
# ------------------------------------------------------------------------------
# Binds the strategy to validated, deployed artifact identifiers.

# Uses the exact trade plan identifier supplied by the caller.
# The referenced trade plan defines indicators, signals, entry and exit
# criteria, and trade-management rules.
TRADE_PLAN_ID: 6ac66c292d45d7263f24a0c2

# Uses the exact risk policy identifier supplied by the caller.
# The referenced risk policy defines position-value and position-risk limits.
RISK_POLICY_ID: 6ac66c542d45d7263f24a0c3

# ------------------------------------------------------------------------------
# LEGAL AND RISK NOTICE
# ------------------------------------------------------------------------------
# This configuration is provided for technical and informational use only.
# It is not investment, financial, legal, or tax advice and is not a
# recommendation or solicitation to buy, sell, or hold any instrument.
# Trading involves risk of loss. Margin and short selling may result in
# losses exceeding the capital initially committed.
# Historical, backtested, and simulated results do not guarantee future results.
# ==============================================================================
You

Please create a simulation named PIVOT_SPRING_SIMULATION for PIVOT_SPRING_STRATEGY with $100,000 in initial cash, running from 2021-01-01 to 2025-12-31.

WhaleRider

Created and validated PIVOT_SPRING_SIMULATION for PIVOT_SPRING_STRATEGY, with $100,000 initial cash covering 2021-01-01 through 2025-12-31. The simulation has not been started.

Definition ID: 6ac66ca02d45d7263f24a0c5

PIVOT_SPRING_SIMULATION.simulation.yaml

Validated YAML
# ==============================================================================
# WHALERIDER SIMULATION CONFIGURATION
# ==============================================================================
# Artifact Name: PIVOT_SPRING_SIMULATION
# Purpose: Defines a historical multi-strategy simulation and account model.
# Status: Generated configuration; validation is required before execution.
# Website: https://whalerider.org
# WhaleRider © 2026 RockSoldi. All rights reserved.
# ------------------------------------------------------------------------------

# ------------------------------------------------------------------------------
# SIMULATION IDENTITY
# ------------------------------------------------------------------------------
# Identifies the historical simulation using the requested definition name.
NAME: PIVOT_SPRING_SIMULATION

# ------------------------------------------------------------------------------
# STRATEGY ALLOCATION
# ------------------------------------------------------------------------------
# Runs the specified strategy using the simulation account and buying power.
# No strategy-specific gross-equity exposure cap is requested or applied.
STRATEGIES:
  - STRATEGY_ID: 6ac66c7e2d45d7263f24a0c4

# ------------------------------------------------------------------------------
# INITIAL ACCOUNT CAPITAL
# ------------------------------------------------------------------------------
# Sets starting account cash and equity to 100,000 US dollars.
# No optional margin requirements or financing configuration is requested.
INITIAL_CASH: 100000

# ------------------------------------------------------------------------------
# HISTORICAL DATE SCOPE
# ------------------------------------------------------------------------------
# Defines the inclusive historical evaluation period using ISO calendar dates.
# Covers January 1, 2021 through December 31, 2025.
FROM: 2021-01-01
TO: 2025-12-31

# ------------------------------------------------------------------------------
# LEGAL AND RISK NOTICE
# ------------------------------------------------------------------------------
# This configuration is provided for technical and informational use only.
# It is not investment, financial, legal, or tax advice and is not a
# recommendation or solicitation to buy, sell, or hold any instrument.
# Trading involves risk of loss. Margin and short selling may result in
# losses exceeding the capital initially committed.
# Historical, backtested, and simulated results do not guarantee future results.
# ==============================================================================
You

please run the simulation

WhaleRider

PIVOT_SPRING_SIMULATION has started.

Run ID: 6ac66cbc2d45d7263f24a0c6

You

what is the run status ?

WhaleRider

PIVOT_SPRING_SIMULATION has completed. Final results are available.

You

Show me the performance summary cards.

WhaleRider

The summary cards report 126.13% total return, 17.74% CAGR, and 26.83% maximum drawdown across 496 completed trades.

Ending realized account value: 226,130.69, excluding open-position valuations.

You

Please display the annual returns chart

WhaleRider

Annual realized returns range from −8.47% in 2022 to +44.07% in 2021. The report marks 2025’s +19.13% as a partial period.

You

Plot the cumulative equity curve chart

WhaleRider

The weekly cumulative curve tracks realized account value from 100,000 to 226,130.69. It excludes unrealized gains and losses on open positions.

You

Display a monthly heatmap

WhaleRider

Monthly realized returns peak at +10.72% in November 2022 and bottom at −12.92% in January 2022. December 2025 is marked as a partial period.

You

January 2022 had a heavy drawdown. Please list all trades that exited during that month, showing their entry and exit dates, prices, dollar PnL, and return percentage.

WhaleRider

8 trades exited in January 2022, with a combined gross PnL of −$18,608.04. All were long positions.

StockEntry dateExit dateEntry priceExit priceSharesDollar PnLReturn
BIIB2021-12-012022-01-03$234.35$239.6365+$343.20+2.25%
MRNA2021-12-092022-01-10$282.21$215.8750−$3,317.00−23.51%
ZM2021-12-102022-01-10$188.36$170.5823−$408.94−9.44%
CHTR2021-12-202022-01-19$643.66$581.8966−$4,076.82−9.60%
ANSS2022-01-102022-01-24$358.06$320.20115−$4,353.90−10.57%
ALGN2022-01-112022-01-24$540.28$441.8728−$2,755.48−18.21%
VRSK2022-01-102022-01-28$204.38$186.17202−$3,678.42−8.91%
CPRT2022-01-192022-01-28$33.17$30.33127−$360.68−8.56%

Dates use the reported UTC timestamps. Gross PnL is (exit price − entry price) × shares; return is the price change divided by entry price, before commissions.

You

Please plot a daily candlestick chart for ANSS

WhaleRider

The ANSS daily chart covers the January 10–24, 2022 trade: entry $358.06, exit $320.20, gross loss $4,353.90 (−10.57%).

Continue the research in your own AI.

Build validated definitions, run historical simulations, and investigate the results with WhaleRider.

Connect your AI →