Click or drag to resize

UnitHelper2Points Method (Double, Security)

To create from Double the points values.

Namespace:  StockSharp.BusinessEntities
Assembly:  StockSharp.BusinessEntities (in StockSharp.BusinessEntities.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public static Unit Points(
	this double value,
	Security security
)

Parameters

value
Type: SystemDouble
Double 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 Double. 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