Skip to content

Commit c53f534

Browse files
author
Build System
committed
'Protobuf files change'
1 parent 541f91b commit c53f534

2 files changed

Lines changed: 67 additions & 1 deletion

File tree

src/systemathics/apis/services/static_data/v1/static_data.proto

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ message StaticDataResponse
102102

103103
// The reference data for crypto currencies: the cryptos array
104104
repeated CryptoEntry cryptos = 5;
105+
106+
// The reference data for forex pairs: the forex array
107+
repeated ForexEntry forex = 6;
105108
}
106109

107110
// Contains the reference data for equities.
@@ -471,6 +474,66 @@ message CryptoEntry
471474
int32 total_supply = 32;
472475
}
473476

477+
// Contains the reference data for Forex pairs.
478+
message ForexEntry
479+
{
480+
// Identifiers: asset identifier
481+
systemathics.apis.type.shared.v1.Identifier identifier = 1;
482+
// General information: the asset class
483+
string type = 2;
484+
// General information: the primary exchange code (mic)
485+
string primary = 3;
486+
// General information: the operating exchange code (mic)
487+
string operating = 4;
488+
// General information: the full name
489+
string name = 5;
490+
// General information: the base currency code (ISO 4217)
491+
string base_currency = 6;
492+
// General information: the country code (ISO 3166)
493+
string country = 7;
494+
// General information: the tick size rule table
495+
repeated TickSize tick_size_rule = 8;
496+
// General information: the major index array
497+
repeated string index = 9;
498+
499+
// Trading hours: the open time (continuous trading)
500+
google.protobuf.Duration open = 10;
501+
// Trading hours: the close time (continuous trading)
502+
google.protobuf.Duration close = 11;
503+
// Trading hours: the time zone
504+
string time_zone = 12;
505+
506+
// Specifications: the lot size (minimum quantity to trade)
507+
int64 lot_size = 13;
508+
// Specifications: the point value
509+
double point_value = 14;
510+
511+
// Reference data : the average price
512+
google.protobuf.DoubleValue price = 15;
513+
// Reference data : the average daily volume
514+
google.protobuf.Int64Value volume = 16;
515+
// Reference data : the time stamp of the refernce data
516+
google.type.Date time = 17;
517+
518+
// Mapping : the count of sources used to cross validate and complete the asset's information
519+
int32 sources = 18;
520+
// Mapping: the mapping codes
521+
map<string, string> mapping = 19;
522+
// Mapping: the bloomberg code
523+
string bloomberg = 20;
524+
// Mapping: the reuters code
525+
string reuters = 21;
526+
// Mapping: the morningstar code
527+
string morningstar = 22;
528+
// Mapping: the figi code (Financial Instrument Global Identifier, formerly Bloomberg Global Identifier)
529+
string figi = 23;
530+
// Mapping: the figic code (Financial Instrument Global Identifier Composite, formerly Bloomberg Global Identifier)
531+
string figic = 24;
532+
533+
// Specific values for the Forex: the quote currency code
534+
string quote_currency = 25;
535+
}
536+
474537
// Contains the tick size rule item : price and tick.
475538
message TickSize
476539
{
@@ -504,4 +567,7 @@ enum AssetType
504567

505568
// Search only on Crypto currencies
506569
ASSET_TYPE_CRYPTO = 6;
570+
571+
// Search only on Forex pairs
572+
ASSET_TYPE_FOREX = 7;
507573
}

src/systemathics/apis/services/tick_analytics/v1/tick_priips.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// SOFTWARE.
2020

2121
// <i>PRIIPs</i> regulation EU-wide rules governing information disclosure for all Packaged Retail and Insurance-based Investment Products (PRIIPs).
22-
// <br>Essentially, this covers any investment product used by a retail consumer that isnt a UCITS fund.
22+
// <br>Essentially, this covers any investment product used by a retail consumer that isn't a UCITS fund.
2323
// <br>The method used to determine implicit transaction costs is the full PRIIPs method, also known as the arrival price methodology.
2424
syntax = "proto3";
2525

0 commit comments

Comments
 (0)