Which API to get All positions for an option expiry
-
Which API we Need to call to get All positions for an option expiry?
-
HI @vamseeds which you made or still active..?
-
@admin Ok thanks for confirmation , is there any api which can provide me all option trades I made . Like getHoldings in case of equities.
-
Dear @vamseeds It an individual requirement you need to maintain your logs for this from your side.
-
@s4ntosh said in Which API to get All positions for an option expiry:
Hope that helps!
Thanks for reiterating... I got that but , I want to know is there anyway to get all positions in my portfolio on that date. To be precise my current day net positions + previous non expired positions
-
https://smartapi.angelbroking.com/docs/Portfolio#position
You can use the above API call to get your positions.
Filter only the net positions to get the carry positions and initiate your next steps accordingly.
Hope that helps!
-
@admin @s4ntosh
I understand trade book will give all trades done in a particular day.
I want to know is there any API which can give trades done in a particular timeframe(Date Range or in last week or last month) with options like Option Expiry Date / with Underlying Asset Value.My intent here is to exit and take Normal (Carry Forward) Option Positions via api . To do this i want to know the open positions available in my trading account (either all or for particular expiry or for particular asset).
-
Hi @s4ntosh please frame your question in a proper way we are not able to understand your exact requirement.
-
@vamseeds Can you elaborate more with an example? I didn't get your question.