OEC Application Programming Interface

Strings.AvgPriceToString Method 

Formats price deriving tick size from the price format or by using given ticksize it is less.

public static String AvgPriceToString(
   Int32 PriceFormat,
   Int32 PriceMultiplier,
   Double TickSize,
   Double Price
);

Parameters

PriceFormat
Price format
PriceMultiplier
multiplier (power of ten)
TickSize
Tick size
Price
Price to format

Return Value

formatted price

See Also

Strings Class | OEC.API Namespace