{
  "x402Version": 2,
  "id": 32768,
  "slug": "32768",
  "resource": "https://agent.pocket.network/v1/backtest-reconcile-v1",
  "description": "Do the claimed backtest numbers follow from the trades? Send a TradingView \"List of trades\" CSV or a JSON trade list with the claimed metrics; get net profit, win rate, profit factor, drawdown and per-trade P&L recomputed, each claim marked MATCH or MISMATCH, and findings such as cost-free backtests. Deterministic, no market data. POST /v1/reconcile.",
  "type": "http",
  "serviceName": "Pocket Network",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1789841442/bazaar-icons/3cd57aad9bac9307.png",
  "resourceType": "Tax",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xF732ea490c5766071785a2310523f7fA2CEbB829",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "data": {
            "description": "POST /v1/reconcile answers a backtest-reconcile/v1 object: verdict, the recomputed metrics, each claim with claimed, recomputed, diff and status, findings with code and severity, counts, and the assumptions used.",
            "type": "object"
          },
          "portal": {
            "properties": {
              "provenance": {
                "const": "third-party-supplier"
              },
              "schemaCheck": {
                "enum": [
                  "passed",
                  "undeclared",
                  "unchecked"
                ]
              },
              "serviceId": {
                "const": "backtest-reconcile-v1"
              }
            },
            "required": [
              "provenance",
              "serviceId",
              "schemaCheck"
            ],
            "type": "object"
          }
        },
        "required": [
          "portal",
          "data"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "single_position": true,
            "tolerance_pct": 0.5
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {},
            "portal": {
              "provenance": "third-party-supplier",
              "schemaCheck": "passed",
              "serviceId": "backtest-reconcile-v1"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "description": "The body of POST /v1/reconcile, up to 2 MiB. Send trades_csv or trades.",
                "properties": {
                  "claimed": {
                    "description": "The claimed metrics to check, any of net_profit, net_profit_pct, gross_profit, gross_loss, total_trades, win_rate, profit_factor, max_drawdown, max_drawdown_pct, avg_trade, largest_win, largest_loss.",
                    "type": "object"
                  },
                  "commission": {
                    "description": "Commission applied to every trade.",
                    "properties": {
                      "type": {
                        "enum": [
                          "percent",
                          "per_contract",
                          "cash_per_order"
                        ],
                        "type": "string"
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "type": "object"
                  },
                  "initial_capital": {
                    "description": "Starting capital for the percentage figures.",
                    "type": "number"
                  },
                  "single_position": {
                    "default": true,
                    "description": "Flag overlapping trades.",
                    "type": "boolean"
                  },
                  "tolerance_pct": {
                    "default": 0.5,
                    "description": "How far a claim may differ, in percent, and still MATCH.",
                    "type": "number"
                  },
                  "trades": {
                    "description": "The trades as a JSON list, in place of trades_csv.",
                    "items": {
                      "properties": {
                        "commission": {
                          "type": "number"
                        },
                        "entry_price": {
                          "type": "number"
                        },
                        "entry_time": {
                          "type": "string"
                        },
                        "exit_price": {
                          "type": "number"
                        },
                        "exit_time": {
                          "type": "string"
                        },
                        "n": {
                          "description": "Trade number."
                        },
                        "qty": {
                          "type": "number"
                        },
                        "reported_pnl": {
                          "type": "number"
                        },
                        "side": {
                          "enum": [
                            "long",
                            "short"
                          ],
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "trades_csv": {
                    "description": "A TradingView Strategy Tester \"List of trades\" CSV export.",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "description": "POST /v1/reconcile answers a backtest-reconcile/v1 object: verdict, the recomputed metrics, each claim with claimed, recomputed, diff and status, findings with code and severity, counts, and the assumptions used.",
                    "type": "object"
                  },
                  "portal": {
                    "properties": {
                      "provenance": {
                        "const": "third-party-supplier"
                      },
                      "schemaCheck": {
                        "enum": [
                          "passed",
                          "undeclared",
                          "unchecked"
                        ]
                      },
                      "serviceId": {
                        "const": "backtest-reconcile-v1"
                      }
                    },
                    "required": [
                      "provenance",
                      "serviceId",
                      "schemaCheck"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "portal",
                  "data"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "finance",
    "backtest-reconcile-v1",
    "rest",
    "bazaar"
  ],
  "sourceHost": "agent.pocket.network",
  "lastUpdated": "2026-10-13T13:12:45.892Z",
  "quality": {
    "calls30d": 40,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T13:12:45.692Z"
  },
  "metadata": {
    "serviceName": "Pocket Network",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1789841442/bazaar-icons/3cd57aad9bac9307.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "single_position": true,
              "tolerance_pct": 0.5
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "data": {},
              "portal": {
                "provenance": "third-party-supplier",
                "schemaCheck": "passed",
                "serviceId": "backtest-reconcile-v1"
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "description": "The body of POST /v1/reconcile, up to 2 MiB. Send trades_csv or trades.",
                  "properties": {
                    "claimed": {
                      "description": "The claimed metrics to check, any of net_profit, net_profit_pct, gross_profit, gross_loss, total_trades, win_rate, profit_factor, max_drawdown, max_drawdown_pct, avg_trade, largest_win, largest_loss.",
                      "type": "object"
                    },
                    "commission": {
                      "description": "Commission applied to every trade.",
                      "properties": {
                        "type": {
                          "enum": [
                            "percent",
                            "per_contract",
                            "cash_per_order"
                          ],
                          "type": "string"
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "type": "object"
                    },
                    "initial_capital": {
                      "description": "Starting capital for the percentage figures.",
                      "type": "number"
                    },
                    "single_position": {
                      "default": true,
                      "description": "Flag overlapping trades.",
                      "type": "boolean"
                    },
                    "tolerance_pct": {
                      "default": 0.5,
                      "description": "How far a claim may differ, in percent, and still MATCH.",
                      "type": "number"
                    },
                    "trades": {
                      "description": "The trades as a JSON list, in place of trades_csv.",
                      "items": {
                        "properties": {
                          "commission": {
                            "type": "number"
                          },
                          "entry_price": {
                            "type": "number"
                          },
                          "entry_time": {
                            "type": "string"
                          },
                          "exit_price": {
                            "type": "number"
                          },
                          "exit_time": {
                            "type": "string"
                          },
                          "n": {
                            "description": "Trade number."
                          },
                          "qty": {
                            "type": "number"
                          },
                          "reported_pnl": {
                            "type": "number"
                          },
                          "side": {
                            "enum": [
                              "long",
                              "short"
                            ],
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "trades_csv": {
                      "description": "A TradingView Strategy Tester \"List of trades\" CSV export.",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "data": {
                      "description": "POST /v1/reconcile answers a backtest-reconcile/v1 object: verdict, the recomputed metrics, each claim with claimed, recomputed, diff and status, findings with code and severity, counts, and the assumptions used.",
                      "type": "object"
                    },
                    "portal": {
                      "properties": {
                        "provenance": {
                          "const": "third-party-supplier"
                        },
                        "schemaCheck": {
                          "enum": [
                            "passed",
                            "undeclared",
                            "unchecked"
                          ]
                        },
                        "serviceId": {
                          "const": "backtest-reconcile-v1"
                        }
                      },
                      "required": [
                        "provenance",
                        "serviceId",
                        "schemaCheck"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "portal",
                    "data"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agent.pocket.network",
    "manifest_name": "agent.pocket.network",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "data": {},
      "portal": {
        "provenance": null,
        "schemaCheck": "passed",
        "serviceId": null
      }
    },
    "type": "string"
  }
}