question

Upvotes
Accepted
91 1 0 2

通过DSS Rest API 获取Corporate Actions 数据的时候如何添加过滤条件

请问我在使用 Extractions/ExtractWithNotes API去获取一组instruments在某个时间段的Corporate Actions数据的时候,应该如何给ExtractionRequest添加过滤条件呢?比如我只想得到 "Capital Change Event Type" = 21 或者 80 的数据 (这里的21是股票分割的ID; 80是分红数据

dss-rest-apidatascope-selectdss
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.

1 Answer

· Write an Answer
Upvote
Accepted
91 1 0 2

您好,您可以从 Rest API Reference Tree 页面找到每个extraction request所支持的参数列表。下面是一个示例

您可以直接在页面上设置不同参数的输入值,然后点击旁边的JSON Model页面查看JSON格式的request信息。

要找到以上信息,您可以参考下面的两步

1)按照下图先找到ExtractionWithNotes


2) 在页面右侧下拉框任意选择您感兴趣的ExtractionRequest即可

1652863882764.png1652863823323.png


1652863882764.png (79.4 KiB)
1652863823323.png (21.2 KiB)
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.