Syntax
NewLimitOrder (AccountId As Long , SymbolIDAs Long , LimitType As Long , Price As decimal, Lots As decimal, SL As decimal,TP As decimal, Optional Note As String = "")
Description
The NewLimitOrder operation makes a new limit / Stop order for the given account at a specific price.
Request Parameters
| Name | Description | Required |
| AccountId |
|
Yes |
| SymbolID |
|
Yes |
| LimitType |
|
Yes |
| Price |
|
Yes |
| Lots |
|
Yes |
| SL |
|
No |
| TP |
|
No |
| Note |
|
No |
Response Elements
| Name | Description |
| Result | This operation returns the new order Identifier in case of success Otherwise see error codes. Type: String as a JSON object. |
See Also