side: "sell" with the holding and optionally the number of units (default: everything):
Request
Response (sandbox)
What the fields mean
amounton a sell is the indicative value at creation: units times the bid price, or units times the price paid when there is no bid.proceedsis what was actually credited, known at completion.customeris inherited from the holding’s original buy.
Rules
- Units are reserved while the sell is pending: a second sell can only take what is left (
400 units_unavailablewithavailableandrequested). - Live sells wait in
pending_fulfilmentwhile Ladder redeems; cancel or rejection releases the units and moves no money. - Completion credits
sell_proceedsto the wallet exactly once and shrinks or closes the holding (status: closedwhen nothing is left). - Selling needs an
activeholding (409 holding_not_active) that is yours (404 holding_not_found). - A sell never consumes the investment’s partner allocation.
GET /orders?side=sell lists them separately from buys.