IStringsApiAvgPriceToString Method

GF API Documentation
Formats price by deriving tick size from the price format or by using given tick size if it is less.

Namespace:  GF.Api.Utils
Assembly:  GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax

string AvgPriceToString(
	int priceFormat,
	int priceMultiplier,
	double tickSize,
	double price
)

Parameters

priceFormat
Type: SystemInt32
Price format
priceMultiplier
Type: SystemInt32
multiplier (power of ten)
tickSize
Type: SystemDouble
Tick size
price
Type: SystemDouble
Price to format

Return Value

Type: String
formatted price
See Also

Reference