---
title: "Record Exit Trade"
method: POST
path: "/api/smart-alerts/subscriptions/{subscription_id}/exit-trade"
tags: ["smart-alerts", "trading-ideas"]
---

# Record Exit Trade

`POST /api/smart-alerts/subscriptions/{subscription_id}/exit-trade`

## Request

- Base URL: `https://marketcrew.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://marketcrew.ai/api/smart-alerts/subscriptions/{subscription_id}/exit-trade`
- Auth: HTTP bearer

Record an exit (sell) trade for a trading idea subscription

Used when idea is completed and user wants to record their sell trade.

Required:
- portfolio_id: Portfolio to record trade in
- quantity: Number of shares sold
- price: Exit price

Optional:
- trade_date: Date of trade (defaults to today)

## Path parameters

- `subscription_id` string, required

## Request body

- object

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/marketcrew/apis/cappilot.md) · [All operations](https://skmtc.dev/marketcrew/apis/cappilot/llms.txt) · [OpenAPI document](https://skmtc.dev/marketcrew/apis/cappilot/revisions/7036e9c74d40?raw)
