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

Trade Functions

home/Knowledge Base/Technical Support/API/Client API's/VTL/VTL Client Scripts/Trade Functions/OrderPrice

OrderPrice

6 views 0 Updated on December 16, 2021 hybrid-solutions

Syntax

 Public Function OrderPrice() As Double

Description

This function is used to return the open price for selected order as a value of double.

Parameter

No parameters.

Return value

Returns price as a double value, If -1 is returned, then call GetLastError() function to get error.

Sample

 Public Sub main () Dim Order Order = OrderGetID (1) OrderSelect (Clng (Order))Returns True if order selected successfully   AlertMessage OrderPrice()  returns the price for selected order End sub

See Also

  • OrderSymbol
  • OrderTime
  • OrderType


Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  OrderGetString

PositionGetTicket  

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 2023 hybridsolutions.com. All Rights Reserved.