@clear-street/clearstreet 0.82.0 → 0.84.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.
Files changed (50) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/package.json +2 -2
  3. package/resources/v1/index.d.mts +1 -1
  4. package/resources/v1/index.d.mts.map +1 -1
  5. package/resources/v1/index.d.ts +1 -1
  6. package/resources/v1/index.d.ts.map +1 -1
  7. package/resources/v1/index.js.map +1 -1
  8. package/resources/v1/index.mjs.map +1 -1
  9. package/resources/v1/instrument-data/market-data.d.mts +18 -3
  10. package/resources/v1/instrument-data/market-data.d.mts.map +1 -1
  11. package/resources/v1/instrument-data/market-data.d.ts +18 -3
  12. package/resources/v1/instrument-data/market-data.d.ts.map +1 -1
  13. package/resources/v1/omni-ai/omni-ai.d.mts +0 -4
  14. package/resources/v1/omni-ai/omni-ai.d.mts.map +1 -1
  15. package/resources/v1/omni-ai/omni-ai.d.ts +0 -4
  16. package/resources/v1/omni-ai/omni-ai.d.ts.map +1 -1
  17. package/resources/v1/omni-ai/omni-ai.js.map +1 -1
  18. package/resources/v1/omni-ai/omni-ai.mjs.map +1 -1
  19. package/resources/v1/orders.d.mts +6 -73
  20. package/resources/v1/orders.d.mts.map +1 -1
  21. package/resources/v1/orders.d.ts +6 -73
  22. package/resources/v1/orders.d.ts.map +1 -1
  23. package/resources/v1/orders.js.map +1 -1
  24. package/resources/v1/orders.mjs.map +1 -1
  25. package/resources/v1/positions.d.mts +1 -1
  26. package/resources/v1/positions.d.mts.map +1 -1
  27. package/resources/v1/positions.d.ts +1 -1
  28. package/resources/v1/positions.d.ts.map +1 -1
  29. package/resources/v1/screener.d.mts +0 -19
  30. package/resources/v1/screener.d.mts.map +1 -1
  31. package/resources/v1/screener.d.ts +0 -19
  32. package/resources/v1/screener.d.ts.map +1 -1
  33. package/resources/v1/v1.d.mts +2 -2
  34. package/resources/v1/v1.d.mts.map +1 -1
  35. package/resources/v1/v1.d.ts +2 -2
  36. package/resources/v1/v1.d.ts.map +1 -1
  37. package/resources/v1/v1.js.map +1 -1
  38. package/resources/v1/v1.mjs.map +1 -1
  39. package/src/resources/v1/index.ts +0 -1
  40. package/src/resources/v1/instrument-data/market-data.ts +19 -3
  41. package/src/resources/v1/omni-ai/omni-ai.ts +0 -5
  42. package/src/resources/v1/orders.ts +5 -86
  43. package/src/resources/v1/positions.ts +1 -1
  44. package/src/resources/v1/screener.ts +0 -23
  45. package/src/resources/v1/v1.ts +0 -2
  46. package/src/version.ts +1 -1
  47. package/version.d.mts +1 -1
  48. package/version.d.ts +1 -1
  49. package/version.js +1 -1
  50. package/version.mjs +1 -1
