Override a trade's average entry price
POST/api/v1/reconciliation/repair/:tradeId/entry-price
Sets the trade's average entry price directly and recomputes entry value and (for trades with a closed side) realised P&L. Used when the broker stored a wrong per-share price and there are no trustworthy entry executions to rebuild from (anomalies A2, A3). Refuses the override when linked executions already agree with the supplied price (use recalculate instead) or when the price is more than 10x the last synced market price.
Request
Responses
- 200
- 400
- 401
- 404
- 409
- 422
- 500
Entry price overridden
Invalid trade ID or request body
Authentication required
Trade not found or access denied
Linked executions already agree with the supplied price
Supplied price is more than 10x the last market price
Server error