Syntax
GetOrderPL (AccountID As Long , PositionID as Long )
Description
The GetOrderPL operation is used to get a Position Profit/Loss at request time for a specific Position ID that belongs to a specific account.
Request Parameters
Name | Description | Required |
AccountID |
|
Yes |
PositionID |
|
Yes |
Response Elements
Name | Description |
Result | In case of success, this operation returns the position Profit/Loss value Otherwise see Error codes.
Type: decimal. |
See Also