Skip to Content
Finkhoz
Baskets

Basket exited positions

GET
/v1/baskets/{id}/closed-positions

Stocks sold from the basket, newest first.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Your partner API key, e.g. Authorization: Bearer fk_live_...

Path Parameters

id*string

Basket ID (UUID), from the basket list. A malformed ID returns 400; an unknown or private basket returns 404.

Formatuuid

Response Body

Exited positions.

application/json
  1. response
status?string
data?array<>
Example Request
curl -X GET 'https://api.finkhoz.com/platform/v1/baskets/497f6eca-6276-4993-bfeb-53cbbbba6f08/closed-positions'
Example Response
{  "status": "string",  "data": [    {      "basket_id": "a1ca1a4a-65c0-4d9c-b3cc-7125bf0e9a09",      "co_code": 0,      "name": "string",      "nse_code": "string",      "avg_buy_price": 0,      "sell_quantity": 0,      "sell_price": 0,      "realized_gain": 0,      "sell_date": "string",      "exchange": "string",      "token": "string",      "trading_symbol": "string"    }  ]}