@@ -29,6 +29,8 @@ syntax = "proto3";
2929
3030import "google/protobuf/wrappers.proto" ;
3131import "google/type/date.proto" ;
32+ import "google/protobuf/duration.proto" ;
33+
3234import "systemathics/apis/type/shared/v1/identifier.proto" ;
3335
3436package systemathics.apis.services.static_data.v1 ;
@@ -61,11 +63,11 @@ message StaticDataRequest
6163 // [Optional] Future category
6264 google.protobuf.StringValue future_category = 6 ;
6365
64- // [Optional] Crypto currency ( base)
65- google.protobuf.StringValue crypto_currency = 7 ;
66+ // [Optional] Crypto base currency
67+ google.protobuf.StringValue crypto_base_currency = 7 ;
6668
67- // [Optional] Crypto currency 2 ( quote)
68- google.protobuf.StringValue crypto_currency2 = 8 ;
69+ // [Optional] Crypto quote currency
70+ google.protobuf.StringValue crypto_quote_currency = 8 ;
6971
7072 // [Optional] Equity sector
7173 google.protobuf.StringValue equity_sector = 9 ;
@@ -125,9 +127,9 @@ message EquityEntry
125127 repeated string index = 9 ;
126128
127129 // Trading hours: the open time (continuous trading)
128- string open = 10 ;
130+ google.protobuf.Duration open = 10 ;
129131 // Trading hours: the close time (continuous trading)
130- string close = 11 ;
132+ google.protobuf.Duration close = 11 ;
131133 // Trading hours: the time zone
132134 string time_zone = 12 ;
133135
@@ -205,9 +207,9 @@ message EtfEntry
205207 repeated string index = 9 ;
206208
207209 // Trading hours: the open time (continuous trading)
208- string open = 10 ;
210+ google.protobuf.Duration open = 10 ;
209211 // Trading hours: the close time (continuous trading)
210- string close = 11 ;
212+ google.protobuf.Duration close = 11 ;
211213 // Trading hours: the time zone
212214 string time_zone = 12 ;
213215
@@ -285,9 +287,9 @@ message FutureEntry
285287 repeated string index = 9 ;
286288
287289 // Trading hours: the open time (continuous trading)
288- string open = 10 ;
290+ google.protobuf.Duration open = 10 ;
289291 // Trading hours: the close time (continuous trading)
290- string close = 11 ;
292+ google.protobuf.Duration close = 11 ;
291293 // Trading hours: the time zone
292294 string time_zone = 12 ;
293295
@@ -358,9 +360,9 @@ message IndexEntry
358360 repeated string index = 9 ;
359361
360362 // Trading hours: the open time (continuous trading)
361- string open = 10 ;
363+ google.protobuf.Duration open = 10 ;
362364 // Trading hours: the close time (continuous trading)
363- string close = 11 ;
365+ google.protobuf.Duration close = 11 ;
364366 // Trading hours: the time zone
365367 string time_zone = 12 ;
366368
@@ -409,7 +411,7 @@ message CryptoEntry
409411 // General information: the full name
410412 string name = 5 ;
411413 // General information: the base currency code (ISO 4217)
412- string currency = 6 ;
414+ string base_currency = 6 ;
413415 // General information: the country code (ISO 3166)
414416 string country = 7 ;
415417 // General information: the tick size rule table
@@ -418,9 +420,9 @@ message CryptoEntry
418420 repeated string index = 9 ;
419421
420422 // Trading hours: the open time (continuous trading)
421- string open = 10 ;
423+ google.protobuf.Duration open = 10 ;
422424 // Trading hours: the close time (continuous trading)
423- string close = 11 ;
425+ google.protobuf.Duration close = 11 ;
424426 // Trading hours: the time zone
425427 string time_zone = 12 ;
426428
@@ -452,9 +454,9 @@ message CryptoEntry
452454 string figic = 24 ;
453455
454456 // Specific values for the crypto: the quote currency code
455- string currency2 = 25 ;
456- // Specific values for the crypto: the consensus mechanisms (POW, POS, DPOS)
457- string consensus = 26 ;
457+ string quote_currency = 25 ;
458+ // Specific values for the crypto: the consensus mechanisms array (POW, POS, DPOS)
459+ repeated string consensus = 26 ;
458460 // Specific values for the crypto: the description of the crypto
459461 string description = 27 ;
460462 // Specific values for the crypto: the issue date of the crypto
0 commit comments