Syntax
Public Function ManualNewLimit (AccountID As Long, LimitType As long, SymbolID As long, Lot As decimal, AtPrice As decimal, Optional SL As String = "", Optional TP As String = "", Optional Note As String = "") As String
Description
The ManualNewLimit operation is used to open new entry order for the given account number on the specific given price.
Request Parameters
| Name | Description | Required |
| AccountID |
|
Yes |
| LimitType |
|
Yes |
| SymbolID |
|
Yes |
| Lot |
|
Yes |
| AtPrice |
|
Yes |
| SL |
|
No |
| TP |
|
No |
| Note |
|
No |
Response Elements
| Name | Description |
| Result | The operation returns the new order number in case of success, otherwise, an explicit error code is returned |
See Also