Click or drag to resize

UnitHelper2Pips Method (Double, Security)

To create from Double the pips values.

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

Parameters

value
Type: SystemDouble
Double value.
security
Type: StockSharp.BusinessEntitiesSecurity
The instrument from which information about the price increment is taken.

Return Value

Type: Unit
Pips.

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