@bitget-ai/getagent-skill 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/.claude-plugin/marketplace.json +28 -0
  2. package/.claude-plugin/plugin.json +12 -0
  3. package/README.md +99 -0
  4. package/VERSION +1 -0
  5. package/bin/getagent-skill.js +140 -0
  6. package/package.json +45 -0
  7. package/skills/getagent/SKILL.md +129 -0
  8. package/skills/getagent/examples/btc-ema-cross-demo/README.md +61 -0
  9. package/skills/getagent/examples/btc-ema-cross-demo/backtest.yaml +33 -0
  10. package/skills/getagent/examples/btc-ema-cross-demo/manifest.yaml +94 -0
  11. package/skills/getagent/examples/btc-ema-cross-demo/src/main.py +88 -0
  12. package/skills/getagent/examples/btc-ema-cross-demo/src/strategy.py +118 -0
  13. package/skills/getagent/references/api/enable.md +95 -0
  14. package/skills/getagent/references/api/error-responses.md +77 -0
  15. package/skills/getagent/references/api/index.md +38 -0
  16. package/skills/getagent/references/api/list.md +80 -0
  17. package/skills/getagent/references/api/my-playbooks.md +41 -0
  18. package/skills/getagent/references/api/publish.md +76 -0
  19. package/skills/getagent/references/api/run.md +149 -0
  20. package/skills/getagent/references/api/upload.md +76 -0
  21. package/skills/getagent/references/backtest-engine.md +438 -0
  22. package/skills/getagent/references/package-schema.md +552 -0
  23. package/skills/getagent/references/sandbox-runtime.md +201 -0
  24. package/skills/getagent/references/sdk/backtest/catalog.md +208 -0
  25. package/skills/getagent/references/sdk/data/arxiv.md +41 -0
  26. package/skills/getagent/references/sdk/data/catalog.md +56 -0
  27. package/skills/getagent/references/sdk/data/commodity.md +226 -0
  28. package/skills/getagent/references/sdk/data/coverage.md +82 -0
  29. package/skills/getagent/references/sdk/data/crypto.md +2906 -0
  30. package/skills/getagent/references/sdk/data/currency.md +123 -0
  31. package/skills/getagent/references/sdk/data/derivatives.md +269 -0
  32. package/skills/getagent/references/sdk/data/economy.md +1348 -0
  33. package/skills/getagent/references/sdk/data/equity.md +2120 -0
  34. package/skills/getagent/references/sdk/data/etf.md +372 -0
  35. package/skills/getagent/references/sdk/data/famafrench.md +201 -0
  36. package/skills/getagent/references/sdk/data/fixedincome.md +804 -0
  37. package/skills/getagent/references/sdk/data/imf_utils.md +225 -0
  38. package/skills/getagent/references/sdk/data/index.md +216 -0
  39. package/skills/getagent/references/sdk/data/news.md +149 -0
  40. package/skills/getagent/references/sdk/data/playbook-supported.md +9871 -0
  41. package/skills/getagent/references/sdk/data/regulators.md +299 -0
  42. package/skills/getagent/references/sdk/data/sentiment.md +323 -0
  43. package/skills/getagent/references/sdk/data/uscongress.md +126 -0
  44. package/skills/getagent/references/sdk/data/web_search.md +68 -0
  45. package/skills/getagent/references/sdk/data/wikipedia.md +97 -0
  46. package/skills/getagent/references/sdk/llm/catalog.md +117 -0
  47. package/skills/getagent/references/sdk/runtime/catalog.md +195 -0
  48. package/skills/getagent/references/sdk/trade/account.md +61 -0
  49. package/skills/getagent/references/sdk/trade/catalog.md +35 -0
  50. package/skills/getagent/references/sdk/trade/contract.md +331 -0
  51. package/skills/getagent/references/sdk/trade/helpers.md +466 -0
  52. package/skills/getagent/references/sdk/trade/market.md +28 -0
  53. package/skills/getagent/references/sdk/trade/patterns.md +102 -0
  54. package/skills/getagent/references/sdk/trade/spot.md +165 -0
  55. package/skills/getagent/references/sdk.md +198 -0
  56. package/skills/getagent/scripts/validate.py +965 -0
  57. package/skills/getagent/scripts/version_check.sh +62 -0
