Navigation

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

    MTM Position

    General Discussion
    0
    5
    47
    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.
    • C
      Cyriac last edited by

      Hello Admin,
      Can you advise on how to get the MTM (Live PnL) of an Intraday position?

      I am using the Python SDK and have seen the "Get Position" command. Though this does not return the MTM specifically.

      Thank you in advance.

      Cyriac

      C A 2 Replies Last reply Reply Quote 0
      • C
        Cyriac @Cyriac last edited by

        @admin Please Help.

        Thank You

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

          @Cyriac said in MTM Position:

          Hello Admin,
          Can you advise on how to get the MTM (Live PnL) of an Intraday position?

          I am using the Python SDK and have seen the "Get Position" command. Though this does not return the MTM specifically.

          Thank you in advance.

          Cyriac

          you need to keep a mapping of your positions and compare it with real time prices to calculate pnl.

          C 1 Reply Last reply Reply Quote 0
          • C
            Cyriac @admin last edited by

            @admin Any chance there is some sample code for this?

            Thanks

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

              @Cyriac
              As this is the user specific requirement you need to connect with your own software team.

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