@clear-street/clearstreet 0.75.0 → 0.77.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/CHANGELOG.md +18 -0
- package/package.json +1 -1
- package/resources/v1/accounts.d.mts +26 -13
- package/resources/v1/accounts.d.mts.map +1 -1
- package/resources/v1/accounts.d.ts +26 -13
- package/resources/v1/accounts.d.ts.map +1 -1
- package/resources/v1/calendar.d.mts +10 -5
- package/resources/v1/calendar.d.mts.map +1 -1
- package/resources/v1/calendar.d.ts +10 -5
- package/resources/v1/calendar.d.ts.map +1 -1
- package/resources/v1/index.d.mts +0 -1
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +0 -1
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js +1 -3
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs +0 -1
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/instrument-data/instrument-data.d.mts +90 -45
- package/resources/v1/instrument-data/instrument-data.d.mts.map +1 -1
- package/resources/v1/instrument-data/instrument-data.d.ts +90 -45
- package/resources/v1/instrument-data/instrument-data.d.ts.map +1 -1
- package/resources/v1/instrument-data/instrument-data.js.map +1 -1
- package/resources/v1/instrument-data/instrument-data.mjs.map +1 -1
- package/resources/v1/instrument-data/market-data.d.mts +29 -14
- package/resources/v1/instrument-data/market-data.d.mts.map +1 -1
- package/resources/v1/instrument-data/market-data.d.ts +29 -14
- package/resources/v1/instrument-data/market-data.d.ts.map +1 -1
- package/resources/v1/instrument-data/news.d.mts +10 -5
- package/resources/v1/instrument-data/news.d.mts.map +1 -1
- package/resources/v1/instrument-data/news.d.ts +10 -5
- package/resources/v1/instrument-data/news.d.ts.map +1 -1
- package/resources/v1/instruments.d.mts +42 -21
- package/resources/v1/instruments.d.mts.map +1 -1
- package/resources/v1/instruments.d.ts +42 -21
- package/resources/v1/instruments.d.ts.map +1 -1
- package/resources/v1/omni-ai/messages.d.mts +4 -0
- package/resources/v1/omni-ai/messages.d.mts.map +1 -1
- package/resources/v1/omni-ai/messages.d.ts +4 -0
- package/resources/v1/omni-ai/messages.d.ts.map +1 -1
- package/resources/v1/omni-ai/omni-ai.d.mts +20 -10
- package/resources/v1/omni-ai/omni-ai.d.mts.map +1 -1
- package/resources/v1/omni-ai/omni-ai.d.ts +20 -10
- package/resources/v1/omni-ai/omni-ai.d.ts.map +1 -1
- package/resources/v1/omni-ai/omni-ai.js.map +1 -1
- package/resources/v1/omni-ai/omni-ai.mjs.map +1 -1
- package/resources/v1/omni-ai/responses.d.mts +9 -2
- package/resources/v1/omni-ai/responses.d.mts.map +1 -1
- package/resources/v1/omni-ai/responses.d.ts +9 -2
- package/resources/v1/omni-ai/responses.d.ts.map +1 -1
- package/resources/v1/omni-ai/threads.d.mts +1 -1
- package/resources/v1/omni-ai/threads.d.ts +1 -1
- package/resources/v1/orders.d.mts +30 -15
- package/resources/v1/orders.d.mts.map +1 -1
- package/resources/v1/orders.d.ts +30 -15
- package/resources/v1/orders.d.ts.map +1 -1
- package/resources/v1/positions.d.mts +46 -27
- package/resources/v1/positions.d.mts.map +1 -1
- package/resources/v1/positions.d.ts +46 -27
- package/resources/v1/positions.d.ts.map +1 -1
- package/resources/v1/positions.js +11 -5
- package/resources/v1/positions.js.map +1 -1
- package/resources/v1/positions.mjs +11 -5
- package/resources/v1/positions.mjs.map +1 -1
- package/resources/v1/v1.d.mts +0 -4
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +0 -4
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js +0 -4
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs +0 -4
- package/resources/v1/v1.mjs.map +1 -1
- package/resources/v1/watchlist.d.mts +4 -2
- package/resources/v1/watchlist.d.mts.map +1 -1
- package/resources/v1/watchlist.d.ts +4 -2
- package/resources/v1/watchlist.d.ts.map +1 -1
- package/src/resources/v1/accounts.ts +26 -13
- package/src/resources/v1/calendar.ts +10 -5
- package/src/resources/v1/index.ts +0 -1
- package/src/resources/v1/instrument-data/instrument-data.ts +90 -45
- package/src/resources/v1/instrument-data/market-data.ts +29 -14
- package/src/resources/v1/instrument-data/news.ts +10 -5
- package/src/resources/v1/instruments.ts +42 -21
- package/src/resources/v1/omni-ai/messages.ts +4 -0
- package/src/resources/v1/omni-ai/omni-ai.ts +20 -10
- package/src/resources/v1/omni-ai/responses.ts +9 -2
- package/src/resources/v1/omni-ai/threads.ts +1 -1
- package/src/resources/v1/orders.ts +30 -15
- package/src/resources/v1/positions.ts +45 -27
- package/src/resources/v1/v1.ts +0 -6
- package/src/resources/v1/watchlist.ts +4 -2
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/v1/websocket.d.mts +0 -18
- package/resources/v1/websocket.d.mts.map +0 -1
- package/resources/v1/websocket.d.ts +0 -18
- package/resources/v1/websocket.d.ts.map +0 -1
- package/resources/v1/websocket.js +0 -27
- package/resources/v1/websocket.js.map +0 -1
- package/resources/v1/websocket.mjs +0 -23
- package/resources/v1/websocket.mjs.map +0 -1
- package/src/resources/v1/websocket.ts +0 -26
|
@@ -69,32 +69,38 @@ export interface DailySummary {
|
|
|
69
69
|
instrument_id: string;
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
|
-
* Session high.
|
|
72
|
+
* Session high. When a null/undefined value is observed, it indicates that there
|
|
73
|
+
* is no available data.
|
|
73
74
|
*/
|
|
74
75
|
high?: string | null;
|
|
75
76
|
|
|
76
77
|
/**
|
|
77
|
-
* Session low.
|
|
78
|
+
* Session low. When a null/undefined value is observed, it indicates that there is
|
|
79
|
+
* no available data.
|
|
78
80
|
*/
|
|
79
81
|
low?: string | null;
|
|
80
82
|
|
|
81
83
|
/**
|
|
82
|
-
* Opening price for the session.
|
|
84
|
+
* Opening price for the session. When a null/undefined value is observed, it
|
|
85
|
+
* indicates that there is no available data.
|
|
83
86
|
*/
|
|
84
87
|
open?: string | null;
|
|
85
88
|
|
|
86
89
|
/**
|
|
87
|
-
* Display symbol for the security. `None` for unresolvable IDs.
|
|
90
|
+
* Display symbol for the security. `None` for unresolvable IDs. When a
|
|
91
|
+
* null/undefined value is observed, it indicates that there is no available data.
|
|
88
92
|
*/
|
|
89
93
|
symbol?: string | null;
|
|
90
94
|
|
|
91
95
|
/**
|
|
92
|
-
* Session date the OHLV represents, US/Eastern.
|
|
96
|
+
* Session date the OHLV represents, US/Eastern. When a null/undefined value is
|
|
97
|
+
* observed, it indicates that there is no available data.
|
|
93
98
|
*/
|
|
94
99
|
trade_date?: string | null;
|
|
95
100
|
|
|
96
101
|
/**
|
|
97
|
-
* Session cumulative trading volume.
|
|
102
|
+
* Session cumulative trading volume. When a null/undefined value is observed, it
|
|
103
|
+
* indicates that there is no available data.
|
|
98
104
|
*/
|
|
99
105
|
volume?: number | null;
|
|
100
106
|
}
|
|
@@ -117,33 +123,40 @@ export interface MarketDataSnapshot {
|
|
|
117
123
|
|
|
118
124
|
/**
|
|
119
125
|
* Cumulative traded volume reported on the most recent trade, in shares for
|
|
120
|
-
* equities or contracts for options. Absent when no trade is available.
|
|
126
|
+
* equities or contracts for options. Absent when no trade is available. When a
|
|
127
|
+
* null/undefined value is observed, it indicates that there is no available data.
|
|
121
128
|
*/
|
|
122
129
|
cumulative_volume?: number | null;
|
|
123
130
|
|
|
124
131
|
/**
|
|
125
132
|
* Theoretical price and Greeks for option instruments. `None` for equities, and
|
|
126
|
-
* for options whose Greeks have not yet been observed
|
|
133
|
+
* for options whose Greeks have not yet been observed When a null/undefined value
|
|
134
|
+
* is observed, it indicates that there is no available data.
|
|
127
135
|
*/
|
|
128
136
|
greeks?: SnapshotGreeks | null;
|
|
129
137
|
|
|
130
138
|
/**
|
|
131
|
-
* Most recent quote if available.
|
|
139
|
+
* Most recent quote if available. When a null/undefined value is observed, it
|
|
140
|
+
* indicates that there is no available data.
|
|
132
141
|
*/
|
|
133
142
|
last_quote?: SnapshotQuote | null;
|
|
134
143
|
|
|
135
144
|
/**
|
|
136
|
-
* Most recent last-sale trade if available.
|
|
145
|
+
* Most recent last-sale trade if available. When a null/undefined value is
|
|
146
|
+
* observed, it indicates that there is no available data.
|
|
137
147
|
*/
|
|
138
148
|
last_trade?: SnapshotLastTrade | null;
|
|
139
149
|
|
|
140
150
|
/**
|
|
141
|
-
* Security name if available.
|
|
151
|
+
* Security name if available. When a null/undefined value is observed, it
|
|
152
|
+
* indicates that there is no available data.
|
|
142
153
|
*/
|
|
143
154
|
name?: string | null;
|
|
144
155
|
|
|
145
156
|
/**
|
|
146
|
-
* Session metrics computed from previous close and last trade, if available.
|
|
157
|
+
* Session metrics computed from previous close and last trade, if available. When
|
|
158
|
+
* a null/undefined value is observed, it indicates that there is no available
|
|
159
|
+
* data.
|
|
147
160
|
*/
|
|
148
161
|
session?: SnapshotSession | null;
|
|
149
162
|
}
|
|
@@ -231,12 +244,14 @@ export interface SnapshotQuote {
|
|
|
231
244
|
midpoint: string;
|
|
232
245
|
|
|
233
246
|
/**
|
|
234
|
-
* Size at the best ask, in shares.
|
|
247
|
+
* Size at the best ask, in shares. When a null/undefined value is observed, it
|
|
248
|
+
* indicates that there is no available data.
|
|
235
249
|
*/
|
|
236
250
|
ask_size?: number | null;
|
|
237
251
|
|
|
238
252
|
/**
|
|
239
|
-
* Size at the best bid, in shares.
|
|
253
|
+
* Size at the best bid, in shares. When a null/undefined value is observed, it
|
|
254
|
+
* indicates that there is no available data.
|
|
240
255
|
*/
|
|
241
256
|
bid_size?: number | null;
|
|
242
257
|
}
|
|
@@ -37,12 +37,14 @@ export interface NewsInstrument {
|
|
|
37
37
|
instrument_id: string;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* Instrument name/description, if available.
|
|
40
|
+
* Instrument name/description, if available. When a null/undefined value is
|
|
41
|
+
* observed, it indicates that there is no available data.
|
|
41
42
|
*/
|
|
42
43
|
name?: string | null;
|
|
43
44
|
|
|
44
45
|
/**
|
|
45
|
-
* Trading symbol, if available.
|
|
46
|
+
* Trading symbol, if available. When a null/undefined value is observed, it
|
|
47
|
+
* indicates that there is no available data.
|
|
46
48
|
*/
|
|
47
49
|
symbol?: string | null;
|
|
48
50
|
}
|
|
@@ -82,17 +84,20 @@ export interface NewsItem {
|
|
|
82
84
|
url: string;
|
|
83
85
|
|
|
84
86
|
/**
|
|
85
|
-
* URL of an associated image if provided by the source.
|
|
87
|
+
* URL of an associated image if provided by the source. When a null/undefined
|
|
88
|
+
* value is observed, it indicates that there is no available data.
|
|
86
89
|
*/
|
|
87
90
|
image_url?: string | null;
|
|
88
91
|
|
|
89
92
|
/**
|
|
90
|
-
* The primary domain/site of the publisher.
|
|
93
|
+
* The primary domain/site of the publisher. When a null/undefined value is
|
|
94
|
+
* observed, it indicates that there is no available data.
|
|
91
95
|
*/
|
|
92
96
|
site?: string | null;
|
|
93
97
|
|
|
94
98
|
/**
|
|
95
|
-
* The full or excerpted article body.
|
|
99
|
+
* The full or excerpted article body. When a null/undefined value is observed, it
|
|
100
|
+
* indicates that there is no available data.
|
|
96
101
|
*/
|
|
97
102
|
text?: string | null;
|
|
98
103
|
}
|
|
@@ -173,53 +173,63 @@ export interface Instrument {
|
|
|
173
173
|
venue: string;
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
|
-
* Average daily share volume from the security definition.
|
|
176
|
+
* Average daily share volume from the security definition. When a null/undefined
|
|
177
|
+
* value is observed, it indicates that there is no available data.
|
|
177
178
|
*/
|
|
178
179
|
adv?: string | null;
|
|
179
180
|
|
|
180
181
|
/**
|
|
181
|
-
* The expiration date for options instruments
|
|
182
|
+
* The expiration date for options instruments When a null/undefined value is
|
|
183
|
+
* observed, it indicates it does not apply.
|
|
182
184
|
*/
|
|
183
185
|
expiry?: string | null;
|
|
184
186
|
|
|
185
187
|
/**
|
|
186
|
-
* The type of security (e.g., Common Stock, ETF)
|
|
188
|
+
* The type of security (e.g., Common Stock, ETF) When a null/undefined value is
|
|
189
|
+
* observed, it indicates that there is no available data.
|
|
187
190
|
*/
|
|
188
191
|
instrument_type?: V1API.SecurityType | null;
|
|
189
192
|
|
|
190
193
|
/**
|
|
191
|
-
* The percent of a long position's value you must post as margin
|
|
194
|
+
* The percent of a long position's value you must post as margin When a
|
|
195
|
+
* null/undefined value is observed, it indicates that there is no available data.
|
|
192
196
|
*/
|
|
193
197
|
long_margin_rate?: string | null;
|
|
194
198
|
|
|
195
199
|
/**
|
|
196
|
-
* The full name of the instrument or its issuer
|
|
200
|
+
* The full name of the instrument or its issuer When a null/undefined value is
|
|
201
|
+
* observed, it indicates that there is no available data.
|
|
197
202
|
*/
|
|
198
203
|
name?: string | null;
|
|
199
204
|
|
|
200
205
|
/**
|
|
201
|
-
* Notional average daily volume (ADV multiplied by previous close price).
|
|
206
|
+
* Notional average daily volume (ADV multiplied by previous close price). When a
|
|
207
|
+
* null/undefined value is observed, it indicates that there is no available data.
|
|
202
208
|
*/
|
|
203
209
|
notional_adv?: string | null;
|
|
204
210
|
|
|
205
211
|
/**
|
|
206
212
|
* Available options expiration dates for this instrument. Present only when
|
|
207
|
-
* `include_options_expiry_dates=true` in the request.
|
|
213
|
+
* `include_options_expiry_dates=true` in the request. When a null/undefined value
|
|
214
|
+
* is observed, it indicates it does not apply.
|
|
208
215
|
*/
|
|
209
216
|
options_expiry_dates?: Array<string> | null;
|
|
210
217
|
|
|
211
218
|
/**
|
|
212
|
-
* Last close price from the security definition.
|
|
219
|
+
* Last close price from the security definition. When a null/undefined value is
|
|
220
|
+
* observed, it indicates that there is no available data.
|
|
213
221
|
*/
|
|
214
222
|
previous_close?: string | null;
|
|
215
223
|
|
|
216
224
|
/**
|
|
217
|
-
* The percent of a short position's value you must post as margin
|
|
225
|
+
* The percent of a short position's value you must post as margin When a
|
|
226
|
+
* null/undefined value is observed, it indicates that there is no available data.
|
|
218
227
|
*/
|
|
219
228
|
short_margin_rate?: string | null;
|
|
220
229
|
|
|
221
230
|
/**
|
|
222
|
-
* The strike price for options instruments
|
|
231
|
+
* The strike price for options instruments When a null/undefined value is
|
|
232
|
+
* observed, it indicates it does not apply.
|
|
223
233
|
*/
|
|
224
234
|
strike_price?: string | null;
|
|
225
235
|
}
|
|
@@ -292,47 +302,56 @@ export interface InstrumentCore {
|
|
|
292
302
|
venue: string;
|
|
293
303
|
|
|
294
304
|
/**
|
|
295
|
-
* Average daily share volume from the security definition.
|
|
305
|
+
* Average daily share volume from the security definition. When a null/undefined
|
|
306
|
+
* value is observed, it indicates that there is no available data.
|
|
296
307
|
*/
|
|
297
308
|
adv?: string | null;
|
|
298
309
|
|
|
299
310
|
/**
|
|
300
|
-
* The expiration date for options instruments
|
|
311
|
+
* The expiration date for options instruments When a null/undefined value is
|
|
312
|
+
* observed, it indicates it does not apply.
|
|
301
313
|
*/
|
|
302
314
|
expiry?: string | null;
|
|
303
315
|
|
|
304
316
|
/**
|
|
305
|
-
* The type of security (e.g., Common Stock, ETF)
|
|
317
|
+
* The type of security (e.g., Common Stock, ETF) When a null/undefined value is
|
|
318
|
+
* observed, it indicates that there is no available data.
|
|
306
319
|
*/
|
|
307
320
|
instrument_type?: V1API.SecurityType | null;
|
|
308
321
|
|
|
309
322
|
/**
|
|
310
|
-
* The percent of a long position's value you must post as margin
|
|
323
|
+
* The percent of a long position's value you must post as margin When a
|
|
324
|
+
* null/undefined value is observed, it indicates that there is no available data.
|
|
311
325
|
*/
|
|
312
326
|
long_margin_rate?: string | null;
|
|
313
327
|
|
|
314
328
|
/**
|
|
315
|
-
* The full name of the instrument or its issuer
|
|
329
|
+
* The full name of the instrument or its issuer When a null/undefined value is
|
|
330
|
+
* observed, it indicates that there is no available data.
|
|
316
331
|
*/
|
|
317
332
|
name?: string | null;
|
|
318
333
|
|
|
319
334
|
/**
|
|
320
|
-
* Notional average daily volume (ADV multiplied by previous close price).
|
|
335
|
+
* Notional average daily volume (ADV multiplied by previous close price). When a
|
|
336
|
+
* null/undefined value is observed, it indicates that there is no available data.
|
|
321
337
|
*/
|
|
322
338
|
notional_adv?: string | null;
|
|
323
339
|
|
|
324
340
|
/**
|
|
325
|
-
* Last close price from the security definition.
|
|
341
|
+
* Last close price from the security definition. When a null/undefined value is
|
|
342
|
+
* observed, it indicates that there is no available data.
|
|
326
343
|
*/
|
|
327
344
|
previous_close?: string | null;
|
|
328
345
|
|
|
329
346
|
/**
|
|
330
|
-
* The percent of a short position's value you must post as margin
|
|
347
|
+
* The percent of a short position's value you must post as margin When a
|
|
348
|
+
* null/undefined value is observed, it indicates that there is no available data.
|
|
331
349
|
*/
|
|
332
350
|
short_margin_rate?: string | null;
|
|
333
351
|
|
|
334
352
|
/**
|
|
335
|
-
* The strike price for options instruments
|
|
353
|
+
* The strike price for options instruments When a null/undefined value is
|
|
354
|
+
* observed, it indicates it does not apply.
|
|
336
355
|
*/
|
|
337
356
|
strike_price?: string | null;
|
|
338
357
|
}
|
|
@@ -409,12 +428,14 @@ export interface OptionsContract {
|
|
|
409
428
|
symbol: string;
|
|
410
429
|
|
|
411
430
|
/**
|
|
412
|
-
* Open interest (number of outstanding contracts), if available
|
|
431
|
+
* Open interest (number of outstanding contracts), if available When a
|
|
432
|
+
* null/undefined value is observed, it indicates that there is no available data.
|
|
413
433
|
*/
|
|
414
434
|
open_interest?: number | null;
|
|
415
435
|
|
|
416
436
|
/**
|
|
417
|
-
* Instrument ID of the underlying instrument, when available
|
|
437
|
+
* Instrument ID of the underlying instrument, when available When a null/undefined
|
|
438
|
+
* value is observed, it indicates that there is no available data.
|
|
418
439
|
*/
|
|
419
440
|
underlying_instrument_id?: string | null;
|
|
420
441
|
}
|
|
@@ -63,6 +63,10 @@ export class Messages extends APIResource {
|
|
|
63
63
|
export interface CreateFeedbackResponse {
|
|
64
64
|
created_at: string;
|
|
65
65
|
|
|
66
|
+
/**
|
|
67
|
+
* When a null/undefined value is observed, it indicates that there is no available
|
|
68
|
+
* data.
|
|
69
|
+
*/
|
|
66
70
|
feedback_id?: string | null;
|
|
67
71
|
}
|
|
68
72
|
|
|
@@ -90,12 +90,14 @@ export interface ActionButton {
|
|
|
90
90
|
label: string;
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
|
-
* Follow-up prompt to submit as the next user message.
|
|
93
|
+
* Follow-up prompt to submit as the next user message. When a null/undefined value
|
|
94
|
+
* is observed, it indicates it does not apply.
|
|
94
95
|
*/
|
|
95
96
|
prompt?: PromptButtonAction | null;
|
|
96
97
|
|
|
97
98
|
/**
|
|
98
|
-
* Structured action in the same message to execute on click.
|
|
99
|
+
* Structured action in the same message to execute on click. When a null/undefined
|
|
100
|
+
* value is observed, it indicates it does not apply.
|
|
99
101
|
*/
|
|
100
102
|
structuredAction?: StructuredActionButtonAction | null;
|
|
101
103
|
}
|
|
@@ -115,7 +117,8 @@ export interface ChartPayload {
|
|
|
115
117
|
actionButtons?: Array<ActionButton>;
|
|
116
118
|
|
|
117
119
|
/**
|
|
118
|
-
* Explicit series-driven chart definition.
|
|
120
|
+
* Explicit series-driven chart definition. When a null/undefined value is
|
|
121
|
+
* observed, it indicates it does not apply.
|
|
119
122
|
*/
|
|
120
123
|
dataChart?: DataChart | null;
|
|
121
124
|
}
|
|
@@ -221,12 +224,14 @@ export interface OpenChartAction {
|
|
|
221
224
|
symbol: string;
|
|
222
225
|
|
|
223
226
|
/**
|
|
224
|
-
* Additional chart configuration (indicators, overlays, etc.)
|
|
227
|
+
* Additional chart configuration (indicators, overlays, etc.) When a
|
|
228
|
+
* null/undefined value is observed, it indicates it does not apply.
|
|
225
229
|
*/
|
|
226
230
|
extras?: unknown;
|
|
227
231
|
|
|
228
232
|
/**
|
|
229
|
-
* Chart timeframe (e.g., "1D", "1W", "1M", "3M", "1Y", "5Y")
|
|
233
|
+
* Chart timeframe (e.g., "1D", "1W", "1M", "3M", "1Y", "5Y") When a null/undefined
|
|
234
|
+
* value is observed, it indicates it does not apply.
|
|
230
235
|
*/
|
|
231
236
|
timeframe?: string | null;
|
|
232
237
|
}
|
|
@@ -257,22 +262,26 @@ export interface OpenScreenerAction {
|
|
|
257
262
|
filters: Array<ScreenerFilter>;
|
|
258
263
|
|
|
259
264
|
/**
|
|
260
|
-
* Optional field/column selection for screener results.
|
|
265
|
+
* Optional field/column selection for screener results. When a null/undefined
|
|
266
|
+
* value is observed, it indicates it does not apply.
|
|
261
267
|
*/
|
|
262
268
|
field_filter?: Array<string> | null;
|
|
263
269
|
|
|
264
270
|
/**
|
|
265
|
-
* Optional page size.
|
|
271
|
+
* Optional page size. When a null/undefined value is observed, it indicates it
|
|
272
|
+
* does not apply.
|
|
266
273
|
*/
|
|
267
274
|
page_size?: number | null;
|
|
268
275
|
|
|
269
276
|
/**
|
|
270
|
-
* Optional sort field for screener rows.
|
|
277
|
+
* Optional sort field for screener rows. When a null/undefined value is observed,
|
|
278
|
+
* it indicates it does not apply.
|
|
271
279
|
*/
|
|
272
280
|
sort_by?: string | null;
|
|
273
281
|
|
|
274
282
|
/**
|
|
275
|
-
* Optional sort direction (`ASC` or `DESC`).
|
|
283
|
+
* Optional sort direction (`ASC` or `DESC`). When a null/undefined value is
|
|
284
|
+
* observed, it indicates it does not apply.
|
|
276
285
|
*/
|
|
277
286
|
sort_direction?: string | null;
|
|
278
287
|
}
|
|
@@ -413,7 +422,8 @@ export namespace StructuredAction {
|
|
|
413
422
|
*/
|
|
414
423
|
export interface StructuredActionButtonAction {
|
|
415
424
|
/**
|
|
416
|
-
* UUID of a `structured_action` content part in the same message.
|
|
425
|
+
* UUID of a `structured_action` content part in the same message. When a
|
|
426
|
+
* null/undefined value is observed, it indicates it does not apply.
|
|
417
427
|
*/
|
|
418
428
|
actionId?: string | null;
|
|
419
429
|
}
|
|
@@ -81,6 +81,9 @@ export interface ErrorStatus {
|
|
|
81
81
|
|
|
82
82
|
message: string;
|
|
83
83
|
|
|
84
|
+
/**
|
|
85
|
+
* When a null/undefined value is observed, it indicates it does not apply.
|
|
86
|
+
*/
|
|
84
87
|
details?: unknown | null;
|
|
85
88
|
}
|
|
86
89
|
|
|
@@ -100,15 +103,19 @@ export interface Response {
|
|
|
100
103
|
user_message_id: string;
|
|
101
104
|
|
|
102
105
|
/**
|
|
103
|
-
*
|
|
106
|
+
* When a null/undefined value is observed, it indicates that there is no available
|
|
107
|
+
* data.
|
|
104
108
|
*/
|
|
105
109
|
content?: ResponseContent | null;
|
|
106
110
|
|
|
107
111
|
/**
|
|
108
|
-
*
|
|
112
|
+
* When a null/undefined value is observed, it indicates it does not apply.
|
|
109
113
|
*/
|
|
110
114
|
error?: ErrorStatus | null;
|
|
111
115
|
|
|
116
|
+
/**
|
|
117
|
+
* When a null/undefined value is observed, it indicates it does not apply.
|
|
118
|
+
*/
|
|
112
119
|
output_message_id?: string | null;
|
|
113
120
|
}
|
|
114
121
|
|
|
@@ -414,7 +414,8 @@ export interface Order {
|
|
|
414
414
|
venue: string;
|
|
415
415
|
|
|
416
416
|
/**
|
|
417
|
-
* Average fill price across all executions
|
|
417
|
+
* Average fill price across all executions When a null/undefined value is
|
|
418
|
+
* observed, it indicates that there is no available data.
|
|
418
419
|
*/
|
|
419
420
|
average_fill_price?: string | null;
|
|
420
421
|
|
|
@@ -425,7 +426,8 @@ export interface Order {
|
|
|
425
426
|
|
|
426
427
|
/**
|
|
427
428
|
* Timestamp when the order will expire (UTC). Present when time_in_force is
|
|
428
|
-
* GOOD_TILL_DATE.
|
|
429
|
+
* GOOD_TILL_DATE. When a null/undefined value is observed, it indicates it does
|
|
430
|
+
* not apply.
|
|
429
431
|
*/
|
|
430
432
|
expires_at?: string | null;
|
|
431
433
|
|
|
@@ -435,65 +437,78 @@ export interface Order {
|
|
|
435
437
|
extended_hours?: boolean | null;
|
|
436
438
|
|
|
437
439
|
/**
|
|
438
|
-
* Limit offset for trailing stop-limit orders (signed)
|
|
440
|
+
* Limit offset for trailing stop-limit orders (signed) When a null/undefined value
|
|
441
|
+
* is observed, it indicates it does not apply.
|
|
439
442
|
*/
|
|
440
443
|
limit_offset?: string | null;
|
|
441
444
|
|
|
442
445
|
/**
|
|
443
|
-
* Limit price (for LIMIT and STOP_LIMIT orders)
|
|
446
|
+
* Limit price (for LIMIT and STOP_LIMIT orders) When a null/undefined value is
|
|
447
|
+
* observed, it indicates it does not apply.
|
|
444
448
|
*/
|
|
445
449
|
limit_price?: string | null;
|
|
446
450
|
|
|
447
451
|
/**
|
|
448
452
|
* Parent order queue state, present when the order is awaiting release or
|
|
449
|
-
* released.
|
|
453
|
+
* released. When a null/undefined value is observed, it indicates it does not
|
|
454
|
+
* apply.
|
|
450
455
|
*/
|
|
451
456
|
queue_state?: QueueState | null;
|
|
452
457
|
|
|
453
458
|
/**
|
|
454
|
-
* Scheduled release time for orders awaiting release.
|
|
459
|
+
* Scheduled release time for orders awaiting release. When a null/undefined value
|
|
460
|
+
* is observed, it indicates it does not apply.
|
|
455
461
|
*/
|
|
456
462
|
releases_at?: string | null;
|
|
457
463
|
|
|
458
464
|
/**
|
|
459
|
-
* Stop price (for STOP and STOP_LIMIT orders)
|
|
465
|
+
* Stop price (for STOP and STOP_LIMIT orders) When a null/undefined value is
|
|
466
|
+
* observed, it indicates it does not apply.
|
|
460
467
|
*/
|
|
461
468
|
stop_price?: string | null;
|
|
462
469
|
|
|
463
470
|
/**
|
|
464
|
-
* Current trailing limit price computed by the trailing strategy
|
|
471
|
+
* Current trailing limit price computed by the trailing strategy When a
|
|
472
|
+
* null/undefined value is observed, it indicates it does not apply.
|
|
465
473
|
*/
|
|
466
474
|
trailing_limit_px?: string | null;
|
|
467
475
|
|
|
468
476
|
/**
|
|
469
|
-
* Trailing offset amount for trailing orders
|
|
477
|
+
* Trailing offset amount for trailing orders When a null/undefined value is
|
|
478
|
+
* observed, it indicates it does not apply.
|
|
470
479
|
*/
|
|
471
480
|
trailing_offset?: string | null;
|
|
472
481
|
|
|
473
482
|
/**
|
|
474
|
-
* Trailing offset type for trailing orders
|
|
483
|
+
* Trailing offset type for trailing orders When a null/undefined value is
|
|
484
|
+
* observed, it indicates it does not apply.
|
|
475
485
|
*/
|
|
476
486
|
trailing_offset_type?: TrailingOffsetType | null;
|
|
477
487
|
|
|
478
488
|
/**
|
|
479
|
-
* Current trailing stop price computed by the trailing strategy
|
|
489
|
+
* Current trailing stop price computed by the trailing strategy When a
|
|
490
|
+
* null/undefined value is observed, it indicates it does not apply.
|
|
480
491
|
*/
|
|
481
492
|
trailing_stop_px?: string | null;
|
|
482
493
|
|
|
483
494
|
/**
|
|
484
|
-
* Trailing watermark price for trailing orders
|
|
495
|
+
* Trailing watermark price for trailing orders When a null/undefined value is
|
|
496
|
+
* observed, it indicates it does not apply.
|
|
485
497
|
*/
|
|
486
498
|
trailing_watermark_px?: string | null;
|
|
487
499
|
|
|
488
500
|
/**
|
|
489
|
-
* Trailing watermark timestamp for trailing orders
|
|
501
|
+
* Trailing watermark timestamp for trailing orders When a null/undefined value is
|
|
502
|
+
* observed, it indicates it does not apply.
|
|
490
503
|
*/
|
|
491
504
|
trailing_watermark_ts?: string | null;
|
|
492
505
|
|
|
493
506
|
/**
|
|
494
507
|
* Instrument ID of the option's underlying instrument. Populated only for options
|
|
495
|
-
* orders
|
|
496
|
-
*
|
|
508
|
+
* orders. A `null` means one of two things: the order is not an option, so the
|
|
509
|
+
* field does not apply; or the order is an option whose underlier has not yet been
|
|
510
|
+
* resolved. When a null/undefined value is observed, it indicates it does not
|
|
511
|
+
* apply.
|
|
497
512
|
*/
|
|
498
513
|
underlying_instrument_id?: string | null;
|
|
499
514
|
}
|