Price Data Type

float

Price fields behave identically to float fields, but with the additional semantics that the value represents a price.

For certain asset classes, prices may be negative values. For example, prices for options strategies can be negative under certain market conditions.

The number of decimal places may vary.

Examples

ExampleValidNotes
23.23
0023.2300Leading and trailing zeroes are permitted
-23.23Negative values are proceeded by a minus sign
25The fractional part is optional
+23Positive values are represented without a sign character
10.0a'a' is not a valid digit

On this page