CQG API 4.0 - Revised
CanBeReplaced Property
See Also  Send Feedback
CQGOrder Interface : CanBeReplaced Property

Glossary Item Box

Description

Indicates whether the order can be replaced with a market order or not.

Property type

Read-only property

Syntax

Visual Basic
Public Property CanBeReplaced As Boolean

Return Type

True if the order can be replaced, False otherwise

Remarks

The order can be replaced if its status is osInOrderBook.

You can replace an order by cancelling it then placing a market order with the same parameters (quantity, side, etc.)

See Also