Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7719691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T03:28:47+00:00 2026-06-01T03:28:47+00:00

I am new to multicast data feed processing, my question is what’s the best

  • 0

I am new to multicast data feed processing, my question is what’s the best way to create a simple filter on the data flow.

I am writing an application to process streaming financial data, e.g., stock prices of all the stocks traded on New York Stock Exchange. The data stream looks something like this.

SJYM2 Quote: Bid=91.265000, 4 Ask=91.330000, 4
6SM2 Quote: Bid=1.105500, 23 Ask=1.105800, 5
RFM2 Quote: Bid=1.204500, 6 Ask=1.205000, 7
6SM2 Quote: Bid=1.105500, 24 Ask=1.105800, 5
6SM2 Quote: Bid=1.105500, 25 Ask=1.105800, 5
6SM2 Quote: Bid=1.105500, 26 Ask=1.105800, 5
6SM2 Quote: Bid=1.105500, 27 Ask=1.105800, 5
6SM2 Quote: Bid=1.105500, 28 Ask=1.105800, 5
GEH3-GEZ3 Quote: Bid=23.500000, 325 Ask=24.500000, 1501
GE:BF_M2-H3-Z3 Quote: Bid=-15.500000, 936 Ask=-14.000000, 16
GEM3-GEU3 Quote: Bid=7.500000, 21823 Ask=8.000000, 79
GE:DF_H3H4H5H6 Quote: Bid=-21.000000, 6 Ask=-19.000000, 4
NGG3-NGQ3 Quote: Bid=-0.162000, 2 Ask=-0.081000, 1
NGH3-NGU3 Quote: Bid=-0.185000, 3 Ask=-0.102000, 1
BZK2 Quote: Bid=123.970000, 1 Ask=124.120000, 1
BZ:C1_HO-BZ_K2 Quote: Bid=11.100000, 1 Ask=11.320000, 1
BZ:C1_RB-BZ_K2 Quote: Bid=17.060000, 1 Ask=17.310000, 1
BZM2 Quote: Bid=123.250000, 1 Ask=123.460000, 1
BZN2 Quote: Bid=122.530000, 1 Ask=122.920000, 1
CLK2-BZK2 Quote: Bid=-18.770000, 1 Ask=-18.610000, 1
BZK2 Quote: Bid=123.970000, 1 Ask=124.110000, 5
BZ:C1_HO-BZ_K2 Quote: Bid=11.110000, 1 Ask=11.320000, 1
BZ:C1_RB-BZ_K2 Quote: Bid=17.070000, 2 Ask=17.310000, 1
BZM2 Quote: Bid=123.250000, 1 Ask=123.450000, 5
BZN2 Quote: Bid=122.530000, 1 Ask=122.910000, 1

If I am only interested in BZN2, BZK2 and 6SM2 data, what’s the best way to create a simple filter to pull only those data?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T03:28:48+00:00Added an answer on June 1, 2026 at 3:28 am

    Since the marker always goes at the first place in the string, you can split each incoming string by the space, take the first substring and compare it with a set of patterns using strcmp().
    You could also use regexp here, but it’s not needed.

    And the very best solution (i don’t know if it’s possible in your case) is to filter the incoming stream from the server side, i.e. choose the markers you need when you sign up for the stream.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

New Question I am looking for a way in Javascript to get the parent
We have a C# application that can join and receives data from a multicast
Here is my controller code and also my View: @using (Html.BeginForm(Create, Product, FormMethod.Post, new
I'm new to python and I'm writing a code to upload a file using
I am writing a page where a user can fill out form data, select
@using (Html.BeginForm(Edit, MyController, FormMethod.Post, new { enctype=multipart/form-data})) { @Html.EditorFor(model => model.Name) <input type=file name=fileUpload
I've this HTML : <% using (Html.BeginForm(Upload, BulkUpload, FormMethod.Post, new { enctype = multipart/form-data
New class is a subclass of the original object It needs to be php4
New to javascript/jquery and having a hard time with using this or $(this) to
New to xml. Looking for XPath to search a xml file with python ElementTree

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.