Alpha Bazaar · Schema

PnlSummaryResponse

GET /api/performance/pnl-summary

FinanceTradingArtificial IntelligencePaper TradingMarket Data

Properties

Name Type Description
status string
total_signals integer
open_signals integer
closed_signals integer
total_realized_pnl_percent object
total_unrealized_pnl_percent object
avg_return_percent object
win_rate object
wins integer
losses integer
best_trade object
worst_trade object
open_positions array
closed_positions array
View JSON Schema on GitHub

JSON Schema

alphabazaar-ai-pnl-summary-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alphabazaar-ai/json-schema/alphabazaar-ai-pnl-summary-response-schema.json",
  "title": "PnlSummaryResponse",
  "description": "GET /api/performance/pnl-summary",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alphabazaar-ai-openapi.yml#/components/schemas/PnlSummaryResponse",
  "properties": {
    "status": {
      "type": "string",
      "title": "Status"
    },
    "total_signals": {
      "type": "integer",
      "title": "Total Signals"
    },
    "open_signals": {
      "type": "integer",
      "title": "Open Signals"
    },
    "closed_signals": {
      "type": "integer",
      "title": "Closed Signals"
    },
    "total_realized_pnl_percent": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Total Realized Pnl Percent"
    },
    "total_unrealized_pnl_percent": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Total Unrealized Pnl Percent"
    },
    "avg_return_percent": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Avg Return Percent"
    },
    "win_rate": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Win Rate"
    },
    "wins": {
      "type": "integer",
      "title": "Wins",
      "default": 0
    },
    "losses": {
      "type": "integer",
      "title": "Losses",
      "default": 0
    },
    "best_trade": {
      "anyOf": [
        {
          "$ref": "#/$defs/PnlSignalSummary"
        },
        {
          "type": "null"
        }
      ]
    },
    "worst_trade": {
      "anyOf": [
        {
          "$ref": "#/$defs/PnlSignalSummary"
        },
        {
          "type": "null"
        }
      ]
    },
    "open_positions": {
      "items": {
        "$ref": "#/$defs/PnlSignalSummary"
      },
      "type": "array",
      "title": "Open Positions",
      "default": []
    },
    "closed_positions": {
      "items": {
        "$ref": "#/$defs/PnlSignalSummary"
      },
      "type": "array",
      "title": "Closed Positions",
      "default": []
    }
  },
  "type": "object",
  "required": [
    "status",
    "total_signals",
    "open_signals",
    "closed_signals"
  ],
  "$defs": {
    "PnlSignalSummary": {
      "properties": {
        "signal_id": {
          "type": "string",
          "title": "Signal Id"
        },
        "ticker": {
          "type": "string",
          "title": "Ticker"
        },
        "action": {
          "type": "string",
          "title": "Action"
        },
        "entry_price": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Entry Price"
        },
        "exit_price": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Exit Price"
        },
        "current_price": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Current Price"
        },
        "pnl_percent": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Pnl Percent"
        },
        "pnl_dollars": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Pnl Dollars"
        },
        "position_size_percent": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Position Size Percent"
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "close_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Close Reason"
        },
        "opened_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Opened At"
        },
        "closed_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Closed At"
        }
      },
      "type": "object",
      "required": [
        "signal_id",
        "ticker",
        "action",
        "status"
      ],
      "title": "PnlSignalSummary"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/alphabazaar-ai-pnl-summary-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.