@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,123 @@
|
|
|
1
|
+
# Currency 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
|
+
- [`currency.price.historical`](#currencypricehistorical)
|
|
9
|
+
- [`currency.reference_rates`](#currencyreference-rates)
|
|
10
|
+
- [`currency.search`](#currencysearch)
|
|
11
|
+
- [`currency.snapshots`](#currencysnapshots)
|
|
12
|
+
|
|
13
|
+
## Endpoint reference
|
|
14
|
+
|
|
15
|
+
### `currency.price.historical`
|
|
16
|
+
|
|
17
|
+
```python
|
|
18
|
+
data.currency.price.historical(symbol=..., start_time=None, end_time=None, interval='1d', provider=...)
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Summary: Historical
|
|
22
|
+
|
|
23
|
+
| Field | Value |
|
|
24
|
+
|---|---|
|
|
25
|
+
| Endpoint ID | `currency.price.historical` |
|
|
26
|
+
| HTTP | `GET` |
|
|
27
|
+
| Path | `/inner/v1/agent-data/currency/price/historical` |
|
|
28
|
+
| Default provider | - |
|
|
29
|
+
| SDK | `supported` |
|
|
30
|
+
| Host | `supported` |
|
|
31
|
+
| Notes | - |
|
|
32
|
+
|
|
33
|
+
#### Query parameters
|
|
34
|
+
|
|
35
|
+
| Param | Required | Type | Default | Notes |
|
|
36
|
+
|---|---|---|---|---|
|
|
37
|
+
| `symbol` | `yes` | `string` | `-` | Symbol to get data for. Can use CURR1-CURR2 or CURR1CURR2 format. Multiple comma separated items allowed for provider(s): fmp, tiingo, yfinance. |
|
|
38
|
+
| `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. |
|
|
39
|
+
| `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. |
|
|
40
|
+
| `interval` | `no` | `string` | `1d` | Time interval of the data to return. (provider: fmp,tiingo, yfinance) |
|
|
41
|
+
| `provider` | `yes` | `string` | `-` | enum: fmp, tiingo, yfinance |
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
### `currency.reference_rates`
|
|
46
|
+
|
|
47
|
+
```python
|
|
48
|
+
data.currency.reference_rates(provider='ecb')
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Summary: Reference Rates
|
|
52
|
+
|
|
53
|
+
| Field | Value |
|
|
54
|
+
|---|---|
|
|
55
|
+
| Endpoint ID | `currency.reference_rates` |
|
|
56
|
+
| HTTP | `GET` |
|
|
57
|
+
| Path | `/inner/v1/agent-data/currency/reference_rates` |
|
|
58
|
+
| Default provider | `ecb` |
|
|
59
|
+
| SDK | `supported` |
|
|
60
|
+
| Host | `supported` |
|
|
61
|
+
| Notes | - |
|
|
62
|
+
|
|
63
|
+
#### Query parameters
|
|
64
|
+
|
|
65
|
+
| Param | Required | Type | Default | Notes |
|
|
66
|
+
|---|---|---|---|---|
|
|
67
|
+
| `provider` | `no` | `string` | `ecb` | - |
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
### `currency.search`
|
|
72
|
+
|
|
73
|
+
```python
|
|
74
|
+
data.currency.search(query=None, provider=...)
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Summary: Search
|
|
78
|
+
|
|
79
|
+
| Field | Value |
|
|
80
|
+
|---|---|
|
|
81
|
+
| Endpoint ID | `currency.search` |
|
|
82
|
+
| HTTP | `GET` |
|
|
83
|
+
| Path | `/inner/v1/agent-data/currency/search` |
|
|
84
|
+
| Default provider | - |
|
|
85
|
+
| SDK | `supported` |
|
|
86
|
+
| Host | `supported` |
|
|
87
|
+
| Notes | - |
|
|
88
|
+
|
|
89
|
+
#### Query parameters
|
|
90
|
+
|
|
91
|
+
| Param | Required | Type | Default | Notes |
|
|
92
|
+
|---|---|---|---|---|
|
|
93
|
+
| `query` | `no` | `string | null` | `-` | Query to search for currency pairs. |
|
|
94
|
+
| `provider` | `yes` | `string` | `-` | enum: fmp, intrinio |
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
### `currency.snapshots`
|
|
99
|
+
|
|
100
|
+
```python
|
|
101
|
+
data.currency.snapshots(base='usd', quote_type='indirect', counter_currencies=None, provider=...)
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Summary: Snapshots
|
|
105
|
+
|
|
106
|
+
| Field | Value |
|
|
107
|
+
|---|---|
|
|
108
|
+
| Endpoint ID | `currency.snapshots` |
|
|
109
|
+
| HTTP | `GET` |
|
|
110
|
+
| Path | `/inner/v1/agent-data/currency/snapshots` |
|
|
111
|
+
| Default provider | - |
|
|
112
|
+
| SDK | `supported` |
|
|
113
|
+
| Host | `supported` |
|
|
114
|
+
| Notes | - |
|
|
115
|
+
|
|
116
|
+
#### Query parameters
|
|
117
|
+
|
|
118
|
+
| Param | Required | Type | Default | Notes |
|
|
119
|
+
|---|---|---|---|---|
|
|
120
|
+
| `base` | `no` | `string` | `usd` | The base currency symbol. Multiple comma separated items allowed for provider(s): fmp. |
|
|
121
|
+
| `quote_type` | `no` | `string` | `indirect` | enum: direct, indirect Whether the quote is direct or indirect. Selecting 'direct' will return the exchange rate as the amount of domestic currency required to buy one unit of the foreign currency. Selecting 'indirect' (default) will return the exchange rate as the amount of foreign currency required to buy one unit of the domestic currency. |
|
|
122
|
+
| `counter_currencies` | `no` | `string | array | null` | `-` | accepts array values An optional list of counter currency symbols to filter for. None returns all. |
|
|
123
|
+
| `provider` | `yes` | `string` | `-` | enum: exchangerate_api, fmp |
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
# Derivatives 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
|
+
- [`derivatives.futures.curve`](#derivativesfuturescurve)
|
|
9
|
+
- [`derivatives.futures.historical`](#derivativesfutureshistorical)
|
|
10
|
+
- [`derivatives.futures.info`](#derivativesfuturesinfo)
|
|
11
|
+
- [`derivatives.futures.instruments`](#derivativesfuturesinstruments)
|
|
12
|
+
- [`derivatives.options.chains`](#derivativesoptionschains)
|
|
13
|
+
- [`derivatives.options.snapshots`](#derivativesoptionssnapshots)
|
|
14
|
+
- [`derivatives.options.surface`](#derivativesoptionssurface)
|
|
15
|
+
- [`derivatives.options.unusual`](#derivativesoptionsunusual)
|
|
16
|
+
|
|
17
|
+
## Endpoint reference
|
|
18
|
+
|
|
19
|
+
### `derivatives.futures.curve`
|
|
20
|
+
|
|
21
|
+
```python
|
|
22
|
+
data.derivatives.futures.curve(symbol=..., date=None, hours_ago=None, provider=...)
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Summary: Curve
|
|
26
|
+
|
|
27
|
+
| Field | Value |
|
|
28
|
+
|---|---|
|
|
29
|
+
| Endpoint ID | `derivatives.futures.curve` |
|
|
30
|
+
| HTTP | `GET` |
|
|
31
|
+
| Path | `/inner/v1/agent-data/derivatives/futures/curve` |
|
|
32
|
+
| Default provider | - |
|
|
33
|
+
| SDK | `supported` |
|
|
34
|
+
| Host | `supported` |
|
|
35
|
+
| Notes | - |
|
|
36
|
+
|
|
37
|
+
#### Query parameters
|
|
38
|
+
|
|
39
|
+
| Param | Required | Type | Default | Notes |
|
|
40
|
+
|---|---|---|---|---|
|
|
41
|
+
| `symbol` | `yes` | `string` | `-` | Symbol to get data for.; Symbol to get data for.Default is 'VX_EOD'. Entered dates return the data nearest to the entered date. 'VX_AM' = Mid-Morning TWAP Levels 'VX_EOD' = 4PM Eastern Time Levels (provider: cboe); Symbol to get data for. Default is 'btc' Supported symbols are: ['btc', 'eth', 'paxg'] (provider: deribit) |
|
|
42
|
+
| `date` | `no` | `string | null` | `-` | A specific date to get data for. Multiple comma separated items allowed for provider(s): cboe, yfinance. |
|
|
43
|
+
| `hours_ago` | `no` | `integer | array | string | null` | `-` | accepts array values Compare the current curve with the specified number of hours ago. Default is None. Multiple comma separated items allowed. (provider: deribit) |
|
|
44
|
+
| `provider` | `yes` | `string` | `-` | enum: cboe, deribit, yfinance |
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
### `derivatives.futures.historical`
|
|
49
|
+
|
|
50
|
+
```python
|
|
51
|
+
data.derivatives.futures.historical(symbol=..., start_time=None, end_time=None, expiration=None, interval='1d', provider=...)
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Summary: Historical
|
|
55
|
+
|
|
56
|
+
| Field | Value |
|
|
57
|
+
|---|---|
|
|
58
|
+
| Endpoint ID | `derivatives.futures.historical` |
|
|
59
|
+
| HTTP | `GET` |
|
|
60
|
+
| Path | `/inner/v1/agent-data/derivatives/futures/historical` |
|
|
61
|
+
| Default provider | - |
|
|
62
|
+
| SDK | `supported` |
|
|
63
|
+
| Host | `supported` |
|
|
64
|
+
| Notes | - |
|
|
65
|
+
|
|
66
|
+
#### Query parameters
|
|
67
|
+
|
|
68
|
+
| Param | Required | Type | Default | Notes |
|
|
69
|
+
|---|---|---|---|---|
|
|
70
|
+
| `symbol` | `yes` | `string` | `-` | Symbol to get data for. Multiple comma separated items allowed for provider(s): deribit, yfinance. |
|
|
71
|
+
| `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. |
|
|
72
|
+
| `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. |
|
|
73
|
+
| `expiration` | `no` | `string | null` | `-` | Future expiry date with format YYYY-MM |
|
|
74
|
+
| `interval` | `no` | `string` | `1d` | Time interval of the data to return. (provider: deribit, yfinance) |
|
|
75
|
+
| `provider` | `yes` | `string` | `-` | enum: deribit, yfinance |
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
### `derivatives.futures.info`
|
|
80
|
+
|
|
81
|
+
```python
|
|
82
|
+
data.derivatives.futures.info(symbol=None, provider='deribit')
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Summary: Info
|
|
86
|
+
|
|
87
|
+
| Field | Value |
|
|
88
|
+
|---|---|
|
|
89
|
+
| Endpoint ID | `derivatives.futures.info` |
|
|
90
|
+
| HTTP | `GET` |
|
|
91
|
+
| Path | `/inner/v1/agent-data/derivatives/futures/info` |
|
|
92
|
+
| Default provider | `deribit` |
|
|
93
|
+
| SDK | `supported` |
|
|
94
|
+
| Host | `supported` |
|
|
95
|
+
| Notes | - |
|
|
96
|
+
|
|
97
|
+
#### Query parameters
|
|
98
|
+
|
|
99
|
+
| Param | Required | Type | Default | Notes |
|
|
100
|
+
|---|---|---|---|---|
|
|
101
|
+
| `symbol` | `no` | `string | null` | `-` | Symbol to get data for. Perpetual contracts can be referenced by their currency pair - i.e, SOLUSDC - or by their official Deribit symbol - i.e, SOL_USDC-PERPETUAL For a list of currently available instruments, use `derivatives.futures.instruments()` Multiple comma separated items allowed. (provider: deribit) |
|
|
102
|
+
| `provider` | `no` | `string` | `deribit` | - |
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
### `derivatives.futures.instruments`
|
|
107
|
+
|
|
108
|
+
```python
|
|
109
|
+
data.derivatives.futures.instruments(provider='deribit')
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
Summary: Instruments
|
|
113
|
+
|
|
114
|
+
| Field | Value |
|
|
115
|
+
|---|---|
|
|
116
|
+
| Endpoint ID | `derivatives.futures.instruments` |
|
|
117
|
+
| HTTP | `GET` |
|
|
118
|
+
| Path | `/inner/v1/agent-data/derivatives/futures/instruments` |
|
|
119
|
+
| Default provider | `deribit` |
|
|
120
|
+
| SDK | `supported` |
|
|
121
|
+
| Host | `supported` |
|
|
122
|
+
| Notes | - |
|
|
123
|
+
|
|
124
|
+
#### Query parameters
|
|
125
|
+
|
|
126
|
+
| Param | Required | Type | Default | Notes |
|
|
127
|
+
|---|---|---|---|---|
|
|
128
|
+
| `provider` | `no` | `string` | `deribit` | - |
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
### `derivatives.options.chains`
|
|
133
|
+
|
|
134
|
+
```python
|
|
135
|
+
data.derivatives.options.chains(symbol=..., use_cache=True, delay='eod', date=None, option_type=None, moneyness='all', strike_gt=None, strike_lt=None, volume_gt=None, volume_lt=None, oi_gt=None, oi_lt=None, model='black_scholes', show_extended_price=True, include_related_symbols=False, provider=...)
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
Summary: Chains
|
|
139
|
+
|
|
140
|
+
| Field | Value |
|
|
141
|
+
|---|---|
|
|
142
|
+
| Endpoint ID | `derivatives.options.chains` |
|
|
143
|
+
| HTTP | `GET` |
|
|
144
|
+
| Path | `/inner/v1/agent-data/derivatives/options/chains` |
|
|
145
|
+
| Default provider | - |
|
|
146
|
+
| SDK | `supported` |
|
|
147
|
+
| Host | `supported` |
|
|
148
|
+
| Notes | - |
|
|
149
|
+
|
|
150
|
+
#### Query parameters
|
|
151
|
+
|
|
152
|
+
| Param | Required | Type | Default | Notes |
|
|
153
|
+
|---|---|---|---|---|
|
|
154
|
+
| `symbol` | `yes` | `string` | `-` | Symbol to get data for. |
|
|
155
|
+
| `use_cache` | `no` | `boolean` | `true` | When True, the company directories will be cached for24 hours and are used to validate symbols. The results of the function are not cached. Set as False to bypass. (provider: cboe); Caching is used to validate the supplied ticker symbol, or if a historical EOD chain is requested. To bypass, set to False. (provider: tmx) |
|
|
156
|
+
| `delay` | `no` | `string` | `eod` | enum: eod, realtime, delayed Whether to return delayed, realtime, or eod data. (provider: intrinio) |
|
|
157
|
+
| `date` | `no` | `string | null` | `-` | The end-of-day date for options chains data. (provider: intrinio); A specific date to get data for. (provider: tmx) |
|
|
158
|
+
| `option_type` | `no` | `string | null` | `-` | The option type, call or put, 'None' is both (default). (provider: intrinio) |
|
|
159
|
+
| `moneyness` | `no` | `string` | `all` | enum: otm, itm, all Return only contracts that are in or out of the money, default is 'all'. Parameter is ignored when a date is supplied. (provider: intrinio) |
|
|
160
|
+
| `strike_gt` | `no` | `integer | null` | `-` | Return options with a strike price greater than the given value. Parameter is ignored when a date is supplied. (provider: intrinio) |
|
|
161
|
+
| `strike_lt` | `no` | `integer | null` | `-` | Return options with a strike price less than the given value. Parameter is ignored when a date is supplied. (provider: intrinio) |
|
|
162
|
+
| `volume_gt` | `no` | `integer | null` | `-` | Return options with a volume greater than the given value. Parameter is ignored when a date is supplied. (provider: intrinio) |
|
|
163
|
+
| `volume_lt` | `no` | `integer | null` | `-` | Return options with a volume less than the given value. Parameter is ignored when a date is supplied. (provider: intrinio) |
|
|
164
|
+
| `oi_gt` | `no` | `integer | null` | `-` | Return options with an open interest greater than the given value. Parameter is ignored when a date is supplied. (provider: intrinio) |
|
|
165
|
+
| `oi_lt` | `no` | `integer | null` | `-` | Return options with an open interest less than the given value. Parameter is ignored when a date is supplied. (provider: intrinio) |
|
|
166
|
+
| `model` | `no` | `string` | `black_scholes` | enum: black_scholes, bjerk The pricing model to use for options chains data, default is 'black_scholes'. Parameter is ignored when a date is supplied. (provider: intrinio) |
|
|
167
|
+
| `show_extended_price` | `no` | `boolean` | `true` | Whether to include OHLC type fields, default is True. Parameter is ignored when a date is supplied. (provider: intrinio) |
|
|
168
|
+
| `include_related_symbols` | `no` | `boolean` | `false` | Include related symbols that end in a 1 or 2 because of a corporate action, default is False. (provider: intrinio) |
|
|
169
|
+
| `provider` | `yes` | `string` | `-` | enum: cboe, deribit, intrinio, tmx, tradier, yfinance |
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
### `derivatives.options.snapshots`
|
|
174
|
+
|
|
175
|
+
```python
|
|
176
|
+
data.derivatives.options.snapshots(date=None, only_traded=True, provider='intrinio')
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
Summary: Snapshots
|
|
180
|
+
|
|
181
|
+
| Field | Value |
|
|
182
|
+
|---|---|
|
|
183
|
+
| Endpoint ID | `derivatives.options.snapshots` |
|
|
184
|
+
| HTTP | `GET` |
|
|
185
|
+
| Path | `/inner/v1/agent-data/derivatives/options/snapshots` |
|
|
186
|
+
| Default provider | `intrinio` |
|
|
187
|
+
| SDK | `supported` |
|
|
188
|
+
| Host | `supported` |
|
|
189
|
+
| Notes | - |
|
|
190
|
+
|
|
191
|
+
#### Query parameters
|
|
192
|
+
|
|
193
|
+
| Param | Required | Type | Default | Notes |
|
|
194
|
+
|---|---|---|---|---|
|
|
195
|
+
| `date` | `no` | `string | null` | `-` | The date of the data. Can be a datetime or an ISO datetime string. Data appears to go back to around 2022-06-01 Example: '2024-03-08T12:15:00+0400' (provider: intrinio) |
|
|
196
|
+
| `only_traded` | `no` | `boolean` | `true` | Only include options that have been traded during the session, default is True. Setting to false will dramatically increase the size of the response - use with caution. (provider: intrinio) |
|
|
197
|
+
| `provider` | `no` | `string` | `intrinio` | - |
|
|
198
|
+
|
|
199
|
+
---
|
|
200
|
+
|
|
201
|
+
### `derivatives.options.surface`
|
|
202
|
+
|
|
203
|
+
```python
|
|
204
|
+
data.derivatives.options.surface(target='implied_volatility', underlying_price=None, option_type='otm', dte_min=None, dte_max=None, moneyness=None, strike_min=None, strike_max=None, oi=False, volume=False, theme='dark', body=...)
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
Summary: Surface
|
|
208
|
+
|
|
209
|
+
| Field | Value |
|
|
210
|
+
|---|---|
|
|
211
|
+
| Endpoint ID | `derivatives.options.surface` |
|
|
212
|
+
| HTTP | `POST` |
|
|
213
|
+
| Path | `/inner/v1/agent-data/derivatives/options/surface` |
|
|
214
|
+
| Default provider | - |
|
|
215
|
+
| SDK | `supported` |
|
|
216
|
+
| Host | `supported` |
|
|
217
|
+
| Notes | - |
|
|
218
|
+
|
|
219
|
+
#### Query parameters
|
|
220
|
+
|
|
221
|
+
| Param | Required | Type | Default | Notes |
|
|
222
|
+
|---|---|---|---|---|
|
|
223
|
+
| `target` | `no` | `string` | `implied_volatility` | - |
|
|
224
|
+
| `underlying_price` | `no` | `number | null` | `-` | - |
|
|
225
|
+
| `option_type` | `no` | `string | null` | `otm` | - |
|
|
226
|
+
| `dte_min` | `no` | `integer | null` | `-` | - |
|
|
227
|
+
| `dte_max` | `no` | `integer | null` | `-` | - |
|
|
228
|
+
| `moneyness` | `no` | `number | null` | `-` | - |
|
|
229
|
+
| `strike_min` | `no` | `number | null` | `-` | - |
|
|
230
|
+
| `strike_max` | `no` | `number | null` | `-` | - |
|
|
231
|
+
| `oi` | `no` | `boolean` | `false` | - |
|
|
232
|
+
| `volume` | `no` | `boolean` | `false` | - |
|
|
233
|
+
| `theme` | `no` | `string` | `dark` | enum: dark, light |
|
|
234
|
+
| `body` | `yes` | `object` | `-` | JSON request body. |
|
|
235
|
+
|
|
236
|
+
---
|
|
237
|
+
|
|
238
|
+
### `derivatives.options.unusual`
|
|
239
|
+
|
|
240
|
+
```python
|
|
241
|
+
data.derivatives.options.unusual(symbol=None, start_time=None, end_time=None, trade_type=None, sentiment=None, min_value=None, max_value=None, limit=100000, source='delayed', provider='intrinio')
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
Summary: Unusual
|
|
245
|
+
|
|
246
|
+
| Field | Value |
|
|
247
|
+
|---|---|
|
|
248
|
+
| Endpoint ID | `derivatives.options.unusual` |
|
|
249
|
+
| HTTP | `GET` |
|
|
250
|
+
| Path | `/inner/v1/agent-data/derivatives/options/unusual` |
|
|
251
|
+
| Default provider | `intrinio` |
|
|
252
|
+
| SDK | `supported` |
|
|
253
|
+
| Host | `supported` |
|
|
254
|
+
| Notes | - |
|
|
255
|
+
|
|
256
|
+
#### Query parameters
|
|
257
|
+
|
|
258
|
+
| Param | Required | Type | Default | Notes |
|
|
259
|
+
|---|---|---|---|---|
|
|
260
|
+
| `symbol` | `no` | `string | null` | `-` | Symbol to get data for. (the underlying symbol) |
|
|
261
|
+
| `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. |
|
|
262
|
+
| `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. |
|
|
263
|
+
| `trade_type` | `no` | `string | null` | `-` | The type of unusual activity to query for. (provider: intrinio) |
|
|
264
|
+
| `sentiment` | `no` | `string | null` | `-` | The sentiment type to query for. (provider: intrinio) |
|
|
265
|
+
| `min_value` | `no` | `integer | number | null` | `-` | The inclusive minimum total value for the unusual activity. (provider: intrinio) |
|
|
266
|
+
| `max_value` | `no` | `integer | number | null` | `-` | The inclusive maximum total value for the unusual activity. (provider: intrinio) |
|
|
267
|
+
| `limit` | `no` | `integer` | `100000` | The number of data entries to return. A typical day for all symbols will yield 50-80K records. The API will paginate at 1000 records. The high default limit (100K) is to be able to reliably capture the most days. The high absolute limit (1.25M) is to allow for outlier days. Queries at the absolute limit will take a long time, and might be unreliable. Apply filters to improve performance. (provider: intrinio) |
|
|
268
|
+
| `source` | `no` | `string` | `delayed` | The source of the data. Either realtime or delayed. (provider: intrinio) |
|
|
269
|
+
| `provider` | `no` | `string` | `intrinio` | - |
|