@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
package/resources/v1/v1.js
CHANGED
|
@@ -18,8 +18,6 @@ const PositionsAPI = tslib_1.__importStar(require("./positions.js"));
|
|
|
18
18
|
const positions_1 = require("./positions.js");
|
|
19
19
|
const WatchlistAPI = tslib_1.__importStar(require("./watchlist.js"));
|
|
20
20
|
const watchlist_1 = require("./watchlist.js");
|
|
21
|
-
const WebsocketAPI = tslib_1.__importStar(require("./websocket.js"));
|
|
22
|
-
const websocket_1 = require("./websocket.js");
|
|
23
21
|
const InstrumentDataAPI = tslib_1.__importStar(require("./instrument-data/instrument-data.js"));
|
|
24
22
|
const instrument_data_1 = require("./instrument-data/instrument-data.js");
|
|
25
23
|
const OmniAIAPI = tslib_1.__importStar(require("./omni-ai/omni-ai.js"));
|
|
@@ -36,7 +34,6 @@ class V1 extends resource_1.APIResource {
|
|
|
36
34
|
this.orders = new OrdersAPI.Orders(this._client);
|
|
37
35
|
this.positions = new PositionsAPI.Positions(this._client);
|
|
38
36
|
this.watchlist = new WatchlistAPI.Watchlist(this._client);
|
|
39
|
-
this.websocket = new WebsocketAPI.Websocket(this._client);
|
|
40
37
|
}
|
|
41
38
|
}
|
|
42
39
|
exports.V1 = V1;
|
|
@@ -49,5 +46,4 @@ V1.OmniAI = omni_ai_1.OmniAI;
|
|
|
49
46
|
V1.Orders = orders_1.Orders;
|
|
50
47
|
V1.Positions = positions_1.Positions;
|
|
51
48
|
V1.Watchlist = watchlist_1.Watchlist;
|
|
52
|
-
V1.Websocket = websocket_1.Websocket;
|
|
53
49
|
//# sourceMappingURL=v1.js.map
|
package/resources/v1/v1.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../src/resources/v1/v1.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,mEAA0C;AAC1C,4CA2BoB;AACpB,wEAA+C;AAC/C,kDAAkF;AAClF,mEAA0C;AAC1C,4CAcoB;AACpB,yEAAgD;AAChD,kDAkBuB;AACvB,+DAAsC;AACtC,wCAgCkB;AAClB,qEAA4C;AAC5C,8CAqBqB;AACrB,qEAA4C;AAC5C,8CAiBqB;AACrB,
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../src/resources/v1/v1.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,mEAA0C;AAC1C,4CA2BoB;AACpB,wEAA+C;AAC/C,kDAAkF;AAClF,mEAA0C;AAC1C,4CAcoB;AACpB,yEAAgD;AAChD,kDAkBuB;AACvB,+DAAsC;AACtC,wCAgCkB;AAClB,qEAA4C;AAC5C,8CAqBqB;AACrB,qEAA4C;AAC5C,8CAiBqB;AACrB,gGAAuE;AACvE,0EAoC2C;AAC3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resources/v1/v1.mjs
CHANGED
|
@@ -14,8 +14,6 @@ import * as PositionsAPI from "./positions.mjs";
|
|
|
14
14
|
import { Positions, } from "./positions.mjs";
|
|
15
15
|
import * as WatchlistAPI from "./watchlist.mjs";
|
|
16
16
|
import { Watchlist, } from "./watchlist.mjs";
|
|
17
|
-
import * as WebsocketAPI from "./websocket.mjs";
|
|
18
|
-
import { Websocket } from "./websocket.mjs";
|
|
19
17
|
import * as InstrumentDataAPI from "./instrument-data/instrument-data.mjs";
|
|
20
18
|
import { InstrumentData, } from "./instrument-data/instrument-data.mjs";
|
|
21
19
|
import * as OmniAIAPI from "./omni-ai/omni-ai.mjs";
|
|
@@ -32,7 +30,6 @@ export class V1 extends APIResource {
|
|
|
32
30
|
this.orders = new OrdersAPI.Orders(this._client);
|
|
33
31
|
this.positions = new PositionsAPI.Positions(this._client);
|
|
34
32
|
this.watchlist = new WatchlistAPI.Watchlist(this._client);
|
|
35
|
-
this.websocket = new WebsocketAPI.Websocket(this._client);
|
|
36
33
|
}
|
|
37
34
|
}
|
|
38
35
|
V1.Accounts = Accounts;
|
|
@@ -44,5 +41,4 @@ V1.OmniAI = OmniAI;
|
|
|
44
41
|
V1.Orders = Orders;
|
|
45
42
|
V1.Positions = Positions;
|
|
46
43
|
V1.Watchlist = Watchlist;
|
|
47
|
-
V1.Websocket = Websocket;
|
|
48
44
|
//# sourceMappingURL=v1.mjs.map
|
package/resources/v1/v1.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.mjs","sourceRoot":"","sources":["../../src/resources/v1/v1.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAkBL,QAAQ,GAST,uBAAmB;AACpB,OAAO,KAAK,aAAa,0BAAsB;AAC/C,OAAO,EAAE,UAAU,EAAyC,0BAAsB;AAClF,OAAO,KAAK,WAAW,uBA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was added When a null/undefined value is observed, it
|
|
143
|
+
* indicates that there is no available data.
|
|
143
144
|
*/
|
|
144
145
|
added_price?: string | null;
|
|
145
146
|
/**
|
|
146
|
-
* Instrument details
|
|
147
|
+
* Instrument details When a null/undefined value is observed, it indicates that
|
|
148
|
+
* there is no available data.
|
|
147
149
|
*/
|
|
148
150
|
instrument?: InstrumentsAPI.Instrument | null;
|
|
149
151
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"watchlist.d.mts","sourceRoot":"","sources":["../../src/resources/v1/watchlist.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,KAAK,cAAc,0BAAsB;AAChD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;OAUG;IACH,gBAAgB,CACd,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,+BAA+B,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iCAAiC,CAAC;IAIhD;;;;;;;;;OASG;IACH,eAAe,CACb,IAAI,EAAE,8BAA8B,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gCAAgC,CAAC;IAI/C;;;;;;;;;OASG;IACH,eAAe,CACb,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gCAAgC,CAAC;IAI/C;;;;;;;;;;;;;OAaG;IACH,mBAAmB,CACjB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kCAAkC,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oCAAoC,CAAC;IAKnD;;;;;;;;;OASG;IACH,gBAAgB,CACd,WAAW,EAAE,MAAM,EACnB,OAAO,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;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
|
|
@@ -139,11 +139,13 @@ export interface WatchlistItemEntry {
|
|
|
139
139
|
*/
|
|
140
140
|
added_at: string;
|
|
141
141
|
/**
|
|
142
|
-
* Price when the item was added
|
|
142
|
+
* Price when the item was added When a null/undefined value is observed, it
|
|
143
|
+
* indicates that there is no available data.
|
|
143
144
|
*/
|
|
144
145
|
added_price?: string | null;
|
|
145
146
|
/**
|
|
146
|
-
* Instrument details
|
|
147
|
+
* Instrument details When a null/undefined value is observed, it indicates that
|
|
148
|
+
* there is no available data.
|
|
147
149
|
*/
|
|
148
150
|
instrument?: InstrumentsAPI.Instrument | null;
|
|
149
151
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"watchlist.d.ts","sourceRoot":"","sources":["../../src/resources/v1/watchlist.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;A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CAAgC,IAAI,gCAAgC,EACzE,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
|
|
@@ -142,7 +142,8 @@ export interface Account {
|
|
|
142
142
|
type: AccountType;
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
|
-
* The date the account was closed, if applicable
|
|
145
|
+
* The date the account was closed, if applicable When a null/undefined value is
|
|
146
|
+
* observed, it indicates it does not apply.
|
|
146
147
|
*/
|
|
147
148
|
close_date?: string | null;
|
|
148
149
|
}
|
|
@@ -232,17 +233,20 @@ export interface AccountBalances {
|
|
|
232
233
|
withdrawable_cash: string;
|
|
233
234
|
|
|
234
235
|
/**
|
|
235
|
-
* Margin-account-only details.
|
|
236
|
+
* Margin-account-only details. When a null/undefined value is observed, it
|
|
237
|
+
* indicates it does not apply.
|
|
236
238
|
*/
|
|
237
239
|
margin_details?: MarginDetails | null;
|
|
238
240
|
|
|
239
241
|
/**
|
|
240
|
-
* Applied multiplier for margin calculations.
|
|
242
|
+
* Applied multiplier for margin calculations. When a null/undefined value is
|
|
243
|
+
* observed, it indicates it does not apply.
|
|
241
244
|
*/
|
|
242
245
|
multiplier?: string | null;
|
|
243
246
|
|
|
244
247
|
/**
|
|
245
|
-
* The total market value of all short positions.
|
|
248
|
+
* The total market value of all short positions. When null/undefined, the value
|
|
249
|
+
* should be assumed to be zero. The field is omitted to simplify the response.
|
|
246
250
|
*/
|
|
247
251
|
short_market_value?: string | null;
|
|
248
252
|
}
|
|
@@ -269,27 +273,32 @@ export interface AccountBalancesSod {
|
|
|
269
273
|
short_market_value: string;
|
|
270
274
|
|
|
271
275
|
/**
|
|
272
|
-
* Timestamp for the start-of-day values.
|
|
276
|
+
* Timestamp for the start-of-day values. When a null/undefined value is observed,
|
|
277
|
+
* it indicates that there is no available data.
|
|
273
278
|
*/
|
|
274
279
|
asof?: string | null;
|
|
275
280
|
|
|
276
281
|
/**
|
|
277
|
-
* @deprecated Start-of-day day-trade buying power.
|
|
282
|
+
* @deprecated Start-of-day day-trade buying power. When a null/undefined value is
|
|
283
|
+
* observed, it indicates it does not apply.
|
|
278
284
|
*/
|
|
279
285
|
day_trade_buying_power?: string | null;
|
|
280
286
|
|
|
281
287
|
/**
|
|
282
|
-
* Start-of-day maintenance margin excess.
|
|
288
|
+
* Start-of-day maintenance margin excess. When a null/undefined value is observed,
|
|
289
|
+
* it indicates it does not apply.
|
|
283
290
|
*/
|
|
284
291
|
maintenance_margin_excess?: string | null;
|
|
285
292
|
|
|
286
293
|
/**
|
|
287
|
-
* Start-of-day maintenance margin requirement.
|
|
294
|
+
* Start-of-day maintenance margin requirement. When a null/undefined value is
|
|
295
|
+
* observed, it indicates it does not apply.
|
|
288
296
|
*/
|
|
289
297
|
maintenance_margin_requirement?: string | null;
|
|
290
298
|
|
|
291
299
|
/**
|
|
292
|
-
* Start-of-day trade cash.
|
|
300
|
+
* Start-of-day trade cash. When a null/undefined value is observed, it indicates
|
|
301
|
+
* it does not apply.
|
|
293
302
|
*/
|
|
294
303
|
trade_cash?: string | null;
|
|
295
304
|
}
|
|
@@ -298,7 +307,8 @@ export type AccountList = Array<Account>;
|
|
|
298
307
|
|
|
299
308
|
export interface AccountSettings {
|
|
300
309
|
/**
|
|
301
|
-
* Risk settings for the account
|
|
310
|
+
* Risk settings for the account When a null/undefined value is observed, it
|
|
311
|
+
* indicates that there is no available data.
|
|
302
312
|
*/
|
|
303
313
|
risk?: RiskSettings | null;
|
|
304
314
|
}
|
|
@@ -363,7 +373,8 @@ export interface MarginDetails {
|
|
|
363
373
|
|
|
364
374
|
/**
|
|
365
375
|
* @deprecated The amount of day-trade buying power used during the current trading
|
|
366
|
-
* day.
|
|
376
|
+
* day. When null/undefined, the value should be assumed to be zero. The field is
|
|
377
|
+
* omitted to simplify the response.
|
|
367
378
|
*/
|
|
368
379
|
day_trade_buying_power_usage?: string | null;
|
|
369
380
|
|
|
@@ -373,7 +384,8 @@ export interface MarginDetails {
|
|
|
373
384
|
top_contributors?: Array<MarginTopContributor>;
|
|
374
385
|
|
|
375
386
|
/**
|
|
376
|
-
* Current usage totals.
|
|
387
|
+
* Current usage totals. When a null/undefined value is observed, it indicates that
|
|
388
|
+
* there is no available data.
|
|
377
389
|
*/
|
|
378
390
|
usage?: MarginDetailsUsage | null;
|
|
379
391
|
}
|
|
@@ -507,7 +519,8 @@ export interface PortfolioHistorySegment {
|
|
|
507
519
|
*/
|
|
508
520
|
export interface RiskSettings {
|
|
509
521
|
/**
|
|
510
|
-
* The maximum notional value available to the account
|
|
522
|
+
* The maximum notional value available to the account When a null/undefined value
|
|
523
|
+
* is observed, it indicates that there is no available data.
|
|
511
524
|
*/
|
|
512
525
|
max_notional?: string | null;
|
|
513
526
|
}
|
|
@@ -124,7 +124,8 @@ export interface MarketStatus {
|
|
|
124
124
|
is_open: boolean;
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
|
-
* Current session type if market is open, null if closed
|
|
127
|
+
* Current session type if market is open, null if closed When a null/undefined
|
|
128
|
+
* value is observed, it indicates it does not apply.
|
|
128
129
|
*/
|
|
129
130
|
current_session?: MarketSessionType | null;
|
|
130
131
|
}
|
|
@@ -150,12 +151,13 @@ export interface SessionSchedule {
|
|
|
150
151
|
|
|
151
152
|
/**
|
|
152
153
|
* ISO 8601 duration until session closes. Null if session is not currently open.
|
|
154
|
+
* When a null/undefined value is observed, it indicates it does not apply.
|
|
153
155
|
*/
|
|
154
156
|
time_until_close?: string | null;
|
|
155
157
|
|
|
156
158
|
/**
|
|
157
159
|
* ISO 8601 duration until session opens. Null if session has already started or
|
|
158
|
-
* closed.
|
|
160
|
+
* closed. When a null/undefined value is observed, it indicates it does not apply.
|
|
159
161
|
*/
|
|
160
162
|
time_until_open?: string | null;
|
|
161
163
|
}
|
|
@@ -165,17 +167,20 @@ export interface SessionSchedule {
|
|
|
165
167
|
*/
|
|
166
168
|
export interface TradingSessions {
|
|
167
169
|
/**
|
|
168
|
-
* After-hours session schedule, null if not available
|
|
170
|
+
* After-hours session schedule, null if not available When a null/undefined value
|
|
171
|
+
* is observed, it indicates it does not apply.
|
|
169
172
|
*/
|
|
170
173
|
after_hours?: SessionSchedule | null;
|
|
171
174
|
|
|
172
175
|
/**
|
|
173
|
-
* Pre-market session schedule, null if not available
|
|
176
|
+
* Pre-market session schedule, null if not available When a null/undefined value
|
|
177
|
+
* is observed, it indicates it does not apply.
|
|
174
178
|
*/
|
|
175
179
|
pre_market?: SessionSchedule | null;
|
|
176
180
|
|
|
177
181
|
/**
|
|
178
|
-
* Regular trading session schedule, null if holiday/weekend
|
|
182
|
+
* Regular trading session schedule, null if holiday/weekend When a null/undefined
|
|
183
|
+
* value is observed, it indicates it does not apply.
|
|
179
184
|
*/
|
|
180
185
|
regular?: SessionSchedule | null;
|
|
181
186
|
}
|
|
@@ -264,17 +264,20 @@ export interface InstrumentAnalystConsensus {
|
|
|
264
264
|
date: string;
|
|
265
265
|
|
|
266
266
|
/**
|
|
267
|
-
* Count of individual analyst recommendations by category
|
|
267
|
+
* Count of individual analyst recommendations by category When a null/undefined
|
|
268
|
+
* value is observed, it indicates that there is no available data.
|
|
268
269
|
*/
|
|
269
270
|
distribution?: AnalystDistribution | null;
|
|
270
271
|
|
|
271
272
|
/**
|
|
272
|
-
* Aggregated analyst price target statistics
|
|
273
|
+
* Aggregated analyst price target statistics When a null/undefined value is
|
|
274
|
+
* observed, it indicates that there is no available data.
|
|
273
275
|
*/
|
|
274
276
|
price_target?: PriceTarget | null;
|
|
275
277
|
|
|
276
278
|
/**
|
|
277
|
-
* Consensus analyst rating
|
|
279
|
+
* Consensus analyst rating When a null/undefined value is observed, it indicates
|
|
280
|
+
* that there is no available data.
|
|
278
281
|
*/
|
|
279
282
|
rating?: AnalystRating | null;
|
|
280
283
|
}
|
|
@@ -823,35 +826,41 @@ export interface InstrumentDividendEvent {
|
|
|
823
826
|
ex_date: string;
|
|
824
827
|
|
|
825
828
|
/**
|
|
826
|
-
* The declaration date of the dividend
|
|
829
|
+
* The declaration date of the dividend When a null/undefined value is observed, it
|
|
830
|
+
* indicates that there is no available data.
|
|
827
831
|
*/
|
|
828
832
|
declaration_date?: string | null;
|
|
829
833
|
|
|
830
834
|
/**
|
|
831
|
-
* The dividend amount per share.
|
|
835
|
+
* The dividend amount per share. When a null/undefined value is observed, it
|
|
836
|
+
* indicates that there is no available data.
|
|
832
837
|
*/
|
|
833
838
|
dividend_amount?: string | null;
|
|
834
839
|
|
|
835
840
|
/**
|
|
836
|
-
* The dividend yield as a percentage of the stock price.
|
|
841
|
+
* The dividend yield as a percentage of the stock price. When a null/undefined
|
|
842
|
+
* value is observed, it indicates that there is no available data.
|
|
837
843
|
*/
|
|
838
844
|
dividend_yield?: string | null;
|
|
839
845
|
|
|
840
846
|
/**
|
|
841
|
-
* The frequency of the dividend payments (e.g., "Quarterly", "Annual").
|
|
847
|
+
* The frequency of the dividend payments (e.g., "Quarterly", "Annual"). When a
|
|
848
|
+
* null/undefined value is observed, it indicates that there is no available data.
|
|
842
849
|
*/
|
|
843
850
|
frequency?: string | null;
|
|
844
851
|
|
|
845
852
|
/**
|
|
846
853
|
* The payment date is the date on which a declared stock dividend is scheduled to
|
|
847
|
-
* be paid.
|
|
854
|
+
* be paid. When a null/undefined value is observed, it indicates that there is no
|
|
855
|
+
* available data.
|
|
848
856
|
*/
|
|
849
857
|
payment_date?: string | null;
|
|
850
858
|
|
|
851
859
|
/**
|
|
852
860
|
* The record date, set by a company's board of directors, is when a company
|
|
853
861
|
* compiles a list of shareholders of the stock for which it has declared a
|
|
854
|
-
* dividend.
|
|
862
|
+
* dividend. When a null/undefined value is observed, it indicates that there is no
|
|
863
|
+
* available data.
|
|
855
864
|
*/
|
|
856
865
|
record_date?: string | null;
|
|
857
866
|
}
|
|
@@ -866,32 +875,38 @@ export interface InstrumentEarnings {
|
|
|
866
875
|
date: string;
|
|
867
876
|
|
|
868
877
|
/**
|
|
869
|
-
* The actual earnings per share (EPS) for the period
|
|
878
|
+
* The actual earnings per share (EPS) for the period When a null/undefined value
|
|
879
|
+
* is observed, it indicates that there is no available data.
|
|
870
880
|
*/
|
|
871
881
|
eps_actual?: string | null;
|
|
872
882
|
|
|
873
883
|
/**
|
|
874
|
-
* The estimated earnings per share (EPS) for the period
|
|
884
|
+
* The estimated earnings per share (EPS) for the period When a null/undefined
|
|
885
|
+
* value is observed, it indicates that there is no available data.
|
|
875
886
|
*/
|
|
876
887
|
eps_estimate?: string | null;
|
|
877
888
|
|
|
878
889
|
/**
|
|
879
|
-
* The percentage difference between actual and estimated EPS
|
|
890
|
+
* The percentage difference between actual and estimated EPS When a null/undefined
|
|
891
|
+
* value is observed, it indicates that there is no available data.
|
|
880
892
|
*/
|
|
881
893
|
eps_surprise_percent?: string | null;
|
|
882
894
|
|
|
883
895
|
/**
|
|
884
|
-
* The actual total revenue for the period
|
|
896
|
+
* The actual total revenue for the period When a null/undefined value is observed,
|
|
897
|
+
* it indicates that there is no available data.
|
|
885
898
|
*/
|
|
886
899
|
revenue_actual?: string | null;
|
|
887
900
|
|
|
888
901
|
/**
|
|
889
|
-
* The estimated total revenue for the period
|
|
902
|
+
* The estimated total revenue for the period When a null/undefined value is
|
|
903
|
+
* observed, it indicates that there is no available data.
|
|
890
904
|
*/
|
|
891
905
|
revenue_estimate?: string | null;
|
|
892
906
|
|
|
893
907
|
/**
|
|
894
|
-
* The percentage difference between actual and estimated revenue
|
|
908
|
+
* The percentage difference between actual and estimated revenue When a
|
|
909
|
+
* null/undefined value is observed, it indicates that there is no available data.
|
|
895
910
|
*/
|
|
896
911
|
revenue_surprise_percent?: string | null;
|
|
897
912
|
}
|
|
@@ -911,37 +926,44 @@ export interface InstrumentEventEnvelope {
|
|
|
911
926
|
type: AllEventsEventType;
|
|
912
927
|
|
|
913
928
|
/**
|
|
914
|
-
* Dividend payload when type is DIVIDEND.
|
|
929
|
+
* Dividend payload when type is DIVIDEND. When a null/undefined value is observed,
|
|
930
|
+
* it indicates it does not apply.
|
|
915
931
|
*/
|
|
916
932
|
dividend_event_data?: InstrumentDividendEvent | null;
|
|
917
933
|
|
|
918
934
|
/**
|
|
919
|
-
* Earnings payload when type is EARNINGS.
|
|
935
|
+
* Earnings payload when type is EARNINGS. When a null/undefined value is observed,
|
|
936
|
+
* it indicates it does not apply.
|
|
920
937
|
*/
|
|
921
938
|
earnings_event_data?: InstrumentEarnings | null;
|
|
922
939
|
|
|
923
940
|
/**
|
|
924
|
-
* Instrument identifier, when available.
|
|
941
|
+
* Instrument identifier, when available. When a null/undefined value is observed,
|
|
942
|
+
* it indicates that there is no available data.
|
|
925
943
|
*/
|
|
926
944
|
instrument_id?: string | null;
|
|
927
945
|
|
|
928
946
|
/**
|
|
929
|
-
* IPO payload when type is IPO.
|
|
947
|
+
* IPO payload when type is IPO. When a null/undefined value is observed, it
|
|
948
|
+
* indicates it does not apply.
|
|
930
949
|
*/
|
|
931
950
|
ipo_event_data?: InstrumentEventIpoItem | null;
|
|
932
951
|
|
|
933
952
|
/**
|
|
934
|
-
* Instrument name associated with the event, when available.
|
|
953
|
+
* Instrument name associated with the event, when available. When a null/undefined
|
|
954
|
+
* value is observed, it indicates that there is no available data.
|
|
935
955
|
*/
|
|
936
956
|
name?: string | null;
|
|
937
957
|
|
|
938
958
|
/**
|
|
939
|
-
* The currency used for reporting financial data.
|
|
959
|
+
* The currency used for reporting financial data. When a null/undefined value is
|
|
960
|
+
* observed, it indicates that there is no available data.
|
|
940
961
|
*/
|
|
941
962
|
reporting_currency?: string | null;
|
|
942
963
|
|
|
943
964
|
/**
|
|
944
|
-
* Stock split payload when type is STOCK_SPLIT.
|
|
965
|
+
* Stock split payload when type is STOCK_SPLIT. When a null/undefined value is
|
|
966
|
+
* observed, it indicates it does not apply.
|
|
945
967
|
*/
|
|
946
968
|
stock_split_event_data?: InstrumentSplitEvent | null;
|
|
947
969
|
}
|
|
@@ -951,37 +973,44 @@ export interface InstrumentEventEnvelope {
|
|
|
951
973
|
*/
|
|
952
974
|
export interface InstrumentEventIpoItem {
|
|
953
975
|
/**
|
|
954
|
-
* IPO action.
|
|
976
|
+
* IPO action. When a null/undefined value is observed, it indicates that there is
|
|
977
|
+
* no available data.
|
|
955
978
|
*/
|
|
956
979
|
actions?: string | null;
|
|
957
980
|
|
|
958
981
|
/**
|
|
959
|
-
* IPO announced timestamp.
|
|
982
|
+
* IPO announced timestamp. When a null/undefined value is observed, it indicates
|
|
983
|
+
* that there is no available data.
|
|
960
984
|
*/
|
|
961
985
|
announced_at?: string | null;
|
|
962
986
|
|
|
963
987
|
/**
|
|
964
|
-
* IPO company name.
|
|
988
|
+
* IPO company name. When a null/undefined value is observed, it indicates that
|
|
989
|
+
* there is no available data.
|
|
965
990
|
*/
|
|
966
991
|
company?: string | null;
|
|
967
992
|
|
|
968
993
|
/**
|
|
969
|
-
* IPO exchange.
|
|
994
|
+
* IPO exchange. When a null/undefined value is observed, it indicates that there
|
|
995
|
+
* is no available data.
|
|
970
996
|
*/
|
|
971
997
|
exchange?: string | null;
|
|
972
998
|
|
|
973
999
|
/**
|
|
974
|
-
* IPO market cap.
|
|
1000
|
+
* IPO market cap. When a null/undefined value is observed, it indicates that there
|
|
1001
|
+
* is no available data.
|
|
975
1002
|
*/
|
|
976
1003
|
market_cap?: string | null;
|
|
977
1004
|
|
|
978
1005
|
/**
|
|
979
|
-
* IPO price range.
|
|
1006
|
+
* IPO price range. When a null/undefined value is observed, it indicates that
|
|
1007
|
+
* there is no available data.
|
|
980
1008
|
*/
|
|
981
1009
|
price_range?: string | null;
|
|
982
1010
|
|
|
983
1011
|
/**
|
|
984
|
-
* IPO shares offered.
|
|
1012
|
+
* IPO shares offered. When a null/undefined value is observed, it indicates that
|
|
1013
|
+
* there is no available data.
|
|
985
1014
|
*/
|
|
986
1015
|
shares?: string | null;
|
|
987
1016
|
}
|
|
@@ -1026,7 +1055,8 @@ export interface InstrumentEventsData {
|
|
|
1026
1055
|
splits: Array<InstrumentSplitEvent>;
|
|
1027
1056
|
|
|
1028
1057
|
/**
|
|
1029
|
-
* The currency used for reporting financial data
|
|
1058
|
+
* The currency used for reporting financial data When a null/undefined value is
|
|
1059
|
+
* observed, it indicates that there is no available data.
|
|
1030
1060
|
*/
|
|
1031
1061
|
reporting_currency?: string | null;
|
|
1032
1062
|
}
|
|
@@ -1036,78 +1066,93 @@ export interface InstrumentEventsData {
|
|
|
1036
1066
|
*/
|
|
1037
1067
|
export interface InstrumentFundamentals {
|
|
1038
1068
|
/**
|
|
1039
|
-
* The average daily trading volume over the past 30 days
|
|
1069
|
+
* The average daily trading volume over the past 30 days When a null/undefined
|
|
1070
|
+
* value is observed, it indicates that there is no available data.
|
|
1040
1071
|
*/
|
|
1041
1072
|
average_volume?: number | null;
|
|
1042
1073
|
|
|
1043
1074
|
/**
|
|
1044
1075
|
* The beta value, measuring the instrument's volatility relative to the overall
|
|
1045
|
-
* market
|
|
1076
|
+
* market When a null/undefined value is observed, it indicates that there is no
|
|
1077
|
+
* available data.
|
|
1046
1078
|
*/
|
|
1047
1079
|
beta?: string | null;
|
|
1048
1080
|
|
|
1049
1081
|
/**
|
|
1050
|
-
* A detailed description of the instrument or company
|
|
1082
|
+
* A detailed description of the instrument or company When a null/undefined value
|
|
1083
|
+
* is observed, it indicates that there is no available data.
|
|
1051
1084
|
*/
|
|
1052
1085
|
description?: string | null;
|
|
1053
1086
|
|
|
1054
1087
|
/**
|
|
1055
|
-
* The trailing twelve months (TTM) dividend yield
|
|
1088
|
+
* The trailing twelve months (TTM) dividend yield When a null/undefined value is
|
|
1089
|
+
* observed, it indicates that there is no available data.
|
|
1056
1090
|
*/
|
|
1057
1091
|
dividend_yield?: string | null;
|
|
1058
1092
|
|
|
1059
1093
|
/**
|
|
1060
|
-
* The trailing twelve months (TTM) earnings per share
|
|
1094
|
+
* The trailing twelve months (TTM) earnings per share When a null/undefined value
|
|
1095
|
+
* is observed, it indicates that there is no available data.
|
|
1061
1096
|
*/
|
|
1062
1097
|
earnings_per_share?: string | null;
|
|
1063
1098
|
|
|
1064
1099
|
/**
|
|
1065
|
-
* The highest price over the last 52 weeks
|
|
1100
|
+
* The highest price over the last 52 weeks When a null/undefined value is
|
|
1101
|
+
* observed, it indicates that there is no available data.
|
|
1066
1102
|
*/
|
|
1067
1103
|
fifty_two_week_high?: string | null;
|
|
1068
1104
|
|
|
1069
1105
|
/**
|
|
1070
|
-
* The lowest price over the last 52 weeks
|
|
1106
|
+
* The lowest price over the last 52 weeks When a null/undefined value is observed,
|
|
1107
|
+
* it indicates that there is no available data.
|
|
1071
1108
|
*/
|
|
1072
1109
|
fifty_two_week_low?: string | null;
|
|
1073
1110
|
|
|
1074
1111
|
/**
|
|
1075
|
-
* The specific industry of the instrument's issuer
|
|
1112
|
+
* The specific industry of the instrument's issuer When a null/undefined value is
|
|
1113
|
+
* observed, it indicates that there is no available data.
|
|
1076
1114
|
*/
|
|
1077
1115
|
industry?: string | null;
|
|
1078
1116
|
|
|
1079
1117
|
/**
|
|
1080
|
-
* The date the instrument was first listed
|
|
1118
|
+
* The date the instrument was first listed When a null/undefined value is
|
|
1119
|
+
* observed, it indicates that there is no available data.
|
|
1081
1120
|
*/
|
|
1082
1121
|
list_date?: string | null;
|
|
1083
1122
|
|
|
1084
1123
|
/**
|
|
1085
|
-
* URL to a representative logo image for the instrument or issuer
|
|
1124
|
+
* URL to a representative logo image for the instrument or issuer When a
|
|
1125
|
+
* null/undefined value is observed, it indicates that there is no available data.
|
|
1086
1126
|
*/
|
|
1087
1127
|
logo_url?: string | null;
|
|
1088
1128
|
|
|
1089
1129
|
/**
|
|
1090
|
-
* The total market capitalization
|
|
1130
|
+
* The total market capitalization When a null/undefined value is observed, it
|
|
1131
|
+
* indicates that there is no available data.
|
|
1091
1132
|
*/
|
|
1092
1133
|
market_cap?: string | null;
|
|
1093
1134
|
|
|
1094
1135
|
/**
|
|
1095
|
-
* The closing price from the previous trading day
|
|
1136
|
+
* The closing price from the previous trading day When a null/undefined value is
|
|
1137
|
+
* observed, it indicates that there is no available data.
|
|
1096
1138
|
*/
|
|
1097
1139
|
previous_close?: string | null;
|
|
1098
1140
|
|
|
1099
1141
|
/**
|
|
1100
|
-
* The price-to-earnings (P/E) ratio for the trailing twelve months (TTM)
|
|
1142
|
+
* The price-to-earnings (P/E) ratio for the trailing twelve months (TTM) When a
|
|
1143
|
+
* null/undefined value is observed, it indicates that there is no available data.
|
|
1101
1144
|
*/
|
|
1102
1145
|
price_to_earnings?: string | null;
|
|
1103
1146
|
|
|
1104
1147
|
/**
|
|
1105
|
-
* The currency used for reporting financial data
|
|
1148
|
+
* The currency used for reporting financial data When a null/undefined value is
|
|
1149
|
+
* observed, it indicates that there is no available data.
|
|
1106
1150
|
*/
|
|
1107
1151
|
reporting_currency?: string | null;
|
|
1108
1152
|
|
|
1109
1153
|
/**
|
|
1110
|
-
* The business sector of the instrument's issuer
|
|
1154
|
+
* The business sector of the instrument's issuer When a null/undefined value is
|
|
1155
|
+
* observed, it indicates that there is no available data.
|
|
1111
1156
|
*/
|
|
1112
1157
|
sector?: string | null;
|
|
1113
1158
|
}
|