Click or drag to resize

UnitHelper2Points Method (Decimal, Security)

To create from Decimal the points values.

Namespace:  StockSharp.BusinessEntities
Assembly:  StockSharp.BusinessEntities (in StockSharp.BusinessEntities.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public static Unit Points(
	this decimal value,
	Security security
)

Parameters

value
Type: SystemDecimal
Decimal value.
security
Type: StockSharp.BusinessEntitiesSecurity
The instrument from which information about the price increment cost is taken.

Return Value

Type: Unit
Points.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Decimal. 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