Syntax
UpdateLimitOrder (AccountId As Long , OrderId As Long, Price As Decimal , Lots As Decimal , SL As Decimal , TP As Decimal , Optional Note As String = "")
Description
The UpdateLimitOrder operation is used to update the price, lots, SL, and TP for a given account identifier and order identifier.
Request Parameters
Name | Description | Required |
AccountId |
|
Yes |
OrderId |
|
Yes |
Price |
|
Yes |
lots |
|
Yes |
SL |
|
Yes |
TP |
|
Yes |
Note | Optional. Comment of type string, in order to bypass the auto broker for both real/demo clients you can put the following token#$CHAT$#in the note field. Even if AUTO BROKER is on, with this tag in the comment order will be sent to the dealing room “CHAT SCREEN” and handled by dealers according to the dealing room’s regular configuration. | No |
Response Elements
Name | Description |
Result | In case of success, this operation returns the updated Order Id Otherwise see Error codes. Type: String as a JSON object. |
See Also