Syntax
Public Function UpdatePosition (AccountID As Long, TicketID As Integer, Lot As Double, Price As Double, BuySell As Integer, Interest As Double, Optional Note As String = "", Optional UserDefinedDate As String = "") As String
Description
The UpdatePosition operation is used to edit the given position number which belongs to the given account number.
Request Parameters
Name | Description | Required |
AccountID |
|
Yes |
TicketID |
|
Yes |
Lot |
|
Yes |
Price |
|
Yes |
BuySell |
|
Yes |
Interest |
|
Yes |
Note |
|
No |
UserDefinedDate |
|
No |
Response Elements
Name | Description |
Result | The operation returns the updated position ticket number in case of success, otherwise, an explicit error code is returned |
See Also