Skip to content

[QUESTION]: How can I calculate PnL for closed options positions #810

@samballa07

Description

@samballa07

Is there an existing issue for this?

  • I have searched the existing issues

What is your question?

For context, I am speaking from the standpoint of selling options. There doesnt seem to be an api to retrieve PnL for closed covered call positions. Answers online say we must do a calculation based on the Activities API but there is no standardized answer. It feels a bit awkward to calculate this ourselves so I was wondering if the team has explored providing this for free. My question is two-fold:

  1. Is there a standardized way we can achieve this that reliably accounts for expirations, fees, etc.. after the position is closed.
  2. Is this something we can add to the SDK API as some kind of helper utility?

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions