question

Upvotes
Accepted
1 2 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.

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.