| edition = "2023"; |
| |
| package milotic_hft; |
| |
| import "sensor_identifier.proto"; |
| |
| message HighFrequencySensorReading { |
| oneof reading { |
| float float_reading = 1; |
| // Add support for other types of readings. |
| } |
| int64 timestamp_ns = 2; // Nanosecond timestamp of the readings. |
| } |
| |
| message HighFrequencySensorsReadings { |
| repeated HighFrequencySensorReading timestamped_readings = 1; |
| SensorIdentifier sensor_identifier = 2; |
| } |
| |
| message HighFrequencySensorsReadingsBatch { |
| repeated HighFrequencySensorsReadings high_frequency_sensors = 1; |
| } |