Purpose: Cursor-paginated bulk export of the prediction -> trade -> outcome chain —
paper trades with realized P&L, each linked (best-effort, same-symbol 2h window)
to the signal prediction that preceded entry. Built for pipeline consumers who
need offline backtesting data, not conversational snippets.
Triggers: "give me your full trade history for backtesting", "bulk export trades",
"예측이 실제 매매 성과로 이어졌는지 원데이터로 검증하고 싶다", "download outcomes".
When to call: offline verification, periodic ingestion into a research pipeline,
or auditing whether signals translate into realized outcomes.
Prerequisites: none. For the prediction ledger itself use get_resolved_predictions.
Next steps: follow next_cursor until has_more=false; get_resolved_predictions to
cross-check linked predictions against the tamper-evident ledger.
Caveats: linkage is temporal matching, NOT a foreign key (see meta.linkage).
Paper trading only — envelope carries the standard disclaimer once per page.
Output: full_data { market, trades[] {id, symbol, action, entry/exit price+ts,
profit_loss_pct, holding_duration, entry_signal_score, regime fields,
policy_version, sizing fields, linked_prediction{...}|null}, count,
linked_prediction_count, next_cursor, has_more, meta }.
Args:
market: "crypto" (default) / "kr_stock" / "us_stock"
cursor: last trade id from previous page (0 = start)
limit: page size (max 500)
days: exit-time window in days (max 120)
Disclaimer: Information only, not investment advice.