fb63ebb6977c7c96b25f81e05cd39afbcea0808c
New GET /api/trading/positions/history lists closed plans (entry filled, position back to zero) newest first with before/limit paging. Each row carries the filled quantity, volume-weighted entry and exit prices from the plan's own fills, the close reason and the realized PnL, commission and net from the plan result. The positions panel gets a "历史仓位" button that opens a drawer with the table, a "load earlier" button and links to each plan's analysis.
Languages
Python
69.8%
Vue
18%
TypeScript
11.3%
CSS
0.6%
Shell
0.1%
Other
0.1%