@@ -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,mEAA0C;AAC1C,4CA6BoB;AACpB,qEAA4C;AAC5C,8CAiBqB;AACrB,gGAAuE;AACvE,0EAoC2C;AAC3C,wEAA+C;AAC/C,kDAyB2B;AAE3B,MAAa,EAAG,SAAQ,sBAAW;IAAnC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClF,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,mBAAc,GAAqC,IAAI,iBAAiB,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACtG,gBAAW,GAA+B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,CAAC,CAAC;QACvF,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC/E,CAAC;CAAA;AAYD,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC;AACvB,EAAE,CAAC,UAAU,GAAG,UAAU,CAAC;AAC3B,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC;AACvB,EAAE,CAAC,cAAc,GAAG,cAAc,CAAC;AACnC,EAAE,CAAC,WAAW,GAAG,WAAW,CAAC;AAC7B,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC;AACnB,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC;AACnB,EAAE,CAAC,SAAS,GAAG,SAAS,CAAC;AACzB,EAAE,CAAC,QAAQ,GAAG,QAAQ,CAAC;AACvB,EAAE,CAAC,SAAS,GAAG,SAAS,CAAC"}
@@ -137,7 +137,6 @@ export {
137
137
  type OrderList,
138
138
  type OrderStatus,
139
139
  type OrderType,
140
- type PositionEffect,
141
140
  type QueueState,
142
141
  type RequestOrderType,
143
142
  type RequestTimeInForce,
@@ -54,13 +54,16 @@ export class MarketData extends APIResource {
54
54
  * Daily aggregate (OHLV) summary for a single instrument.
55
55
  *
56
56
  * Returned by `GET /market-data/daily-summary`. Every field except `instrument_id`
57
- * is `Option`:
57
+ * and `not_applicable` is `Option`:
58
58
  *
59
59
  * - Unresolvable `instrument_id` → all other fields `None` (including `symbol`).
60
60
  * - Resolvable `instrument_id` with no realtime cache entry → `symbol` populated,
61
61
  * OHLV/`trade_date` `None`.
62
62
  * - `trade_date` reflects the session the OHLV represents (today during trading
63
63
  * hours, the last trading date during weekends/holidays).
64
+ * - `not_applicable` is a non-optional `bool`, always serialized: `true` for
65
+ * instrument types with no daily summary by definition (e.g. an index, whose
66
+ * OHLV/`trade_date` are `None`), `false` otherwise.
64
67
  */
65
68
  export interface DailySummary {
66
69
  /**
@@ -80,6 +83,13 @@ export interface DailySummary {
80
83
  */
81
84
  low?: string | null;
82
85
 
86
+ /**
87
+ * `true` when the instrument type has no daily summary by definition (e.g. an
88
+ * index). Distinguishes an intentional N/A from OHLV that is merely not loaded
89
+ * yet. `false` for instruments that can have a summary.
90
+ */
91
+ not_applicable?: boolean;
92
+
83
93
  /**
84
94
  * Opening price for the session. When a null/undefined value is observed, it
85
95
  * indicates that there is no available data.
@@ -211,15 +221,21 @@ export interface SnapshotGreeks {
211
221
 
212
222
  /**
213
223
  * Last-trade fields for a market data snapshot.
224
+ *
225
+ * For index instruments this carries the current index _level_ — a computed value,
226
+ * not a trade: `price` is the level and `size` is always `0` (no contract changes
227
+ * hands).
214
228
  */
215
229
  export interface SnapshotLastTrade {
216
230
  /**
217
- * Most recent last-sale eligible trade price.
231
+ * Most recent last-sale eligible trade price. For index instruments, the current
232
+ * index level.
218
233
  */
219
234
  price: string;
220
235
 
221
236
  /**
222
- * Share quantity of the most recent last-sale eligible trade.
237
+ * Share quantity of the most recent last-sale eligible trade. Always `0` for index
238
+ * instruments, whose level is computed rather than traded.
223
239
  */
224
240
  size: number;
225
241
  }
@@ -268,11 +268,6 @@ export interface OpenScreenerAction {
268
268
  */
269
269
  columns?: Array<string> | null;
270
270
 
271
- /**
272
- * @deprecated Deprecated: use `columns` instead. Mirrors `columns`.
273
- */
274
- field_filter?: Array<string> | null;
275
-
276
271
  /**
277
272
  * Optional page size. When a null/undefined value is observed, it indicates it
278
273
  * does not apply.
@@ -1,7 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../../core/resource';
4
- import * as OrdersAPI from './orders';
5
4
  import * as Shared from '../shared';
6
5
  import * as V1API from './v1';
7
6
  import { APIPromise } from '../../core/api-promise';
@@ -282,11 +281,6 @@ export interface NewOrderRequest {
282
281
  */
283
282
  limit_price?: string | null;
284
283
 
285
- /**
286
- * Required for options. Specifies whether the order opens or closes a position.
287
- */
288
- position_effect?: PositionEffect;
289
-
290
284
  /**
291
285
  * Stop price (required for STOP and STOP_LIMIT orders)
292
286
  */
@@ -532,11 +526,6 @@ export type OrderType =
532
526
  | 'TRAILING_STOP_LIMIT'
533
527
  | 'OTHER';
534
528
 
535
- /**
536
- * Position effect for options orders
537
- */
538
- export type PositionEffect = 'OPEN' | 'CLOSE';
539
-
540
529
  /**
541
530
  * Parent order queue or hold state.
542
531
  */
@@ -679,10 +668,11 @@ export interface OrderGetExecutionsParams {
679
668
  from?: string;
680
669
 
681
670
  /**
682
- * Optional instrument to filter by. Accepts either a symbol (e.g. `AAPL`) or an
683
- * instrument identifier.
671
+ * Comma-separated instrument identifiers (UUIDs) or symbols (e.g. `AAPL`) to
672
+ * filter by. When provided, only executions for any of the listed instruments are
673
+ * returned.
684
674
  */
685
- instrument_id?: InstrumentIDOrSymbol;
675
+ instrument_ids?: Array<string>;
686
676
 
687
677
  /**
688
678
  * The number of items to return per page. Only used when page_token is not
@@ -809,77 +799,7 @@ export interface OrderReplaceOrderParams {
809
799
  }
810
800
 
811
801
  export interface OrderSubmitOrdersParams {
812
- orders: Array<OrderSubmitOrdersParams.NewOrderMultilegRequest | NewOrderRequest>;
813
- }
814
-
815
- export namespace OrderSubmitOrdersParams {
816
- /**
817
- * Multileg strategy order request
818
- */
819
- export interface NewOrderMultilegRequest {
820
- /**
821
- * Legs that compose the strategy.
822
- */
823
- legs: Array<NewOrderMultilegRequest.Leg>;
824
-
825
- /**
826
- * Type of order (currently MARKET or LIMIT for multileg strategy submission)
827
- */
828
- order_type: OrdersAPI.RequestOrderType;
829
-
830
- /**
831
- * Time in force
832
- */
833
- time_in_force: OrdersAPI.RequestTimeInForce;
834
-
835
- /**
836
- * Optional client-provided unique ID (idempotency). Required to be unique per
837
- * account.
838
- */
839
- id?: string | null;
840
-
841
- /**
842
- * Strategy price, required for LIMIT orders.
843
- */
844
- limit_price?: string | null;
845
-
846
- /**
847
- * Optional strategy-level quantity. Multiplies leg quantities. Defaults to 1.
848
- */
849
- quantity?: string;
850
- }
851
-
852
- export namespace NewOrderMultilegRequest {
853
- /**
854
- * A single leg in a multileg strategy request.
855
- */
856
- export interface Leg {
857
- /**
858
- * Ratio for the leg.
859
- */
860
- ratio: string;
861
-
862
- /**
863
- * Trading symbol (e.g. "AAPL" or OSI symbol for options)
864
- */
865
- security: string;
866
-
867
- /**
868
- * Leg side.
869
- */
870
- side: OrdersAPI.Side;
871
-
872
- /**
873
- * Optional leg reference identifier.
874
- */
875
- id?: string | null;
876
-
877
- /**
878
- * Optional leg position effect.
879
- */
880
- position_effect?: OrdersAPI.PositionEffect | null;
881
- }
882
- }
802
+ orders: Array<NewOrderRequest>;
883
803
  }
884
804
 
885
805
  export declare namespace Orders {
@@ -893,7 +813,6 @@ export declare namespace Orders {
893
813
  type OrderList as OrderList,
894
814
  type OrderStatus as OrderStatus,
895
815
  type OrderType as OrderType,
896
- type PositionEffect as PositionEffect,
897
816
  type QueueState as QueueState,
898
817
  type RequestOrderType as RequestOrderType,
899
818
  type RequestTimeInForce as RequestTimeInForce,
@@ -395,7 +395,7 @@ export type PositionList = Array<Position>;
395
395
  /**
396
396
  * Position type classification
397
397
  */
398
- export type PositionType = 'LONG' | 'SHORT' | 'LONG_CALL' | 'SHORT_CALL' | 'LONG_PUT' | 'SHORT_PUT';
398
+ export type PositionType = 'LONG' | 'SHORT';
399
399
 
400
400
  export interface PositionCancelPositionInstructionResponse extends Shared.BaseResponse {
401
401
  /**
@@ -288,11 +288,6 @@ export interface ScreenerEntry {
288
288
  */
289
289
  columns?: Array<FieldRef> | null;
290
290
 
291
- /**
292
- * @deprecated Deprecated: use `columns` instead. Mirrors `columns`.
293
- */
294
- field_filter?: Array<FieldRef> | null;
295
-
296
291
  sorts?: Array<SortSpec> | null;
297
292
  }
298
293
 
@@ -427,12 +422,6 @@ export interface ScreenerCreateScreenerParams {
427
422
  */
428
423
  columns?: Array<FieldRef> | null;
429
424
 
430
- /**
431
- * @deprecated Deprecated: use `columns` instead. Ignored when `columns` is
432
- * provided.
433
- */
434
- field_filter?: Array<FieldRef> | null;
435
-
436
425
  /**
437
426
  * Structured search filter criteria
438
427
  */
@@ -455,12 +444,6 @@ export interface ScreenerReplaceScreenerParams {
455
444
  */
456
445
  columns?: Array<FieldRef> | null;
457
446
 
458
- /**
459
- * @deprecated Deprecated: use `columns` instead. Ignored when `columns` is
460
- * provided.
461
- */
462
- field_filter?: Array<FieldRef> | null;
463
-
464
447
  /**
465
448
  * Structured search filter criteria
466
449
  */
@@ -483,12 +466,6 @@ export interface ScreenerSearchScreenerParams {
483
466
  */
484
467
  columns?: Array<FieldRef> | null;
485
468
 
486
- /**
487
- * @deprecated Deprecated: use `columns` instead. Ignored when `columns` is
488
- * provided.
489
- */
490
- field_filter?: Array<FieldRef> | null;
491
-
492
469
  /**
493
470
  * Filter conditions to apply.
494
471
  */
@@ -94,7 +94,6 @@ import {
94
94
  OrderSubmitOrdersResponse,
95
95
  OrderType,
96
96
  Orders,
97
- PositionEffect,
98
97
  QueueState,
99
98
  RequestOrderType,
100
99
  RequestTimeInForce,
@@ -425,7 +424,6 @@ export declare namespace V1 {
425
424
  type OrderList as OrderList,
426
425
  type OrderStatus as OrderStatus,
427
426
  type OrderType as OrderType,
428
- type PositionEffect as PositionEffect,
429
427
  type QueueState as QueueState,
430
428
  type RequestOrderType as RequestOrderType,
431
429
  type RequestTimeInForce as RequestTimeInForce,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.82.0'; // x-release-please-version
1
+ export const VERSION = '0.84.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.82.0";
1
+ export declare const VERSION = "0.84.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.82.0";
1
+ export declare const VERSION = "0.84.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.82.0'; // x-release-please-version
4
+ exports.VERSION = '0.84.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.82.0'; // x-release-please-version
1
+ export const VERSION = '0.84.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map