T4 publishes prices in two formats: Decimal (default) and Real. The setting controls only decimal placement on all prices, including chart data and API responses.
If you expect ES to look like 5954.75 instead of 595475, choose Real.
| Format | Description | Example (ES) |
|---|---|---|
| Real | Human-readable decimal placement used by most trading UIs. | 5954.75 |
| Decimal (default) | Raw exchange representation, without UI-friendly decimal placement. | 595475 |
All price fields in API and REST responses
Streaming market data and historical/chart data
var loginRequest = new T4Proto.V1.Auth.LoginRequest { Firm = demoConfig.Firm, Username = demoConfig.UserName, Password = demoConfig.Password, AppName = demoConfig.AppName, AppLicense = demoConfig.AppLicense, PriceFormat = T4Proto.V1.Common.PriceFormat.Real };
Option 1 — Use bearer token from Streaming API\ If you authenticate via Streaming and reuse that bearer token, the price format is already set. No additional REST setup is required.
Option 2 — /login endpoint\
Specify priceFormat in the request body:
{
"firm": "CTSDev",
"userName": "user",
"password": "*****",
"appName": "TradeBook",
"appLicense": "F18CC97E-42D1-478A-8CE9-0A850B5C47A7",
"priceFormat": "Real"
}
Real / Decimal).