TradingPal · JSON-LD Context

Tradingpal Io Context

JSON-LD context defining the semantic vocabulary for Tradingpal Io from TradingPal.

21 Classes 116 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
tradingpal: https://tradingpal.io/schema#

Classes

StatBlock Setup ScanSetup HistoryRow SimilarRecord Similar Scan Error Me Tickers Patterns History Families Family FilterTrackRecord Universe DemoIndex Index Key Keys KeyRevoked

Properties

Property Type Container
scope string
family string
symbol string
win_rate_pct decimal
sample_size integer
wins integer
losses integer
avg_win_pct decimal
avg_loss_pct decimal
median_win_pct decimal
avg_trade_pct decimal
avg_r decimal
expected_r decimal
profit_factor decimal
avg_hold_bars decimal
backtest_range list
measured string
summary string
setup_id string
lineage_id string
page_url string
interval string
family_label string
pattern_type string
direction string
status string
pattern_start date
pattern_end date
as_of_session date
last_close decimal
price_scale string
lines
trigger_rule string
edge_filter
plans list
track_record
entered
rank integer
expected_gain_pct decimal
win_rate_trades integer
distance_to_trigger_pct decimal
outcome string
entry_date date
entry_price decimal
stop_price decimal
target_price decimal
exit_date date
exit_price decimal
realized_move_pct decimal
target_move_pct decimal
r_multiple decimal
unrealized_r decimal
hold_bars integer
attempt
count integer
avg_return_pct decimal
locked boolean
floor
api_version string
data_version string
source
disclaimer string
trigger_price decimal
available boolean
similar_trades reference
matches list
searched_session string
through string
filters
sort string
limit integer
offset integer
setups list
error string
message string
fix string
docs_url reference
details
key
plan string
limits
tracked_ticker_count integer
mcp_url reference
tickers list
cap integer
account
reason string
stock_facts
demo boolean
next string
occurrences list
total integer
families list
label string
edge
matched_trades integer
too_few boolean
minimum_trades integer
unfiltered reference
note string
symbols list
patterns_url string
chart_url string
name string
description string
llms_txt reference
openapi reference
skill reference
auth
mcp
id integer
prefix string
created_at dateTime
last_used_at dateTime
keys list
revoked_at dateTime

JSON-LD Document

Raw ↑
{
  "@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"
  ]
}