replay-practice

replay-practice is a skill for Claude Code, Codex from jadatorin/tradingview-opencode-agent. It costs 38 tokens per session (583 once invoked), scanned A, original, MIT.

A guided way to practise trading with historical TradingView charts by moving through past price bars and recording simulated trades.

In plain words
What is it for?
Use it to choose a symbol and timeframe, start a historical replay, step through or autoplay bars, open and close simulated positions, and review the result.
Why use it?
It lets you test decisions and review profit or loss without trading with current market money.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/jadatorin/tradingview-opencode-agent/replay-practice
Any agent
npx skills add jadatorin/tradingview-opencode-agent --skill replay-practice
Clone the repo
git clone --depth 1 https://github.com/jadatorin/tradingview-opencode-agent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for replay-practice

README.md
[![agentmods](https://agentmods.dev/badge/skills/jadatorin/tradingview-opencode-agent/replay-practice.svg)](https://agentmods.dev/skills/jadatorin/tradingview-opencode-agent/replay-practice)
Your own site
<a href="https://agentmods.dev/skills/jadatorin/tradingview-opencode-agent/replay-practice"><img src="https://agentmods.dev/badge/skills/jadatorin/tradingview-opencode-agent/replay-practice.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 583 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00038 $0.00583
Opus 5 $0.00019 $0.00292
Sonnet 5 $0.00008 $0.00117
Haiku 4.5 $0.00004 $0.00058

Measured 3d ago against content hash dad71b2d6929, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

replay-practice scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

opencode-skills/replay-practice/SKILL.md · 70 lines

What it actually says

Replay Practice Trading

You are guiding the user through replay-mode practice trading on TradingView.

Step 1: Setup

  1. chart_set_symbol — set the desired symbol
  2. chart_set_timeframe — set the trading timeframe
  3. replay_start with a date — enter replay mode at the starting point

Step 2: Pre-Trade Analysis

Before stepping through bars:

  1. data_get_ohlcv — get the historical context leading up to the replay point
  2. Add any indicators the user wants: chart_manage_indicator
  3. capture_screenshot — show the starting chart state

Step 3: Step Through Bars

Use replay_step to advance one bar at a time, or replay_autoplay for continuous play.

After each significant move:

  1. replay_status — check current date, position, and P&L
  2. Announce what happened (breakout, support test, etc.)

Step 4: Execute Trades

When the user identifies an entry:

  • replay_trade with action "buy" or "sell"
  • replay_status to confirm the position was opened

When the user wants to exit:

  • replay_trade with action "close"
  • replay_status to show the P&L

Step 5: Review

After the practice session:

  1. replay_status — final P&L summary
  2. capture_screenshot — capture the final chart state
  3. replay_stop — exit replay mode

Report:

  • Total trades taken
  • Win/loss record
  • Net P&L
  • Key lessons from the session

Tips

  • Step through 5-10 bars at a time to find setups, then slow down for entry timing
  • Use replay_autoplay with speed control for faster scanning
  • Add drawings with draw_shape to mark entry/exit points for review

Replay Tools Reference

Tool Use
replay_start Enter replay at a date
replay_step Advance one bar
replay_autoplay Auto-advance (set speed in ms)
replay_trade Execute buy/sell/close
replay_status Check position, P&L, date
replay_stop Return to realtime
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 70 lines · 0 tokens per session scan A dad71b2d6929

Subscribe to this mod's changes

replay-practice is a skill published in the GitHub repository jadatorin/tradingview-opencode-agent (2 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 583 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ninja-patterns

NinjaTrader 8 NinjaScript indicator scaffold and patterns. Provides C# structure guidance and triggers doc-researcher for API verification. Use when developing NinjaTrader indicators.

lgbarn/trading-indicator-plugins · 39 tokens

tradovate-patterns

Tradovate JavaScript indicator scaffold and patterns. Provides class structure and export guidance. Use when developing Tradovate indicators.

lgbarn/trading-indicator-plugins · 31 tokens

pine-patterns

Pine Script v5/v6 indicator scaffold and patterns. Provides structure guidance and triggers doc-researcher for current syntax verification. Use when developing TradingView indicators.

lgbarn/trading-indicator-plugins · 37 tokens

polymarket

Query Polymarket: markets, prices, orderbooks, history.

NousResearch/hermes-agent · 18 tokens

etf-premium

Calculate ETF premium/discount vs NAV via Yahoo Finance, and decompose single-day surges into NAV-driven vs structural components (gamma squeeze, dealer hedging, blocked AP arbitrage). Use whenever the user asks about an ETF's premium or discount, NAV comparison, why an ETF diverged from its holdings, or how much of a…

himself65/finance-skills · 223 tokens

stock-liquidity

Analyze stock liquidity using bid-ask spreads, volume profiles, order book depth, market impact estimates, and turnover ratios via Yahoo Finance data. Use this skill whenever the user asks about liquidity, trading costs, bid-ask spread, market depth, volume analysis, slippage, market impact, turnover ratio, or how…

himself65/finance-skills · 188 tokens