@clear-street/clearstreet 0.113.0 → 0.114.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/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/resources/v1/accounts.d.mts +16 -1
- package/resources/v1/accounts.d.mts.map +1 -1
- package/resources/v1/accounts.d.ts +16 -1
- package/resources/v1/accounts.d.ts.map +1 -1
- package/resources/v1/calendar.d.mts +1 -2
- package/resources/v1/calendar.d.mts.map +1 -1
- package/resources/v1/calendar.d.ts +1 -2
- package/resources/v1/calendar.d.ts.map +1 -1
- package/resources/v1/index.d.mts +2 -2
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +2 -2
- 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 +12 -4
- package/resources/v1/instrument-data/market-data.d.mts.map +1 -1
- package/resources/v1/instrument-data/market-data.d.ts +12 -4
- package/resources/v1/instrument-data/market-data.d.ts.map +1 -1
- package/resources/v1/instrument-data/market-data.js +2 -4
- package/resources/v1/instrument-data/market-data.js.map +1 -1
- package/resources/v1/instrument-data/market-data.mjs +2 -4
- package/resources/v1/instrument-data/market-data.mjs.map +1 -1
- package/resources/v1/instruments.d.mts +536 -6
- package/resources/v1/instruments.d.mts.map +1 -1
- package/resources/v1/instruments.d.ts +536 -6
- package/resources/v1/instruments.d.ts.map +1 -1
- package/resources/v1/instruments.js +121 -0
- package/resources/v1/instruments.js.map +1 -1
- package/resources/v1/instruments.mjs +121 -0
- package/resources/v1/instruments.mjs.map +1 -1
- package/resources/v1/orders.d.mts +2 -2
- package/resources/v1/orders.d.mts.map +1 -1
- package/resources/v1/orders.d.ts +2 -2
- package/resources/v1/orders.d.ts.map +1 -1
- package/resources/v1/positions.d.mts +4 -0
- package/resources/v1/positions.d.mts.map +1 -1
- package/resources/v1/positions.d.ts +4 -0
- package/resources/v1/positions.d.ts.map +1 -1
- package/resources/v1/v1.d.mts +5 -5
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +5 -5
- 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/src/resources/v1/accounts.ts +18 -0
- package/src/resources/v1/calendar.ts +1 -2
- package/src/resources/v1/index.ts +18 -0
- package/src/resources/v1/instrument-data/market-data.ts +13 -4
- package/src/resources/v1/instruments.ts +648 -5
- package/src/resources/v1/orders.ts +2 -2
- package/src/resources/v1/positions.ts +5 -0
- package/src/resources/v1/v1.ts +37 -1
- 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
|
@@ -1118,7 +1118,7 @@ export interface OrderCancelAllOpenOrdersParams {
|
|
|
1118
1118
|
/**
|
|
1119
1119
|
* Filter by instrument type (e.g., COMMON_STOCK, OPTION)
|
|
1120
1120
|
*/
|
|
1121
|
-
instrument_type?: 'COMMON_STOCK' | 'INDEX' | 'OPTION' | 'CASH';
|
|
1121
|
+
instrument_type?: 'COMMON_STOCK' | 'INDEX' | 'OPTION' | 'CASH' | 'EVENT_CONTRACT';
|
|
1122
1122
|
|
|
1123
1123
|
/**
|
|
1124
1124
|
* Filter by order side (BUY or SELL)
|
|
@@ -1204,7 +1204,7 @@ export interface OrderGetOrdersParams {
|
|
|
1204
1204
|
/**
|
|
1205
1205
|
* Instrument type filter (e.g., COMMON_STOCK, OPTION)
|
|
1206
1206
|
*/
|
|
1207
|
-
instrument_type?: 'COMMON_STOCK' | 'INDEX' | 'OPTION' | 'CASH';
|
|
1207
|
+
instrument_type?: 'COMMON_STOCK' | 'INDEX' | 'OPTION' | 'CASH' | 'EVENT_CONTRACT';
|
|
1208
1208
|
|
|
1209
1209
|
/**
|
|
1210
1210
|
* Comma-separated list of order identifiers. Each value may be an order's `id` or
|
|
@@ -536,6 +536,11 @@ export interface PositionGetPositionsParams {
|
|
|
536
536
|
*/
|
|
537
537
|
instrument_ids?: Array<string>;
|
|
538
538
|
|
|
539
|
+
/**
|
|
540
|
+
* Instrument type filter (e.g., COMMON_STOCK, OPTION)
|
|
541
|
+
*/
|
|
542
|
+
instrument_type?: 'COMMON_STOCK' | 'INDEX' | 'OPTION' | 'CASH' | 'EVENT_CONTRACT';
|
|
543
|
+
|
|
539
544
|
/**
|
|
540
545
|
* The number of items to return per page. Only used when page_token is not
|
|
541
546
|
* provided.
|
package/src/resources/v1/v1.ts
CHANGED
|
@@ -32,6 +32,7 @@ import {
|
|
|
32
32
|
MarginType,
|
|
33
33
|
PortfolioHistoryResponse,
|
|
34
34
|
PortfolioHistorySegment,
|
|
35
|
+
PredictionMarketBalances,
|
|
35
36
|
RiskSettings,
|
|
36
37
|
} from './accounts';
|
|
37
38
|
import * as APIVersionAPI from './api-version';
|
|
@@ -71,6 +72,13 @@ import {
|
|
|
71
72
|
InstrumentGetInstrumentsResponse,
|
|
72
73
|
InstrumentGetOptionContractsParams,
|
|
73
74
|
InstrumentGetOptionContractsResponse,
|
|
75
|
+
InstrumentGetPredictionCategoriesResponse,
|
|
76
|
+
InstrumentGetPredictionEventsParams,
|
|
77
|
+
InstrumentGetPredictionEventsResponse,
|
|
78
|
+
InstrumentGetPredictionMarketsParams,
|
|
79
|
+
InstrumentGetPredictionMarketsResponse,
|
|
80
|
+
InstrumentGetPredictionSeriesParams,
|
|
81
|
+
InstrumentGetPredictionSeriesResponse,
|
|
74
82
|
InstrumentSearchInstrumentsParams,
|
|
75
83
|
InstrumentSearchInstrumentsResponse,
|
|
76
84
|
Instruments,
|
|
@@ -79,6 +87,16 @@ import {
|
|
|
79
87
|
OptionExpiryDate,
|
|
80
88
|
OptionsContract,
|
|
81
89
|
OptionsContractList,
|
|
90
|
+
PredictionCategories,
|
|
91
|
+
PredictionEvent,
|
|
92
|
+
PredictionEvents,
|
|
93
|
+
PredictionMarket,
|
|
94
|
+
PredictionMarketOutcome,
|
|
95
|
+
PredictionMarketStatus,
|
|
96
|
+
PredictionMarketSummary,
|
|
97
|
+
PredictionMarkets,
|
|
98
|
+
PredictionSeries,
|
|
99
|
+
PredictionSeriesList,
|
|
82
100
|
ShortableAttribute,
|
|
83
101
|
TickRule,
|
|
84
102
|
} from './instruments';
|
|
@@ -371,7 +389,7 @@ export class V1 extends APIResource {
|
|
|
371
389
|
/**
|
|
372
390
|
* Security type
|
|
373
391
|
*/
|
|
374
|
-
export type SecurityType = 'COMMON_STOCK' | 'INDEX' | 'OPTION' | 'CASH';
|
|
392
|
+
export type SecurityType = 'COMMON_STOCK' | 'INDEX' | 'OPTION' | 'CASH' | 'EVENT_CONTRACT';
|
|
375
393
|
|
|
376
394
|
/**
|
|
377
395
|
* Sort direction for sorted results
|
|
@@ -416,6 +434,7 @@ export declare namespace V1 {
|
|
|
416
434
|
type MarginType as MarginType,
|
|
417
435
|
type PortfolioHistoryResponse as PortfolioHistoryResponse,
|
|
418
436
|
type PortfolioHistorySegment as PortfolioHistorySegment,
|
|
437
|
+
type PredictionMarketBalances as PredictionMarketBalances,
|
|
419
438
|
type RiskSettings as RiskSettings,
|
|
420
439
|
type AccountGetAccountBalancesResponse as AccountGetAccountBalancesResponse,
|
|
421
440
|
type AccountGetAccountByIDResponse as AccountGetAccountByIDResponse,
|
|
@@ -513,15 +532,32 @@ export declare namespace V1 {
|
|
|
513
532
|
type OptionExpiryDate as OptionExpiryDate,
|
|
514
533
|
type OptionsContract as OptionsContract,
|
|
515
534
|
type OptionsContractList as OptionsContractList,
|
|
535
|
+
type PredictionCategories as PredictionCategories,
|
|
536
|
+
type PredictionEvent as PredictionEvent,
|
|
537
|
+
type PredictionEvents as PredictionEvents,
|
|
538
|
+
type PredictionMarket as PredictionMarket,
|
|
539
|
+
type PredictionMarketOutcome as PredictionMarketOutcome,
|
|
540
|
+
type PredictionMarketStatus as PredictionMarketStatus,
|
|
541
|
+
type PredictionMarketSummary as PredictionMarketSummary,
|
|
542
|
+
type PredictionMarkets as PredictionMarkets,
|
|
543
|
+
type PredictionSeries as PredictionSeries,
|
|
544
|
+
type PredictionSeriesList as PredictionSeriesList,
|
|
516
545
|
type ShortableAttribute as ShortableAttribute,
|
|
517
546
|
type TickRule as TickRule,
|
|
518
547
|
type InstrumentGetInstrumentByIDResponse as InstrumentGetInstrumentByIDResponse,
|
|
519
548
|
type InstrumentGetInstrumentsResponse as InstrumentGetInstrumentsResponse,
|
|
520
549
|
type InstrumentGetOptionContractsResponse as InstrumentGetOptionContractsResponse,
|
|
550
|
+
type InstrumentGetPredictionCategoriesResponse as InstrumentGetPredictionCategoriesResponse,
|
|
551
|
+
type InstrumentGetPredictionEventsResponse as InstrumentGetPredictionEventsResponse,
|
|
552
|
+
type InstrumentGetPredictionMarketsResponse as InstrumentGetPredictionMarketsResponse,
|
|
553
|
+
type InstrumentGetPredictionSeriesResponse as InstrumentGetPredictionSeriesResponse,
|
|
521
554
|
type InstrumentSearchInstrumentsResponse as InstrumentSearchInstrumentsResponse,
|
|
522
555
|
type InstrumentGetInstrumentByIDParams as InstrumentGetInstrumentByIDParams,
|
|
523
556
|
type InstrumentGetInstrumentsParams as InstrumentGetInstrumentsParams,
|
|
524
557
|
type InstrumentGetOptionContractsParams as InstrumentGetOptionContractsParams,
|
|
558
|
+
type InstrumentGetPredictionEventsParams as InstrumentGetPredictionEventsParams,
|
|
559
|
+
type InstrumentGetPredictionMarketsParams as InstrumentGetPredictionMarketsParams,
|
|
560
|
+
type InstrumentGetPredictionSeriesParams as InstrumentGetPredictionSeriesParams,
|
|
525
561
|
type InstrumentSearchInstrumentsParams as InstrumentSearchInstrumentsParams,
|
|
526
562
|
};
|
|
527
563
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.114.1'; // 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.114.1";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.114.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.114.1'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|