{
  "@context": {
    "@vocab": "https://tradingpal.io/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "tradingpal": "https://tradingpal.io/schema#",
    "StatBlock": "tradingpal:StatBlock",
    "scope": {
      "@id": "tradingpal:scope",
      "@type": "xsd:string"
    },
    "family": {
      "@id": "tradingpal:family",
      "@type": "xsd:string"
    },
    "symbol": {
      "@id": "tradingpal:symbol",
      "@type": "xsd:string"
    },
    "win_rate_pct": {
      "@id": "tradingpal:win_rate_pct",
      "@type": "xsd:decimal"
    },
    "sample_size": {
      "@id": "tradingpal:sample_size",
      "@type": "xsd:integer"
    },
    "wins": {
      "@id": "tradingpal:wins",
      "@type": "xsd:integer"
    },
    "losses": {
      "@id": "tradingpal:losses",
      "@type": "xsd:integer"
    },
    "avg_win_pct": {
      "@id": "tradingpal:avg_win_pct",
      "@type": "xsd:decimal"
    },
    "avg_loss_pct": {
      "@id": "tradingpal:avg_loss_pct",
      "@type": "xsd:decimal"
    },
    "median_win_pct": {
      "@id": "tradingpal:median_win_pct",
      "@type": "xsd:decimal"
    },
    "avg_trade_pct": {
      "@id": "tradingpal:avg_trade_pct",
      "@type": "xsd:decimal"
    },
    "avg_r": {
      "@id": "tradingpal:avg_r",
      "@type": "xsd:decimal"
    },
    "expected_r": {
      "@id": "tradingpal:expected_r",
      "@type": "xsd:decimal"
    },
    "profit_factor": {
      "@id": "tradingpal:profit_factor",
      "@type": "xsd:decimal"
    },
    "avg_hold_bars": {
      "@id": "tradingpal:avg_hold_bars",
      "@type": "xsd:decimal"
    },
    "backtest_range": {
      "@id": "tradingpal:backtest_range",
      "@container": "@list"
    },
    "measured": {
      "@id": "tradingpal:measured",
      "@type": "xsd:string"
    },
    "summary": {
      "@id": "tradingpal:summary",
      "@type": "xsd:string"
    },
    "Setup": "tradingpal:Setup",
    "setup_id": {
      "@id": "tradingpal:setup_id",
      "@type": "xsd:string"
    },
    "lineage_id": {
      "@id": "tradingpal:lineage_id",
      "@type": "xsd:string"
    },
    "page_url": {
      "@id": "tradingpal:page_url",
      "@type": "xsd:string"
    },
    "interval": {
      "@id": "tradingpal:interval",
      "@type": "xsd:string"
    },
    "family_label": {
      "@id": "tradingpal:family_label",
      "@type": "xsd:string"
    },
    "pattern_type": {
      "@id": "tradingpal:pattern_type",
      "@type": "xsd:string"
    },
    "direction": {
      "@id": "tradingpal:direction",
      "@type": "xsd:string"
    },
    "status": {
      "@id": "tradingpal:status",
      "@type": "xsd:string"
    },
    "pattern_start": {
      "@id": "tradingpal:pattern_start",
      "@type": "xsd:date"
    },
    "pattern_end": {
      "@id": "tradingpal:pattern_end",
      "@type": "xsd:date"
    },
    "as_of_session": {
      "@id": "tradingpal:as_of_session",
      "@type": "xsd:date"
    },
    "last_close": {
      "@id": "tradingpal:last_close",
      "@type": "xsd:decimal"
    },
    "price_scale": {
      "@id": "tradingpal:price_scale",
      "@type": "xsd:string"
    },
    "lines": {
      "@id": "tradingpal:lines"
    },
    "trigger_rule": {
      "@id": "tradingpal:trigger_rule",
      "@type": "xsd:string"
    },
    "edge_filter": {
      "@id": "tradingpal:edge_filter"
    },
    "plans": {
      "@id": "tradingpal:plans",
      "@container": "@list"
    },
    "track_record": {
      "@id": "tradingpal:track_record"
    },
    "entered": {
      "@id": "tradingpal:entered"
    },
    "ScanSetup": "tradingpal:ScanSetup",
    "rank": {
      "@id": "tradingpal:rank",
      "@type": "xsd:integer"
    },
    "expected_gain_pct": {
      "@id": "tradingpal:expected_gain_pct",
      "@type": "xsd:decimal"
    },
    "win_rate_trades": {
      "@id": "tradingpal:win_rate_trades",
      "@type": "xsd:integer"
    },
    "distance_to_trigger_pct": {
      "@id": "tradingpal:distance_to_trigger_pct",
      "@type": "xsd:decimal"
    },
    "HistoryRow": "tradingpal:HistoryRow",
    "outcome": {
      "@id": "tradingpal:outcome",
      "@type": "xsd:string"
    },
    "entry_date": {
      "@id": "tradingpal:entry_date",
      "@type": "xsd:date"
    },
    "entry_price": {
      "@id": "tradingpal:entry_price",
      "@type": "xsd:decimal"
    },
    "stop_price": {
      "@id": "tradingpal:stop_price",
      "@type": "xsd:decimal"
    },
    "target_price": {
      "@id": "tradingpal:target_price",
      "@type": "xsd:decimal"
    },
    "exit_date": {
      "@id": "tradingpal:exit_date",
      "@type": "xsd:date"
    },
    "exit_price": {
      "@id": "tradingpal:exit_price",
      "@type": "xsd:decimal"
    },
    "realized_move_pct": {
      "@id": "tradingpal:realized_move_pct",
      "@type": "xsd:decimal"
    },
    "target_move_pct": {
      "@id": "tradingpal:target_move_pct",
      "@type": "xsd:decimal"
    },
    "r_multiple": {
      "@id": "tradingpal:r_multiple",
      "@type": "xsd:decimal"
    },
    "unrealized_r": {
      "@id": "tradingpal:unrealized_r",
      "@type": "xsd:decimal"
    },
    "hold_bars": {
      "@id": "tradingpal:hold_bars",
      "@type": "xsd:integer"
    },
    "attempt": {
      "@id": "tradingpal:attempt"
    },
    "SimilarRecord": "tradingpal:SimilarRecord",
    "count": {
      "@id": "tradingpal:count",
      "@type": "xsd:integer"
    },
    "avg_return_pct": {
      "@id": "tradingpal:avg_return_pct",
      "@type": "xsd:decimal"
    },
    "locked": {
      "@id": "tradingpal:locked",
      "@type": "xsd:boolean"
    },
    "floor": {
      "@id": "tradingpal:floor"
    },
    "Similar": "tradingpal:Similar",
    "api_version": {
      "@id": "tradingpal:api_version",
      "@type": "xsd:string"
    },
    "data_version": {
      "@id": "tradingpal:data_version",
      "@type": "xsd:string"
    },
    "source": {
      "@id": "tradingpal:source"
    },
    "disclaimer": {
      "@id": "tradingpal:disclaimer",
      "@type": "xsd:string"
    },
    "trigger_price": {
      "@id": "tradingpal:trigger_price",
      "@type": "xsd:decimal"
    },
    "available": {
      "@id": "tradingpal:available",
      "@type": "xsd:boolean"
    },
    "similar_trades": {
      "@id": "tradingpal:similar_trades",
      "@type": "@id"
    },
    "matches": {
      "@id": "tradingpal:matches",
      "@container": "@list"
    },
    "searched_session": {
      "@id": "tradingpal:searched_session",
      "@type": "xsd:string"
    },
    "through": {
      "@id": "tradingpal:through",
      "@type": "xsd:string"
    },
    "Scan": "tradingpal:Scan",
    "filters": {
      "@id": "tradingpal:filters"
    },
    "sort": {
      "@id": "tradingpal:sort",
      "@type": "xsd:string"
    },
    "limit": {
      "@id": "tradingpal:limit",
      "@type": "xsd:integer"
    },
    "offset": {
      "@id": "tradingpal:offset",
      "@type": "xsd:integer"
    },
    "setups": {
      "@id": "tradingpal:setups",
      "@container": "@list"
    },
    "Error": "tradingpal:Error",
    "error": {
      "@id": "tradingpal:error",
      "@type": "xsd:string"
    },
    "message": {
      "@id": "tradingpal:message",
      "@type": "xsd:string"
    },
    "fix": {
      "@id": "tradingpal:fix",
      "@type": "xsd:string"
    },
    "docs_url": {
      "@id": "tradingpal:docs_url",
      "@type": "@id"
    },
    "details": {
      "@id": "tradingpal:details"
    },
    "Me": "tradingpal:Me",
    "key": {
      "@id": "tradingpal:key"
    },
    "plan": {
      "@id": "tradingpal:plan",
      "@type": "xsd:string"
    },
    "limits": {
      "@id": "tradingpal:limits"
    },
    "tracked_ticker_count": {
      "@id": "tradingpal:tracked_ticker_count",
      "@type": "xsd:integer"
    },
    "mcp_url": {
      "@id": "tradingpal:mcp_url",
      "@type": "@id"
    },
    "Tickers": "tradingpal:Tickers",
    "tickers": {
      "@id": "tradingpal:tickers",
      "@container": "@list"
    },
    "cap": {
      "@id": "tradingpal:cap",
      "@type": "xsd:integer"
    },
    "account": {
      "@id": "tradingpal:account"
    },
    "Patterns": "tradingpal:Patterns",
    "reason": {
      "@id": "tradingpal:reason",
      "@type": "xsd:string"
    },
    "stock_facts": {
      "@id": "tradingpal:stock_facts"
    },
    "demo": {
      "@id": "tradingpal:demo",
      "@type": "xsd:boolean"
    },
    "next": {
      "@id": "tradingpal:next",
      "@type": "xsd:string"
    },
    "History": "tradingpal:History",
    "occurrences": {
      "@id": "tradingpal:occurrences",
      "@container": "@list"
    },
    "total": {
      "@id": "tradingpal:total",
      "@type": "xsd:integer"
    },
    "Families": "tradingpal:Families",
    "families": {
      "@id": "tradingpal:families",
      "@container": "@list"
    },
    "Family": "tradingpal:Family",
    "label": {
      "@id": "tradingpal:label",
      "@type": "xsd:string"
    },
    "FilterTrackRecord": "tradingpal:FilterTrackRecord",
    "edge": {
      "@id": "tradingpal:edge"
    },
    "matched_trades": {
      "@id": "tradingpal:matched_trades",
      "@type": "xsd:integer"
    },
    "too_few": {
      "@id": "tradingpal:too_few",
      "@type": "xsd:boolean"
    },
    "minimum_trades": {
      "@id": "tradingpal:minimum_trades",
      "@type": "xsd:integer"
    },
    "unfiltered": {
      "@id": "tradingpal:unfiltered",
      "@type": "@id"
    },
    "note": {
      "@id": "tradingpal:note",
      "@type": "xsd:string"
    },
    "Universe": "tradingpal:Universe",
    "symbols": {
      "@id": "tradingpal:symbols",
      "@container": "@list"
    },
    "DemoIndex": "tradingpal:DemoIndex",
    "patterns_url": {
      "@id": "tradingpal:patterns_url",
      "@type": "xsd:string"
    },
    "chart_url": {
      "@id": "tradingpal:chart_url",
      "@type": "xsd:string"
    },
    "Index": "tradingpal:Index",
    "name": {
      "@id": "tradingpal:name",
      "@type": "xsd:string"
    },
    "description": {
      "@id": "tradingpal:description",
      "@type": "xsd:string"
    },
    "llms_txt": {
      "@id": "tradingpal:llms_txt",
      "@type": "@id"
    },
    "openapi": {
      "@id": "tradingpal:openapi",
      "@type": "@id"
    },
    "skill": {
      "@id": "tradingpal:skill",
      "@type": "@id"
    },
    "auth": {
      "@id": "tradingpal:auth"
    },
    "mcp": {
      "@id": "tradingpal:mcp"
    },
    "Key": "tradingpal:Key",
    "id": {
      "@id": "tradingpal:id",
      "@type": "xsd:integer"
    },
    "prefix": {
      "@id": "tradingpal:prefix",
      "@type": "xsd:string"
    },
    "created_at": {
      "@id": "tradingpal:created_at",
      "@type": "xsd:dateTime"
    },
    "last_used_at": {
      "@id": "tradingpal:last_used_at",
      "@type": "xsd:dateTime"
    },
    "Keys": "tradingpal:Keys",
    "keys": {
      "@id": "tradingpal:keys",
      "@container": "@list"
    },
    "KeyRevoked": "tradingpal:KeyRevoked",
    "revoked_at": {
      "@id": "tradingpal:revoked_at",
      "@type": "xsd:dateTime"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "TradingPal API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects TradingPal's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-27) from openapi/tradingpal-io-openapi.json.",
  "dcterms:created": "2026-11-27",
  "dcterms:source": [
    "openapi/tradingpal-io-openapi.json"
  ]
}