NewOrder( AccountId As Long, SymbolID As Long, BuySell As Long, Lots As decimal, Optional Note As String )
The NewOrder operation is used to place a new market order at the specific given account number.
|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|
|Result||This operation returns an order ID in case of success:
Otherwise see error codes.
Type: JSON Object as String array.