Positions
get_positionsFetch current net and day positions with quantities, prices, P&L, and buy/sell totals to review exposure and calculate intraday profit or loss.
Instructions
Short-term positions (derivatives and intraday equity). net is the actual current position book; day
is a snapshot of today's buying and selling, useful for intraday P&L. Each position has tradingsymbol,
exchange, product, quantity, overnight_quantity, multiplier (lot-size multiplier for P&L: 1 for equity and
F&O, the lot size for MCX), average_price, last_price, value, pnl, m2m, unrealised, realised and the
buy / sell / day_buy / day_sell quantity, price and value. A summary per book totals pnl, m2m, unrealised
and realised (INR) and counts the open positions (quantity not 0). Equity positions carried overnight move
to the holdings the next day.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | net: the actual current positions. day: today's buying and selling. both (default) | both |