Click or drag to resize

EntityFactoryCreateTrade Method

To create the tick trade by its identifier.

Namespace:  StockSharp.Algo
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public virtual Trade CreateTrade(
	Security security,
	Nullable<long> id,
	string stringId
)

Parameters

security
Type: StockSharp.BusinessEntitiesSecurity
Security.
id
Type: SystemNullableInt64
The trade identifier (equals , if string identifier is used).
stringId
Type: SystemString
Trade ID (as string, if electronic board does not use numeric order ID representation).

Return Value

Type: Trade
Created trade.

Implements

IEntityFactoryCreateTrade(Security, NullableInt64, String)
See Also