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

Trade Functions

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

OrderLots

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

Syntax

Public Function OrderLots (ByVal orderID As Long) As Double.

Description

This function is used to get the order amountfor the given order ID.

Parameters

Parameter Description
OrderID

The order number to get its amount. Value of type is Long.

Return value

Returns the orders amount of lots as the value of type Double.

Sample

 Public Sub main()        Dim OrderID as Long = ClientCode.orderGetID (1)     Dim lots as Double    lots = ClientCode.OrderLots (OrderID)    GUI.MsgDialog(lots)   End Sub


See Also

  • OrderTime
  • OrderPrice
  • OrderGetDouble


Back to VTL Server Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  OrderSymbol

OrderTime  

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
  • 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.