• Home
  • Knowledgebase
  • Blog
  • My Account
  • Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • My Account
  • Try VertexFX

VertexFX Client WCF Service

home/Knowledge Base/Technical Support/API/Client API's/VTL/VertexFX Client WCF Service./VertexFX Client WCF Service/NewOrder

NewOrder

99 views 0 Updated on August 28, 2022 hybrid-solutions

Syntax

NewOrder( AccountId As Long, SymbolID As Long, BuySell As Long, Lots As decimal, Optional Note As String )

Description

The NewOrder operation is used to place a new market order at the specific given account number.

Request Parameters

Name Description Required
AccountId
  • The intended account identifier.
  • Type: Long.
  • Default: None.
  • Constraints: Must be a valid account ID, and accessible by a logged-in client.
Yes
SymbolID
  • The identifier of the symbol to palace market order on it.
  • Type: Long.
  • Default: None.
  • Constraints: Must be a valid symbol identifier.
Yes
BuySell
  • New market order type.
  • Type: Long.
  • Default: None.
  • Constraints: Must be a valid buy or sell identifier.
  • BuySell: Value of type as the following:
    1: Means Buy type.
    -1: Means Sell type.
Yes
Lots
  • Order amount of Lots.
  • Type: Decimal.
  • Default: None.
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 This operation returns an order ID in case of success:

Otherwise see error codes.

Type: JSON Object as String array.

 

See Also

  • GetAccountSumm
  • UpdateLimitOrder
  • UpdateSLTP


VertexFX WCF Service Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  NewManageSLTP

UpdateLimitOrder  

About
VertexFX Trader has a closed-loop trading structure with BackOffice dealing desk, Client Terminals, Dedicated Hosting, White Labelling and Bridging Capabilities. Through VertexFX Risk Management Bridge...
Categories
  • Release Notes
  • Technical Support
  • VertexFX Pro Setup
  • Mobile Trader
  • Lite VertexFX Mobile Trader
Community
  • Blog
  • Media Center
Need Support?
If you need any further help, don't hesitate to send a support request to our support team.
Contact Support
  • Privacy Policy
  • Brokers Terms
  • Traders EULA
  • ISV Terms
  • Plugins EULA
  • Copyright 2024 hybridsolutions.com. All Rights Reserved.