question

Upvotes
Accepted
1 0 1 2

Specifying time interval for receiving price data feed

eikondataeikon-app-studio
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@Ranbor.li

Thank you for your participation in the forum. Can you please provide more detail in your question. Thanks, AHS

@Ranbor.li which API are you using?

Hi @Ranbor.li,

Could you please provide more detail in this question?

Thanks,
AHS

@Ranbor.li

Hi,

Could you provide more details on the question? This would allow others to understand the context of the problem and assist accordingly.

Thanks,

AHS

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question. Thanks, AHS

Show more comments

1 Answer

· Write an Answer
Upvotes
Accepted
79.2k 251 52 74

For App Studio .NET SDK, the application can specify time interval when using Time Series service. The following example shows how to make a request for the 5 latest data points for EUR= (Euro) BID quote Daily history.

private void Request()
{
    _request = _timeSeries.SetupDataRequest("EUR=")
        .WithView("BID")
        .WithAllFields()
        .WithInterval(CommonInterval.Daily)
        .WithNumberOfPoints(5)
        .OnDataReceived(DataReceivedCallback)
        .CreateAndSend();
}

For more information, please refer to the Data API - Time series tutorial.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.