Skip to content

Commit 77312e4

Browse files
author
Build System
committed
'Protobuf files change'
1 parent 6486375 commit 77312e4

2 files changed

Lines changed: 39 additions & 1 deletion

File tree

src/systemathics/apis/type/shared/v1/identifierandstream.proto

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ syntax = "proto3";
2626

2727
import "google/protobuf/wrappers.proto";
2828

29+
import "systemathics/apis/type/shared/v1/stream.proto";
30+
2931
package systemathics.apis.type.shared.v1;
3032

3133
// Contains the instrument identifier and stream.
@@ -41,5 +43,5 @@ message IdentifierAndStream
4143
google.protobuf.StringValue provider = 3;
4244

4345
// [Mandatory]
44-
string stream = 4;
46+
systemathics.apis.type.shared.v1.Stream stream = 4;
4547
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// Copyright (c) 2021 Systemathics
2+
//
3+
// Permission is hereby granted, free of charge, to any person obtaining a copy
4+
// of this software and associated documentation files (the "Software"), to deal
5+
// in the Software without restriction, including without limitation the rights
6+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
// copies of the Software, and to permit persons to whom the Software is
8+
// furnished to do so, subject to the following conditions:
9+
//
10+
// The above copyright notice and this permission notice shall be included in all
11+
// copies or substantial portions of the Software.
12+
//
13+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19+
// SOFTWARE.
20+
21+
// Enables to set or to clear market data updates. Navigate to market book updates and market fields updates to discover how action is used.
22+
syntax = "proto3";
23+
24+
25+
package systemathics.apis.type.shared.v1;
26+
27+
// Contains the market Data update action.
28+
enum Stream
29+
{
30+
// The unspecfied stream
31+
STREAM_UNSPECIFIED = 0;
32+
// The stream only containing fields updates (see field.proto).
33+
STREAM_FIELDS_ONLY = 1;
34+
// The stream with market book updates (see mbl_market_book_updates.proto and mbo_market_book_updates.proto) along with fields updates.
35+
STREAM_MARKETBOOK_AND_FIELDS= 2;
36+
}

0 commit comments

Comments
 (0)