Baskets
Basket exited positions
GET
Stocks sold from the basket, newest first.
bearerAuthheader
AuthorizationBearer <token>Your partner API key, e.g. Authorization: Bearer fk_live_...
id*stringBasket ID (UUID), from the basket list. A malformed ID returns 400; an unknown or private basket returns 404.
Format
uuidExited positions.
application/json- response
status?stringdata?array<>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" } ]}