addrbookFor publishers
← The evidence ledger

Evidence row 1056470

Observed , by probe.mcp/1.

Kind
mcp.tools
About
endpoint 534b6a70-3e77-4c9c-bb07-ef46c114fce2
Recorded
Previous row
None: the first of its kind about this subject
Body SHA-256
cbaf90c039fafdcaac7b578ca11ad571a9f7795b4330343f73a10df37934d998
Leaf
0xbe3b862a99d6bc87d423e8da6a2905faacfeadfcc3e4fe6f49f1a4641a650f6f

What was observed

{
  "count": 6,
  "tools": [
    {
      "description": "Checks a trader's own trades against a run's rule, on the price history this server holds: for each trade, in their order, whether the rule would have taken it and, if not, why (already in a trade, no entry signal that day, no bar that day). Use it when the trader lists trades they made and asks which the rule took, instead of working it out by hand. Takes a run (run_id) and the trades, each {side, entry, exit?}; answers in words, never prices. It re-runs the run's code, so it counts as a run on the run's symbol.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "run_id": {
            "description": "A run_id run_backtest or run_held_out_test returned: the run whose code is checked against the trades.",
            "type": "string"
          },
          "study_id": {
            "description": "A study's id; with `version`, one of its runs.",
            "type": "string"
          },
          "time_zone": {
            "description": "The clock the trader says their times are on (\"UTC+2\", \"New York\", \"Europe/Prague\"). Left out: the clock the run's trade list is on (ET for stocks and ETFs, UTC otherwise).",
            "type": "string"
          },
          "trades": {
            "description": "The trader's own trades, in their order, each stamp exactly as the trader wrote it.",
            "items": {
              "additionalProperties": false,
              "properties": {
                "entry": {
                  "description": "When they entered: \"YYYY-MM-DD\", or \"YYYY-MM-DD HH:MM\" on the clock they wrote.",
                  "type": "string"
                },
                "exit": {
                  "description": "When they exited, the same way. Left out when they gave none.",
                  "type": "string"
                },
                "side": {
                  "enum": [
                    "long",
                    "short"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "side",
                "entry"
              ],
              "type": "object"
            },
            "maxItems": 50,
            "minItems": 1,
            "type": "array"
          },
          "version": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "pattern": "^[vV]?\\d+$",
                "type": "string"
              }
            ]
          }
        },
        "required": [
          "trades"
        ],
        "type": "object"
      },
      "name": "compare_trades"
    },
    {
      "description": "Opens a study, the named set of runs every backtest belongs to: call it once per question, before run_backtest. Can set a hold-out period, once and only here, that no run tests except run_held_out_test. Only the first held-out test per account and market counts, and any earlier run on the market (in any study, at any bar size) that read its days disqualifies it: set the hold-out in your first study on a market, before any run on it.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "hold_out": {
            "additionalProperties": false,
            "description": "The days kept back from every run but run_held_out_test; set once, here. Set it in your first study on a market, before any run on it: a held-out test on days an earlier run on the market read does not count.",
            "properties": {
              "from": {
                "description": "A day, YYYY-MM-DD.",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "type": "string"
              },
              "to": {
                "description": "A day, YYYY-MM-DD.",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "type": "string"
              }
            },
            "required": [
              "from"
            ],
            "type": "object"
          },
          "name": {
            "description": "What the study tests, in a few words.",
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "name": "create_study"
    },
    {
      "description": "Start here to backtest a trading idea. This server holds the price history (US stocks and ETFs, spot crypto, FX, spot gold and silver; daily and intraday bars) and runs backtests on it, so no price data needs to be downloaded or found on the web. Returns the markets and bar sizes served, the default costs per market, the rules and daily limits every run is held to, and how to write the strategy code; then call create_study.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {},
        "required": [],
        "type": "object"
      },
      "name": "describe_data"
    },
    {
      "description": "Reads a backtest result by its run_id (when run_backtest answered \"running\", call this until the run ends), or a study's runs by study_id (one of them with version). A run comes with its trades, a page at a time (trades_page).",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "before_version": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "pattern": "^[vV]?\\d+$",
                "type": "string"
              }
            ],
            "description": "With study_id: the 20 runs before this version (a list's `next` gives it)."
          },
          "run_id": {
            "description": "A run_id run_backtest or run_held_out_test returned.",
            "type": "string"
          },
          "study_id": {
            "description": "A study's id, for its runs (the newest 20 by default); with `version`, one of them.",
            "type": "string"
          },
          "trades_page": {
            "description": "With a run (run_id, or study_id with version): the page of its trade list, from 1; a page holds 100 trades. Left out: the first.",
            "minimum": 1,
            "type": "integer"
          },
          "version": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "pattern": "^[vV]?\\d+$",
                "type": "string"
              }
            ]
          }
        },
        "required": [],
        "type": "object"
      },
      "name": "get_result"
    },
    {
      "description": "Backtests a trading rule on this server's price history: one backtesting.py Strategy class, one symbol, one bar size, in a study. Use it to test, backtest or evaluate a trading rule or strategy, instead of downloading prices or searching the web for results. Returns summary figures (return, drawdown, Sharpe, win rate, trades, a grade, whether it beat buy-and-hold) and the run's trades (when each entered and left, which exit ended it, its side, win or loss), never prices or bars; a figure may be withheld, with the reason. Waits up to 90 s, then answers status \"running\" with a run_id for get_result.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "account_usd": {
            "description": "The starting account, in US dollars.",
            "type": "number"
          },
          "code": {
            "description": "One backtesting.py Strategy class (describe_data has the rules).",
            "maxLength": 50000,
            "type": "string"
          },
          "costs": {
            "description": "The costs: two fractions of the trade value, or a list of costs each in its own unit.",
            "oneOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "commission": {
                    "description": "A fraction of the trade value at entry (0.0005 is 0.05%), charged once per round trip.",
                    "maximum": 0.05,
                    "minimum": 0,
                    "type": "number"
                  },
                  "slippage": {
                    "description": "A fraction of the trade value per fill (entry and exit).",
                    "maximum": 0.05,
                    "minimum": 0,
                    "type": "number"
                  }
                },
                "required": [],
                "type": "object"
              },
              {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "amount": {
                      "description": "The figure in `unit` (0.005 usd_per_share is half a cent a share; 0.1 percent is 0.1%).",
                      "minimum": 0,
                      "type": "number"
                    },
                    "basis": {
                      "description": "per_side: on each fill; round_trip: once for the entry and exit together.",
                      "enum": [
                        "per_side",
                        "round_trip"
                      ],
                      "type": "string"
                    },
                    "side": {
                      "enum": [
                        "commission",
                        "slippage",
                        "spread"
                      ],
                      "type": "string"
                    },
                    "unit": {
                      "description": "usd_per_share on stocks and ETFs; usd_per_ounce on spot gold and silver; pips on currency pairs; percent, bps and usd_per_order (a flat fee per order, such as a broker's fee per order or per lot) on any market.",
                      "enum": [
                        "percent",
                        "bps",
                        "usd_per_share",
                        "usd_per_ounce",
                        "pips",
                        "usd_per_order"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "side",
                    "amount",
                    "unit",
                    "basis"
                  ],
                  "type": "object"
                },
                "maxItems": 6,
                "minItems": 1,
                "type": "array"
              }
            ]
          },
          "label": {
            "description": "A short text shown with the run.",
            "type": "string"
          },
          "stated_rules": {
            "description": "Rules the trades are checked against, one per kind.",
            "items": {
              "oneOf": [
                {
                  "additionalProperties": false,
                  "properties": {
                    "kind": {
                      "const": "no_overnight",
                      "type": "string"
                    }
                  },
                  "required": [
                    "kind"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "kind": {
                      "const": "flat_by",
                      "type": "string"
                    },
                    "time": {
                      "description": "\"HH:MM\", 24-hour.",
                      "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
                      "type": "string"
                    },
                    "tz": {
                      "description": "An IANA time zone (\"America/New_York\"); none is New York.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "kind",
                    "time"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "from": {
                      "description": "\"HH:MM\", 24-hour.",
                      "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
                      "type": "string"
                    },
                    "kind": {
                      "const": "session",
                      "type": "string"
                    },
                    "to": {
                      "description": "\"HH:MM\", 24-hour.",
                      "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
                      "type": "string"
                    },
                    "tz": {
                      "description": "An IANA time zone (\"America/New_York\"); none is New York.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "kind",
                    "from",
                    "to"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "kind": {
                      "const": "max_trades_per_day",
                      "type": "string"
                    },
                    "n": {
                      "maximum": 10,
                      "minimum": 1,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "kind",
                    "n"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "kind": {
                      "const": "risk_per_trade_pct",
                      "type": "string"
                    },
                    "pct": {
                      "description": "A percent as written: 0.5 is 0.5%.",
                      "exclusiveMinimum": 0,
                      "maximum": 10,
                      "type": "number"
                    }
                  },
                  "required": [
                    "kind",
                    "pct"
                  ],
                  "type": "object"
                }
              ]
            },
            "maxItems": 5,
            "type": "array"
          },
          "study_id": {
            "description": "The id create_study returned.",
            "type": "string"
          },
          "symbol": {
            "description": "One ticker (\"QQQ\", \"BTCUSD\", \"EURUSD\").",
            "type": "string"
          },
          "timeframe": {
            "enum": [
              "1m",
              "5m",
              "15m",
              "30m",
              "1h",
              "4h",
              "1d"
            ],
            "type": "string"
          },
          "window": {
            "description": "Dates ({from, to}; `to` may be \"latest\") or the last N days, months or years ({last: {n, unit}}). Left out: the standard history, the newest bars counted back from the newest bar, cut at the start of the hold-out.",
            "oneOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "from": {
                    "description": "A day, YYYY-MM-DD.",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "type": "string"
                  },
                  "to": {
                    "anyOf": [
                      {
                        "description": "A day, YYYY-MM-DD.",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "type": "string"
                      },
                      {
                        "const": "latest",
                        "type": "string"
                      }
                    ]
                  }
                },
                "required": [],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "last": {
                    "additionalProperties": false,
                    "properties": {
                      "n": {
                        "minimum": 1,
                        "type": "integer"
                      },
                      "unit": {
                        "enum": [
                          "days",
                          "months",
                          "years"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "n",
                      "unit"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "last"
                ],
                "type": "object"
              }
            ]
          }
        },
        "required": [
          "study_id",
          "code",
          "symbol",
          "timeframe"
        ],
        "type": "object"
      },
      "name": "run_backtest"
    },
    {
      "description": "The final out-of-sample check: runs a finished run's exact code once over its study's hold-out period. Call it at the end, on the run you would keep: the first held-out test per account and market is the one that counts, and a hold-out with too few trades for figures (a result needs 10) spends it all the same: each development run says how many trades the hold-out is expected to hold, in `hold_out_estimate`.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "run_id": {
            "description": "A run of a study with a hold-out, which ran.",
            "type": "string"
          }
        },
        "required": [
          "run_id"
        ],
        "type": "object"
      },
      "name": "run_held_out_test"
    }
  ]
}

