Login
Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • Forum
  • Home
  • Knowledgebase
  • Blog
  • Forum

VertexFX Client WCF Service

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

NewOrder

3 views 0 December 16, 2021 hybrid-solutions

Syntax

NewOrder( AccountId As Long, Symbol As Integer , BuySell As Integer , Lots As Double, 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 logged in client.
Yes
Symbol
  • The identifier of the symbol to place market order on it.
  • Type: Integer.
  • Default: None.
  • Constraints: Must be a valid symbol identifier.
Yes
buySell
  • New market order type.
  • Type: Integer.
  • 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: Double.
  • 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 regular configuration.

NO

Response Elements

Name Description
Result

This operation returns a string array that holds the following data ordered as listed below in case of success:

  • Ticket ID: Ticket number for the new position.
  • Position time: Time.
  • BuySell: Value of type as the following:
    1: Buy type.
    -1: Sell type.
  • Lots: Lots.
  • Symbol ID: Symbol ID.
  • Symbol price: Price value of type double.
  • Position or Order: If 1 it means the position was Acceptedautomatically,2 means the order transferred to BackOffice side and its pending.

Otherwise see error codes.

Type: JSON Object as String array.

Sample

NewOrder
Username: password:
AccountId : Symbol: BuySell:
lots:Note :
Loading ...


See Also

  • GetAccountSumm
  • UpdateLimitOrder
  • UpdateSLTP


VertexFX WCF Service Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

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
  • Technical Support
  • Social Trading
  • VertexFX Pro Setup
  • Mobile Trader
  • Lite VertexFX Mobile Trader
Community
  • Blog
  • Forum
  • 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 2022 hybridsolutions.com. All Rights Reserved.