Public API for string-related functionality
Namespace: GF.Api.Utils
Assembly: GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax
The IStringsApi type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | AvgPriceToString |
Formats price by deriving tick size from the price format or by using given tick size if it is less.
|
![]() | CreatePriceIntern(Int32, Int32, Double, NullableDouble) |
Constructs formatter using given format specifiers value and default min/max values (0, 1e9)
|
![]() | CreatePriceIntern(IContract, NullableDouble, Double, Double) |
Constructs a formatter using contract format specifiers and given value
|
![]() | CreatePriceIntern(Int32, Int32, Double, NullableDouble, Double, Double) |
Construct the formatter using given format specifiers, value and min/max value
|
![]() | DraftToString |
Get string representation of order draft
|
![]() | FormatKiloNumber |
Formats integer value.
|
![]() | GetContractMonthChar |
Gets the month character associated with the month number.
|
![]() | GetContractMonthNumber |
Gets the month number associated with the month character.
|
![]() | GetPriceMask |
Returns a string representing input mask for given format and tick
PriceFormatTickSize |
![]() | ParseKiloNumber |
Parses (collapsed) integer value.
|
![]() | ParsePrice |
Parses text price according to contract price format.
|
![]() | PriceToString |
Formats price using given format specifiers
PriceFormat |
See Also