MomentumTrader CASH
12:33:57

Developer Test Lab

Manually trigger and inspect system features without market hours, scheduled workers, or live data. All operations are on-demand — nothing here executes trades.

0 — Seed Bar Cache Start here

Loads historical bars from Alpaca into the in-memory cache for a symbol. Run this first before using any other section. Only needed outside market hours — during market hours the trading engine populates the cache automatically.

1 — Bar Cache Status

Shows what symbols are currently cached and how many bars each has.

2 — Momentum Scorer

Runs the full MomentumScorer pipeline against cached bars for a symbol.

3 — Chart Renderer

Renders a candlestick chart PNG from cached bars and displays it inline.

4 — Entry Prompt Preview

Builds the Claude entry prompt for a symbol without calling the API. Use this to check prompt quality before spending tokens.

5 — Entry Confirmation Calls Claude

Runs full entry confirmation against cached bars. Calls the Claude API and costs tokens.

⚡ This section makes real API calls.
6 — Monitor Prompt Preview

Builds the Claude monitor prompt for an open position without calling the API. Requires an open position for the symbol.

7 — Monitor Check Calls Claude

Runs a full position monitor check. Calls the Claude API and costs tokens. Requires an open position for the symbol.

⚡ This section makes real API calls.
8 — Scout Prompt Preview

Builds the Claude scout prompt without calling the API.

Manual Scout Run Calls Claude + Web Search

Triggers a full scout run immediately on demand, exactly as the startup scout used to work. Bypasses the market-hours schedule. Calls Claude API with web search.

⚡⚡ Calls Claude API with web search. Results are enqueued into the trading engine — candidates will be added to the watchlist.
9 — Scout Run Calls Claude + Web Search

Runs the full Scout engine with web search. Most expensive operation — calls Claude API with web search tool.

⚡⚡ This is the most expensive operation. It calls Claude with web search enabled.
10 — Fear Curve Recalibration

Recomputes GreenP25/P75 and RedP25/P75 wick thresholds for all symbols in dbo.SymbolFearConfig using MarketBars RTH data. Existing rows keep their FearCurveEnabled flag; new symbols are inserted with it false (manual opt-in). Updates the live scorer cache immediately — no Workers restart needed.

An unhandled error has occurred. Reload