CQG API 4.0 - Revised
RegisterAlgorithmicOrder Method
See Also  Send Feedback
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

CQGCEL Interface : RegisterAlgorithmicOrder Method

Glossary Item Box

Description

Registers an algorithmic order type.

Syntax

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 _
) 

Parameters

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

Remarks

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.

See Also