Incorrect calculations for Tags PnL in console

diptesh1ce3
I have been tagging every order I place since last few months. When I checked PnL for each tag, I see that calculations are very worng.

It seems zerodha find PnL for particular instrument_token symbol and add all the PnL for that symbol to all tags which had order on that symbol.


For example, for symbol BANKNIFTY__XX_41000CE I made loss of 100 Rs today with tag A and tomorrow I made profit of 200 Rs with tag B

Tag A and B both will show 100 Rs net profit, which is incorrect :neutral:

Keep in mind that, I do add tag for each entry and exit so complete PnL can be calculated for that tag.
Tagged:
  • rakeshr
    I have been tagging every order I place since last few months. When I checked PnL for each tag, I see that the calculations are very wrong.
    Do you mean adding a tag while placing an order? Those tags won't be reflected in the console. Console tag is independent of the order placement tag.
    For non-API related queries, you can write here.
Sign In or Register to comment.