Syntax
Function UpdateClosePosition(AccountId As Long, Ticket As Long, lots As Decimal, Price As Decimal, RefAskPrice As Decimal, RefBidPrice As Decimal, Interest As Decimal, Comm As Decimal, Profit As Decimal, UserDefinedDate As String) As String
Description
The UpdateClosePosition operation is used to Update Close Position that related to the account ID.
Request Parameters
| Name | Description | Required |
| AccountId |
|
Yes |
| Ticket |
|
Yes |
| Lots |
|
Yes |
| Price |
|
Yes |
| RefAskPrice |
|
Yes |
| RefBidPrice |
|
Yes |
| Interest |
|
Yes |
| Comm |
|
Yes |
| Profit |
|
Yes |
| UserDefinedDate |
|
Yes |
Response Elements
| Name | Description |
| Result | The operation returns a Ticket ID, otherwise, an explicit error code is returned. |
See Also