@@ -0,0 +1,225 @@
1
+ # Imf_Utils Data Reference
2
+
3
+ Use this file when an agent needs detailed signatures and parameter
4
+ rules for one DataSDK domain. All generated `getagent.data` endpoints
5
+ are callable through the DataSDK wrapper.
6
+
7
+ ## Contents
8
+ - [`imf_utils.get_dataflow_dimensions`](#imf-utilsget-dataflow-dimensions)
9
+ - [`imf_utils.list_dataflow_choices`](#imf-utilslist-dataflow-choices)
10
+ - [`imf_utils.list_dataflows`](#imf-utilslist-dataflows)
11
+ - [`imf_utils.list_port_id_choices`](#imf-utilslist-port-id-choices)
12
+ - [`imf_utils.list_table_choices`](#imf-utilslist-table-choices)
13
+ - [`imf_utils.list_tables`](#imf-utilslist-tables)
14
+ - [`imf_utils.presentation_table`](#imf-utilspresentation-table)
15
+ - [`imf_utils.presentation_table_choices`](#imf-utilspresentation-table-choices)
16
+
17
+ ## Endpoint reference
18
+
19
+ ### `imf_utils.get_dataflow_dimensions`
20
+
21
+ ```python
22
+ data.imf_utils.get_dataflow_dimensions(dataflow_id=..., output_format='json')
23
+ ```
24
+
25
+ Summary: Get Dataflow Dimensions
26
+
27
+ | Field | Value |
28
+ |---|---|
29
+ | Endpoint ID | `imf_utils.get_dataflow_dimensions` |
30
+ | HTTP | `GET` |
31
+ | Path | `/inner/v1/agent-data/imf_utils/get_dataflow_dimensions` |
32
+ | Default provider | - |
33
+ | SDK | `supported` |
34
+ | Host | `supported` |
35
+ | Notes | - |
36
+
37
+ #### Query parameters
38
+
39
+ | Param | Required | Type | Default | Notes |
40
+ |---|---|---|---|---|
41
+ | `dataflow_id` | `yes` | `string` | `-` | The IMF dataflow ID. Use `list_dataflows()` to see available dataflows. |
42
+ | `output_format` | `no` | `string` | `json` | - |
43
+
44
+ ---
45
+
46
+ ### `imf_utils.list_dataflow_choices`
47
+
48
+ ```python
49
+ data.imf_utils.list_dataflow_choices()
50
+ ```
51
+
52
+ Summary: List Dataflow Choices
53
+
54
+ | Field | Value |
55
+ |---|---|
56
+ | Endpoint ID | `imf_utils.list_dataflow_choices` |
57
+ | HTTP | `GET` |
58
+ | Path | `/inner/v1/agent-data/imf_utils/list_dataflow_choices` |
59
+ | Default provider | - |
60
+ | SDK | `supported` |
61
+ | Host | `supported` |
62
+ | Notes | - |
63
+
64
+ #### Query parameters
65
+
66
+ No query parameters.
67
+
68
+ ---
69
+
70
+ ### `imf_utils.list_dataflows`
71
+
72
+ ```python
73
+ data.imf_utils.list_dataflows(output_format='json')
74
+ ```
75
+
76
+ Summary: List Dataflows
77
+
78
+ | Field | Value |
79
+ |---|---|
80
+ | Endpoint ID | `imf_utils.list_dataflows` |
81
+ | HTTP | `GET` |
82
+ | Path | `/inner/v1/agent-data/imf_utils/list_dataflows` |
83
+ | Default provider | - |
84
+ | SDK | `supported` |
85
+ | Host | `supported` |
86
+ | Notes | - |
87
+
88
+ #### Query parameters
89
+
90
+ | Param | Required | Type | Default | Notes |
91
+ |---|---|---|---|---|
92
+ | `output_format` | `no` | `string` | `json` | - |
93
+
94
+ ---
95
+
96
+ ### `imf_utils.list_port_id_choices`
97
+
98
+ ```python
99
+ data.imf_utils.list_port_id_choices()
100
+ ```
101
+
102
+ Summary: List Port Id Choices
103
+
104
+ | Field | Value |
105
+ |---|---|
106
+ | Endpoint ID | `imf_utils.list_port_id_choices` |
107
+ | HTTP | `GET` |
108
+ | Path | `/inner/v1/agent-data/imf_utils/list_port_id_choices` |
109
+ | Default provider | - |
110
+ | SDK | `supported` |
111
+ | Host | `supported` |
112
+ | Notes | - |
113
+
114
+ #### Query parameters
115
+
116
+ No query parameters.
117
+
118
+ ---
119
+
120
+ ### `imf_utils.list_table_choices`
121
+
122
+ ```python
123
+ data.imf_utils.list_table_choices()
124
+ ```
125
+
126
+ Summary: List Table Choices
127
+
128
+ | Field | Value |
129
+ |---|---|
130
+ | Endpoint ID | `imf_utils.list_table_choices` |
131
+ | HTTP | `GET` |
132
+ | Path | `/inner/v1/agent-data/imf_utils/list_table_choices` |
133
+ | Default provider | - |
134
+ | SDK | `supported` |
135
+ | Host | `supported` |
136
+ | Notes | - |
137
+
138
+ #### Query parameters
139
+
140
+ No query parameters.
141
+
142
+ ---
143
+
144
+ ### `imf_utils.list_tables`
145
+
146
+ ```python
147
+ data.imf_utils.list_tables()
148
+ ```
149
+
150
+ Summary: List Tables
151
+
152
+ | Field | Value |
153
+ |---|---|
154
+ | Endpoint ID | `imf_utils.list_tables` |
155
+ | HTTP | `GET` |
156
+ | Path | `/inner/v1/agent-data/imf_utils/list_tables` |
157
+ | Default provider | - |
158
+ | SDK | `supported` |
159
+ | Host | `supported` |
160
+ | Notes | - |
161
+
162
+ #### Query parameters
163
+
164
+ No query parameters.
165
+
166
+ ---
167
+
168
+ ### `imf_utils.presentation_table`
169
+
170
+ ```python
171
+ data.imf_utils.presentation_table(dataflow_group=None, table=None, country=None, frequency=None, dimension_values=None, limit=1, raw=False)
172
+ ```
173
+
174
+ Summary: Presentation Table
175
+
176
+ | Field | Value |
177
+ |---|---|
178
+ | Endpoint ID | `imf_utils.presentation_table` |
179
+ | HTTP | `GET` |
180
+ | Path | `/inner/v1/agent-data/imf_utils/presentation_table` |
181
+ | Default provider | - |
182
+ | SDK | `supported` |
183
+ | Host | `supported` |
184
+ | Notes | - |
185
+
186
+ #### Query parameters
187
+
188
+ | Param | Required | Type | Default | Notes |
189
+ |---|---|---|---|---|
190
+ | `dataflow_group` | `no` | `string | null` | `-` | The IMF dataflow group. See presentation_table_choices() for options. |
191
+ | `table` | `no` | `string | null` | `-` | The IMF presentation table ID. See presentation_table_choices() for options. |
192
+ | `country` | `no` | `string | null` | `-` | Country code to filter the data. Enter multiple codes by joining on '+'. See presentation_table_choices() for options. Typical values are ISO3 country codes. |
193
+ | `frequency` | `no` | `string | null` | `-` | The data frequency. See presentation_table_choices() for options. Typical values are 'A' (annual), 'Q' (quarter), 'M' (month), or 'D' (day). |
194
+ | `dimension_values` | `no` | `array | string | null` | `-` | accepts array values Dimension selection for filtering. Format: 'DIM_ID1:VAL1+VAL2.' See presentation_table_choices() and list_dataflow_choices() for available dimensions and values. |
195
+ | `limit` | `no` | `integer` | `1` | Maximum number of records to retrieve per series. |
196
+ | `raw` | `no` | `boolean` | `false` | Return presentation table as raw JSON data if True. |
197
+
198
+ ---
199
+
200
+ ### `imf_utils.presentation_table_choices`
201
+
202
+ ```python
203
+ data.imf_utils.presentation_table_choices(dataflow_group=None, table=None, country=None, frequency=None)
204
+ ```
205
+
206
+ Summary: Presentation Table Choices
207
+
208
+ | Field | Value |
209
+ |---|---|
210
+ | Endpoint ID | `imf_utils.presentation_table_choices` |
211
+ | HTTP | `GET` |
212
+ | Path | `/inner/v1/agent-data/imf_utils/presentation_table_choices` |
213
+ | Default provider | - |
214
+ | SDK | `supported` |
215
+ | Host | `supported` |
216
+ | Notes | - |
217
+
218
+ #### Query parameters
219
+
220
+ | Param | Required | Type | Default | Notes |
221
+ |---|---|---|---|---|
222
+ | `dataflow_group` | `no` | `string | null` | `-` | - |
223
+ | `table` | `no` | `string | null` | `-` | - |
224
+ | `country` | `no` | `string | null` | `-` | - |
225
+ | `frequency` | `no` | `string | null` | `-` | - |
@@ -0,0 +1,216 @@
1
+ # Index Data Reference
2
+
3
+ Use this file when an agent needs detailed signatures and parameter
4
+ rules for one DataSDK domain. All generated `getagent.data` endpoints
5
+ are callable through the DataSDK wrapper.
6
+
7
+ ## Contents
8
+ - [`index.available`](#indexavailable)
9
+ - [`index.constituents`](#indexconstituents)
10
+ - [`index.price.historical`](#indexpricehistorical)
11
+ - [`index.search`](#indexsearch)
12
+ - [`index.sectors`](#indexsectors)
13
+ - [`index.snapshots`](#indexsnapshots)
14
+ - [`index.sp500_multiples`](#indexsp500-multiples)
15
+
16
+ ## Endpoint reference
17
+
18
+ ### `index.available`
19
+
20
+ ```python
21
+ data.index.available(use_cache=True, provider=...)
22
+ ```
23
+
24
+ Summary: Available
25
+
26
+ | Field | Value |
27
+ |---|---|
28
+ | Endpoint ID | `index.available` |
29
+ | HTTP | `GET` |
30
+ | Path | `/inner/v1/agent-data/index/available` |
31
+ | Default provider | - |
32
+ | SDK | `supported` |
33
+ | Host | `supported` |
34
+ | Notes | - |
35
+
36
+ #### Query parameters
37
+
38
+ | Param | Required | Type | Default | Notes |
39
+ |---|---|---|---|---|
40
+ | `use_cache` | `no` | `boolean` | `true` | When True, the Cboe Index directory will be cached for 24 hours. Set as False to bypass. (provider: cboe); Whether to use a cached request. Index data is from a single JSON file, updated each day after close. It is cached for one day. To bypass, set to False. (provider: tmx) |
41
+ | `provider` | `yes` | `string` | `-` | enum: cboe, fmp, tmx, yfinance |
42
+
43
+ ---
44
+
45
+ ### `index.constituents`
46
+
47
+ ```python
48
+ data.index.constituents(symbol=..., historical=False, use_cache=True, provider=...)
49
+ ```
50
+
51
+ Summary: Constituents
52
+
53
+ | Field | Value |
54
+ |---|---|
55
+ | Endpoint ID | `index.constituents` |
56
+ | HTTP | `GET` |
57
+ | Path | `/inner/v1/agent-data/index/constituents` |
58
+ | Default provider | - |
59
+ | SDK | `supported` |
60
+ | Host | `supported` |
61
+ | Notes | - |
62
+
63
+ #### Query parameters
64
+
65
+ | Param | Required | Type | Default | Notes |
66
+ |---|---|---|---|---|
67
+ | `symbol` | `yes` | `string` | `-` | Symbol to get data for. |
68
+ | `historical` | `no` | `boolean` | `false` | Flag to retrieve historical removals and additions. (provider: fmp) |
69
+ | `use_cache` | `no` | `boolean` | `true` | Whether to use a cached request. Index data is from a single JSON file, updated each day after close. It is cached for one day. To bypass, set to False. (provider: tmx) |
70
+ | `provider` | `yes` | `string` | `-` | enum: cboe, fmp, tmx |
71
+
72
+ ---
73
+
74
+ ### `index.price.historical`
75
+
76
+ ```python
77
+ data.index.price.historical(symbol=..., start_time=None, end_time=None, interval='1d', use_cache=True, limit=10000, provider=...)
78
+ ```
79
+
80
+ Summary: Historical
81
+
82
+ | Field | Value |
83
+ |---|---|
84
+ | Endpoint ID | `index.price.historical` |
85
+ | HTTP | `GET` |
86
+ | Path | `/inner/v1/agent-data/index/price/historical` |
87
+ | Default provider | - |
88
+ | SDK | `supported` |
89
+ | Host | `supported` |
90
+ | Notes | - |
91
+
92
+ #### Query parameters
93
+
94
+ | Param | Required | Type | Default | Notes |
95
+ |---|---|---|---|---|
96
+ | `symbol` | `yes` | `string` | `-` | Symbol to get data for. Multiple comma separated items allowed for provider(s): akshare, cboe, fmp, intrinio, yfinance. |
97
+ | `start_time` | `no` | `integer | null` | `-` | Start time of the data as a Unix timestamp in milliseconds. Takes priority over start_date when both are provided. |
98
+ | `end_time` | `no` | `integer | null` | `-` | End time of the data as a Unix timestamp in milliseconds. Takes priority over end_date when both are provided. |
99
+ | `interval` | `no` | `string` | `1d` | Time interval of the data to return. The most recent trading day is not including in daily historical data. Intraday data is only available for the most recent trading day at 1 minute intervals. (provider: cboe); Time interval of the data to return. (provider: fmp); Time interval of the data to return. (provider: yfinance) |
100
+ | `use_cache` | `no` | `boolean` | `true` | When True, the company directories will be cached for 24 hours and are used to validate symbols. The results of the function are not cached. Set as False to bypass. (provider: cboe) |
101
+ | `limit` | `no` | `integer | null` | `10000` | The number of data entries to return. (provider: intrinio) |
102
+ | `provider` | `yes` | `string` | `-` | enum: akshare, cboe, fmp, intrinio, yfinance |
103
+
104
+ ---
105
+
106
+ ### `index.search`
107
+
108
+ ```python
109
+ data.index.search(query='', is_symbol=False, use_cache=True, provider='cboe')
110
+ ```
111
+
112
+ Summary: Search
113
+
114
+ | Field | Value |
115
+ |---|---|
116
+ | Endpoint ID | `index.search` |
117
+ | HTTP | `GET` |
118
+ | Path | `/inner/v1/agent-data/index/search` |
119
+ | Default provider | `cboe` |
120
+ | SDK | `supported` |
121
+ | Host | `supported` |
122
+ | Notes | - |
123
+
124
+ #### Query parameters
125
+
126
+ | Param | Required | Type | Default | Notes |
127
+ |---|---|---|---|---|
128
+ | `query` | `no` | `string` | `` | Search query. |
129
+ | `is_symbol` | `no` | `boolean` | `false` | Whether to search by ticker symbol. |
130
+ | `use_cache` | `no` | `boolean` | `true` | When True, the Cboe Index directory will be cached for 24 hours. Set as False to bypass. (provider: cboe) |
131
+ | `provider` | `no` | `string` | `cboe` | - |
132
+
133
+ ---
134
+
135
+ ### `index.sectors`
136
+
137
+ ```python
138
+ data.index.sectors(symbol=..., use_cache=True, provider='tmx')
139
+ ```
140
+
141
+ Summary: Sectors
142
+
143
+ | Field | Value |
144
+ |---|---|
145
+ | Endpoint ID | `index.sectors` |
146
+ | HTTP | `GET` |
147
+ | Path | `/inner/v1/agent-data/index/sectors` |
148
+ | Default provider | `tmx` |
149
+ | SDK | `supported` |
150
+ | Host | `supported` |
151
+ | Notes | - |
152
+
153
+ #### Query parameters
154
+
155
+ | Param | Required | Type | Default | Notes |
156
+ |---|---|---|---|---|
157
+ | `symbol` | `yes` | `string` | `-` | Symbol to get data for. |
158
+ | `use_cache` | `no` | `boolean` | `true` | Whether to use a cached request. All Index data comes from a single JSON file that is updated daily. To bypass, set to False. If True, the data will be cached for 1 day. (provider: tmx) |
159
+ | `provider` | `no` | `string` | `tmx` | - |
160
+
161
+ ---
162
+
163
+ ### `index.snapshots`
164
+
165
+ ```python
166
+ data.index.snapshots(region='us', use_cache=True, provider=...)
167
+ ```
168
+
169
+ Summary: Snapshots
170
+
171
+ | Field | Value |
172
+ |---|---|
173
+ | Endpoint ID | `index.snapshots` |
174
+ | HTTP | `GET` |
175
+ | Path | `/inner/v1/agent-data/index/snapshots` |
176
+ | Default provider | - |
177
+ | SDK | `supported` |
178
+ | Host | `supported` |
179
+ | Notes | - |
180
+
181
+ #### Query parameters
182
+
183
+ | Param | Required | Type | Default | Notes |
184
+ |---|---|---|---|---|
185
+ | `region` | `no` | `string` | `us` | The region of focus for the data - i.e., us, eu. |
186
+ | `use_cache` | `no` | `boolean` | `true` | Whether to use a cached request. Index data is from a single JSON file, updated each day after close. It is cached for one day. To bypass, set to False. (provider: tmx) |
187
+ | `provider` | `yes` | `string` | `-` | enum: cboe, tmx |
188
+
189
+ ---
190
+
191
+ ### `index.sp500_multiples`
192
+
193
+ ```python
194
+ data.index.sp500_multiples(start_time=None, end_time=None, series_name='pe_month', provider='multpl')
195
+ ```
196
+
197
+ Summary: Sp500 Multiples
198
+
199
+ | Field | Value |
200
+ |---|---|
201
+ | Endpoint ID | `index.sp500_multiples` |
202
+ | HTTP | `GET` |
203
+ | Path | `/inner/v1/agent-data/index/sp500_multiples` |
204
+ | Default provider | `multpl` |
205
+ | SDK | `supported` |
206
+ | Host | `supported` |
207
+ | Notes | - |
208
+
209
+ #### Query parameters
210
+
211
+ | Param | Required | Type | Default | Notes |
212
+ |---|---|---|---|---|
213
+ | `start_time` | `no` | `integer | null` | `-` | Start time of the data as a Unix timestamp in milliseconds. Takes priority over start_date when both are provided. |
214
+ | `end_time` | `no` | `integer | null` | `-` | End time of the data as a Unix timestamp in milliseconds. Takes priority over end_date when both are provided. |
215
+ | `series_name` | `no` | `string` | `pe_month` | The name of the series. Defaults to 'pe_month'. Multiple comma separated items allowed for provider(s): multpl. |
216
+ | `provider` | `no` | `string` | `multpl` | - |
@@ -0,0 +1,149 @@
1
+ # News Data Reference
2
+
3
+ Use this file when an agent needs detailed signatures and parameter
4
+ rules for one DataSDK domain. All generated `getagent.data` endpoints
5
+ are callable through the DataSDK wrapper.
6
+
7
+ ## Contents
8
+ - [`news.company`](#newscompany)
9
+ - [`news.label_search`](#newslabel-search)
10
+ - [`news.world`](#newsworld)
11
+
12
+ ## Endpoint reference
13
+
14
+ ### `news.company`
15
+
16
+ ```python
17
+ data.news.company(start_time=None, end_time=None, symbol=None, limit=None, date=None, display='full', updated_since=None, published_since=None, sort='created', order='desc', isin=None, cusip=None, channels=None, topics=None, authors=None, content_types=None, page=0, press_release=None, source=None, sentiment=None, language=None, topic=None, word_count_greater_than=None, word_count_less_than=None, is_spam=None, business_relevance_greater_than=None, business_relevance_less_than=None, offset=0, provider=...)
18
+ ```
19
+
20
+ Summary: Company
21
+
22
+ | Field | Value |
23
+ |---|---|
24
+ | Endpoint ID | `news.company` |
25
+ | HTTP | `GET` |
26
+ | Path | `/inner/v1/agent-data/news/company` |
27
+ | Default provider | - |
28
+ | SDK | `supported` |
29
+ | Host | `supported` |
30
+ | Notes | - |
31
+
32
+ #### Query parameters
33
+
34
+ | Param | Required | Type | Default | Notes |
35
+ |---|---|---|---|---|
36
+ | `start_time` | `no` | `integer | null` | `-` | Start time of the data as a Unix timestamp in milliseconds. Takes priority over start_date when both are provided. |
37
+ | `end_time` | `no` | `integer | null` | `-` | End time of the data as a Unix timestamp in milliseconds. Takes priority over end_date when both are provided. |
38
+ | `symbol` | `no` | `string | null` | `-` | Symbol to get data for. Multiple comma separated items allowed for provider(s): benzinga, fmp, intrinio, tiingo, tmx, yfinance. |
39
+ | `limit` | `no` | `integer | null` | `-` | The number of data entries to return. |
40
+ | `date` | `no` | `string | null` | `-` | A specific date to get data for. (provider: benzinga) |
41
+ | `display` | `no` | `string` | `full` | enum: headline, abstract, full Specify headline only (headline), headline + teaser (abstract), or headline + full body (full). (provider: benzinga) |
42
+ | `updated_since` | `no` | `integer | null` | `-` | Number of seconds since the news was updated. (provider: benzinga) |
43
+ | `published_since` | `no` | `integer | null` | `-` | Number of seconds since the news was published. (provider: benzinga) |
44
+ | `sort` | `no` | `string` | `created` | enum: id, created, updated Key to sort the news by. (provider: benzinga) |
45
+ | `order` | `no` | `string` | `desc` | enum: asc, desc Order to sort the news by. (provider: benzinga) |
46
+ | `isin` | `no` | `string | null` | `-` | The company's ISIN. (provider: benzinga) |
47
+ | `cusip` | `no` | `string | null` | `-` | The company's CUSIP. (provider: benzinga) |
48
+ | `channels` | `no` | `string | null` | `-` | Channels of the news to retrieve. (provider: benzinga) |
49
+ | `topics` | `no` | `string | null` | `-` | Topics of the news to retrieve. (provider: benzinga) |
50
+ | `authors` | `no` | `string | null` | `-` | Authors of the news to retrieve. (provider: benzinga) |
51
+ | `content_types` | `no` | `string | null` | `-` | Content types of the news to retrieve. (provider: benzinga) |
52
+ | `page` | `no` | `integer | null` | `0` | Page number of the results. Use in combination with limit. (provider: fmp); The page number to start from. Use with limit. (provider: tmx) |
53
+ | `press_release` | `no` | `boolean | null` | `-` | When true, will return only press releases for the given symbol(s). (provider: fmp) |
54
+ | `source` | `no` | `string | null` | `-` | The source of the news article. (provider: intrinio); A comma-separated list of the domains requested. Multiple comma separated items allowed. (provider: tiingo) |
55
+ | `sentiment` | `no` | `string | null` | `-` | Return news only from this source. (provider: intrinio) |
56
+ | `language` | `no` | `string | null` | `-` | Filter by language. Unsupported for yahoo source. (provider: intrinio) |
57
+ | `topic` | `no` | `string | null` | `-` | Filter by topic. Unsupported for yahoo source. (provider: intrinio) |
58
+ | `word_count_greater_than` | `no` | `integer | null` | `-` | News stories will have a word count greater than this value. Unsupported for yahoo source. (provider: intrinio) |
59
+ | `word_count_less_than` | `no` | `integer | null` | `-` | News stories will have a word count less than this value. Unsupported for yahoo source. (provider: intrinio) |
60
+ | `is_spam` | `no` | `boolean | null` | `-` | Filter whether it is marked as spam or not. Unsupported for yahoo source. (provider: intrinio) |
61
+ | `business_relevance_greater_than` | `no` | `number | null` | `-` | News stories will have a business relevance score more than this value. Unsupported for yahoo source. Value is a decimal between 0 and 1. (provider: intrinio) |
62
+ | `business_relevance_less_than` | `no` | `number | null` | `-` | News stories will have a business relevance score less than this value. Unsupported for yahoo source. Value is a decimal between 0 and 1. (provider: intrinio) |
63
+ | `offset` | `no` | `integer | null` | `0` | Page offset, used in conjunction with limit. (provider: tiingo) |
64
+ | `provider` | `yes` | `string` | `-` | enum: benzinga, finnhub, fmp, intrinio, tiingo, tmx, yfinance |
65
+
66
+ ---
67
+
68
+ ### `news.label_search`
69
+
70
+ ```python
71
+ data.news.label_search(label=..., language_id=0, start_time=None, end_time=None, page=1, page_size=10, provider='bitget_data')
72
+ ```
73
+
74
+ Summary: Label Search
75
+
76
+ | Field | Value |
77
+ |---|---|
78
+ | Endpoint ID | `news.label_search` |
79
+ | HTTP | `GET` |
80
+ | Path | `/inner/v1/agent-data/news/label_search` |
81
+ | Default provider | `bitget_data` |
82
+ | SDK | `supported` |
83
+ | Host | `supported` |
84
+ | Notes | - |
85
+
86
+ #### Query parameters
87
+
88
+ | Param | Required | Type | Default | Notes |
89
+ |---|---|---|---|---|
90
+ | `label` | `yes` | `integer | string` | `-` | News label type to search for. Accepts either the integer type code or the human-readable name: 1=Crypto, 2=Stocks, 6=Commodities & Forex, 7=Macro. |
91
+ | `language_id` | `no` | `integer | string | null` | `0` | Language filter. Accepts either the integer language code or a locale string (e.g. 'en', 'zh-CN', 'ja'). Defaults to 0 (English). |
92
+ | `start_time` | `no` | `string | integer | number | null` | `-` | Start of the time range. Accepts a datetime object, an ISO-8601 string, or a Unix timestamp (seconds or milliseconds). Converted to millisecond epoch before sending to the API. |
93
+ | `end_time` | `no` | `string | integer | number | null` | `-` | End of the time range. Accepts a datetime object, an ISO-8601 string, or a Unix timestamp (seconds or milliseconds). Converted to millisecond epoch before sending to the API. |
94
+ | `page` | `no` | `integer | null` | `1` | Page number for pagination (1-based). Defaults to 1. |
95
+ | `page_size` | `no` | `integer | null` | `10` | Number of news items per page. Defaults to 10. |
96
+ | `provider` | `no` | `string` | `bitget_data` | - |
97
+
98
+ ---
99
+
100
+ ### `news.world`
101
+
102
+ ```python
103
+ data.news.world(start_time=None, end_time=None, limit=None, date=None, display='full', updated_since=None, published_since=None, sort='created', order='desc', isin=None, cusip=None, channels=None, topics=None, authors=None, content_types=None, term=None, source=None, topic='general', page=None, sentiment=None, language=None, word_count_greater_than=None, word_count_less_than=None, is_spam=None, business_relevance_greater_than=None, business_relevance_less_than=None, offset=0, provider=...)
104
+ ```
105
+
106
+ Summary: World
107
+
108
+ | Field | Value |
109
+ |---|---|
110
+ | Endpoint ID | `news.world` |
111
+ | HTTP | `GET` |
112
+ | Path | `/inner/v1/agent-data/news/world` |
113
+ | Default provider | - |
114
+ | SDK | `supported` |
115
+ | Host | `supported` |
116
+ | Notes | Global news feed endpoint for macro/news-aware strategies. |
117
+
118
+ #### Query parameters
119
+
120
+ | Param | Required | Type | Default | Notes |
121
+ |---|---|---|---|---|
122
+ | `start_time` | `no` | `integer | null` | `-` | Start time of the data as a Unix timestamp in milliseconds. Takes priority over start_date when both are provided. |
123
+ | `end_time` | `no` | `integer | null` | `-` | End time of the data as a Unix timestamp in milliseconds. Takes priority over end_date when both are provided. |
124
+ | `limit` | `no` | `integer | null` | `-` | The number of data entries to return. The number of articles to return. |
125
+ | `date` | `no` | `string | null` | `-` | A specific date to get data for. (provider: benzinga) |
126
+ | `display` | `no` | `string` | `full` | enum: headline, abstract, full Specify headline only (headline), headline + teaser (abstract), or headline + full body (full). (provider: benzinga) |
127
+ | `updated_since` | `no` | `integer | null` | `-` | Number of seconds since the news was updated. (provider: benzinga) |
128
+ | `published_since` | `no` | `integer | null` | `-` | Number of seconds since the news was published. (provider: benzinga) |
129
+ | `sort` | `no` | `string` | `created` | enum: id, created, updated Key to sort the news by. (provider: benzinga) |
130
+ | `order` | `no` | `string` | `desc` | enum: asc, desc Order to sort the news by. (provider: benzinga) |
131
+ | `isin` | `no` | `string | null` | `-` | The ISIN of the news to retrieve. (provider: benzinga) |
132
+ | `cusip` | `no` | `string | null` | `-` | The CUSIP of the news to retrieve. (provider: benzinga) |
133
+ | `channels` | `no` | `string | null` | `-` | Channels of the news to retrieve. (provider: benzinga) |
134
+ | `topics` | `no` | `string | null` | `-` | Topics of the news to retrieve. (provider: benzinga) |
135
+ | `authors` | `no` | `string | null` | `-` | Authors of the news to retrieve. (provider: benzinga) |
136
+ | `content_types` | `no` | `string | null` | `-` | Content types of the news to retrieve. (provider: benzinga) |
137
+ | `term` | `no` | `string | null` | `-` | Search term to filter articles by. This overrides all other filters. (provider: biztoc) |
138
+ | `source` | `no` | `string | null` | `-` | Filter by a specific publisher. Only valid when filter is set to source. (provider: biztoc); The source of the news article. (provider: intrinio); A comma-separated list of the domains requested. Multiple comma separated items allowed. (provider: tiingo) |
139
+ | `topic` | `no` | `string | null` | `general` | The topic of the news to be fetched. (provider: fmp); Filter by topic. Unsupported for yahoo source. (provider: intrinio) |
140
+ | `page` | `no` | `integer | null` | `-` | Page number of the results. Use in combination with limit. (provider: fmp) |
141
+ | `sentiment` | `no` | `string | null` | `-` | Return news only from this source. (provider: intrinio) |
142
+ | `language` | `no` | `string | null` | `-` | Filter by language. Unsupported for yahoo source. (provider: intrinio) |
143
+ | `word_count_greater_than` | `no` | `integer | null` | `-` | News stories will have a word count greater than this value. Unsupported for yahoo source. (provider: intrinio) |
144
+ | `word_count_less_than` | `no` | `integer | null` | `-` | News stories will have a word count less than this value. Unsupported for yahoo source. (provider: intrinio) |
145
+ | `is_spam` | `no` | `boolean | null` | `-` | Filter whether it is marked as spam or not. Unsupported for yahoo source. (provider: intrinio) |
146
+ | `business_relevance_greater_than` | `no` | `number | null` | `-` | News stories will have a business relevance score more than this value. Unsupported for yahoo source. Value is a decimal between 0 and 1. (provider: intrinio) |
147
+ | `business_relevance_less_than` | `no` | `number | null` | `-` | News stories will have a business relevance score less than this value. Unsupported for yahoo source. Value is a decimal between 0 and 1. (provider: intrinio) |
148
+ | `offset` | `no` | `integer | null` | `0` | Page offset, used in conjunction with limit. (provider: tiingo) |
149
+ | `provider` | `yes` | `string` | `-` | enum: benzinga, biztoc, finnhub, fmp, intrinio, tiingo |