2424// <br>- Feed best execution reports for a given watchlist over the time
2525syntax = "proto3" ;
2626
27- import "google/protobuf/timestamp.proto" ;
28-
2927import "systemathics/apis/type/shared/v1/constraints.proto" ;
30- import "systemathics/apis/type/shared/v1/mappings .proto" ;
28+ import "systemathics/apis/type/shared/v1/keys .proto" ;
3129import "systemathics/apis/type/shared/v1/level.proto" ;
32- import "systemathics/apis/type/shared/v1/identifier .proto" ;
30+ import "systemathics/apis/type/shared/v1/identifierandstream .proto" ;
3331import "systemathics/apis/type/shared/v2/market_fields_updates.proto" ;
3432import "systemathics/apis/type/shared/v2/mbl_market_book_updates.proto" ;
3533import "systemathics/apis/type/shared/v2/mbo_market_book_updates.proto" ;
@@ -46,42 +44,33 @@ service TickUpdatesService
4644// The required inputs to request the TickUpdatesService.
4745message TickUpdatesRequest
4846{
49- // [Mandatory] The instrument identifier: a ticker and exchange
50- repeated systemathics.apis.type.shared.v1.Identifier identifiers = 1 ;
51-
52- // [Mandatory] Level representing either Trades only(Level 1) or Trades + Book (Level 1 and Level 2)
53- systemathics.apis.type.shared.v1.Level level = 2 ;
54-
47+ // [Mandatory] The instrument and streams identifiers: a list of tickers and exchanges and streams
48+ repeated systemathics.apis.type.shared.v1.IdentifierAndStream identifiers = 1 ;
49+
5550 // [Optional] The time constraints used to define the look-back period.
5651 // If empty, then all the available data is retrieved.
57- systemathics.apis.type.shared.v1.Constraints constraints = 3 ;
52+ systemathics.apis.type.shared.v1.Constraints constraints = 2 ;
5853
5954 // [Optional] The corporate action adjustment, by default the value is set to false
60- bool adjustment = 4 ;
55+ bool adjustment = 3 ;
6156}
6257
6358// Contains the tick by tick normalized historical data: event source, timestamp and payload.
6459message TickUpdatesResponse
65- {
66- // Event source: short code for instrument identifier
67- uint32 event_source = 1 ;
68-
69- // Timestamp from the market
70- google.protobuf.Timestamp time_stamp = 2 ;
71-
60+ {
7261 // Payload: that can be a mapping (event source and instrument identifier), some fields update or some books update
7362 oneof payload
7463 {
7564 // Some fields update
76- systemathics.apis.type.shared.v2.MarketFieldsUpdates fields_updates = 3 ;
65+ systemathics.apis.type.shared.v2.MarketFieldsUpdates fields_updates = 1 ;
7766
7867 // Some MBL books update
79- systemathics.apis.type.shared.v2.MblMarketBookUpdates mbl_book_updates = 4 ;
68+ systemathics.apis.type.shared.v2.MblMarketBookUpdates mbl_book_updates = 2 ;
8069
8170 // Some MBO books update
82- systemathics.apis.type.shared.v2.MboMarketBookUpdates mbo_book_updates = 5 ;
71+ systemathics.apis.type.shared.v2.MboMarketBookUpdates mbo_book_updates = 3 ;
8372
84- // Event source and instrument identifier mapping. It's sent once when streaming begins.
85- systemathics.apis.type.shared.v1.Mappings mappings = 6 ;
73+ // The mapping data
74+ systemathics.apis.type.shared.v1.Keys mapping = 4 ;
8675 }
8776}
0 commit comments