Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Which API to get All positions for an option expiry

    General Discussion
    3
    9
    124
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vamseeds last edited by

      Which API we Need to call to get All positions for an option expiry?

      S 1 Reply Last reply Reply Quote 0
      • S
        s4ntosh @vamseeds last edited by

        @vamseeds Can you elaborate more with an example? I didn't get your question.

        A 1 Reply Last reply Reply Quote 0
        • A
          admin @s4ntosh last edited by

          Hi @s4ntosh please frame your question in a proper way we are not able to understand your exact requirement.

          V 1 Reply Last reply Reply Quote 0
          • V
            vamseeds @admin last edited by

            @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).

            S 1 Reply Last reply Reply Quote 0
            • S
              s4ntosh @vamseeds last edited by

              @vamseeds

              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!

              V 1 Reply Last reply Reply Quote 0
              • V
                vamseeds @s4ntosh last edited by vamseeds

                @s4ntosh said in Which API to get All positions for an option expiry:

                Hope that helps!

                @s4ntosh @admin

                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

                A 1 Reply Last reply Reply Quote 0
                • A
                  admin @vamseeds last edited by

                  Dear @vamseeds It an individual requirement you need to maintain your logs for this from your side.

                  V 1 Reply Last reply Reply Quote 0
                  • V
                    vamseeds @admin last edited by

                    @admin Ok thanks for confirmation , is there any api which can provide me all option trades I made . Like getHoldings in case of equities.

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      admin @vamseeds last edited by

                      HI @vamseeds which you made or still active..?

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post