From 46e33d3232005366ced39024943f408e6b8c65c7 Mon Sep 17 00:00:00 2001 From: Ruchir Vani <32844383+ruchirvaninasdaq@users.noreply.github.com> Date: Wed, 14 Oct 2020 10:14:23 -0400 Subject: [PATCH] Update README.md Adding an example command for symbol filtering from SDK --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2453af9..308b78d 100644 --- a/README.md +++ b/README.md @@ -384,6 +384,14 @@ while (true) { ```java -jar ncdssdk-client.jar -opt TOP -n 10 -topic NLSUTP -timestamp 1590084445610 ``` +10. To get filtered stream by symbols or/and message-types + + ```java -jar ncdssdk-client.jar -opt FILTERSTREAM -topic NLSUTP -symbols AAPL,NDAQ -msgtypes SeqTradeReportMessage``` + +11. To get all messages for given type messagtype + + ```java -jar ncdssdk-client.jar -opt GETALLMSGS -topic NLSUTP -msgName SeqTradeReportMessage``` + ## Documentation @@ -403,4 +411,4 @@ Please make sure to update tests as appropriate. ## License -Code and documentation released under the [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) \ No newline at end of file +Code and documentation released under the [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)