Syntax
Public Function OrderGetString(ByVal property_id As ENUM_ORDER_PROPERTY_STRING) As String.
Description
This function is used to return value of type Stringthat is corresponding at the order property for the selected orderthrough SelectOrderByIndexor SelectOrderByID.
Parameters
Parameter | Description |
property_id |
Property that wants to get its value. It can be one of theENUM_ORDER_PROPERTY_STRING. |
Return value
Returns the requested order property value as the value of type String.
Sample
Public Sub main() Dim Select_Result as Boolean Dim value as String Select_Result = ClientCode.SelectOrderByIndex (1) select the first order at trade list If Result = true then value = ClientCode.OrderGetString (VTLGeneral.ENUM_ORDER_PROPERTY_STRING.ORDER_SYMBOL) GUI.MsgDialog(Order Symbol name: & value) End If End Sub
See Also