@bitget-ai/getagent-skill 0.2.2 → 0.3.0
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 +15 -4
- package/.claude-plugin/plugin.json +1 -1
- package/VERSION +1 -1
- package/package.json +1 -1
- package/skills/getagent/SKILL.md +145 -10
- package/skills/getagent/references/api/confirm.md +59 -0
- package/skills/getagent/references/api/index.md +9 -7
- package/skills/getagent/references/api/publish.md +13 -10
- package/skills/getagent/references/api/run.md +5 -5
- package/skills/getagent/references/api/upload.md +22 -4
- package/skills/getagent/references/backtest-engine.md +11 -10
- package/skills/getagent/references/package-schema.md +8 -7
- package/skills/getagent/references/sdk/backtest/catalog.md +5 -3
- package/skills/getagent/references/sdk/data/catalog.md +2 -4
- package/skills/getagent/references/sdk/data/commodity.md +46 -0
- package/skills/getagent/references/sdk/data/crypto.md +1468 -88
- package/skills/getagent/references/sdk/data/currency.md +48 -0
- package/skills/getagent/references/sdk/data/derivatives.md +126 -0
- package/skills/getagent/references/sdk/data/economy.md +736 -0
- package/skills/getagent/references/sdk/data/equity.md +1462 -0
- package/skills/getagent/references/sdk/data/etf.md +510 -0
- package/skills/getagent/references/sdk/data/fixedincome.md +485 -0
- package/skills/getagent/references/sdk/data/news.md +76 -0
- package/skills/getagent/references/sdk/data/regulators.md +85 -0
- package/skills/getagent/references/sdk/data/sentiment.md +176 -0
- package/skills/getagent/references/sdk.md +14 -5
- package/skills/getagent/scripts/validate.py +9 -29
- package/skills/getagent/scripts/version_check.sh +13 -12
- package/skills/getagent/references/sdk/data/playbook-supported.md +0 -9236
|
@@ -38,6 +38,20 @@ Summary: Historical
|
|
|
38
38
|
| `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. |
|
|
39
39
|
| `interval` | `no` | `string` | `1d` | Time interval of the data to return. |
|
|
40
40
|
|
|
41
|
+
#### Response fields
|
|
42
|
+
|
|
43
|
+
| Field | Type | Notes |
|
|
44
|
+
|---|---|---|
|
|
45
|
+
| `date` | `string` | The date of the data. |
|
|
46
|
+
| `open` | `number` | The open price. |
|
|
47
|
+
| `high` | `number` | The high price. |
|
|
48
|
+
| `low` | `number` | The low price. |
|
|
49
|
+
| `close` | `number` | The close price. |
|
|
50
|
+
| `volume` | `number` | The trading volume. |
|
|
51
|
+
| `vwap` | `number` | Volume Weighted Average Price over the period. |
|
|
52
|
+
| `change` | `number` | Change in the price from the previous close. |
|
|
53
|
+
| `change_percent` | `number` | Percent change in the price from the previous close. |
|
|
54
|
+
|
|
41
55
|
---
|
|
42
56
|
|
|
43
57
|
### `currency.reference_rates`
|
|
@@ -87,6 +101,19 @@ Summary: Search
|
|
|
87
101
|
|---|---|---|---|---|
|
|
88
102
|
| `query` | `no` | `string | null` | `-` | Query to search for currency pairs. |
|
|
89
103
|
|
|
104
|
+
#### Response fields
|
|
105
|
+
|
|
106
|
+
| Field | Type | Notes |
|
|
107
|
+
|---|---|---|
|
|
108
|
+
| `symbol` | `string` | Symbol representing the entity requested in the data. |
|
|
109
|
+
| `name` | `string` | Name of the currency pair. |
|
|
110
|
+
| `base_currency` | `string` | ISO 4217 currency code of the base currency. |
|
|
111
|
+
| `quote_currency` | `string` | ISO 4217 currency code of the quote currency. |
|
|
112
|
+
| `from_currency` | `string` | Base currency of the currency pair. |
|
|
113
|
+
| `to_currency` | `string` | Quote currency of the currency pair. |
|
|
114
|
+
| `from_name` | `string` | Name of the base currency. |
|
|
115
|
+
| `to_name` | `string` | Name of the quote currency. |
|
|
116
|
+
|
|
90
117
|
---
|
|
91
118
|
|
|
92
119
|
### `currency.snapshots`
|
|
@@ -113,3 +140,24 @@ Summary: Snapshots
|
|
|
113
140
|
| `base` | `no` | `string` | `usd` | The base currency symbol. Multiple comma separated items allowed |
|
|
114
141
|
| `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. |
|
|
115
142
|
| `counter_currencies` | `no` | `string | array | null` | `-` | accepts array values An optional list of counter currency symbols to filter for. None returns all. |
|
|
143
|
+
|
|
144
|
+
#### Response fields
|
|
145
|
+
|
|
146
|
+
| Field | Type | Notes |
|
|
147
|
+
|---|---|---|
|
|
148
|
+
| `base_currency` | `string` | The base, or domestic, currency. |
|
|
149
|
+
| `counter_currency` | `string` | The counter, or foreign, currency. |
|
|
150
|
+
| `last_rate` | `number` | The exchange rate, relative to the base currency. |
|
|
151
|
+
| `open` | `number` | The open price. |
|
|
152
|
+
| `high` | `number` | The high price. |
|
|
153
|
+
| `low` | `number` | The low price. |
|
|
154
|
+
| `close` | `number` | The close price. |
|
|
155
|
+
| `volume` | `integer` | The trading volume. |
|
|
156
|
+
| `prev_close` | `number` | The previous close price. |
|
|
157
|
+
| `last_rate_timestamp` | `string` | UTC timestamp of when the exchange rate was last updated. |
|
|
158
|
+
| `change` | `number` | The change in the price from the previous close. |
|
|
159
|
+
| `change_percent` | `number` | The change in the price from the previous close, as a normalized percent. |
|
|
160
|
+
| `ma_50` | `number` | The 50-day moving average. |
|
|
161
|
+
| `ma_200` | `number` | The 200-day moving average. |
|
|
162
|
+
| `year_high` | `number` | The 52-week high. |
|
|
163
|
+
| `year_low` | `number` | The 52-week low. |
|
|
@@ -41,6 +41,16 @@ Summary: Curve
|
|
|
41
41
|
| `date` | `no` | `string | null` | `-` | A specific date to get data for. Multiple comma separated items allowed |
|
|
42
42
|
| `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. |
|
|
43
43
|
|
|
44
|
+
#### Response fields
|
|
45
|
+
|
|
46
|
+
| Field | Type | Notes |
|
|
47
|
+
|---|---|---|
|
|
48
|
+
| `date` | `string` | The date of the data. |
|
|
49
|
+
| `expiration` | `string` | Futures expiration month. |
|
|
50
|
+
| `price` | `number` | The price of the futures contract. |
|
|
51
|
+
| `symbol` | `string` | Symbol representing the entity requested in the data. |
|
|
52
|
+
| `hours_ago` | `integer` | The number of hours ago represented by the price. Only available when hours_ago is set in the query. |
|
|
53
|
+
|
|
44
54
|
---
|
|
45
55
|
|
|
46
56
|
### `derivatives.futures.historical`
|
|
@@ -70,6 +80,18 @@ Summary: Historical
|
|
|
70
80
|
| `expiration` | `no` | `string | null` | `-` | Future expiry date with format YYYY-MM |
|
|
71
81
|
| `interval` | `no` | `string` | `1d` | Time interval of the data to return. |
|
|
72
82
|
|
|
83
|
+
#### Response fields
|
|
84
|
+
|
|
85
|
+
| Field | Type | Notes |
|
|
86
|
+
|---|---|---|
|
|
87
|
+
| `date` | `string` | The date of the data. |
|
|
88
|
+
| `open` | `number` | The open price. |
|
|
89
|
+
| `high` | `number` | The high price. |
|
|
90
|
+
| `low` | `number` | The low price. |
|
|
91
|
+
| `close` | `number` | The close price. |
|
|
92
|
+
| `volume` | `number` | The trading volume. |
|
|
93
|
+
| `volume_notional` | `number` | Trading volume in quote currency. |
|
|
94
|
+
|
|
73
95
|
---
|
|
74
96
|
|
|
75
97
|
### `derivatives.futures.info`
|
|
@@ -95,6 +117,35 @@ Summary: Info
|
|
|
95
117
|
|---|---|---|---|---|
|
|
96
118
|
| `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. |
|
|
97
119
|
|
|
120
|
+
#### Response fields
|
|
121
|
+
|
|
122
|
+
| Field | Type | Notes |
|
|
123
|
+
|---|---|---|
|
|
124
|
+
| `symbol` | `string` | Symbol representing the entity requested in the data. |
|
|
125
|
+
| `state` | `string` | The state of the order book. Possible values are open and closed. |
|
|
126
|
+
| `open_interest` | `number` | The total amount of outstanding contracts in the corresponding amount units. |
|
|
127
|
+
| `index_price` | `number` | Current index (reference) price. |
|
|
128
|
+
| `best_ask_amount` | `number` | Requested order size of all best asks. |
|
|
129
|
+
| `best_ask_price` | `number` | The current best ask price, null if there aren't any asks. |
|
|
130
|
+
| `best_bid_price` | `number` | The current best bid price, null if there aren't any bids. |
|
|
131
|
+
| `best_bid_amount` | `number` | Requested order size of all best bids. |
|
|
132
|
+
| `last_price` | `number` | The price for the last trade. |
|
|
133
|
+
| `high` | `number` | Highest price during 24h. |
|
|
134
|
+
| `low` | `number` | Lowest price during 24h. |
|
|
135
|
+
| `change_percent` | `number` | 24-hour price change expressed as a percentage. |
|
|
136
|
+
| `volume` | `number` | Volume during last 24h in base currency. |
|
|
137
|
+
| `volume_usd` | `number` | Volume in USD. |
|
|
138
|
+
| `mark_price` | `number` | The mark price for the instrument. |
|
|
139
|
+
| `settlement_price` | `number` | The settlement price for the instrument. Only when state = open. |
|
|
140
|
+
| `delivery_price` | `number` | The settlement price for the instrument. Only when state = closed. |
|
|
141
|
+
| `estimated_delivery_price` | `number` | Estimated delivery price for the market. |
|
|
142
|
+
| `current_funding` | `number` | Current funding (perpetual only). |
|
|
143
|
+
| `funding_8h` | `number` | Funding 8h (perpetual only). |
|
|
144
|
+
| `interest_value` | `number` | Value used to calculate realized_funding in positions (perpetual only). |
|
|
145
|
+
| `max_price` | `number` | The maximum price for the future. |
|
|
146
|
+
| `min_price` | `number` | The minimum price for the future. |
|
|
147
|
+
| `timestamp` | `string` | The timestamp of the data. |
|
|
148
|
+
|
|
98
149
|
---
|
|
99
150
|
|
|
100
151
|
### `derivatives.futures.instruments`
|
|
@@ -119,6 +170,33 @@ Summary: Instruments
|
|
|
119
170
|
| Param | Required | Type | Default | Notes |
|
|
120
171
|
|---|---|---|---|---|
|
|
121
172
|
|
|
173
|
+
#### Response fields
|
|
174
|
+
|
|
175
|
+
| Field | Type | Notes |
|
|
176
|
+
|---|---|---|
|
|
177
|
+
| `instrument_id` | `integer` | Deribit Instrument ID. |
|
|
178
|
+
| `symbol` | `string` | Symbol representing the entity requested in the data. |
|
|
179
|
+
| `base_currency` | `string` | The underlying currency being traded. |
|
|
180
|
+
| `counter_currency` | `string` | Counter currency for the instrument. |
|
|
181
|
+
| `quote_currency` | `string` | The currency in which the instrument prices are quoted. |
|
|
182
|
+
| `settlement_currency` | `string` | Settlement currency for the instrument. |
|
|
183
|
+
| `future_type` | `string` | Type of the instrument. linear or reversed. |
|
|
184
|
+
| `settlement_period` | `string` | The settlement period. |
|
|
185
|
+
| `price_index` | `string` | Name of price index that is used for this instrument. |
|
|
186
|
+
| `contract_size` | `number` | Contract size for instrument. |
|
|
187
|
+
| `is_active` | `boolean` | Indicates if the instrument can currently be traded. |
|
|
188
|
+
| `creation_timestamp` | `string` | The time when the instrument was first created (milliseconds since the UNIX epoch). |
|
|
189
|
+
| `expiration_timestamp` | `string` | The time when the instrument will expire (milliseconds since the UNIX epoch). |
|
|
190
|
+
| `tick_size` | `number` | Specifies minimal price change and the number of decimal places for instrument prices. |
|
|
191
|
+
| `min_trade_amount` | `number` | Minimum amount for trading, in USD units. |
|
|
192
|
+
| `max_leverage` | `integer` | Maximal leverage for instrument. |
|
|
193
|
+
| `max_liquidation_commission` | `number` | Maximal liquidation trade commission for instrument. |
|
|
194
|
+
| `block_trade_commission` | `number` | Block Trade commission for instrument. |
|
|
195
|
+
| `block_trade_min_trade_amount` | `number` | Minimum amount for block trading. |
|
|
196
|
+
| `block_trade_tick_size` | `number` | Specifies minimal price change for block trading. |
|
|
197
|
+
| `maker_commission` | `number` | Maker commission for instrument. |
|
|
198
|
+
| `taker_commission` | `number` | Taker commission for instrument. |
|
|
199
|
+
|
|
122
200
|
---
|
|
123
201
|
|
|
124
202
|
### `derivatives.options.chains`
|
|
@@ -184,6 +262,38 @@ Summary: Snapshots
|
|
|
184
262
|
| `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' |
|
|
185
263
|
| `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. |
|
|
186
264
|
|
|
265
|
+
#### Response fields
|
|
266
|
+
|
|
267
|
+
| Field | Type | Notes |
|
|
268
|
+
|---|---|---|
|
|
269
|
+
| `underlying_symbol` | `array` | Ticker symbol of the underlying asset. |
|
|
270
|
+
| `contract_symbol` | `array` | Symbol of the options contract. |
|
|
271
|
+
| `expiration` | `array` | Expiration date of the options contract. |
|
|
272
|
+
| `dte` | `array` | Number of days to expiration of the options contract. |
|
|
273
|
+
| `strike` | `array` | Strike price of the options contract. |
|
|
274
|
+
| `option_type` | `array` | The type of option. |
|
|
275
|
+
| `volume` | `array` | The trading volume. |
|
|
276
|
+
| `open_interest` | `array` | Open interest at the time. |
|
|
277
|
+
| `last_price` | `array` | Last trade price at the time. |
|
|
278
|
+
| `last_size` | `array` | Lot size of the last trade. |
|
|
279
|
+
| `last_timestamp` | `array` | Timestamp of the last price. |
|
|
280
|
+
| `open` | `array` | The open price. |
|
|
281
|
+
| `high` | `array` | The high price. |
|
|
282
|
+
| `low` | `array` | The low price. |
|
|
283
|
+
| `close` | `array` | The close price. |
|
|
284
|
+
| `bid` | `array` | The last bid price at the time. |
|
|
285
|
+
| `bid_size` | `array` | The size of the last bid price. |
|
|
286
|
+
| `bid_timestamp` | `array` | The timestamp of the last bid price. |
|
|
287
|
+
| `ask` | `array` | The last ask price at the time. |
|
|
288
|
+
| `ask_size` | `array` | The size of the last ask price. |
|
|
289
|
+
| `ask_timestamp` | `array` | The timestamp of the last ask price. |
|
|
290
|
+
| `total_bid_volume` | `array` | Total volume of bids. |
|
|
291
|
+
| `bid_high` | `array` | The highest bid price. |
|
|
292
|
+
| `bid_low` | `array` | The lowest bid price. |
|
|
293
|
+
| `total_ask_volume` | `array` | Total volume of asks. |
|
|
294
|
+
| `ask_high` | `array` | The highest ask price. |
|
|
295
|
+
| `ask_low` | `array` | The lowest ask price. |
|
|
296
|
+
|
|
187
297
|
---
|
|
188
298
|
|
|
189
299
|
### `derivatives.options.surface`
|
|
@@ -252,3 +362,19 @@ Summary: Unusual
|
|
|
252
362
|
| `max_value` | `no` | `integer | number | null` | `-` | The inclusive maximum total value for the unusual activity. |
|
|
253
363
|
| `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. |
|
|
254
364
|
| `source` | `no` | `string` | `delayed` | The source of the data. Either realtime or delayed. |
|
|
365
|
+
|
|
366
|
+
#### Response fields
|
|
367
|
+
|
|
368
|
+
| Field | Type | Notes |
|
|
369
|
+
|---|---|---|
|
|
370
|
+
| `underlying_symbol` | `string` | Symbol representing the entity requested in the data (the underlying symbol). |
|
|
371
|
+
| `contract_symbol` | `string` | Contract symbol for the option. |
|
|
372
|
+
| `trade_timestamp` | `string` | The datetime of order placement. |
|
|
373
|
+
| `trade_type` | `string` | The type of unusual trade. |
|
|
374
|
+
| `sentiment` | `string` | Bullish, Bearish, or Neutral Sentiment estimated based on whether the trade was executed at the bid, ask, or mark price. |
|
|
375
|
+
| `bid_at_execution` | `number` | Bid price at execution. |
|
|
376
|
+
| `ask_at_execution` | `number` | Ask price at execution. |
|
|
377
|
+
| `average_price` | `number` | The average premium paid per option contract. |
|
|
378
|
+
| `underlying_price_at_execution` | `number` | Price of the underlying security at execution of trade. |
|
|
379
|
+
| `total_size` | `integer` | The total number of contracts involved in a single transaction. |
|
|
380
|
+
| `total_value` | `integer` | The aggregated value of all option contract premiums included in the trade. |
|