Stratify is an MCP server published by site.aeon-labs, hosted at stratify-mcp.aeon-labs.site. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 11 tools, including run_backtest, describe_coverage, explain_methodology, list_backtests, get_backtest.
Backtest NIFTY option strategies on real 1-minute data, with an honest out-of-sample panel.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Backtest an Indian index option strategy on real 1-minute NIFTY options data. Returns P&L after real charges and slippage, return-on-margin, and an honesty panel: out-of-sample split, walk-forward folds, bootstrap interval, and a deflated Sharpe that accounts for how many variants you have already tried. Refuses windows too narrow to be meaningful, and reports no ratios below 30 trades. Two spec forms: a PRESET (structure + params) for the common shapes, or an OPEN STRATEGY (legs + rules) for anything else — any number of legs at any strikes on any expiry, strikes chosen by percent, points, premium or delta, entry at any minute, and rules that CHANGE the position while it is live (roll a tested leg, close one side, add a hedge, trail a stop) plus book-level rules like standing down after three losers. Nothing here is restricted by tier; a paid tier only widens the date window.
| Parameter | Type | Description |
|---|---|---|
| lots | integer | |
| spec * | any | Either a preset spec (structure + params) or an open strategy (legs + rules). Use the open form for anything the presets cannot say. |
| detail | string | How much per-trade data to return. 'standard' (default) is the equity curve, breakdowns and the first 25 trades with their leg prices. 'full' returns up to 300 trades — ask for it when the caller wants to audit or chart every trade. 'summary' returns aggregates only, and is the cheapest to read. |
{
"name": "run_backtest",
"description": "Backtest an Indian index option strategy on real 1-minute NIFTY options data. Returns P&L after real charges and slippage, return-on-margin, and an honesty panel: out-of-sample split, walk-forward folds, bootstrap interval, and a deflated Sharpe that accounts for how many variants you have already tried. Refuses windows too narrow to be meaningful, and reports no ratios below 30 trades. Two spec forms: a PRESET (structure + params) for the common shapes, or an OPEN STRATEGY (legs + rules) for anything else — any number of legs at any strikes on any expiry, strikes chosen by percent, points, premium or delta, entry at any minute, and rules that CHANGE the position while it is live (roll a tested leg, close one side, add a hedge, trail a stop) plus book-level rules like standing down after three losers. Nothing here is restricted by tier; a paid tier only widens the date window.",
"inputSchema": {
"type": "object",
"required": [
"spec"
],
"properties": {
"lots": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"spec": {
"oneOf": [
{
"type": "object",
"required": [
"structure",
"params"
],
"properties": {
"bias": {
"type": "string",
"description": "Chooses the side each cycle for directional structures. 'neutral' to use a fixed direction instead."
},
"gate": {
"type": "string",
"description": "Entry filter; 'always' to disable."
},
"params": {
"type": "object",
"properties": {
"sl_pct": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"tp_pct": {
"type": "number",
"exclusiveMinimum": 0
},
"sl_mult": {
"type": "number",
"exclusiveMinimum": 0
},
"direction": {
"enum": [
"CE",
"PE"
],
"type": "string"
},
"entry_dte": {
"type": "integer",
"maximum": 45,
"minimum": 0
},
"pct_width": {
"type": "number",
"maximum": 20,
"minimum": 0
},
"pct_offset": {
"type": "number",
"maximum": 20,
"minimum": 0
},
"entry_days_before": {
"type": "integer",
"maximum": 30,
"minimum": 0,
"description": "Entry day as TRADING SESSIONS before expiry (0 = expiry day, 2 = 'T-2'), instead of calendar entry_dte. Set one or the other."
}
},
"description": "Structure parameters. pct_offset and pct_width are percent of spot. sl_mult is a multiple of the credit received; sl_pct and tp_pct are fractions of premium paid. entry_dte is days to expiry at entry. direction is CE or PE for directional structures, and must be omitted when a bias is set."
},
"period": {
"type": "object",
"properties": {
"to": {
"type": "string"
},
"from": {
"type": "string"
}
},
"description": "YYYY-MM-DD, inside the caller's tier window (free: 2025-11-01 to 2026-10-31; describe_coverage gives yours).",
"additionalProperties": false
},
"symbol": {
"enum": [
"NIFTY",
"SENSEX"
],
"type": "string",
"description": "Index to trade. NIFTY has the longer history; SENSEX options begin 2023-08-07 and trade on a 100-point strike grid against NIFTY's 50. describe_coverage gives the served window per symbol."
},
"cadence": {
"enum": [
"weekly",
"daily"
],
"type": "string",
"description": "'weekly' (default) enters ONCE per expiry, on the day matching entry_dte — about 58 trades a year. 'daily' enters EVERY trading session on whichever expiry is nearest — about 246. Use 'daily' for anything described as 'every day'."
},
"max_dte": {
"type": "integer",
"maximum": 45,
"minimum": 0,
"description": "cadence 'daily' only: skip sessions where the nearest expiry is further out than this. max_dte 0 is expiry-day only."
},
"overlay": {
"type": "string",
"pattern": "^vol[0-9]{1,3}$",
"description": "Volatility filter: 'vol20' skips a cycle when the index's 20-day realised volatility is above 20% at entry. Omit for none."
},
"exit_time": {
"enum": [
"09:15",
"09:30",
"11:00",
"12:00",
"12:30",
"13:00",
"14:00",
"15:00",
"EOD"
],
"type": "string",
"description": "IST clock exit — squares the position off the SAME session, so it never reaches expiry. Omit to hold until a stop, a target or settlement. Must be after entry_time. Set this to express an intraday round trip such as in at 11:00, out at 14:00."
},
"structure": {
"enum": [
"credit_spread",
"iron_condor",
"iron_fly",
"long_option",
"short_strangle"
],
"type": "string",
"description": "Option structure to trade."
},
"entry_time": {
"enum": [
"09:15",
"09:30",
"11:00",
"12:00",
"12:30",
"13:00",
"14:00",
"15:00",
"EOD"
],
"type": "string",
"description": "IST. EOD is 15:29, the last tradeable minute."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"legs"
],
"properties": {
"exit": {
"type": "object",
"properties": {
"time": {
"type": "string",
"description": "hard square-off at this minute on the entry day."
},
"when": {
"type": "object"
}
},
"additionalProperties": false
},
"legs": {
"type": "array",
"items": {
"type": "object",
"required": [
"side",
"type",
"strike"
],
"properties": {
"qty": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "lots of THIS leg relative to the others. Unequal quantities are how a ratio spread is written."
},
"side": {
"enum": [
"sell",
"buy"
],
"type": "string"
},
"type": {
"enum": [
"CE",
"PE"
],
"type": "string"
},
"label": {
"type": "string"
},
"expiry": {
"enum": [
"near",
"next",
"far"
],
"type": "string",
"description": "'near' is the nearest expiry at entry; 'next' is the one after, which is how a calendar or diagonal is written."
},
"strike": {
"description": "How to pick the strike. One of: {\"pct_offset\": 1.0} percent from spot (negative for puts) | {\"points_offset\": 200} | \"atm\" | {\"strike\": 24000} | {\"premium_near\": 50} the strike whose last real print is nearest 50 points | {\"delta_near\": 0.20} | {\"from_leg\": {\"leg\": 0, \"pct\": 0.5}} relative to another leg. Add {\"ref\": \"entry\"} to measure from the spot at entry rather than the spot now."
}
},
"additionalProperties": false
},
"maxItems": 12,
"minItems": 1,
"description": "What to open. Leg order defines the indices rules use."
},
"name": {
"type": "string"
},
"entry": {
"type": "object",
"properties": {
"dte": {
"type": "integer",
"maximum": 60,
"minimum": 0,
"description": "weekly/monthly only: days before expiry to enter. Defaults to 4 weekly, 21 monthly."
},
"time": {
"type": "string",
"description": "ANY minute of the session, e.g. '09:20'. Not a grid."
},
"when": {
"type": "object",
"description": "Optional gate on the cycle — the REASON for taking the trade. combined_premium is the credit on offer, so {\"combined_premium\": {\"gte\": 80}} means 'only if I collect 80 points'. Market state is here too: day_of_week, gap_pct, prev_day_move_pct, realised_vol_20d, vix, vix_change_pct, vix_prev_close. e.g. {\"vix\": {\"gte\": 15}}, {\"prev_day_move_pct\": {\"lte\": -1}}, {\"day_of_week\": {\"eq\": 1}} for Mondays. INDEX INDICATORS too, computed on closes up to YESTERDAY: rsi_N (0-100), close_vs_sma_N_pct and close_vs_ema_N_pct (per cent above/below the N-day average), ema_F_vs_S_pct and sma_F_vs_S_pct (fast against slow, positive = fast is above). N from 2 to 250. e.g. {\"rsi_14\": {\"lt\": 30}} for oversold, {\"close_vs_ema_50_pct\": {\"gt\": 0}} for 'above the 50-day', {\"ema_9_vs_21_pct\": {\"gt\": 0}} for a 9/21 crossover. All are knowable before the session — none can see the day's own close."
},
"cadence": {
"enum": [
"weekly",
"daily",
"monthly"
],
"type": "string",
"description": "weekly = one entry per weekly expiry; monthly = one per monthly expiry (the last of its calendar month); daily = one per session."
},
"max_dte": {
"type": "integer",
"maximum": 60,
"minimum": 0,
"description": "daily only: skip sessions further than this from expiry."
}
},
"additionalProperties": false
},
"rules": {
"type": "array",
"items": {
"type": "object",
"required": [
"when",
"then"
],
"properties": {
"then": {},
"when": {
"type": "object"
},
"label": {
"type": "string"
},
"max_times": {
"type": "integer",
"maximum": 100,
"minimum": 1
}
},
"additionalProperties": false
},
"maxItems": 24,
"description": "Checked every minute, in order; the first match fires. Fields: adjustments_done, combined_premium, credit_kept_frac, day_of_week, drawdown_from_peak, dte, gap_pct, leg_mark, leg_mark_delta, leg_mark_mult, leg_pnl_pts, minutes_held, pnl_frac_of_credit, pnl_frac_of_max, pnl_pts, pnl_rupees, prev_day_move_pct, realised_vol_20d, runup_from_trough, spot, spot_beyond_strike, spot_move_pct, spot_move_pts, time, vix, vix_change_pct, vix_prev_close. Actions: \"close\" | {\"close_legs\": [0]} | {\"open\": [leg,...]} | {\"roll\": {\"legs\": [0], \"to\": strike}} | {\"close_and_open\": {\"close\": [0], \"open\": [leg]}}."
},
"period": {
"type": "object",
"properties": {
"to": {
"type": "string"
},
"from": {
"type": "string"
}
},
"additionalProperties": false
},
"symbol": {
"enum": [
"NIFTY",
"SENSEX"
],
"type": "string"
},
"portfolio": {
"type": "object",
"properties": {
"max_trades": {
"type": "integer",
"minimum": 1
},
"skip_after_loss": {
"type": "boolean"
},
"stop_after_losses": {
"type": "integer",
"minimum": 1
},
"stop_after_profit_pct": {
"type": "number"
},
"stop_after_drawdown_pct": {
"type": "number"
}
},
"description": "Rules over the SEQUENCE of trades, which no per-trade condition can express.",
"additionalProperties": false
},
"resolution": {
"enum": [
1,
5,
15
],
"type": "integer",
"description": "minutes per rule check. 1 is the default and the honest one."
},
"max_adjustments": {
"type": "integer",
"maximum": 50,
"minimum": 0,
"description": "how many times the rules may change the position in one trade. Default 4."
}
},
"description": "An open strategy: any legs, any rules. Covers what the presets cannot say — ratio spreads, calendars, diagonals, jade lizards, broken wings, delta- or premium-selected strikes, per-leg stops, rolling a tested side, trailing stops, entry conditions on the credit available, and book-level rules like standing down after three losers.",
"additionalProperties": false
}
],
"description": "Either a preset spec (structure + params) or an open strategy (legs + rules). Use the open form for anything the presets cannot say."
},
"detail": {
"enum": [
"summary",
"standard",
"full"
],
"type": "string",
"description": "How much per-trade data to return. 'standard' (default) is the equity curve, breakdowns and the first 25 trades with their leg prices. 'full' returns up to 300 trades — ask for it when the caller wants to audit or chart every trade. 'summary' returns aggregates only, and is the cheapest to read."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"spec": {
"type": "object",
"additionalProperties": true
},
"quota": {
"type": "object",
"additionalProperties": true
},
"trades": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"honesty": {
"type": "object",
"additionalProperties": true
},
"summary": {
"type": "object",
"additionalProperties": true
},
"breakdown": {
"type": "object",
"additionalProperties": true
},
"report_url": {
"type": "string"
},
"backtest_id": {
"type": "string"
},
"methodology": {
"type": "object",
"additionalProperties": true
},
"cost_seconds": {
"type": "number"
},
"data_release": {
"type": "object",
"additionalProperties": true
},
"equity_curve": {
"type": "array"
},
"trade_detail": {
"type": "object",
"additionalProperties": true
},
"strategy_book": {
"type": "object",
"additionalProperties": true
},
"interpretation": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": true
},
"annotations": {
"title": "Run a backtest",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}What data is available: symbols, date range, resolution, structures, gates, biases, the cost model, and every known gap.
No parameters.
{
"name": "describe_coverage",
"description": "What data is available: symbols, date range, resolution, structures, gates, biases, the cost model, and every known gap.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"from": {
"type": "string"
},
"tier": {
"type": "string"
},
"symbol": {
"type": "string"
},
"resolution": {
"type": "string"
}
},
"additionalProperties": true
},
"annotations": {
"title": "What the data covers",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}How a result is produced: entry pricing, settlement, margin, slippage, the honesty rubric, and what each check can and cannot establish.
| Parameter | Type | Description |
|---|---|---|
| topic | string | one of ["changelog","common_mistakes","contract_spec","costs","interpreting_results","intraday","liquidity","margin","overfitting","overview","sample_size","slippage","strategy_book","structures","validation… |
{
"name": "explain_methodology",
"description": "How a result is produced: entry pricing, settlement, margin, slippage, the honesty rubric, and what each check can and cannot establish.",
"inputSchema": {
"type": "object",
"properties": {
"topic": {
"enum": [
"changelog",
"common_mistakes",
"contract_spec",
"costs",
"interpreting_results",
"intraday",
"liquidity",
"margin",
"overfitting",
"overview",
"sample_size",
"slippage",
"strategy_book",
"structures",
"validation",
"what_is_returned"
],
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"body": {
"type": "string"
},
"title": {
"type": "string"
},
"topic": {
"type": "string"
},
"topics": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": true
},
"annotations": {
"title": "How a result is produced",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}The account's backtests, newest first, with id, date, trade count, net P&L and report URL. Answers a request for the most recent run, which list_strategies does not: that one returns only results that passed the evidence checks, ranked by consistency rather than by date.
| Parameter | Type | Description |
|---|---|---|
| limit | integer |
{
"name": "list_backtests",
"description": "The account's backtests, newest first, with id, date, trade count, net P&L and report URL. Answers a request for the most recent run, which list_strategies does not: that one returns only results that passed the evidence checks, ranked by consistency rather than by date.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"note": {
"type": "string"
},
"count": {
"type": "integer"
},
"backtests": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"n_trades": {
"type": "integer"
},
"created_at": {
"type": "string"
},
"report_url": {
"type": "string"
},
"backtest_id": {
"type": "string"
},
"net_pnl_rupees": {
"type": "number"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
},
"annotations": {
"title": "Recent backtests",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Retrieve a previous backtest result by its id — honesty panel, equity curve and per-trade detail, exactly as first computed.
| Parameter | Type | Description |
|---|---|---|
| detail | string | one of ["summary","standard","full"] |
| backtest_id * | string |
{
"name": "get_backtest",
"description": "Retrieve a previous backtest result by its id — honesty panel, equity curve and per-trade detail, exactly as first computed.",
"inputSchema": {
"type": "object",
"required": [
"backtest_id"
],
"properties": {
"detail": {
"enum": [
"summary",
"standard",
"full"
],
"type": "string"
},
"backtest_id": {
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"spec": {
"type": "object",
"additionalProperties": true
},
"trades": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"honesty": {
"type": "object",
"additionalProperties": true
},
"summary": {
"type": "object",
"additionalProperties": true
},
"report_url": {
"type": "string"
},
"backtest_id": {
"type": "string"
},
"detail_note": {
"type": "string"
},
"data_release": {
"type": "object",
"additionalProperties": true
},
"trade_detail": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": true
},
"annotations": {
"title": "Retrieve a stored backtest",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Strategies from THIS account's history that held up under out-of-sample and walk-forward checks, not merely ones that made money. Ranked by worst walk-forward fold — consistency, not size. Answers what has worked on this account so far without re-running anything.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| order | string | 'consistency' (default) sorts by worst walk-forward fold, then median fold. 'pnl' sorts by total P&L and is the ranking most likely to put an overfit at the top. |
{
"name": "list_strategies",
"description": "Strategies from THIS account's history that held up under out-of-sample and walk-forward checks, not merely ones that made money. Ranked by worst walk-forward fold — consistency, not size. Answers what has worked on this account so far without re-running anything.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"order": {
"enum": [
"consistency",
"health",
"pnl"
],
"type": "string",
"description": "'consistency' (default) sorts by worst walk-forward fold, then median fold. 'pnl' sorts by total P&L and is the ranking most likely to put an overfit at the top."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"note": {
"type": "string"
},
"count": {
"type": "integer"
},
"strategies": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
}
},
"additionalProperties": true
},
"annotations": {
"title": "List kept strategies",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Search what this service covers — symbols, dates, structures, signals, methodology. Returns ids usable with fetch.
| Parameter | Type | Description |
|---|---|---|
| query * | string |
{
"name": "search",
"description": "Search what this service covers — symbols, dates, structures, signals, methodology. Returns ids usable with fetch.",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"title": {
"type": "string"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
},
"annotations": {
"title": "Search what the service covers",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Fetch a document or backtest result by id, as returned by search.
| Parameter | Type | Description |
|---|---|---|
| id * | string |
{
"name": "fetch",
"description": "Fetch a document or backtest result by id, as returned by search.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"text": {
"type": "string"
},
"title": {
"type": "string"
},
"metadata": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": true
},
"annotations": {
"title": "Fetch a document or result",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Files a bug report or feature request when the user asks to report something. Confirm the title and body with the user before filing. Passing backtest_id attaches that backtest's spec so the issue can be reproduced.
| Parameter | Type | Description |
|---|---|---|
| body * | string | What was expected, what happened, and any spec involved. Write it from the user's report, not from your own summary of it. |
| title * | string | One line naming the problem or request. |
| category | string | Omit it and it will be inferred from the text. |
| severity | string | one of ["blocker","idea","major","minor"] |
| backtest_id | string | The result this is about, if any. |
{
"name": "submit_feedback",
"description": "Files a bug report or feature request when the user asks to report something. Confirm the title and body with the user before filing. Passing backtest_id attaches that backtest's spec so the issue can be reproduced.",
"inputSchema": {
"type": "object",
"required": [
"title",
"body"
],
"properties": {
"body": {
"type": "string",
"maxLength": 4000,
"description": "What was expected, what happened, and any spec involved. Write it from the user's report, not from your own summary of it."
},
"title": {
"type": "string",
"maxLength": 160,
"description": "One line naming the problem or request."
},
"category": {
"enum": [
"bug",
"confusing",
"data_gap",
"feature_request",
"other",
"performance",
"praise",
"pricing"
],
"type": "string",
"description": "Omit it and it will be inferred from the text."
},
"severity": {
"enum": [
"blocker",
"idea",
"major",
"minor"
],
"type": "string"
},
"backtest_id": {
"type": "string",
"description": "The result this is about, if any."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"note": {
"type": "string"
},
"status": {
"type": "string"
},
"message": {
"type": "string"
},
"category": {
"type": "string"
},
"severity": {
"type": "string"
},
"feedback_id": {
"type": "string"
}
},
"additionalProperties": true
},
"annotations": {
"title": "File a report",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}Creates a shareable report page for a backtest the user owns and returns its URL. The page carries the honesty panel, equity and drawdown curves, walk-forward folds, the gross-to-net breakdown, a month grid and the trade table, computed from the stored backtest. Use when the user asks for a report or something to share.
| Parameter | Type | Description |
|---|---|---|
| format | string | 'link' (default) returns the hosted URL of the report page. 'artifact' returns the whole self-contained HTML document as well, which costs considerably more tokens. 'full' builds the full strategy report and returns its link: the strategy's rules in plain English, what it did to a given capital, eve… |
| capital | integer | format 'full' only. Starting capital in rupees. It sets the report's OPENING view — the reader can change it in the page without a new report. Default 1,000,000. |
| risk_pct | number | format 'full' only. Size by RISK instead of margin: the percent of capital the trade is allowed to lose in its worst case (2 means 'risk 2% per trade'). Only works where the position has a bounded worst case — a naked short does not, and the call is refused with that reason rather than sized off a g… |
| deploy_pct | number | format 'full' only. Percent of capital used as margin on any one trade. Default 10. |
| backtest_id * | string | From a previous run_backtest. |
{
"name": "build_report",
"description": "Creates a shareable report page for a backtest the user owns and returns its URL. The page carries the honesty panel, equity and drawdown curves, walk-forward folds, the gross-to-net breakdown, a month grid and the trade table, computed from the stored backtest. Use when the user asks for a report or something to share.",
"inputSchema": {
"type": "object",
"required": [
"backtest_id"
],
"properties": {
"format": {
"enum": [
"artifact",
"link",
"full"
],
"type": "string",
"default": "link",
"description": "'link' (default) returns the hosted URL of the report page. 'artifact' returns the whole self-contained HTML document as well, which costs considerably more tokens. 'full' builds the full strategy report and returns its link: the strategy's rules in plain English, what it did to a given capital, every trade plotted on a zoomable NIFTY chart, the evidence panel and the capital curve. 'full' is rate limited."
},
"capital": {
"type": "integer",
"maximum": 100000000,
"minimum": 100000,
"description": "format 'full' only. Starting capital in rupees. It sets the report's OPENING view — the reader can change it in the page without a new report. Default 1,000,000."
},
"risk_pct": {
"type": "number",
"maximum": 100,
"minimum": 0.1,
"description": "format 'full' only. Size by RISK instead of margin: the percent of capital the trade is allowed to lose in its worst case (2 means 'risk 2% per trade'). Only works where the position has a bounded worst case — a naked short does not, and the call is refused with that reason rather than sized off a guess. Overrides deploy_pct."
},
"deploy_pct": {
"type": "number",
"maximum": 100,
"minimum": 1,
"description": "format 'full' only. Percent of capital used as margin on any one trade. Default 10."
},
"backtest_id": {
"type": "string",
"description": "From a previous run_backtest."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"bytes": {
"type": "integer"
},
"message": {
"type": "string"
},
"contains": {
"type": "object",
"additionalProperties": true
},
"document": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"report_url": {
"type": "string"
},
"backtest_id": {
"type": "string"
},
"document_properties": {
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": true
},
"annotations": {
"title": "Build a shareable report",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}Reports this account has filed, and where each one stands. Use it to answer 'did that bug I reported ever get fixed?'.
No parameters.
{
"name": "my_feedback",
"description": "Reports this account has filed, and where each one stands. Use it to answer 'did that bug I reported ever get fixed?'.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"count": {
"type": "integer"
},
"items": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
}
},
"additionalProperties": true
},
"annotations": {
"title": "My filed reports",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Backtesting for Indian index options on real 1-minute NIFTY and SENSEX data. The two are different contracts: SENSEX trades a 100-point strike grid against NIFTY's 50, and its options begin 2023-08-07, so a percent-offset or an entry_dte reasoned about on one is not automatically right on the other. Call describe_coverage for the window per symbol. Results are computed server-side. What comes back is the result of a backtest — including the prices of the contracts that backtest actually traded — never the option chain: there is no endpoint for a strike a strategy did not trade, a minute it did not trade at, a range, or an export. Two cadences, which answer different questions: cadence 'weekly' (default) enters once per expiry, on the day matching entry_dte — about 58 trades a year. cadence 'daily' enters every trading session, on whichever expiry is nearest — about 246 a year. This is the one that matches a description like "every day". exit_time sets a clock exit that squares the position off in the same session, so "buy at 11, sell at 2, every day" is cadence 'daily', entry_time '11:00', exit_time '14:00'. Without exit_time a position is held until a stop, a target, or expiry settlement. Every backtest result includes a report_url: a shareable page carrying the equity curve, the honesty panel and the trade table. build_report creates that page for a stored backtest and returns its URL. describe_coverage reports the exact window, lot sizes and structures available to this key, which change between tiers and over time. explain_methodology describes how a result is produced and what each check can and cannot establish. Backtest results are saved to the user's account. list_strategies returns the ones that passed the out-of-sample and walk-forward checks, ranked by worst walk-forward fold rather than by P&L, because total return is what a parameter sweep maximises by construction. Five things about this market are commonly assumed wrong, and each one changes the numbers: 1. NIFTY weekly expiry is TUESDAY for most of this window, not Thursday. It changed around 2025-09-02. Holidays shift it earlier. 2. The lot size is not constant. It is 75 for expiries through 2025-12-30 and 65 from 2026-01-06. Every rupee figure depends on which regime a trade fell in. 3. Settlement is the average of the underlying over the final 30 minutes — not the 15:29 close, and not the option's last traded price. 4. One year of weekly expiries is about 50 trades, near the floor of what any ratio can be computed on, so a result from this window is provisional. A daily cadence gives ~246 instead, but they overlap heavily in what drives them, so it is not five times the independent evidence. 5. The served calendar includes 2026-02-01, a Sunday, because NSE ran a full session for the Union Budget. A daily cadence trades it; it is not bad data. This is an educational backtesting tool. It reports historical evidence and the limits of that evidence, and it is not investment advice. A disclaimer does not cancel a recommendation that follows it. A persona eval caught exactly that: careful warnings about sample size and cost drag, followed by a section headed "what I'd actually do" telling a novice to trade one lot. Everything before it was true and none of it mattered. So this service does not produce, and its results do not support: - a position to enter — specific strikes, expiry and entry time presented as a plan - a position size, lot count, or capital allocation - a day to act on, or a "start with this" instruction - "what I would do", "if I were you", or a recommendation in any other grammar Describing what the backtest showed, stating what it cannot support, and leaving the decision with the person is a complete answer to "what should I trade", not a refusal.
Names, descriptions and schemas were written by the server and are shown as data.