@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.
- package/.claude-plugin/marketplace.json +28 -0
- package/.claude-plugin/plugin.json +12 -0
- package/README.md +99 -0
- package/VERSION +1 -0
- package/bin/getagent-skill.js +140 -0
- package/package.json +45 -0
- package/skills/getagent/SKILL.md +129 -0
- package/skills/getagent/examples/btc-ema-cross-demo/README.md +61 -0
- package/skills/getagent/examples/btc-ema-cross-demo/backtest.yaml +33 -0
- package/skills/getagent/examples/btc-ema-cross-demo/manifest.yaml +94 -0
- package/skills/getagent/examples/btc-ema-cross-demo/src/main.py +88 -0
- package/skills/getagent/examples/btc-ema-cross-demo/src/strategy.py +118 -0
- package/skills/getagent/references/api/enable.md +95 -0
- package/skills/getagent/references/api/error-responses.md +77 -0
- package/skills/getagent/references/api/index.md +38 -0
- package/skills/getagent/references/api/list.md +80 -0
- package/skills/getagent/references/api/my-playbooks.md +41 -0
- package/skills/getagent/references/api/publish.md +76 -0
- package/skills/getagent/references/api/run.md +149 -0
- package/skills/getagent/references/api/upload.md +76 -0
- package/skills/getagent/references/backtest-engine.md +438 -0
- package/skills/getagent/references/package-schema.md +552 -0
- package/skills/getagent/references/sandbox-runtime.md +201 -0
- package/skills/getagent/references/sdk/backtest/catalog.md +208 -0
- package/skills/getagent/references/sdk/data/arxiv.md +41 -0
- package/skills/getagent/references/sdk/data/catalog.md +56 -0
- package/skills/getagent/references/sdk/data/commodity.md +226 -0
- package/skills/getagent/references/sdk/data/coverage.md +82 -0
- package/skills/getagent/references/sdk/data/crypto.md +2906 -0
- package/skills/getagent/references/sdk/data/currency.md +123 -0
- package/skills/getagent/references/sdk/data/derivatives.md +269 -0
- package/skills/getagent/references/sdk/data/economy.md +1348 -0
- package/skills/getagent/references/sdk/data/equity.md +2120 -0
- package/skills/getagent/references/sdk/data/etf.md +372 -0
- package/skills/getagent/references/sdk/data/famafrench.md +201 -0
- package/skills/getagent/references/sdk/data/fixedincome.md +804 -0
- package/skills/getagent/references/sdk/data/imf_utils.md +225 -0
- package/skills/getagent/references/sdk/data/index.md +216 -0
- package/skills/getagent/references/sdk/data/news.md +149 -0
- package/skills/getagent/references/sdk/data/playbook-supported.md +9871 -0
- package/skills/getagent/references/sdk/data/regulators.md +299 -0
- package/skills/getagent/references/sdk/data/sentiment.md +323 -0
- package/skills/getagent/references/sdk/data/uscongress.md +126 -0
- package/skills/getagent/references/sdk/data/web_search.md +68 -0
- package/skills/getagent/references/sdk/data/wikipedia.md +97 -0
- package/skills/getagent/references/sdk/llm/catalog.md +117 -0
- package/skills/getagent/references/sdk/runtime/catalog.md +195 -0
- package/skills/getagent/references/sdk/trade/account.md +61 -0
- package/skills/getagent/references/sdk/trade/catalog.md +35 -0
- package/skills/getagent/references/sdk/trade/contract.md +331 -0
- package/skills/getagent/references/sdk/trade/helpers.md +466 -0
- package/skills/getagent/references/sdk/trade/market.md +28 -0
- package/skills/getagent/references/sdk/trade/patterns.md +102 -0
- package/skills/getagent/references/sdk/trade/spot.md +165 -0
- package/skills/getagent/references/sdk.md +198 -0
- package/skills/getagent/scripts/validate.py +965 -0
- package/skills/getagent/scripts/version_check.sh +62 -0
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
# Etf 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
|
+
- [`etf.countries`](#etfcountries)
|
|
9
|
+
- [`etf.discovery.active`](#etfdiscoveryactive)
|
|
10
|
+
- [`etf.discovery.gainers`](#etfdiscoverygainers)
|
|
11
|
+
- [`etf.discovery.losers`](#etfdiscoverylosers)
|
|
12
|
+
- [`etf.equity_exposure`](#etfequity-exposure)
|
|
13
|
+
- [`etf.historical`](#etfhistorical)
|
|
14
|
+
- [`etf.holdings`](#etfholdings)
|
|
15
|
+
- [`etf.info`](#etfinfo)
|
|
16
|
+
- [`etf.nport_disclosure`](#etfnport-disclosure)
|
|
17
|
+
- [`etf.price_performance`](#etfprice-performance)
|
|
18
|
+
- [`etf.search`](#etfsearch)
|
|
19
|
+
- [`etf.sectors`](#etfsectors)
|
|
20
|
+
|
|
21
|
+
## Endpoint reference
|
|
22
|
+
|
|
23
|
+
### `etf.countries`
|
|
24
|
+
|
|
25
|
+
```python
|
|
26
|
+
data.etf.countries(symbol=..., use_cache=True, provider=...)
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Summary: Countries
|
|
30
|
+
|
|
31
|
+
| Field | Value |
|
|
32
|
+
|---|---|
|
|
33
|
+
| Endpoint ID | `etf.countries` |
|
|
34
|
+
| HTTP | `GET` |
|
|
35
|
+
| Path | `/inner/v1/agent-data/etf/countries` |
|
|
36
|
+
| Default provider | - |
|
|
37
|
+
| SDK | `supported` |
|
|
38
|
+
| Host | `supported` |
|
|
39
|
+
| Notes | - |
|
|
40
|
+
|
|
41
|
+
#### Query parameters
|
|
42
|
+
|
|
43
|
+
| Param | Required | Type | Default | Notes |
|
|
44
|
+
|---|---|---|---|---|
|
|
45
|
+
| `symbol` | `yes` | `string` | `-` | Symbol to get data for. Multiple comma separated items allowed for provider(s): fmp, tmx. |
|
|
46
|
+
| `use_cache` | `no` | `boolean` | `true` | Whether to use a cached request. All ETF data comes from a single JSON file that is updated daily. To bypass, set to False. If True, the data will be cached for 4 hours. (provider: tmx) |
|
|
47
|
+
| `provider` | `yes` | `string` | `-` | enum: fmp, tmx |
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
### `etf.discovery.active`
|
|
52
|
+
|
|
53
|
+
```python
|
|
54
|
+
data.etf.discovery.active(sort='desc', limit=10, provider='wsj')
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Summary: Active
|
|
58
|
+
|
|
59
|
+
| Field | Value |
|
|
60
|
+
|---|---|
|
|
61
|
+
| Endpoint ID | `etf.discovery.active` |
|
|
62
|
+
| HTTP | `GET` |
|
|
63
|
+
| Path | `/inner/v1/agent-data/etf/discovery/active` |
|
|
64
|
+
| Default provider | `wsj` |
|
|
65
|
+
| SDK | `supported` |
|
|
66
|
+
| Host | `supported` |
|
|
67
|
+
| Notes | - |
|
|
68
|
+
|
|
69
|
+
#### Query parameters
|
|
70
|
+
|
|
71
|
+
| Param | Required | Type | Default | Notes |
|
|
72
|
+
|---|---|---|---|---|
|
|
73
|
+
| `sort` | `no` | `string` | `desc` | enum: asc, desc Sort order. Possible values: 'asc', 'desc'. Default: 'desc'. |
|
|
74
|
+
| `limit` | `no` | `integer` | `10` | The number of data entries to return. |
|
|
75
|
+
| `provider` | `no` | `string` | `wsj` | - |
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
### `etf.discovery.gainers`
|
|
80
|
+
|
|
81
|
+
```python
|
|
82
|
+
data.etf.discovery.gainers(sort='desc', limit=10, provider='wsj')
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Summary: Gainers
|
|
86
|
+
|
|
87
|
+
| Field | Value |
|
|
88
|
+
|---|---|
|
|
89
|
+
| Endpoint ID | `etf.discovery.gainers` |
|
|
90
|
+
| HTTP | `GET` |
|
|
91
|
+
| Path | `/inner/v1/agent-data/etf/discovery/gainers` |
|
|
92
|
+
| Default provider | `wsj` |
|
|
93
|
+
| SDK | `supported` |
|
|
94
|
+
| Host | `supported` |
|
|
95
|
+
| Notes | - |
|
|
96
|
+
|
|
97
|
+
#### Query parameters
|
|
98
|
+
|
|
99
|
+
| Param | Required | Type | Default | Notes |
|
|
100
|
+
|---|---|---|---|---|
|
|
101
|
+
| `sort` | `no` | `string` | `desc` | enum: asc, desc Sort order. Possible values: 'asc', 'desc'. Default: 'desc'. |
|
|
102
|
+
| `limit` | `no` | `integer` | `10` | The number of data entries to return. |
|
|
103
|
+
| `provider` | `no` | `string` | `wsj` | - |
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
### `etf.discovery.losers`
|
|
108
|
+
|
|
109
|
+
```python
|
|
110
|
+
data.etf.discovery.losers(sort='desc', limit=10, provider='wsj')
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Summary: Losers
|
|
114
|
+
|
|
115
|
+
| Field | Value |
|
|
116
|
+
|---|---|
|
|
117
|
+
| Endpoint ID | `etf.discovery.losers` |
|
|
118
|
+
| HTTP | `GET` |
|
|
119
|
+
| Path | `/inner/v1/agent-data/etf/discovery/losers` |
|
|
120
|
+
| Default provider | `wsj` |
|
|
121
|
+
| SDK | `supported` |
|
|
122
|
+
| Host | `supported` |
|
|
123
|
+
| Notes | - |
|
|
124
|
+
|
|
125
|
+
#### Query parameters
|
|
126
|
+
|
|
127
|
+
| Param | Required | Type | Default | Notes |
|
|
128
|
+
|---|---|---|---|---|
|
|
129
|
+
| `sort` | `no` | `string` | `desc` | enum: asc, desc Sort order. Possible values: 'asc', 'desc'. Default: 'desc'. |
|
|
130
|
+
| `limit` | `no` | `integer` | `10` | The number of data entries to return. |
|
|
131
|
+
| `provider` | `no` | `string` | `wsj` | - |
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
### `etf.equity_exposure`
|
|
136
|
+
|
|
137
|
+
```python
|
|
138
|
+
data.etf.equity_exposure(symbol=..., provider='fmp')
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Summary: Equity Exposure
|
|
142
|
+
|
|
143
|
+
| Field | Value |
|
|
144
|
+
|---|---|
|
|
145
|
+
| Endpoint ID | `etf.equity_exposure` |
|
|
146
|
+
| HTTP | `GET` |
|
|
147
|
+
| Path | `/inner/v1/agent-data/etf/equity_exposure` |
|
|
148
|
+
| Default provider | `fmp` |
|
|
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. (underlying equity) Multiple comma separated items allowed for provider(s): fmp. |
|
|
158
|
+
| `provider` | `no` | `string` | `fmp` | - |
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
### `etf.historical`
|
|
163
|
+
|
|
164
|
+
```python
|
|
165
|
+
data.etf.historical(symbol=..., start_time=None, end_time=None, interval='1d', adjustment='splits_only', extended_hours=False, use_cache=True, start_clock_time=None, end_clock_time=None, timezone='America/New_York', source='realtime', include_actions=True, provider=...)
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
Summary: Historical
|
|
169
|
+
|
|
170
|
+
| Field | Value |
|
|
171
|
+
|---|---|
|
|
172
|
+
| Endpoint ID | `etf.historical` |
|
|
173
|
+
| HTTP | `GET` |
|
|
174
|
+
| Path | `/inner/v1/agent-data/etf/historical` |
|
|
175
|
+
| Default provider | - |
|
|
176
|
+
| SDK | `supported` |
|
|
177
|
+
| Host | `supported` |
|
|
178
|
+
| Notes | - |
|
|
179
|
+
|
|
180
|
+
#### Query parameters
|
|
181
|
+
|
|
182
|
+
| Param | Required | Type | Default | Notes |
|
|
183
|
+
|---|---|---|---|---|
|
|
184
|
+
| `symbol` | `yes` | `string` | `-` | Symbol to get data for. Multiple comma separated items allowed for provider(s): alpha_vantage, cboe, fmp, tiingo, tmx, tradier, yfinance.; A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID). (provider: intrinio) |
|
|
185
|
+
| `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. |
|
|
186
|
+
| `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. |
|
|
187
|
+
| `interval` | `no` | `string | integer` | `1d` | Time interval of the data to return. (provider: alpha_vantage,cboe,fmp,intrinio,tiingo,tmx,tradier, yfinance) |
|
|
188
|
+
| `adjustment` | `no` | `string` | `splits_only` | The adjustment factor to apply. 'splits_only' is not supported for intraday data. (provider: alpha_vantage); Type of adjustment for historical prices. Only applies to daily data. (provider: fmp); The adjustment factor to apply. Only valid for daily data. (provider: tmx); The adjustment factor to apply. Default is splits only. (provider: yfinance) |
|
|
189
|
+
| `extended_hours` | `no` | `boolean` | `false` | Include Pre and Post market data. (provider: alpha_vantage,tradier, yfinance) |
|
|
190
|
+
| `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) |
|
|
191
|
+
| `start_clock_time` | `no` | `string | null` | `-` | Return intervals starting at the specified time on the `start_date` formatted as 'HH:MM:SS'. (provider: intrinio) |
|
|
192
|
+
| `end_clock_time` | `no` | `string | null` | `-` | Return intervals stopping at the specified time on the `end_date` formatted as 'HH:MM:SS'. (provider: intrinio) |
|
|
193
|
+
| `timezone` | `no` | `string | null` | `America/New_York` | Timezone of the data, in the IANA format (Continent/City). (provider: intrinio) |
|
|
194
|
+
| `source` | `no` | `string` | `realtime` | enum: realtime, delayed, nasdaq_basic The source of the data. (provider: intrinio) |
|
|
195
|
+
| `include_actions` | `no` | `boolean` | `true` | Include dividends and stock splits in results. (provider: yfinance) |
|
|
196
|
+
| `provider` | `yes` | `string` | `-` | enum: alpha_vantage, cboe, fmp, intrinio, tiingo, tmx, tradier, yfinance |
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
### `etf.holdings`
|
|
201
|
+
|
|
202
|
+
```python
|
|
203
|
+
data.etf.holdings(symbol=..., date=None, use_cache=True, provider=...)
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
Summary: Holdings
|
|
207
|
+
|
|
208
|
+
| Field | Value |
|
|
209
|
+
|---|---|
|
|
210
|
+
| Endpoint ID | `etf.holdings` |
|
|
211
|
+
| HTTP | `GET` |
|
|
212
|
+
| Path | `/inner/v1/agent-data/etf/holdings` |
|
|
213
|
+
| Default provider | - |
|
|
214
|
+
| SDK | `supported` |
|
|
215
|
+
| Host | `supported` |
|
|
216
|
+
| Notes | - |
|
|
217
|
+
|
|
218
|
+
#### Query parameters
|
|
219
|
+
|
|
220
|
+
| Param | Required | Type | Default | Notes |
|
|
221
|
+
|---|---|---|---|---|
|
|
222
|
+
| `symbol` | `yes` | `string` | `-` | Symbol to get data for. (ETF) |
|
|
223
|
+
| `date` | `no` | `string | null` | `-` | A specific date to get data for. (provider: intrinio) |
|
|
224
|
+
| `use_cache` | `no` | `boolean` | `true` | Whether to use a cached request. All ETF data comes from a single JSON file that is updated daily. To bypass, set to False. If True, the data will be cached for 4 hours. (provider: tmx) |
|
|
225
|
+
| `provider` | `yes` | `string` | `-` | enum: fmp, intrinio, tmx |
|
|
226
|
+
|
|
227
|
+
---
|
|
228
|
+
|
|
229
|
+
### `etf.info`
|
|
230
|
+
|
|
231
|
+
```python
|
|
232
|
+
data.etf.info(symbol=..., use_cache=True, provider=...)
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
Summary: Info
|
|
236
|
+
|
|
237
|
+
| Field | Value |
|
|
238
|
+
|---|---|
|
|
239
|
+
| Endpoint ID | `etf.info` |
|
|
240
|
+
| HTTP | `GET` |
|
|
241
|
+
| Path | `/inner/v1/agent-data/etf/info` |
|
|
242
|
+
| Default provider | - |
|
|
243
|
+
| SDK | `supported` |
|
|
244
|
+
| Host | `supported` |
|
|
245
|
+
| Notes | - |
|
|
246
|
+
|
|
247
|
+
#### Query parameters
|
|
248
|
+
|
|
249
|
+
| Param | Required | Type | Default | Notes |
|
|
250
|
+
|---|---|---|---|---|
|
|
251
|
+
| `symbol` | `yes` | `string` | `-` | Symbol to get data for. (ETF) Multiple comma separated items allowed for provider(s): fmp, intrinio, tmx, yfinance. |
|
|
252
|
+
| `use_cache` | `no` | `boolean` | `true` | Whether to use a cached request. All ETF data comes from a single JSON file that is updated daily. To bypass, set to False. If True, the data will be cached for 4 hours. (provider: tmx) |
|
|
253
|
+
| `provider` | `yes` | `string` | `-` | enum: fmp, intrinio, tmx, yfinance |
|
|
254
|
+
|
|
255
|
+
---
|
|
256
|
+
|
|
257
|
+
### `etf.nport_disclosure`
|
|
258
|
+
|
|
259
|
+
```python
|
|
260
|
+
data.etf.nport_disclosure(symbol=..., year=None, quarter=None, use_cache=True, provider=...)
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
Summary: Nport Disclosure
|
|
264
|
+
|
|
265
|
+
| Field | Value |
|
|
266
|
+
|---|---|
|
|
267
|
+
| Endpoint ID | `etf.nport_disclosure` |
|
|
268
|
+
| HTTP | `GET` |
|
|
269
|
+
| Path | `/inner/v1/agent-data/etf/nport_disclosure` |
|
|
270
|
+
| Default provider | - |
|
|
271
|
+
| SDK | `supported` |
|
|
272
|
+
| Host | `supported` |
|
|
273
|
+
| Notes | - |
|
|
274
|
+
|
|
275
|
+
#### Query parameters
|
|
276
|
+
|
|
277
|
+
| Param | Required | Type | Default | Notes |
|
|
278
|
+
|---|---|---|---|---|
|
|
279
|
+
| `symbol` | `yes` | `string` | `-` | Symbol to get data for. (Fund ticker or CIK) |
|
|
280
|
+
| `year` | `no` | `integer | null` | `-` | Reporting year of the filing. Default is the year for the most recent, reported, quarter. |
|
|
281
|
+
| `quarter` | `no` | `integer | null` | `-` | Reporting quarter of the filing. Default is the most recent, reported, quarter. |
|
|
282
|
+
| `use_cache` | `no` | `boolean` | `true` | Whether or not to use cache for the request. (provider: sec) |
|
|
283
|
+
| `provider` | `yes` | `string` | `-` | enum: fmp, sec |
|
|
284
|
+
|
|
285
|
+
---
|
|
286
|
+
|
|
287
|
+
### `etf.price_performance`
|
|
288
|
+
|
|
289
|
+
```python
|
|
290
|
+
data.etf.price_performance(symbol=..., return_type='trailing', adjustment='splits_and_dividends', provider=...)
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
Summary: Price Performance
|
|
294
|
+
|
|
295
|
+
| Field | Value |
|
|
296
|
+
|---|---|
|
|
297
|
+
| Endpoint ID | `etf.price_performance` |
|
|
298
|
+
| HTTP | `GET` |
|
|
299
|
+
| Path | `/inner/v1/agent-data/etf/price_performance` |
|
|
300
|
+
| Default provider | - |
|
|
301
|
+
| SDK | `supported` |
|
|
302
|
+
| Host | `supported` |
|
|
303
|
+
| Notes | - |
|
|
304
|
+
|
|
305
|
+
#### Query parameters
|
|
306
|
+
|
|
307
|
+
| Param | Required | Type | Default | Notes |
|
|
308
|
+
|---|---|---|---|---|
|
|
309
|
+
| `symbol` | `yes` | `string` | `-` | Symbol to get data for. Multiple comma separated items allowed for provider(s): finviz, fmp, intrinio. |
|
|
310
|
+
| `return_type` | `no` | `string` | `trailing` | enum: trailing, calendar The type of returns to return, a trailing or calendar window. (provider: intrinio) |
|
|
311
|
+
| `adjustment` | `no` | `string` | `splits_and_dividends` | enum: splits_only, splits_and_dividends The adjustment factor, 'splits_only' will return pure price performance. (provider: intrinio) |
|
|
312
|
+
| `provider` | `yes` | `string` | `-` | enum: finviz, fmp, intrinio |
|
|
313
|
+
|
|
314
|
+
---
|
|
315
|
+
|
|
316
|
+
### `etf.search`
|
|
317
|
+
|
|
318
|
+
```python
|
|
319
|
+
data.etf.search(query='', exchange=None, country=None, div_freq=None, sort_by=None, use_cache=True, provider=...)
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
Summary: Search
|
|
323
|
+
|
|
324
|
+
| Field | Value |
|
|
325
|
+
|---|---|
|
|
326
|
+
| Endpoint ID | `etf.search` |
|
|
327
|
+
| HTTP | `GET` |
|
|
328
|
+
| Path | `/inner/v1/agent-data/etf/search` |
|
|
329
|
+
| Default provider | - |
|
|
330
|
+
| SDK | `supported` |
|
|
331
|
+
| Host | `supported` |
|
|
332
|
+
| Notes | - |
|
|
333
|
+
|
|
334
|
+
#### Query parameters
|
|
335
|
+
|
|
336
|
+
| Param | Required | Type | Default | Notes |
|
|
337
|
+
|---|---|---|---|---|
|
|
338
|
+
| `query` | `no` | `string | null` | `` | Search query. |
|
|
339
|
+
| `exchange` | `no` | `string | null` | `-` | Exchange where the ETF is listed. If not provided, all exchanges are searched. (provider: fmp); Target a specific exchange by providing the MIC code. (provider: intrinio) |
|
|
340
|
+
| `country` | `no` | `string | null` | `-` | Filter by country. Accepts ISO 3166-1 alpha-2 codes (e.g., 'US', 'DE'), alpha-3 codes (e.g., 'USA'), or country names (e.g., 'United States', 'united_states'). (provider: fmp) |
|
|
341
|
+
| `div_freq` | `no` | `string | null` | `-` | The dividend payment frequency. (provider: tmx) |
|
|
342
|
+
| `sort_by` | `no` | `string | null` | `-` | The column to sort by. (provider: tmx) |
|
|
343
|
+
| `use_cache` | `no` | `boolean` | `true` | Whether to use a cached request. All ETF data comes from a single JSON file that is updated daily. To bypass, set to False. If True, the data will be cached for 4 hours. (provider: tmx) |
|
|
344
|
+
| `provider` | `yes` | `string` | `-` | enum: fmp, intrinio, tmx |
|
|
345
|
+
|
|
346
|
+
---
|
|
347
|
+
|
|
348
|
+
### `etf.sectors`
|
|
349
|
+
|
|
350
|
+
```python
|
|
351
|
+
data.etf.sectors(symbol=..., use_cache=True, provider=...)
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
Summary: Sectors
|
|
355
|
+
|
|
356
|
+
| Field | Value |
|
|
357
|
+
|---|---|
|
|
358
|
+
| Endpoint ID | `etf.sectors` |
|
|
359
|
+
| HTTP | `GET` |
|
|
360
|
+
| Path | `/inner/v1/agent-data/etf/sectors` |
|
|
361
|
+
| Default provider | - |
|
|
362
|
+
| SDK | `supported` |
|
|
363
|
+
| Host | `supported` |
|
|
364
|
+
| Notes | - |
|
|
365
|
+
|
|
366
|
+
#### Query parameters
|
|
367
|
+
|
|
368
|
+
| Param | Required | Type | Default | Notes |
|
|
369
|
+
|---|---|---|---|---|
|
|
370
|
+
| `symbol` | `yes` | `string` | `-` | Symbol to get data for. (ETF) Multiple comma separated items allowed for provider(s): fmp, tmx. |
|
|
371
|
+
| `use_cache` | `no` | `boolean` | `true` | Whether to use a cached request. All ETF data comes from a single JSON file that is updated daily. To bypass, set to False. If True, the data will be cached for 4 hours. (provider: tmx) |
|
|
372
|
+
| `provider` | `yes` | `string` | `-` | enum: fmp, tmx |
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
# Famafrench 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
|
+
- [`famafrench.breakpoints`](#famafrenchbreakpoints)
|
|
9
|
+
- [`famafrench.country_portfolio_returns`](#famafrenchcountry-portfolio-returns)
|
|
10
|
+
- [`famafrench.factors`](#famafrenchfactors)
|
|
11
|
+
- [`famafrench.international_index_returns`](#famafrenchinternational-index-returns)
|
|
12
|
+
- [`famafrench.regional_portfolio_returns`](#famafrenchregional-portfolio-returns)
|
|
13
|
+
- [`famafrench.us_portfolio_returns`](#famafrenchus-portfolio-returns)
|
|
14
|
+
|
|
15
|
+
## Endpoint reference
|
|
16
|
+
|
|
17
|
+
### `famafrench.breakpoints`
|
|
18
|
+
|
|
19
|
+
```python
|
|
20
|
+
data.famafrench.breakpoints(breakpoint_type='me', start_date=None, end_date=None, provider='famafrench')
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Summary: Breakpoints
|
|
24
|
+
|
|
25
|
+
| Field | Value |
|
|
26
|
+
|---|---|
|
|
27
|
+
| Endpoint ID | `famafrench.breakpoints` |
|
|
28
|
+
| HTTP | `GET` |
|
|
29
|
+
| Path | `/inner/v1/agent-data/famafrench/breakpoints` |
|
|
30
|
+
| Default provider | `famafrench` |
|
|
31
|
+
| SDK | `supported` |
|
|
32
|
+
| Host | `supported` |
|
|
33
|
+
| Notes | - |
|
|
34
|
+
|
|
35
|
+
#### Query parameters
|
|
36
|
+
|
|
37
|
+
| Param | Required | Type | Default | Notes |
|
|
38
|
+
|---|---|---|---|---|
|
|
39
|
+
| `breakpoint_type` | `no` | `string` | `me` | Type of breakpoint to fetch. The breakpoints for month t use all NYSE stocks that have a CRSP share code of 10 or 11 and have good shares and price data. We exclude closed end funds and REITs. Breakpoints are computed either monthly or annually, see the description of each breakpoint type below. Data contains every fifth percentile, from 5% to 100%. ME -- Market Equity. Market equity (size) is price times shares outstanding. Price and shares outstanding are from CRSP. ME breakpoints are computed for each month. It is price times shares outstanding (divided by 1,000,000) at month end. BE/ME ----- BE/ME breakpoints are computed at the end of each June. The BE used in June of year t is the book equity for the last fiscal year end in t-1. ME is price times shares outstanding at the end of December of t-1. The breakpoints for year t use all NYSE stocks for which we have ME for December of t-1 and (positive) BE for the last fiscal year end in t-1. Operating Profitability ----------------------- Operating Profitability breakpoints are computed at the end of each June. OP for June of year t is annual revenues minus - cost of goods sold - interest expense - selling, general, and administrative expenses divided by book equity for the last fiscal year end in t-1. Please be aware that some of the value-weight averages of operating profitability for deciles 1 and 10 are extreme. These are driven by extraordinary values of OP for individual firms. We have spot checked the accounting data that produce the extraordinary values and all the numbers we examined accurately reflect the data in the firm's accounting statements. The breakpoints for year t use all NYSE stocks for which we have (positive) book equity data for t-1, non-missing revenues data for t-1, and non-missing data for at least one of the following: - cost of goods sold - selling, general and administrative expenses - interest expense for t-1. Investment ---------- Investment breakpoints are computed at the end of each June. Inv used in June of year t is the change in total assets from the fiscal year ending in year t-2 to the fiscal year ending in t-1, divided by t-2 total assets. The breakpoints for year t use all NYSE stocks for which we have total assets data for t-2 and t-1. E/P --- E/P (in percent) breakpoints are computed at the end of each June. The E used in June of year t is the earnings for the last fiscal year end in t-1. P (actually ME) is price times shares outstanding at the end of December of t-1. The breakpoints for year t use all NYSE stocks for which we have ME for December of t-1 and (positive) earnings for the last fiscal year end in t-1. CF/P ---- CF/P (in percent) breakpoints is computed at the end of each June. The CF used in June of year t is the cash flow for the last fiscal year end in t-1. P (actually ME) is price times shares outstanding at the end of December of t-1. The breakpoints for year t use all NYSE stocks for which we have ME for December of t-1 and (positive) cash flow for the last fiscal year end in t-1. D/P --- D/P (in percent) breakpoints are computed at the end of each June. The dividend yield in June of year t is the total dividends paid from July of t-1 to June of t per dollar of equity in June of t. The breakpoints for year t use NYSE stocks for which we have at least seven months (to compute the dividend yield) from July of t-1 to June of t. (Only six monthly returns are required in June 1926.) We do not include stocks that pay no dividends from July of t-1 to June of t. Prior 2-12 ---------- Prior return breakpoints are computed for each month. The prior return at the end of month t is the cumulative return from month t-11 to month t-1. The breakpoints for month t use NYSE stocks. To be included, a stock must have a price for the end of month t-12 and a good return for t-1. In addition, any missing returns from t-11 to t-2 must be -99.0, CRSP's code for a missing price. (provider: famafrench) |
|
|
40
|
+
| `start_date` | `no` | `string | null` | `-` | Start date for the data. (provider: famafrench) |
|
|
41
|
+
| `end_date` | `no` | `string | null` | `-` | End date for the data. (provider: famafrench) |
|
|
42
|
+
| `provider` | `no` | `string` | `famafrench` | - |
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
### `famafrench.country_portfolio_returns`
|
|
47
|
+
|
|
48
|
+
```python
|
|
49
|
+
data.famafrench.country_portfolio_returns(country='united_kingdom', measure='usd', frequency='monthly', dividends=None, all_data_items_required=None, start_date=None, end_date=None, provider='famafrench')
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Summary: Country Portfolio Returns
|
|
53
|
+
|
|
54
|
+
| Field | Value |
|
|
55
|
+
|---|---|
|
|
56
|
+
| Endpoint ID | `famafrench.country_portfolio_returns` |
|
|
57
|
+
| HTTP | `GET` |
|
|
58
|
+
| Path | `/inner/v1/agent-data/famafrench/country_portfolio_returns` |
|
|
59
|
+
| Default provider | `famafrench` |
|
|
60
|
+
| SDK | `supported` |
|
|
61
|
+
| Host | `supported` |
|
|
62
|
+
| Notes | - |
|
|
63
|
+
|
|
64
|
+
#### Query parameters
|
|
65
|
+
|
|
66
|
+
| Param | Required | Type | Default | Notes |
|
|
67
|
+
|---|---|---|---|---|
|
|
68
|
+
| `country` | `no` | `string` | `united_kingdom` | enum: austria, australia, belgium, canada, denmark, finland, france, germany, hong_kong, ireland, italy, japan, malaysia, netherlands, new_zealand, norway, singapore, spain, sweden, switzerland, united_kingdom Country to fetch the portfolio returns for. (provider: famafrench) |
|
|
69
|
+
| `measure` | `no` | `string` | `usd` | The measure to fetch for the portfolio. Only 'annual' frequency is supported for 'ratios'. (provider: famafrench) |
|
|
70
|
+
| `frequency` | `no` | `string` | `monthly` | The frequency of the data to fetch. Ignored when `measure` is set to 'ratios'. (provider: famafrench) |
|
|
71
|
+
| `dividends` | `no` | `boolean | null` | `-` | When False, portoflios exclude dividends. (provider: famafrench) |
|
|
72
|
+
| `all_data_items_required` | `no` | `boolean | null` | `-` | If True (default), includes firms with data for all four ratios. When False, includes only firms with Book-to-Market (B/M) data. (provider: famafrench) |
|
|
73
|
+
| `start_date` | `no` | `string | null` | `-` | The start date for the data. Defaults to the earliest available date. (provider: famafrench) |
|
|
74
|
+
| `end_date` | `no` | `string | null` | `-` | The end date for the data. Defaults to the latest available date. (provider: famafrench) |
|
|
75
|
+
| `provider` | `no` | `string` | `famafrench` | - |
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
### `famafrench.factors`
|
|
80
|
+
|
|
81
|
+
```python
|
|
82
|
+
data.famafrench.factors(region='america', factor='3_factors', frequency='monthly', start_date=None, end_date=None, provider='famafrench')
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Summary: Factors
|
|
86
|
+
|
|
87
|
+
| Field | Value |
|
|
88
|
+
|---|---|
|
|
89
|
+
| Endpoint ID | `famafrench.factors` |
|
|
90
|
+
| HTTP | `GET` |
|
|
91
|
+
| Path | `/inner/v1/agent-data/famafrench/factors` |
|
|
92
|
+
| Default provider | `famafrench` |
|
|
93
|
+
| SDK | `supported` |
|
|
94
|
+
| Host | `supported` |
|
|
95
|
+
| Notes | - |
|
|
96
|
+
|
|
97
|
+
#### Query parameters
|
|
98
|
+
|
|
99
|
+
| Param | Required | Type | Default | Notes |
|
|
100
|
+
|---|---|---|---|---|
|
|
101
|
+
| `region` | `no` | `string` | `america` | Region of focus. Default is America. (provider: famafrench) |
|
|
102
|
+
| `factor` | `no` | `string` | `3_factors` | Factor to fetch. Default is the 3-Factor Model.Short/long-term reversals are available only for America. (provider: famafrench) |
|
|
103
|
+
| `frequency` | `no` | `string` | `monthly` | Frequency of the factor data.Not all are available for all regions, and intervals depend on the factor selected. Weekly is only available for the US 3-Factor Model. (provider: famafrench) |
|
|
104
|
+
| `start_date` | `no` | `string | null` | `-` | Start date of the data. Defaults to the complete data range. (provider: famafrench) |
|
|
105
|
+
| `end_date` | `no` | `string | null` | `-` | End date of the data. Defaults to the complete data range. (provider: famafrench) |
|
|
106
|
+
| `provider` | `no` | `string` | `famafrench` | - |
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
### `famafrench.international_index_returns`
|
|
111
|
+
|
|
112
|
+
```python
|
|
113
|
+
data.famafrench.international_index_returns(index='all', measure='usd', frequency='monthly', dividends=None, all_data_items_required=None, start_date=None, end_date=None, provider='famafrench')
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Summary: International Index Returns
|
|
117
|
+
|
|
118
|
+
| Field | Value |
|
|
119
|
+
|---|---|
|
|
120
|
+
| Endpoint ID | `famafrench.international_index_returns` |
|
|
121
|
+
| HTTP | `GET` |
|
|
122
|
+
| Path | `/inner/v1/agent-data/famafrench/international_index_returns` |
|
|
123
|
+
| Default provider | `famafrench` |
|
|
124
|
+
| SDK | `supported` |
|
|
125
|
+
| Host | `supported` |
|
|
126
|
+
| Notes | - |
|
|
127
|
+
|
|
128
|
+
#### Query parameters
|
|
129
|
+
|
|
130
|
+
| Param | Required | Type | Default | Notes |
|
|
131
|
+
|---|---|---|---|---|
|
|
132
|
+
| `index` | `no` | `string` | `all` | International index to fetch the portfolio returns for. Defaults to 'all'. (provider: famafrench) |
|
|
133
|
+
| `measure` | `no` | `string` | `usd` | The measure to fetch for the portfolio. Only 'annual' frequency is supported for 'ratios'. (provider: famafrench) |
|
|
134
|
+
| `frequency` | `no` | `string` | `monthly` | The frequency of the data to fetch. Ignored when `measure` is set to 'ratios'. (provider: famafrench) |
|
|
135
|
+
| `dividends` | `no` | `boolean | null` | `-` | When False, portoflios exclude dividends. (provider: famafrench) |
|
|
136
|
+
| `all_data_items_required` | `no` | `boolean | null` | `-` | If True (default), includes firms with data for all four ratios. When False, includes only firms with Book-to-Market (B/M) data. (provider: famafrench) |
|
|
137
|
+
| `start_date` | `no` | `string | null` | `-` | The start date for the data. Defaults to the earliest available date. (provider: famafrench) |
|
|
138
|
+
| `end_date` | `no` | `string | null` | `-` | The end date for the data. Defaults to the latest available date. (provider: famafrench) |
|
|
139
|
+
| `provider` | `no` | `string` | `famafrench` | - |
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
### `famafrench.regional_portfolio_returns`
|
|
144
|
+
|
|
145
|
+
```python
|
|
146
|
+
data.famafrench.regional_portfolio_returns(portfolio='developed_ex_us_6_portfolios_me_op', measure='value', frequency='monthly', start_date=None, end_date=None, provider='famafrench')
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
Summary: Regional Portfolio Returns
|
|
150
|
+
|
|
151
|
+
| Field | Value |
|
|
152
|
+
|---|---|
|
|
153
|
+
| Endpoint ID | `famafrench.regional_portfolio_returns` |
|
|
154
|
+
| HTTP | `GET` |
|
|
155
|
+
| Path | `/inner/v1/agent-data/famafrench/regional_portfolio_returns` |
|
|
156
|
+
| Default provider | `famafrench` |
|
|
157
|
+
| SDK | `supported` |
|
|
158
|
+
| Host | `supported` |
|
|
159
|
+
| Notes | - |
|
|
160
|
+
|
|
161
|
+
#### Query parameters
|
|
162
|
+
|
|
163
|
+
| Param | Required | Type | Default | Notes |
|
|
164
|
+
|---|---|---|---|---|
|
|
165
|
+
| `portfolio` | `no` | `string` | `developed_ex_us_6_portfolios_me_op` | enum: asia_pacific_ex_japan_25_portfolios_me_be-me, asia_pacific_ex_japan_25_portfolios_me_be-me_daily, asia_pacific_ex_japan_25_portfolios_me_inv, asia_pacific_ex_japan_25_portfolios_me_inv_daily, asia_pacific_ex_japan_25_portfolios_me_op, asia_pacific_ex_japan_25_portfolios_me_op_daily, asia_pacific_ex_japan_25_portfolios_me_prior_12_2, asia_pacific_ex_japan_25_portfolios_me_prior_250_20_daily, asia_pacific_ex_japan_32_portfolios_me_be-me_inv_2x4x4, asia_pacific_ex_japan_32_portfolios_me_be-me_op_2x4x4, asia_pacific_ex_japan_32_portfolios_me_inv_op_2x4x4, asia_pacific_ex_japan_6_portfolios_me_be-me, asia_pacific_ex_japan_6_portfolios_me_be-me_daily, asia_pacific_ex_japan_6_portfolios_me_inv, asia_pacific_ex_japan_6_portfolios_me_inv_daily, asia_pacific_ex_japan_6_portfolios_me_op, asia_pacific_ex_japan_6_portfolios_me_op_daily, asia_pacific_ex_japan_6_portfolios_me_prior_12_2, asia_pacific_ex_japan_6_portfolios_me_prior_250_20_daily, developed_25_portfolios_me_be-me, developed_25_portfolios_me_be-me_daily, developed_25_portfolios_me_inv, developed_25_portfolios_me_inv_daily, developed_25_portfolios_me_op, developed_25_portfolios_me_op_daily, developed_25_portfolios_me_prior_12_2, developed_25_portfolios_me_prior_250_20_daily, developed_32_portfolios_me_be-me_inv_2x4x4, developed_32_portfolios_me_be-me_op_2x4x4, developed_32_portfolios_me_inv_op_2x4x4, developed_6_portfolios_me_be-me, developed_6_portfolios_me_be-me_daily, developed_6_portfolios_me_inv, developed_6_portfolios_me_inv_daily, developed_6_portfolios_me_op, developed_6_portfolios_me_op_daily, developed_6_portfolios_me_prior_12_2, developed_6_portfolios_me_prior_250_20_daily, developed_ex_us_25_portfolios_me_be-me, developed_ex_us_25_portfolios_me_be-me_daily, developed_ex_us_25_portfolios_me_inv, developed_ex_us_25_portfolios_me_inv_daily, developed_ex_us_25_portfolios_me_op, developed_ex_us_25_portfolios_me_op_daily, developed_ex_us_25_portfolios_me_prior_12_2, developed_ex_us_25_portfolios_me_prior_250_20_daily, developed_ex_us_32_portfolios_me_be-me_inv_2x4x4, developed_ex_us_32_portfolios_me_be-me_op_2x4x4, developed_ex_us_32_portfolios_me_inv_op_2x4x4, developed_ex_us_6_portfolios_me_be-me, developed_ex_us_6_portfolios_me_be-me_daily, developed_ex_us_6_portfolios_me_inv, developed_ex_us_6_portfolios_me_inv_daily, developed_ex_us_6_portfolios_me_op, developed_ex_us_6_portfolios_me_op_daily, developed_ex_us_6_portfolios_me_prior_12_2, developed_ex_us_6_portfolios_me_prior_250_20_daily, emerging_markets_4_portfolios_be-me_inv, emerging_markets_4_portfolios_be-me_op, emerging_markets_4_portfolios_op_inv, emerging_markets_6_portfolios_me_be-me, emerging_markets_6_portfolios_me_inv, emerging_markets_6_portfolios_me_op, emerging_markets_6_portfolios_me_prior_12_2, europe_25_portfolios_me_be-me, europe_25_portfolios_me_be-me_daily, europe_25_portfolios_me_inv, europe_25_portfolios_me_inv_daily, europe_25_portfolios_me_op, europe_25_portfolios_me_op_daily, europe_25_portfolios_me_prior_12_2, europe_25_portfolios_me_prior_250_20_daily, europe_32_portfolios_me_be-me_inv_2x4x4, europe_32_portfolios_me_be-me_op_2x4x4, europe_32_portfolios_me_inv_op_2x4x4, europe_6_portfolios_me_be-me, europe_6_portfolios_me_be-me_daily, europe_6_portfolios_me_inv, europe_6_portfolios_me_inv_daily, europe_6_portfolios_me_op, europe_6_portfolios_me_op_daily, europe_6_portfolios_me_prior_12_2, europe_6_portfolios_me_prior_250_20_daily, japan_25_portfolios_me_be-me, japan_25_portfolios_me_be-me_daily, japan_25_portfolios_me_inv, japan_25_portfolios_me_inv_daily, japan_25_portfolios_me_op, japan_25_portfolios_me_op_daily, japan_25_portfolios_me_prior_12_2, japan_25_portfolios_me_prior_250_20_daily, japan_32_portfolios_me_be-me_inv_2x4x4, japan_32_portfolios_me_be-me_op_2x4x4, japan_32_portfolios_me_inv_op_2x4x4, japan_6_portfolios_me_be-me, japan_6_portfolios_me_be-me_daily, japan_6_portfolios_me_inv, japan_6_portfolios_me_inv_daily, japan_6_portfolios_me_op, japan_6_portfolios_me_op_daily, japan_6_portfolios_me_prior_12_2, japan_6_portfolios_me_prior_250_20_daily, north_america_25_portfolios_me_be-me, north_america_25_portfolios_me_be-me_daily, north_america_25_portfolios_me_inv, north_america_25_portfolios_me_inv_daily, north_america_25_portfolios_me_op, north_america_25_portfolios_me_op_daily, north_america_25_portfolios_me_prior_12_2, north_america_25_portfolios_me_prior_250_20_daily, north_america_32_portfolios_me_be-me_inv_2x4x4, north_america_32_portfolios_me_be-me_op_2x4x4, north_america_32_portfolios_me_inv_op_2x4x4, north_america_6_portfolios_me_be-me, north_america_6_portfolios_me_be-me_daily, north_america_6_portfolios_me_inv, north_america_6_portfolios_me_inv_daily, north_america_6_portfolios_me_op, north_america_6_portfolios_me_op_daily, north_america_6_portfolios_me_prior_12_2, north_america_6_portfolios_me_prior_250_20_daily The specific portfolio file to fetch. (provider: famafrench) |
|
|
166
|
+
| `measure` | `no` | `string` | `value` | The measure to fetch for the portfolio. (provider: famafrench) |
|
|
167
|
+
| `frequency` | `no` | `string` | `monthly` | The frequency of the data to fetch. Ignored when the portfolio ends with 'daily'. (provider: famafrench) |
|
|
168
|
+
| `start_date` | `no` | `string | null` | `-` | The start date for the data. Defaults to the earliest available date. (provider: famafrench) |
|
|
169
|
+
| `end_date` | `no` | `string | null` | `-` | The end date for the data. Defaults to the latest available date. (provider: famafrench) |
|
|
170
|
+
| `provider` | `no` | `string` | `famafrench` | - |
|
|
171
|
+
|
|
172
|
+
---
|
|
173
|
+
|
|
174
|
+
### `famafrench.us_portfolio_returns`
|
|
175
|
+
|
|
176
|
+
```python
|
|
177
|
+
data.famafrench.us_portfolio_returns(portfolio='portfolios_formed_on_me', measure='value', frequency='monthly', start_date=None, end_date=None, provider='famafrench')
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
Summary: Us Portfolio Returns
|
|
181
|
+
|
|
182
|
+
| Field | Value |
|
|
183
|
+
|---|---|
|
|
184
|
+
| Endpoint ID | `famafrench.us_portfolio_returns` |
|
|
185
|
+
| HTTP | `GET` |
|
|
186
|
+
| Path | `/inner/v1/agent-data/famafrench/us_portfolio_returns` |
|
|
187
|
+
| Default provider | `famafrench` |
|
|
188
|
+
| SDK | `supported` |
|
|
189
|
+
| Host | `supported` |
|
|
190
|
+
| Notes | - |
|
|
191
|
+
|
|
192
|
+
#### Query parameters
|
|
193
|
+
|
|
194
|
+
| Param | Required | Type | Default | Notes |
|
|
195
|
+
|---|---|---|---|---|
|
|
196
|
+
| `portfolio` | `no` | `string` | `portfolios_formed_on_me` | enum: portfolios_formed_on_me, portfolios_formed_on_me_wout_div, portfolios_formed_on_me_daily, portfolios_formed_on_be-me, portfolios_formed_on_be-me_wout_div, portfolios_formed_on_be-me_daily, portfolios_formed_on_op, portfolios_formed_on_op_wout_div, portfolios_formed_on_op_daily, portfolios_formed_on_inv, portfolios_formed_on_inv_wout_div, portfolios_formed_on_inv_daily, 6_portfolios_2x3, 6_portfolios_2x3_wout_div, 6_portfolios_2x3_weekly, 6_portfolios_2x3_daily, 25_portfolios_5x5, 25_portfolios_5x5_wout_div, 25_portfolios_5x5_daily, 100_portfolios_10x10, 100_portfolios_10x10_wout_div, 100_portfolios_10x10_daily, 6_portfolios_me_op_2x3, 6_portfolios_me_op_2x3_wout_div, 6_portfolios_me_op_2x3_daily, 25_portfolios_me_op_5x5, 25_portfolios_me_op_5x5_wout_div, 25_portfolios_me_op_5x5_daily, 100_portfolios_me_op_10x10, 100_portfolios_10x10_me_op_wout_div, 100_portfolios_me_op_10x10_daily, 6_portfolios_me_inv_2x3, 6_portfolios_me_inv_2x3_wout_div, 6_portfolios_me_inv_2x3_daily, 25_portfolios_me_inv_5x5, 25_portfolios_me_inv_5x5_wout_div, 25_portfolios_me_inv_5x5_daily, 100_portfolios_me_inv_10x10, 100_portfolios_10x10_me_inv_wout_div, 100_portfolios_me_inv_10x10_daily, 25_portfolios_beme_op_5x5, 25_portfolios_beme_op_5x5_wout_div, 25_portfolios_beme_op_5x5_daily, 25_portfolios_beme_inv_5x5, 25_portfolios_beme_inv_5x5_wout_div, 25_portfolios_beme_inv_5x5_daily, 25_portfolios_op_inv_5x5, 25_portfolios_op_inv_5x5_wout_div, 25_portfolios_op_inv_5x5_daily, 32_portfolios_me_beme_op_2x4x4, 32_portfolios_me_beme_op_2x4x4_wout_div, 32_portfolios_me_beme_inv_2x4x4, 32_portfolios_me_beme_inv_2x4x4_wout_div, 32_portfolios_me_op_inv_2x4x4, 32_portfolios_me_op_inv_2x4x4_wout_div, portfolios_formed_on_e-p, portfolios_formed_on_e-p_wout_div, portfolios_formed_on_cf-p, portfolios_formed_on_cf-p_wout_div, portfolios_formed_on_d-p, portfolios_formed_on_d-p_wout_div, 6_portfolios_me_ep_2x3, 6_portfolios_me_ep_2x3_wout_div, 6_portfolios_me_cfp_2x3, 6_portfolios_me_cfp_2x3_wout_div, 6_portfolios_me_dp_2x3, 6_portfolios_me_dp_2x3_wout_div, 6_portfolios_me_prior_12_2, 6_portfolios_me_prior_12_2_daily, 25_portfolios_me_prior_12_2, 25_portfolios_me_prior_12_2_daily, 10_portfolios_prior_12_2, 10_portfolios_prior_12_2_daily, 6_portfolios_me_prior_1_0, 6_portfolios_me_prior_1_0_daily, 25_portfolios_me_prior_1_0, 25_portfolios_me_prior_1_0_daily, 10_portfolios_prior_1_0, 10_portfolios_prior_1_0_daily, 6_portfolios_me_prior_60_13, 6_portfolios_me_prior_60_13_daily, 25_portfolios_me_prior_60_13, 25_portfolios_me_prior_60_13_daily, 10_portfolios_prior_60_13, 10_portfolios_prior_60_13_daily, portfolios_formed_on_ac, 25_portfolios_me_ac_5x5, portfolios_formed_on_beta, 25_portfolios_me_beta_5x5, portfolios_formed_on_ni, 25_portfolios_me_ni_5x5, portfolios_formed_on_var, 25_portfolios_me_var_5x5, portfolios_formed_on_resvar, 25_portfolios_me_resvar_5x5, 5_industry_portfolios, 5_industry_portfolios_wout_div, 5_industry_portfolios_daily, 10_industry_portfolios, 10_industry_portfolios_wout_div, 10_industry_portfolios_daily, 12_industry_portfolios, 12_industry_portfolios_wout_div, 12_industry_portfolios_daily, 17_industry_portfolios, 17_industry_portfolios_wout_div, 17_industry_portfolios_daily, 30_industry_portfolios, 30_industry_portfolios_wout_div, 30_industry_portfolios_daily, 38_industry_portfolios, 38_industry_portfolios_wout_div, 38_industry_portfolios_daily, 48_industry_portfolios, 48_industry_portfolios_wout_div, 48_industry_portfolios_daily, 49_industry_portfolios, 49_industry_portfolios_wout_div, 49_industry_portfolios_daily The specific portfolio file to fetch. (provider: famafrench) |
|
|
197
|
+
| `measure` | `no` | `string` | `value` | The measure to fetch for the portfolio. (provider: famafrench) |
|
|
198
|
+
| `frequency` | `no` | `string` | `monthly` | The frequency of the data to fetch. Ignored if the portfolio ends with 'daily' or 'weekly'. (provider: famafrench) |
|
|
199
|
+
| `start_date` | `no` | `string | null` | `-` | The start date for the data. Defaults to the earliest available date. (provider: famafrench) |
|
|
200
|
+
| `end_date` | `no` | `string | null` | `-` | The end date for the data. Defaults to the latest available date. (provider: famafrench) |
|
|
201
|
+
| `provider` | `no` | `string` | `famafrench` | - |
|