OEC Application Programming Interface

Strings Methods

The methods of the Strings class are listed below. For a complete list of Strings class members, see the Strings Members topic.

Public Static Methods

AvgPriceToString Formats price deriving tick size from the price format or by using given ticksize it is less.
ExecutionTimeToText Formats order execution time to normal string presentation.
FormatEquityOptionSide Gets side formatted for equity options
FormatQuantity Gets order quantity string formatted according to contract kind
FormatShortEquityOptionSide Gets side formatted in short form for Equity Options
FormatShortEquitySide Gets side formatted in short form for Stocks
FormatSide Gets order side string formatted according to contract kind
FormatTradingSession Gets traiding session short formatted string
GetPriceMask Returns a string representing input mask for given format and tick PriceFormat TickSize
Head Cuts out the part before the first occurence of separator
IsDefaultTime Checks whether value is default time
PriceToString Formats price using given format specifiers PriceFormat
QuantityFormattingRequired Returns a value indicating that quantity formatting should be used to represent quantity values of the specified contract.
Tail Cut out the part before the first occurence of separator, if any
TextToExecutionTime Parses a string to order execution time.
UTCExecutionTimeToText Formats order execution time (UTC) to normal string presentation.

See Also

Strings Class | OEC.API Namespace