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.
Example | Valid | Notes |
---|---|---|
23.23 | ||
0023.2300 | ||
-23.23 | ||
25 | ||
+23 | Positive values are represented without a sign character | |
10.0a | 'a' is not a valid digit |