Skip to content

Commit

Permalink
added filter fields on InstrumentRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
dlucek committed Sep 26, 2023
1 parent cff41fa commit 489cad6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions openfeed_api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ message OpenfeedGatewayMessage {
enum Result {
UNKNOWN_RESULT = 0;
SUCCESS = 1;
INSTRUMENTS_NOT_FOUND = 112;
JWT_EXPIRED = 113;
JWT_INVALID = 114;
DUPLICATE_LOGIN = 115;
Expand Down Expand Up @@ -126,6 +127,10 @@ message LogoutResponse {
message InstrumentRequest {
sint64 correlationId = 1;
string token = 2;
/// Filter on these instrument types
repeated InstrumentDefinition.InstrumentType instrumentType = 3;
/// Filter on these spread types
repeated string spreadType = 4;
oneof request {
string symbol = 10;
sint64 marketId = 11;
Expand Down

0 comments on commit 489cad6

Please sign in to comment.