question

Upvotes
Accepted
1 1 4 7

Extract PnL via REDI API

Hi,

I am currently using Redi plus and I want to extract daily pnl from my account. Is there a way to do that? It would be better if I can do it via python? But other language is also OK.

pythonapiauthenticationredi-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@pinzhang.wang

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the most appropriate reply.

If you have already known an answer, please share your answer, and then accept it. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

@pinzhang.wang
Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
-AHS

1 Answer

· Write an Answer
Upvotes
Accepted
32.2k 40 11 20

Hello @pinzhang.wang,

Please refer to REDI API Spec, search for "PnL".

Should find PnL data subscription:

rtnVal = obj.AddWatch(2,“IBM”,“ACCT”,err)  

Does it help?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.