Click or drag to resize

TraderHelperReRegisterClone Method

To create copy of the order for re-registration.

Namespace:  StockSharp.Algo
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public static Order ReRegisterClone(
	this Order oldOrder,
	Nullable<decimal> newPrice = null,
	Nullable<decimal> newVolume = null
)

Parameters

oldOrder
Type: StockSharp.BusinessEntitiesOrder
The original order.
newPrice (Optional)
Type: SystemNullableDecimal
Price of the new order.
newVolume (Optional)
Type: SystemNullableDecimal
Volume of the new order.

Return Value

Type: Order
New order.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Order. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also