Fetch net open positions across all products and exchanges for the logged-in account.
Overview
Returns the current position book for the logged-in account — day and carry-forward buy/sell quantities, average prices, last traded price, and realized/unrealized P&L for every open or squared-off position for the trading day.
Purpose
Use this to build a live positions dashboard, compute portfolio-level MTM, or check net exposure per symbol before placing further orders.
Parameters
Field
Type
Required
Description
uid
string
required
User ID of the logged-in account.
actid
string
required
Account ID to fetch positions for (usually same as uid).
Session expired or invalid session key — re-authenticate via OAuth.
[]
No open or day positions. An empty array is a valid response, not an error.
Best practices
Poll on a reasonable interval — this is a snapshot endpoint, not a stream. Use WebSocket order/position updates for real-time changes.
netqty of "0" with non-zero rpnl means the position was fully squared off during the day — don't filter these out if you're computing realized P&L.
urmtom (unrealized MTM) only reflects open positions; combine with rpnl for total day P&L.
Python example
python
positions = api.get_positions()
for p in positions:
print(p['tsym'], p['netqty'], p['rpnl'])
Notes
Field names are abbreviated per the Noren protocol (rpnl = realized P&L, urmtom = unrealized MTM, cf = carry-forward). Use Product Conversion to move a position between intraday and delivery products without squaring off and re-entering.
Overview
Returns the current position book for the logged-in account — day and carry-forward buy/sell quantities, average prices, last traded price, and realized/unrealized P&L for every open or squared-off position for the trading day.
Purpose
Use this to build a live positions dashboard, compute portfolio-level MTM, or check net exposure per symbol before placing further orders.
Parameters
Request example
Response example
Error handling
Best practices
netqtyof"0"with non-zerorpnlmeans the position was fully squared off during the day — don't filter these out if you're computing realized P&L.urmtom(unrealized MTM) only reflects open positions; combine withrpnlfor total day P&L.Python example
Notes
Field names are abbreviated per the Noren protocol (
rpnl= realized P&L,urmtom= unrealized MTM,cf= carry-forward). Use Product Conversion to move a position between intraday and delivery products without squaring off and re-entering.