Registers an algorithmic order type.
| Visual Basic |
|---|
Public Sub RegisterAlgorithmicOrder( _ ByVal guid_ As String, _ ByVal name_ As String, _ ByVal abbrv_ As String, _ ByVal description_ As String, _ ByVal definitions_ As CQGAlgorithmicOrderDefinitions, _ Optional ByVal icon_index As Long = 0 _ ) |
- guid_
GUID for the order type being registered
- name_
Name of the order type being registered
- abbrv_
Abbreviation of the order type being registered
- description_
Description of the order type being registered
- definitions_
Collection of the parameter definitions for the order type being registered
- icon_index
Index of the icon in CQGIC, which will be used for the order type being registered
If the passed GUID already has an algorithmic order registered for and all of the other parameters match, the registration will succeed, otherwise it will fail.
The registration status is accessible via AlgorithmicOrderRegistrationComplete event.