massive-cli 0.0.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/README.md +63 -0
- package/dist/SKILL.md +55 -0
- package/dist/cli.js +20593 -0
- package/dist/references/crypto_commands.md +142 -0
- package/dist/references/forex_commands.md +237 -0
- package/dist/references/indices_commands.md +174 -0
- package/dist/references/market_commands.md +37 -0
- package/dist/references/news_commands.md +33 -0
- package/dist/references/options_commands.md +258 -0
- package/dist/references/reference_commands.md +216 -0
- package/dist/references/stocks_commands.md +273 -0
- package/package.json +27 -0
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
# Options Commands Reference
|
|
2
|
+
|
|
3
|
+
This document provides a reference for the options-related commands available in the Polygon CLI.
|
|
4
|
+
|
|
5
|
+
## Commands
|
|
6
|
+
|
|
7
|
+
### options-aggs
|
|
8
|
+
Get aggregate bars (OHLCV) for an options contract over a given date range.
|
|
9
|
+
|
|
10
|
+
**Usage:**
|
|
11
|
+
```bash
|
|
12
|
+
bun cli.js options-aggs --ticker <ticker> --from <YYYY-MM-DD> --to <YYYY-MM-DD> [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
**Parameters:**
|
|
16
|
+
- `--ticker` (required): Options ticker symbol (e.g., O:AAPL230616C00150000).
|
|
17
|
+
- `--from` (required): Start date (YYYY-MM-DD).
|
|
18
|
+
- `--to` (required): End date (YYYY-MM-DD).
|
|
19
|
+
- `--multiplier` (number): Timespan multiplier (default: 1).
|
|
20
|
+
- `--timespan` (string): Timespan unit (default: 'day'). Values: `second`, `minute`, `hour`, `day`, `week`, `month`, `quarter`, `year`.
|
|
21
|
+
- `--adjusted` (boolean): Whether to adjust for splits (default: true).
|
|
22
|
+
- `--sort` (string): Sort order (default: 'asc'). Values: `asc`, `desc`.
|
|
23
|
+
- `--limit` (number): Max results (default: 120).
|
|
24
|
+
|
|
25
|
+
**Example:**
|
|
26
|
+
```bash
|
|
27
|
+
bun cli.js options-aggs --ticker O:AAPL230616C00150000 --from 2025-01-01 --to 2025-01-31 --timespan day --limit 10
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### options-trades
|
|
31
|
+
Get trades for an options contract.
|
|
32
|
+
|
|
33
|
+
**Usage:**
|
|
34
|
+
```bash
|
|
35
|
+
bun cli.js options-trades --ticker <ticker> [options]
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
**Parameters:**
|
|
39
|
+
- `--ticker` (required): Options ticker symbol.
|
|
40
|
+
- `--timestamp` (string): Query by specific timestamp.
|
|
41
|
+
- `--timestamp-gte`, `--timestamp-gt`, `--timestamp-lte`, `--timestamp-lt` (string): Timestamp range filters.
|
|
42
|
+
- `--limit` (number): Max results (default: 10).
|
|
43
|
+
- `--sort` (string): Sort field (default: 'timestamp'). Values: `timestamp`.
|
|
44
|
+
- `--order` (string): Sort order (default: 'asc'). Values: `asc`, `desc`.
|
|
45
|
+
|
|
46
|
+
**Example:**
|
|
47
|
+
```bash
|
|
48
|
+
bun cli.js options-trades --ticker O:AAPL230616C00150000 --limit 5
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### options-quotes
|
|
52
|
+
Get quotes for an options contract.
|
|
53
|
+
|
|
54
|
+
**Usage:**
|
|
55
|
+
```bash
|
|
56
|
+
bun cli.js options-quotes --ticker <ticker> [options]
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
**Parameters:**
|
|
60
|
+
- `--ticker` (required): Options ticker symbol.
|
|
61
|
+
- `--timestamp` (string): Query by specific timestamp.
|
|
62
|
+
- `--timestamp-gte`, `--timestamp-gt`, `--timestamp-lte`, `--timestamp-lt` (string): Timestamp range filters.
|
|
63
|
+
- `--limit` (number): Max results (default: 10).
|
|
64
|
+
- `--sort` (string): Sort field (default: 'timestamp'). Values: `timestamp`.
|
|
65
|
+
- `--order` (string): Sort order (default: 'asc'). Values: `asc`, `desc`.
|
|
66
|
+
|
|
67
|
+
**Example:**
|
|
68
|
+
```bash
|
|
69
|
+
bun cli.js options-quotes --ticker O:AAPL230616C00150000 --limit 5
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### options-open-close
|
|
73
|
+
Get the daily open, close, and after-hours prices for an options contract on a specific date.
|
|
74
|
+
|
|
75
|
+
**Usage:**
|
|
76
|
+
```bash
|
|
77
|
+
bun cli.js options-open-close --ticker <ticker> --date <YYYY-MM-DD> [options]
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**Parameters:**
|
|
81
|
+
- `--ticker` (required): Options ticker symbol.
|
|
82
|
+
- `--date` (required): Date of the requested open/close (YYYY-MM-DD).
|
|
83
|
+
- `--adjusted` (boolean): Whether to adjust for splits (default: true).
|
|
84
|
+
|
|
85
|
+
**Example:**
|
|
86
|
+
```bash
|
|
87
|
+
bun cli.js options-open-close --ticker O:AAPL230616C00150000 --date 2025-01-15
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### options-chain
|
|
91
|
+
Get a snapshot of options chain for an underlying asset.
|
|
92
|
+
|
|
93
|
+
**Usage:**
|
|
94
|
+
```bash
|
|
95
|
+
bun cli.js options-chain --underlying <ticker> [options]
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
**Parameters:**
|
|
99
|
+
- `--underlying` (required): Underlying ticker symbol (e.g., AAPL).
|
|
100
|
+
- `--strike` (number): Strike price.
|
|
101
|
+
- `--expiration` (string): Expiration date (YYYY-MM-DD).
|
|
102
|
+
- `--type` (string): Contract type. Values: `call`, `put`.
|
|
103
|
+
- `--order` (string): Sort order. Values: `asc`, `desc`.
|
|
104
|
+
- `--limit` (number): Max results (default: 10).
|
|
105
|
+
- `--sort` (string): Sort field.
|
|
106
|
+
|
|
107
|
+
**Example:**
|
|
108
|
+
```bash
|
|
109
|
+
bun cli.js options-chain --underlying AAPL --type call
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
### options-contract
|
|
113
|
+
Get details for a specific options contract.
|
|
114
|
+
|
|
115
|
+
**Usage:**
|
|
116
|
+
```bash
|
|
117
|
+
bun cli.js options-contract --underlying <ticker> --contract <contract_id>
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
**Parameters:**
|
|
121
|
+
- `--underlying` (required): Underlying ticker symbol.
|
|
122
|
+
- `--contract` (required): Options contract identifier (e.g., O:AAPL230616C00150000).
|
|
123
|
+
|
|
124
|
+
**Example:**
|
|
125
|
+
```bash
|
|
126
|
+
bun cli.js options-contract --underlying AAPL --contract O:AAPL230616C00150000
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### options-previous
|
|
130
|
+
Get the previous day's open, high, low, and close (OHLC) for an options contract.
|
|
131
|
+
|
|
132
|
+
**Usage:**
|
|
133
|
+
```bash
|
|
134
|
+
bun cli.js options-previous --ticker <ticker> [options]
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
**Parameters:**
|
|
138
|
+
- `--ticker` (required): Options ticker symbol.
|
|
139
|
+
- `--adjusted` (boolean): Whether to adjust for splits (default: true).
|
|
140
|
+
|
|
141
|
+
**Example:**
|
|
142
|
+
```bash
|
|
143
|
+
bun cli.js options-previous --ticker O:AAPL230616C00150000
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### options-sma
|
|
147
|
+
Get Simple Moving Average (SMA) for an options contract.
|
|
148
|
+
|
|
149
|
+
**Usage:**
|
|
150
|
+
```bash
|
|
151
|
+
bun cli.js options-sma --ticker <ticker> [options]
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
**Parameters:**
|
|
155
|
+
- `--ticker` (required): Options ticker symbol.
|
|
156
|
+
- `--timestamp` (string): Query by specific timestamp.
|
|
157
|
+
- `--timespan` (string): Timespan unit (default: 'day'). Values: `minute`, `hour`, `day`, `week`, `month`, `quarter`, `year`.
|
|
158
|
+
- `--adjusted` (boolean): Whether to adjust for splits (default: true).
|
|
159
|
+
- `--window` (number): Window size (default: 50).
|
|
160
|
+
- `--series-type` (string): Price type to use. Values: `open`, `high`, `low`, `close`.
|
|
161
|
+
- `--expand-underlying` (boolean): Include underlying aggregates.
|
|
162
|
+
- `--order` (string): Sort order. Values: `asc`, `desc`.
|
|
163
|
+
- `--limit` (number): Max results (default: 10).
|
|
164
|
+
|
|
165
|
+
**Example:**
|
|
166
|
+
```bash
|
|
167
|
+
bun cli.js options-sma --ticker O:AAPL230616C00150000 --window 50
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### options-ema
|
|
171
|
+
Get Exponential Moving Average (EMA) for an options contract.
|
|
172
|
+
|
|
173
|
+
**Usage:**
|
|
174
|
+
```bash
|
|
175
|
+
bun cli.js options-ema --ticker <ticker> [options]
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
**Parameters:**
|
|
179
|
+
- `--ticker` (required): Options ticker symbol.
|
|
180
|
+
- `--timestamp` (string): Query by specific timestamp.
|
|
181
|
+
- `--timespan` (string): Timespan unit (default: 'day'). Values: `minute`, `hour`, `day`, `week`, `month`, `quarter`, `year`.
|
|
182
|
+
- `--adjusted` (boolean): Whether to adjust for splits (default: true).
|
|
183
|
+
- `--window` (number): Window size (default: 50).
|
|
184
|
+
- `--series-type` (string): Price type to use. Values: `open`, `high`, `low`, `close`.
|
|
185
|
+
- `--expand-underlying` (boolean): Include underlying aggregates.
|
|
186
|
+
- `--order` (string): Sort order. Values: `asc`, `desc`.
|
|
187
|
+
- `--limit` (number): Max results (default: 10).
|
|
188
|
+
|
|
189
|
+
**Example:**
|
|
190
|
+
```bash
|
|
191
|
+
bun cli.js options-ema --ticker O:AAPL230616C00150000 --window 50
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
### options-rsi
|
|
195
|
+
Get Relative Strength Index (RSI) for an options contract.
|
|
196
|
+
|
|
197
|
+
**Usage:**
|
|
198
|
+
```bash
|
|
199
|
+
bun cli.js options-rsi --ticker <ticker> [options]
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
**Parameters:**
|
|
203
|
+
- `--ticker` (required): Options ticker symbol.
|
|
204
|
+
- `--timestamp` (string): Query by specific timestamp.
|
|
205
|
+
- `--timespan` (string): Timespan unit (default: 'day'). Values: `minute`, `hour`, `day`, `week`, `month`, `quarter`, `year`.
|
|
206
|
+
- `--adjusted` (boolean): Whether to adjust for splits (default: true).
|
|
207
|
+
- `--window` (number): Window size (default: 14).
|
|
208
|
+
- `--series-type` (string): Price type to use. Values: `open`, `high`, `low`, `close`.
|
|
209
|
+
- `--expand-underlying` (boolean): Include underlying aggregates.
|
|
210
|
+
- `--order` (string): Sort order. Values: `asc`, `desc`.
|
|
211
|
+
- `--limit` (number): Max results (default: 10).
|
|
212
|
+
|
|
213
|
+
**Example:**
|
|
214
|
+
```bash
|
|
215
|
+
bun cli.js options-rsi --ticker O:AAPL230616C00150000 --window 14
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
### options-macd
|
|
219
|
+
Get Moving Average Convergence/Divergence (MACD) for an options contract.
|
|
220
|
+
|
|
221
|
+
**Usage:**
|
|
222
|
+
```bash
|
|
223
|
+
bun cli.js options-macd --ticker <ticker> [options]
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
**Parameters:**
|
|
227
|
+
- `--ticker` (required): Options ticker symbol.
|
|
228
|
+
- `--timestamp` (string): Query by specific timestamp.
|
|
229
|
+
- `--timespan` (string): Timespan unit (default: 'day'). Values: `minute`, `hour`, `day`, `week`, `month`, `quarter`, `year`.
|
|
230
|
+
- `--adjusted` (boolean): Whether to adjust for splits (default: true).
|
|
231
|
+
- `--short-window` (number): Short window size.
|
|
232
|
+
- `--long-window` (number): Long window size.
|
|
233
|
+
- `--signal-window` (number): Signal window size.
|
|
234
|
+
- `--series-type` (string): Price type to use. Values: `open`, `high`, `low`, `close`.
|
|
235
|
+
- `--expand-underlying` (boolean): Include underlying aggregates.
|
|
236
|
+
- `--order` (string): Sort order. Values: `asc`, `desc`.
|
|
237
|
+
- `--limit` (number): Max results (default: 10).
|
|
238
|
+
|
|
239
|
+
**Example:**
|
|
240
|
+
```bash
|
|
241
|
+
bun cli.js options-macd --ticker O:AAPL230616C00150000
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
### last-options-trade
|
|
245
|
+
Get the most recent trade for an options contract.
|
|
246
|
+
|
|
247
|
+
**Usage:**
|
|
248
|
+
```bash
|
|
249
|
+
bun cli.js last-options-trade --ticker <ticker>
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
**Parameters:**
|
|
253
|
+
- `--ticker` (required): Options ticker symbol.
|
|
254
|
+
|
|
255
|
+
**Example:**
|
|
256
|
+
```bash
|
|
257
|
+
bun cli.js last-options-trade --ticker O:AAPL230616C00150000
|
|
258
|
+
```
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
# Reference Data Commands Reference
|
|
2
|
+
|
|
3
|
+
This document provides a reference for the reference data commands available in the Polygon CLI.
|
|
4
|
+
|
|
5
|
+
## Commands
|
|
6
|
+
|
|
7
|
+
### tickers
|
|
8
|
+
Query all ticker symbols which are supported by Polygon.io.
|
|
9
|
+
|
|
10
|
+
**Usage:**
|
|
11
|
+
```bash
|
|
12
|
+
bun cli.js tickers [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
**Parameters:**
|
|
16
|
+
- `--ticker` (string): Specify a ticker symbol.
|
|
17
|
+
- `--type` (string): Specify the type of the tickers (e.g., CS, ETF).
|
|
18
|
+
- `--market` (string): Filter by market type (stocks, crypto, fx, otc, indices).
|
|
19
|
+
- `--exchange` (string): Specify the primary exchange MIC.
|
|
20
|
+
- `--cusip` (string): Search by CUSIP.
|
|
21
|
+
- `--cik` (string): Search by CIK.
|
|
22
|
+
- `--date` (string): Specify a date for the ticker search (YYYY-MM-DD).
|
|
23
|
+
- `--search` (string): Search for terms within the ticker and/or company name.
|
|
24
|
+
- `--active` (boolean): Filter for active/inactive tickers (default: true).
|
|
25
|
+
- `--sort` (string): Sort field (ticker, type).
|
|
26
|
+
- `--order` (string): Sort order (asc, desc).
|
|
27
|
+
- `--limit` (number): Max results (default: 10).
|
|
28
|
+
|
|
29
|
+
**Example:**
|
|
30
|
+
```bash
|
|
31
|
+
bun cli.js tickers --search apple --market stocks --active true
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### ticker-details
|
|
35
|
+
Get a single ticker supported by Polygon.io.
|
|
36
|
+
|
|
37
|
+
**Usage:**
|
|
38
|
+
```bash
|
|
39
|
+
bun cli.js ticker-details --ticker <ticker> [options]
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
**Parameters:**
|
|
43
|
+
- `--ticker` (required): The ticker symbol.
|
|
44
|
+
- `--date` (string): Specify a point in time for the ticker details (YYYY-MM-DD).
|
|
45
|
+
|
|
46
|
+
**Example:**
|
|
47
|
+
```bash
|
|
48
|
+
bun cli.js ticker-details --ticker AAPL
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### ticker-types
|
|
52
|
+
Get a mapping of ticker types to their type code.
|
|
53
|
+
|
|
54
|
+
**Usage:**
|
|
55
|
+
```bash
|
|
56
|
+
bun cli.js ticker-types [options]
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
**Parameters:**
|
|
60
|
+
- `--asset-class` (string): Filter by asset class (stocks, options, crypto, fx, indices).
|
|
61
|
+
- `--locale` (string): Filter by locale (us, global).
|
|
62
|
+
|
|
63
|
+
**Example:**
|
|
64
|
+
```bash
|
|
65
|
+
bun cli.js ticker-types --asset-class stocks
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### exchanges
|
|
69
|
+
List all exchanges that Polygon.io knows about.
|
|
70
|
+
|
|
71
|
+
**Usage:**
|
|
72
|
+
```bash
|
|
73
|
+
bun cli.js exchanges [options]
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
**Parameters:**
|
|
77
|
+
- `--asset-class` (string): Filter by asset class.
|
|
78
|
+
- `--locale` (string): Filter by locale.
|
|
79
|
+
|
|
80
|
+
**Example:**
|
|
81
|
+
```bash
|
|
82
|
+
bun cli.js exchanges --asset-class stocks
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### conditions
|
|
86
|
+
List all conditions that Polygon.io uses.
|
|
87
|
+
|
|
88
|
+
**Usage:**
|
|
89
|
+
```bash
|
|
90
|
+
bun cli.js conditions [options]
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
**Parameters:**
|
|
94
|
+
- `--asset-class` (string): Filter by asset class.
|
|
95
|
+
- `--data-type` (string): Filter by data type (trade, bbo, nbbo).
|
|
96
|
+
- `--id` (number): Filter by condition ID.
|
|
97
|
+
- `--sip` (string): Filter by SIP (CTA, UTP, OPRA).
|
|
98
|
+
- `--sort` (string): Sort field.
|
|
99
|
+
- `--order` (string): Sort order.
|
|
100
|
+
- `--limit` (number): Max results.
|
|
101
|
+
|
|
102
|
+
**Example:**
|
|
103
|
+
```bash
|
|
104
|
+
bun cli.js conditions --asset-class stocks
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### dividends
|
|
108
|
+
Get a list of historical cash dividends, including the ticker symbol, declaration date, ex-dividend date, record date, pay date, frequency, and amount.
|
|
109
|
+
|
|
110
|
+
**Usage:**
|
|
111
|
+
```bash
|
|
112
|
+
bun cli.js dividends [options]
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
**Parameters:**
|
|
116
|
+
- `--ticker` (string): Filter by ticker.
|
|
117
|
+
- `--ex-dividend-date` (string): Query by ex-dividend date.
|
|
118
|
+
- `--record-date` (string): Query by record date.
|
|
119
|
+
- `--declaration-date` (string): Query by declaration date.
|
|
120
|
+
- `--pay-date` (string): Query by pay date.
|
|
121
|
+
- `--frequency` (number): Frequency (0=one-time, 1=annually, 4=quarterly, etc.).
|
|
122
|
+
- `--cash-amount` (number): Query by cash amount.
|
|
123
|
+
- `--dividend-type` (string): Query by dividend type (CD, SC, LT, etc.).
|
|
124
|
+
- `--sort` (string): Sort field.
|
|
125
|
+
- `--order` (string): Sort order.
|
|
126
|
+
- `--limit` (number): Max results.
|
|
127
|
+
|
|
128
|
+
**Example:**
|
|
129
|
+
```bash
|
|
130
|
+
bun cli.js dividends --ticker AAPL
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### stock-splits
|
|
134
|
+
Get a list of historical stock splits, including the ticker symbol, the execution date, and the split ratio.
|
|
135
|
+
|
|
136
|
+
**Usage:**
|
|
137
|
+
```bash
|
|
138
|
+
bun cli.js stock-splits [options]
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
**Parameters:**
|
|
142
|
+
- `--ticker` (string): Filter by ticker.
|
|
143
|
+
- `--execution-date` (string): Query by execution date.
|
|
144
|
+
- `--reverse-split` (boolean): Filter for reverse splits.
|
|
145
|
+
- `--sort` (string): Sort field.
|
|
146
|
+
- `--order` (string): Sort order.
|
|
147
|
+
- `--limit` (number): Max results.
|
|
148
|
+
|
|
149
|
+
**Example:**
|
|
150
|
+
```bash
|
|
151
|
+
bun cli.js stock-splits --ticker AAPL
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### financials
|
|
155
|
+
Get historical financial data for a stock ticker.
|
|
156
|
+
|
|
157
|
+
**Usage:**
|
|
158
|
+
```bash
|
|
159
|
+
bun cli.js financials [options]
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
**Parameters:**
|
|
163
|
+
- `--ticker` (string): Query by ticker.
|
|
164
|
+
- `--cik` (string): Query by CIK.
|
|
165
|
+
- `--company-name` (string): Query by company name.
|
|
166
|
+
- `--sic` (string): Query by SIC.
|
|
167
|
+
- `--filing-date` (string): Query by filing date.
|
|
168
|
+
- `--period-of-report-date` (string): Query by period of report date.
|
|
169
|
+
- `--timeframe` (string): internal.
|
|
170
|
+
- `--include-sources` (boolean): Include sources.
|
|
171
|
+
- `--sort` (string): Sort field.
|
|
172
|
+
- `--order` (string): Sort order.
|
|
173
|
+
- `--limit` (number): Max results.
|
|
174
|
+
|
|
175
|
+
**Example:**
|
|
176
|
+
```bash
|
|
177
|
+
bun cli.js financials --ticker AAPL
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### ipos
|
|
181
|
+
Get a list of upcoming IPOs.
|
|
182
|
+
|
|
183
|
+
**Usage:**
|
|
184
|
+
```bash
|
|
185
|
+
bun cli.js ipos [options]
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
**Parameters:**
|
|
189
|
+
- `--ticker` (string): Filter by ticker.
|
|
190
|
+
- `--us-code` (string): Filter by US Code.
|
|
191
|
+
- `--isin` (string): Filter by ISIN.
|
|
192
|
+
- `--listing-date` (string): Filter by listing date.
|
|
193
|
+
- `--sort` (string): Sort field.
|
|
194
|
+
- `--order` (string): Sort order.
|
|
195
|
+
- `--limit` (number): Max results.
|
|
196
|
+
|
|
197
|
+
**Example:**
|
|
198
|
+
```bash
|
|
199
|
+
bun cli.js ipos --limit 5
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### related-companies
|
|
203
|
+
Get a list of tickers that are related to the given ticker.
|
|
204
|
+
|
|
205
|
+
**Usage:**
|
|
206
|
+
```bash
|
|
207
|
+
bun cli.js related-companies --ticker <ticker>
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
**Parameters:**
|
|
211
|
+
- `--ticker` (required): The ticker symbol.
|
|
212
|
+
|
|
213
|
+
**Example:**
|
|
214
|
+
```bash
|
|
215
|
+
bun cli.js related-companies --ticker AAPL
|
|
216
|
+
```
|