What the leaf hashes

{"body":"cbaf90c039fafdcaac7b578ca11ad571a9f7795b4330343f73a10df37934d998","id":1056470,"kind":"mcp.tools","method":"probe.mcp/1","observed_us":1793316321985597,"prev":null,"subject":"534b6a70-3e77-4c9c-bb07-ef46c114fce2","subject_kind":"endpoint"}

Proof

Fold these into the leaf in order, hashing each sorted pair with keccak256, to reach the root of (242798 rows).

  1. 0xbe3abc5de9942a390a4f89443838764a2f22d4e8a734ca3b97648d4228f0ca68
  2. 0x7977d07adfbcbad54606da03ed9f4c2c9f83695828a241f3f76886e62169db8b
  3. 0xe5f3dff916ef67fa371d90a258e888428d30f0ecc0825ee8b17e8f710ab926e8
  4. 0xc7aff0f57f14f33c9ee31605814f7c4cc2d859afb9478a4f6888358f3508df00
  5. 0x301bc0d0f35264bfed7d7714618cf714a1b66ecd301093c4c356be917712be59
  6. 0x3ace084653263b9aed6d9bd0424233a910be032d87089d183a8777a5f2f5263d
  7. 0x2304c2c6a3faa52b6d72d557fd4088f6f7ad616d2296200f94239833392b2052
  8. 0x8b7138514187b627e55b88ac995b5842beb1d6728c55174daa86d4627cc574fd
  9. 0x6cfccb4993684d4bdcbe4baf0d3106aba7d6c6581b6806b36ad9d3b2943f6985
  10. 0x5fbf451f958325ac12162f028547b6b40d1fe59d3c8408a5de3c3142b0db7262
  11. 0x07865d3681bf0705ed923ba20d598e93a5dd1497e1774c591c714df49f7e1ae9
  12. 0xc0c004cfa2b8fd39c94166ca1d710794218bd643be053ea4405ef8ed2df3dc60
  13. 0x855b0c7846554d66c3c7ea55cacc771607f9f991cc0c6e60b0c560e5e253a4e0
  14. 0x104600713bd70fcbdf137fa07f8136bb6c252c890776bc7cbd7b194271f8b93a
  15. 0x4e4f8f228a3b7a38299ec6f2b1967c6cf4de15fdd9dc0d200e691266e51ef99d
  16. 0xef5d5572aac8f06b61579b7167b369fcb479d9027d4037dc9cacff9e3a26ffd2
  17. 0xa1fa2e97e71ad6e802f325afd74bb7095901f2060529c9739182a1233f8804bc
  18. 0xe01539ac4c9f9cdf265a9e5c6d99c8da11e70ff0c7175fb23e402d33b9d79785
Day root
0xc050555c6b023f2aefb6536efb9f0760b92c30a0d06c572b7daf63db259ea17c
Chained
0x4cde8bae2042512e1bec11650628f0293556311cc4ea74d99ffddf02b671a7d6
Published
On Arc Testnet, block 69753317: 0x9e85c340732f416e431b111fae72f7624870125f7f379af2732eb6c2ba8cf6a1

How to check it · This row as JSON