Skip to content

Commit 28180ab

Browse files
author
Build System
committed
'Protobuf files change'
1 parent 6ce488e commit 28180ab

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

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

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -40,41 +40,41 @@ package systemathics.apis.services.static_data.v1;
4040
// Called to set static data.
4141
service SetStaticDataService
4242
{
43-
// Creates Option Static data from OTC Streaming
44-
rpc CreateStaticDataOtcStreaming(CreateStaticDataOtcStreamingRequest) returns (StaticDataOtcStreamingResponse)
43+
// Create Cds Index Option Static data
44+
rpc CreateCdsIndexOption(CreateCdsIndexOptionRequest) returns (CdsIndexOptionIdResponse)
4545
{
4646
option (google.api.http) = {
4747
post: "/v1/staticdata/otc_streaming"
4848
};
4949
}
5050

5151

52-
// Get Option Static data from OTC Streaming by Id
53-
rpc GetStaticDataOtcStreaming(SingleStaticDataOtcStreamingRequest) returns (StaticDataOtcStreamingResponse)
52+
// Get Cds Index Option Static data by Id
53+
rpc GetCdsIndexOption(CdsIndexOptionIdRequest) returns (CdsIndexOptionIdResponse)
5454
{
5555
option (google.api.http) = {
5656
post: "/v1/staticdata/otc_streaming/{id}"
5757
};
5858
}
5959

60-
// Get all Option Static data from OTC Streaming
61-
rpc GetAllStaticDataOtcStreaming(google.protobuf.Empty) returns (stream StaticDataOtcStreamingResponse)
60+
// Get all Cds Index Option Static data
61+
rpc GetAllCdsIndexOption(google.protobuf.Empty) returns (stream CdsIndexOptionIdResponse)
6262
{
6363
option (google.api.http) = {
6464
get: "/v1/staticdata/otc_streaming"
6565
};
6666
}
6767

68-
// Update Option Static data from OTC Streaming by Id
69-
rpc UpdateStaticDataOtcStreaming(UpdateStaticDataOtcStreamingRequest) returns (StaticDataOtcStreamingResponse)
68+
// Update Cds Index Option Static data by Id
69+
rpc UpdateCdsIndexOption(UpdateCdsIndexOptionRequest) returns (CdsIndexOptionIdResponse)
7070
{
7171
option (google.api.http) = {
7272
put: "/v1/staticdata/otc_streaming/{id}"
7373
};
7474
}
7575

7676
// Get Option Static data from OTC Streaming by Id
77-
rpc DeleteStaticDataOtcStreaming(SingleStaticDataOtcStreamingRequest) returns (google.protobuf.Empty)
77+
rpc DeleteCdsIndexOption(CdsIndexOptionIdRequest) returns (google.protobuf.Empty)
7878
{
7979
option (google.api.http) = {
8080
delete: "/v1/staticdata/otc_streaming/{id}"
@@ -83,15 +83,15 @@ service SetStaticDataService
8383
}
8484

8585

86-
message SingleStaticDataOtcStreamingRequest
86+
message CdsIndexOptionIdRequest
8787
{
8888
// [Mandatory] The Id of the static data to delete.
8989
int64 id = 1;
9090
}
9191

9292

9393
// Static data update message message for OTC Streaming data
94-
message UpdateStaticDataOtcStreamingRequest
94+
message UpdateCdsIndexOptionRequest
9595
{
9696
// [Mandatory] The Id of the static data to delete
9797
int64 id = 1;
@@ -117,8 +117,8 @@ message UpdateStaticDataOtcStreamingRequest
117117
// [Optional] Currency of the option. Set it only if it needs to be modified.
118118
string currency = 8;
119119

120-
// [Optional] Markit Id of the option. Set it only if it needs to be modified.
121-
string markit_id = 9;
120+
// [Optional] Version of the CDS index
121+
int32 version = 9;
122122

123123
// [Optional] FIGI code of the option. Set it only if it needs to be modified.
124124
string figi = 10;
@@ -131,7 +131,7 @@ message UpdateStaticDataOtcStreamingRequest
131131
}
132132

133133
// Static data creation message for OTC Streaming data
134-
message CreateStaticDataOtcStreamingRequest
134+
message CreateCdsIndexOptionRequest
135135
{
136136
// [Mandatory] Bloomberg Ticker
137137
string ticker = 1;
@@ -154,8 +154,8 @@ message CreateStaticDataOtcStreamingRequest
154154
// [Mandatory] Currency of the option
155155
string currency = 7;
156156

157-
// [Optional] Markit Id of the option
158-
string markit_id = 8;
157+
// [Mandatory] Version of the CDS index
158+
int32 version = 8;
159159

160160
// [Optional] FIGI code of the option
161161
string figi = 9;
@@ -168,7 +168,7 @@ message CreateStaticDataOtcStreamingRequest
168168
}
169169

170170

171-
message StaticDataOtcStreamingResponse
171+
message CdsIndexOptionIdResponse
172172
{
173173
// The Id of the static data
174174
int64 id = 1;
@@ -200,8 +200,8 @@ message StaticDataOtcStreamingResponse
200200
// The Currency of the option
201201
string currency = 10;
202202

203-
// The Markit Id of the option
204-
string markit_id = 11;
203+
// Version of the CDS index
204+
int32 version = 11;
205205

206206
// FIGI code of the option
207207
string figi = 12;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,8 @@ message CdsIndexOptionEntry
326326
google.type.Date expiry = 6;
327327
// The swaption type of the option
328328
SwaptionType swaption_type = 7;
329-
// The markit identifier
330-
string markit_id = 8;
329+
// The cds index version
330+
int32 version = 8;
331331
// The Financial Instrument Global Identifier (FIGI) is an established global standard of the Object Management Group (www.OMG.org, an international non-profit technology standards consortium founded in 1989) and an identification standard adopted by the American National Committee X9. The FIGI standard is issued and distributed by Bloomberg L.P. as a Registration Authority and Certified Provider under the auspice of OMG. The Financial Instrument Global Identifier (FIGI) is a twelve character, alphanumeric identifier. The first 2 characters are upper-case consonants (including "Y"), the third character is the upper-case "G", characters 4 -11 are any upper-case consonant (including "Y") or integer between 0 and 9, and the last character is a check-digit.
332332
string figi = 9;
333333
// the calendar Code

0 commit comments

Comments
 (0)