Skip to main content

Push client

To set up a push client in .NET, first open the Sample.cs file.

To test push (streaming data), it is necessary to comment out the call to SamplePushData.cs because it is disabled by default.

Only comment out the call to SamplePushData.cs if you have licensed the use of streaming data. Otherwise you will receive an error message.

Open the SamplePushData.cs file and select the sample you want to test from the list in the "Samples/Push" folder.

You can choose from the following predefined code samples:

  • NewsBroadcast
    Subscribes to news broadcast using push (streaming) data.
  • Recaps
    Subscribes to Recap messages for an instrument list via the RequestRecaps function.
  • SingleInstrument
    Subscribes to single instruments or instrument list.
  • WholeExchangeFilterElement
    Subscribes to one or multiple trading venues filtering by exchange code and security type.
  • WholeExchange
    Subscribes to one or multiple trading venues using an exchange code.

Select "Start".

For performance reasons, the output of push data in the console should be used for test purposes only (see the following figure).

As for Java, it is also possible to add instruments from a text file, which is stored in the "Data" folder.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.