Syntax
NewLimitOrder (AccountId As Long , SymID As Integer , LimitType As Integer, Price As Double , Lots As Double , SL As Double ,TP As Double , Optional Note As String = "")
Description
The NewLimitOrder operation is used to replace the new limit / Stop order for the given account at specificprice.
Request Parameters
Name | Description | Required |
AccountId |
|
Yes |
SymID |
|
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. |
Sample
New Limit Order username: password:
AccountId : SymID: LimitType: Price: lots: SL: TP: Note:
See Also