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.
npx skills add mindsightventures/lona-agent-skills --skill backtest-analysisgit clone --depth 1 https://github.com/mindsightventures/lona-agent-skillsWrote 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.
[](https://agentmods.dev/skills/mindsightventures/lona-agent-skills/backtest-analysis)<a href="https://agentmods.dev/skills/mindsightventures/lona-agent-skills/backtest-analysis"><img src="https://agentmods.dev/badge/skills/mindsightventures/lona-agent-skills/backtest-analysis/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/mindsightventures/lona-agent-skills/backtest-analysis"><img src="https://agentmods.dev/badge/skills/mindsightventures/lona-agent-skills/backtest-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00060 | $0.01178 |
| Opus 5 | $0.00030 | $0.00589 |
| Sonnet 5 | $0.00012 | $0.00236 |
| Haiku 4.5 | $0.00006 | $0.00118 |
Grade A, and why
lona-backtest-analysis 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Backtest Execution & Analysis
You have access to Lona's backtesting tools for testing trading strategies against historical market data and analyzing the results.
Available Tools
Running Backtests
- lona_run_backtest: Execute a strategy against historical data (async — returns report_id immediately)
- lona_get_report_status: Poll the backtest execution status
Viewing Results
- lona_list_reports: List all backtest reports with status and key metrics. Filter by
strategy_idorstatus - lona_get_report: Get summary metrics (total return, Sharpe ratio, max drawdown, win rate, trade count)
- lona_get_full_report: Comprehensive results with trade history, detailed metrics, and per-symbol breakdown
- lona_get_report_chart: Visualize trades on an interactive candlestick chart with buy/sell markers
Workflows
Run a backtest
Prerequisites: You need a strategy_id (from lona_list_strategies or lona_create_strategy) and one or more data_ids (from lona_list_symbols or lona_download_market_data).
- Call
lona_run_backtestwith:strategy_id(required)data_idsarray (required) — one or more symbol IDsstart_dateandend_datein ISO format (required)- Optional:
initial_cash(default: 100000),commission(default: 0.001),leverage(default: 1) - Optional:
parametersobject to override strategy params (e.g.,{"fast_period": 5, "slow_period": 20})
- Receive
report_idimmediately - Poll
lona_get_report_statusevery 5-10 seconds - Status pipeline: PENDING -> EXECUTING -> PROCESSING -> COMPLETED/FAILED
- When COMPLETED, view results
Analyze results
- Call
lona_get_reportfor a quick summary with key metrics - Call
lona_get_full_reportfor the complete picture including trade-by-trade history - Call
lona_get_report_chartto visualize entries and exits on a price chart
Compare strategies
- Call
lona_list_reportsto see all completed backtests - Get summary metrics for multiple reports with
lona_get_report - Compare Sharpe ratios, drawdowns, and returns side by side
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.
- 9d ago First seen · 107 lines · 60 tokens per session scan A 2ca5acde8879
lona-backtest-analysis is a skill published in the GitHub repository mindsightventures/lona-agent-skills (4 stars, last pushed 6mo ago), licensed MIT. It adds 60 tokens to every session and 1,178 once invoked, about $0.0003 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.
Other skills, from other repositories
sector-rotation
An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.
strategy-pivot-designer
Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.
twitter-reader
Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…
chenhao-limit-up
A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.
trading-risk-gate
Unified pre-trade safety gate: Ruin check (Law #1), ergodicity audit, and win-rate dominance validation. Absorbs: ergodicity-check, law-of-ruin, win-rate-dominance.
vectorbt
High-performance vectorized backtesting with parameter optimization, portfolio simulation, and rich performance metrics.