MarketDisplayToPrice Method

Convert the display string into a decimal price.

Definition

Namespace: T4.API
Assembly: T4API.47 (in T4API.47.dll) Version: 4.7.0.0 (4.7.68.4)
C#
public decimal? DisplayToPrice(
	string psDisplay
)

Parameters

psDisplay  String
The display string to convert

Return Value

NullableDecimal
The equivalent price, or Nothing if it could not be converted

Remarks

This takes into account the markets display format, e.g. for CBOT 10yr Note the display will be parsed in half 32nds as 107160, instead of the decimal 107.50

If the string is blank, or cannot be parsed, then null will be returned.

See Also