Replaces this order


Namespace: OpenQuant.API
Assembly: OpenQuant.API (in OpenQuant.API.dll)

Syntax

Visual Basic (Declaration)
Public Sub Replace()
C#
public void Replace()
C++
public:
 void Replace() sealed 
J#
public void Replace()
JScript
public  function Replace()

Remarks

 Copy Code
            order.Qty = 50;
            order.Price = 34.5;
            
            order.Replace();
            
Note that parameter values returned by order.Qty and order.Price will return new (replaced) values only when the order is actually replaced by a broker and the system receives replace confirmation. Until then order.Qty and order.Price properties will return old parameter values.

See Also