How can current value of the book (net liquidation value) be queried over API? Need it after the market is closed to compute next days position. In the API doc's, this is not clear.
How can current value of the book (net liquidation value) be queried over API? Need it after the market is closed to compute next days position. In the API doc's, this is not clear.
@qcap17: the "value" field will show you the account's value (e.g. $1,000,000)
Tutorial here for C#:https://developers.refinitiv.com/en/api-catalog/transactions/redi-api/tutorials#monitor-positions-in-c-hash
Our Github repository has a VB example as well (“Position Monitor”):https://github.com/TR-API-Samples/Example.REDI.VB.ExcelExamples
still not clear.
Let me explain another way:
Sometime after the market closes, there is an algorithmically generated request that goes to REDI and returns the net liquidation value of the account and all open positions. These are used in computations resulting in a list of algorithmically generated tickets for the following day. Per the C# tutorial and the GitHub repository, this is not clear. Then the VB example suggests manual steps which we are trying to avoid.
The options in the API docs are: BuyingPower, LongValue, NetValue, ShortValue.
I'm assuming it's NetValue I'm after, but what would be the correct way to do it in either VB or C#?
@qcap17 setting "Value" in VB (Excel) returns the net value. Can you try that?
e.g.
account A's value = $500
account B's value - -$100
"value" is $400