Infront Data Manager Connect Client (.NET)

Request Recaps

To request Recaps for an instruments list.

using Gevasys.DataCore.Configuration;
using Gevasys.DataCore.Consumer.Manager;
using Gevasys.DataCore.Core;
namespace Examples
{
class RequestRecaps
{
public void Main()
{
// initialize DMC
ConfigurationHelper.Initialize();
// this client will recieve updates
SamplePushClient pushClient = new SamplePushClient("subscribe-test");
//Create a streaming consumer store.
ConsumerStore streamingStore = ConfigurationHelper.CreateConsumer(pushClient);
if (streamingStore == null)
return;
// create instruments list with a maximum of 2000 instruments
InstrumentList instruments = new InstrumentList();
instruments.Add("710000.ETR");
instruments.Add("846900.ETR");
streamingStore.RequestRecaps(instruments);
}
}
}

IMPORTANT: The maximum size for a single API call is limited to 2000 elements! Requests will be stripped on server side to at most 2000 elements per API call.

Note: Example available in samples folder in Data Manager Connect - Client Distribution".

Gevasys.DataCore
Definition: BinaryUpstreamClient.cs:5
Gevasys.DataCore.Configuration
Definition: ClassFactory.cs:17
Gevasys.DataCore.Consumer.Manager
Definition: ConsumerStore.cs:16
Gevasys
Definition: BinaryUpstreamClient.cs:5
Gevasys.DataCore.Core
Definition: CompressionHelper.cs:7
Gevasys.DataCore.Consumer
Definition: ConsumerStore.cs:16
Examples
Definition: apiinitialize.cs:11

Copyright (C) 2021 Infront Financial Technology GmbH
Mainzer Landstrasse 178 – 190
60327 Frankfurt am Main
Infront Data Manager Connect V4.1