It looks like you're new here. If you want to get involved, click one of these buttons!
Node JS client
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
What is the difference in the keys: net and day in kite.positions()
When I use kite.positions() it sends a dictionary that contains two keys: net and day. each key has a value which is list.
Can you please tell me what exactly is the difference between these two key values? Do they contain only open positions or holdings too?
Thanks in advance
edited August 2022
You should read the documentation:
"The positions API returns two sets of positions, net and day. net is the actual, current net position portfolio, while day is a snapshot of the buying and selling activity for that particular day. This is useful for computing intraday profits and losses for trading strategies."