Syntax
Public Function CloseHedge(Ticket1 As Long, Ticket2 As Long, AccountID As Long, Lots As Decimal) As String
Description
The CloseHedge is used to close 2 Position by hedge, that’s belongs to the given account number.
Request Parameters
| Name | Description | Required |
| Ticket1 |
|
Yes |
| Ticket2 |
|
Yes |
| AccountID |
|
Yes |
| Lots |
|
Yes |
Response Elements
| Name | Description |
| Result | The operation returns the deleted ticket number in case of success, otherwise, an explicit error code is returned |
See Also