@clear-street/clearstreet 0.99.0 → 0.101.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 +23 -0
- package/package.json +1 -1
- package/resources/v1/index.d.mts +3 -3
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +3 -3
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/instrument-data/market-data.d.mts +90 -20
- package/resources/v1/instrument-data/market-data.d.mts.map +1 -1
- package/resources/v1/instrument-data/market-data.d.ts +90 -20
- package/resources/v1/instrument-data/market-data.d.ts.map +1 -1
- package/resources/v1/instrument-data/market-data.js +5 -7
- package/resources/v1/instrument-data/market-data.js.map +1 -1
- package/resources/v1/instrument-data/market-data.mjs +5 -7
- package/resources/v1/instrument-data/market-data.mjs.map +1 -1
- package/resources/v1/instruments.d.mts +45 -3
- package/resources/v1/instruments.d.mts.map +1 -1
- package/resources/v1/instruments.d.ts +45 -3
- package/resources/v1/instruments.d.ts.map +1 -1
- package/resources/v1/omni-ai/index.d.mts +1 -1
- package/resources/v1/omni-ai/index.d.mts.map +1 -1
- package/resources/v1/omni-ai/index.d.ts +1 -1
- package/resources/v1/omni-ai/index.d.ts.map +1 -1
- package/resources/v1/omni-ai/index.js.map +1 -1
- package/resources/v1/omni-ai/index.mjs.map +1 -1
- package/resources/v1/omni-ai/messages.d.mts +17 -17
- package/resources/v1/omni-ai/messages.d.mts.map +1 -1
- package/resources/v1/omni-ai/messages.d.ts +17 -17
- package/resources/v1/omni-ai/messages.d.ts.map +1 -1
- package/resources/v1/omni-ai/messages.js +9 -11
- package/resources/v1/omni-ai/messages.js.map +1 -1
- package/resources/v1/omni-ai/messages.mjs +9 -11
- package/resources/v1/omni-ai/messages.mjs.map +1 -1
- package/resources/v1/omni-ai/omni-ai.d.mts +9 -3
- package/resources/v1/omni-ai/omni-ai.d.mts.map +1 -1
- package/resources/v1/omni-ai/omni-ai.d.ts +9 -3
- 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 +21 -21
- package/resources/v1/omni-ai/responses.d.mts.map +1 -1
- package/resources/v1/omni-ai/responses.d.ts +21 -21
- package/resources/v1/omni-ai/responses.d.ts.map +1 -1
- package/resources/v1/omni-ai/responses.js +14 -18
- package/resources/v1/omni-ai/responses.js.map +1 -1
- package/resources/v1/omni-ai/responses.mjs +14 -18
- package/resources/v1/omni-ai/responses.mjs.map +1 -1
- package/resources/v1/omni-ai/threads.d.mts +124 -64
- package/resources/v1/omni-ai/threads.d.mts.map +1 -1
- package/resources/v1/omni-ai/threads.d.ts +124 -64
- package/resources/v1/omni-ai/threads.d.ts.map +1 -1
- package/resources/v1/omni-ai/threads.js +41 -51
- package/resources/v1/omni-ai/threads.js.map +1 -1
- package/resources/v1/omni-ai/threads.mjs +41 -51
- package/resources/v1/omni-ai/threads.mjs.map +1 -1
- package/resources/v1/orders.d.mts +107 -8
- package/resources/v1/orders.d.mts.map +1 -1
- package/resources/v1/orders.d.ts +107 -8
- package/resources/v1/orders.d.ts.map +1 -1
- package/resources/v1/positions.d.mts +52 -1
- package/resources/v1/positions.d.mts.map +1 -1
- package/resources/v1/positions.d.ts +52 -1
- package/resources/v1/positions.d.ts.map +1 -1
- package/resources/v1/screener.d.mts +3 -3
- package/resources/v1/screener.d.ts +3 -3
- package/resources/v1/screener.js +2 -2
- package/resources/v1/screener.mjs +2 -2
- package/resources/v1/v1.d.mts +7 -7
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +7 -7
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs.map +1 -1
- package/resources/v1/watchlist.d.mts +3 -3
- package/resources/v1/watchlist.d.ts +3 -3
- package/src/resources/v1/index.ts +3 -0
- package/src/resources/v1/instrument-data/market-data.ts +98 -20
- package/src/resources/v1/instruments.ts +51 -2
- package/src/resources/v1/omni-ai/index.ts +2 -0
- package/src/resources/v1/omni-ai/messages.ts +17 -17
- package/src/resources/v1/omni-ai/omni-ai.ts +12 -1
- package/src/resources/v1/omni-ai/responses.ts +22 -22
- package/src/resources/v1/omni-ai/threads.ts +136 -65
- package/src/resources/v1/orders.ts +123 -7
- package/src/resources/v1/positions.ts +55 -0
- package/src/resources/v1/screener.ts +3 -3
- package/src/resources/v1/v1.ts +7 -1
- package/src/resources/v1/watchlist.ts +3 -3
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
package/src/resources/v1/v1.ts
CHANGED
|
@@ -71,6 +71,7 @@ import {
|
|
|
71
71
|
OptionExpiryDate,
|
|
72
72
|
OptionsContract,
|
|
73
73
|
OptionsContractList,
|
|
74
|
+
TickRule,
|
|
74
75
|
} from './instruments';
|
|
75
76
|
import * as OmniFeedAPI from './omni-feed';
|
|
76
77
|
import {
|
|
@@ -105,6 +106,7 @@ import {
|
|
|
105
106
|
OrderReplaceOrderParams,
|
|
106
107
|
OrderReplaceOrderResponse,
|
|
107
108
|
OrderStatus,
|
|
109
|
+
OrderStrategy,
|
|
108
110
|
OrderSubmitOrdersParams,
|
|
109
111
|
OrderSubmitOrdersResponse,
|
|
110
112
|
OrderType,
|
|
@@ -133,6 +135,7 @@ import {
|
|
|
133
135
|
PositionGetPositionsResponse,
|
|
134
136
|
PositionInstruction,
|
|
135
137
|
PositionInstructionList,
|
|
138
|
+
PositionInstructionRejection,
|
|
136
139
|
PositionInstructionStatus,
|
|
137
140
|
PositionInstructionType,
|
|
138
141
|
PositionList,
|
|
@@ -311,7 +314,7 @@ export class V1 extends APIResource {
|
|
|
311
314
|
export type SecurityType = 'COMMON_STOCK' | 'INDEX' | 'OPTION' | 'CASH';
|
|
312
315
|
|
|
313
316
|
/**
|
|
314
|
-
* Sort direction sorted results
|
|
317
|
+
* Sort direction for sorted results
|
|
315
318
|
*/
|
|
316
319
|
export type SortDirection = 'ASC' | 'DESC';
|
|
317
320
|
|
|
@@ -436,6 +439,7 @@ export declare namespace V1 {
|
|
|
436
439
|
type OptionExpiryDate as OptionExpiryDate,
|
|
437
440
|
type OptionsContract as OptionsContract,
|
|
438
441
|
type OptionsContractList as OptionsContractList,
|
|
442
|
+
type TickRule as TickRule,
|
|
439
443
|
type InstrumentGetInstrumentByIDResponse as InstrumentGetInstrumentByIDResponse,
|
|
440
444
|
type InstrumentGetInstrumentsResponse as InstrumentGetInstrumentsResponse,
|
|
441
445
|
type InstrumentGetOptionContractsResponse as InstrumentGetOptionContractsResponse,
|
|
@@ -498,6 +502,7 @@ export declare namespace V1 {
|
|
|
498
502
|
type Order as Order,
|
|
499
503
|
type OrderList as OrderList,
|
|
500
504
|
type OrderStatus as OrderStatus,
|
|
505
|
+
type OrderStrategy as OrderStrategy,
|
|
501
506
|
type OrderType as OrderType,
|
|
502
507
|
type QueueState as QueueState,
|
|
503
508
|
type ReplaceOrderRequest as ReplaceOrderRequest,
|
|
@@ -528,6 +533,7 @@ export declare namespace V1 {
|
|
|
528
533
|
type Position as Position,
|
|
529
534
|
type PositionInstruction as PositionInstruction,
|
|
530
535
|
type PositionInstructionList as PositionInstructionList,
|
|
536
|
+
type PositionInstructionRejection as PositionInstructionRejection,
|
|
531
537
|
type PositionInstructionStatus as PositionInstructionStatus,
|
|
532
538
|
type PositionInstructionType as PositionInstructionType,
|
|
533
539
|
type PositionList as PositionList,
|
|
@@ -136,12 +136,12 @@ export interface AddWatchlistItemData {
|
|
|
136
136
|
*/
|
|
137
137
|
export interface WatchlistDetail {
|
|
138
138
|
/**
|
|
139
|
-
*
|
|
139
|
+
* The unique identifier for the watchlist.
|
|
140
140
|
*/
|
|
141
141
|
id: string;
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
|
-
*
|
|
144
|
+
* The timestamp when the watchlist was created.
|
|
145
145
|
*/
|
|
146
146
|
created_at: string;
|
|
147
147
|
|
|
@@ -151,7 +151,7 @@ export interface WatchlistDetail {
|
|
|
151
151
|
items: Array<WatchlistItemEntry>;
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
|
-
*
|
|
154
|
+
* The user-provided watchlist name.
|
|
155
155
|
*/
|
|
156
156
|
name: string;
|
|
157
157
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.101.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.101.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,YAAY,CAAC"}
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.101.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,YAAY,CAAC"}
|
package/version.js
CHANGED
package/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,SAAS,CAAC,CAAC,2BAA2B"}
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.101.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
package/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC,CAAC,2BAA2B"}
|