@clear-street/clearstreet 0.99.0 → 0.100.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 +16 -0
- package/package.json +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 +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/omni-ai.d.mts +1 -1
- package/resources/v1/omni-ai/omni-ai.d.ts +1 -1
- package/resources/v1/orders.d.mts +20 -7
- package/resources/v1/orders.d.mts.map +1 -1
- package/resources/v1/orders.d.ts +20 -7
- 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 +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/resources/v1/watchlist.d.mts +3 -3
- package/resources/v1/watchlist.d.ts +3 -3
- package/src/resources/v1/index.ts +2 -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/omni-ai.ts +1 -1
- package/src/resources/v1/orders.ts +22 -7
- package/src/resources/v1/positions.ts +55 -0
- package/src/resources/v1/screener.ts +3 -3
- package/src/resources/v1/v1.ts +5 -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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.100.0](https://github.com/clear-street/clear-street-typescript/compare/v0.99.0...v0.100.0) (2026-09-18)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **api:** api update ([85758c6](https://github.com/clear-street/clear-street-typescript/commit/85758c6c8a6772949b0f6bc45f24799b205e56c2))
|
|
9
|
+
* **api:** api update ([b677a50](https://github.com/clear-street/clear-street-typescript/commit/b677a50f3edf4cc11efc309cf006163ca83a8c5a))
|
|
10
|
+
* **api:** api update ([6af8b0f](https://github.com/clear-street/clear-street-typescript/commit/6af8b0f9a3a709d238999d6833127fd5b1b8a7aa))
|
|
11
|
+
* **api:** api update ([d895067](https://github.com/clear-street/clear-street-typescript/commit/d8950677a26ec1a72cf65eb15ae6d7ddb5f2d6a0))
|
|
12
|
+
* **api:** api update ([f17f775](https://github.com/clear-street/clear-street-typescript/commit/f17f775a90bb59fead9855ac2c2d481fe4ab2d39))
|
|
13
|
+
* **api:** api update ([26f9599](https://github.com/clear-street/clear-street-typescript/commit/26f95998d3ce92e38f6c76a97dd073f902f6236e))
|
|
14
|
+
* **api:** api update ([1aea53b](https://github.com/clear-street/clear-street-typescript/commit/1aea53b24a232233e25b833a72b11d314846ead0))
|
|
15
|
+
* **api:** api update ([aa5097c](https://github.com/clear-street/clear-street-typescript/commit/aa5097c5e96b1f84870b13ef02dc78891b73c8dd))
|
|
16
|
+
* **api:** api update ([c03ed55](https://github.com/clear-street/clear-street-typescript/commit/c03ed5568813d284439790fdbd97e96fd6fad322))
|
|
17
|
+
* **api:** api update ([b0207a6](https://github.com/clear-street/clear-street-typescript/commit/b0207a63fdf47f5df01d321747b88c24ff359006))
|
|
18
|
+
|
|
3
19
|
## [0.99.0](https://github.com/clear-street/clear-street-typescript/compare/v0.98.0...v0.99.0) (2026-09-14)
|
|
4
20
|
|
|
5
21
|
|
package/package.json
CHANGED
package/resources/v1/index.d.mts
CHANGED
|
@@ -2,11 +2,11 @@ export { APIVersion, type Version, type APIVersionGetVersionResponse } from "./a
|
|
|
2
2
|
export { Accounts, type Account, type AccountBalances, type AccountBalancesSod, type AccountHolderEntityKind, type AccountList, type AccountSettings, type AccountStatus, type AccountSubtype, type AccountType, type AccountWithPersonalDetails, type Address, type MarginDetails, type MarginDetailsUsage, type MarginSessionDetails, type MarginTopContributor, type MarginType, type PortfolioHistoryResponse, type PortfolioHistorySegment, type RiskSettings, type AccountGetAccountBalancesResponse, type AccountGetAccountByIDResponse, type AccountGetAccountsResponse, type AccountGetPortfolioHistoryResponse, type AccountPatchAccountByIDResponse, type AccountGetAccountBalancesParams, type AccountGetAccountsParams, type AccountGetPortfolioHistoryParams, type AccountPatchAccountByIDParams, } from "./accounts.mjs";
|
|
3
3
|
export { Calendar, type ClockDetail, type DayType, type MarketHoursDetail, type MarketHoursDetailList, type MarketSessionType, type MarketStatus, type MarketType, type SessionSchedule, type TradingSessions, type CalendarGetClockResponse, type CalendarGetMarketHoursCalendarResponse, type CalendarGetMarketHoursCalendarParams, } from "./calendar.mjs";
|
|
4
4
|
export { InstrumentData, type AllEventsEventType, type AnalystDistribution, type AnalystRating, type FiscalPeriodType, type InstrumentAllEventsData, type InstrumentAnalystConsensus, type InstrumentBalanceSheetStatement, type InstrumentBalanceSheetStatementList, type InstrumentCashFlowStatement, type InstrumentCashFlowStatementList, type InstrumentDividendEvent, type InstrumentEarnings, type InstrumentEventEnvelope, type InstrumentEventIpoItem, type InstrumentEventsByDate, type InstrumentEventsData, type InstrumentFundamentals, type InstrumentIncomeStatement, type InstrumentIncomeStatementList, type InstrumentIpoEvent, type InstrumentSplitEvent, type PriceTarget, type ReportTime, type InstrumentDataGetAllInstrumentEventsResponse, type InstrumentDataGetInstrumentAnalystConsensusResponse, type InstrumentDataGetInstrumentBalanceSheetStatementsResponse, type InstrumentDataGetInstrumentCashFlowStatementsResponse, type InstrumentDataGetInstrumentEventsResponse, type InstrumentDataGetInstrumentFundamentalsResponse, type InstrumentDataGetInstrumentIncomeStatementsResponse, type InstrumentDataGetAllInstrumentEventsParams, type InstrumentDataGetInstrumentAnalystConsensusParams, type InstrumentDataGetInstrumentBalanceSheetStatementsParams, type InstrumentDataGetInstrumentCashFlowStatementsParams, type InstrumentDataGetInstrumentEventsParams, type InstrumentDataGetInstrumentIncomeStatementsParams, } from "./instrument-data/index.mjs";
|
|
5
|
-
export { Instruments, type ContractType, type ExerciseStyle, type Instrument, type InstrumentCore, type InstrumentCoreList, type ListingType, type OptionExpiryDate, type OptionsContract, type OptionsContractList, type InstrumentGetInstrumentByIDResponse, type InstrumentGetInstrumentsResponse, type InstrumentGetOptionContractsResponse, type InstrumentSearchInstrumentsResponse, type InstrumentGetInstrumentByIDParams, type InstrumentGetInstrumentsParams, type InstrumentGetOptionContractsParams, type InstrumentSearchInstrumentsParams, } from "./instruments.mjs";
|
|
5
|
+
export { Instruments, type ContractType, type ExerciseStyle, type Instrument, type InstrumentCore, type InstrumentCoreList, type ListingType, type OptionExpiryDate, type OptionsContract, type OptionsContractList, type TickRule, type InstrumentGetInstrumentByIDResponse, type InstrumentGetInstrumentsResponse, type InstrumentGetOptionContractsResponse, type InstrumentSearchInstrumentsResponse, type InstrumentGetInstrumentByIDParams, type InstrumentGetInstrumentsParams, type InstrumentGetOptionContractsParams, type InstrumentSearchInstrumentsParams, } from "./instruments.mjs";
|
|
6
6
|
export { OmniAI, type ActionButton, type ChartPayload, type ChartPoint, type ChartSeries, type ContentPartChartPayload, type ContentPartCustomPayload, type ContentPartStructuredActionPayload, type ContentPartSuggestedActionsPayload, type ContentPartTextPayload, type ContentPartThinkingPayload, type DataChart, type EntitlementAgreementKey, type EntitlementCode, type OpenChartAction, type OpenEntitlementConsentAction, type OpenScreenerAction, type PrefillCancelOrderAction, type PrefillCancelOrderRequest, type PrefillModifyOrderAction, type PrefillModifyOrderRequest, type PrefillNewOrderAction, type PrefillNewOrderRequest, type PrefillOrderAction, type PromptButtonAction, type StructuredAction, type StructuredActionButtonAction, type SuggestedActionsPayload, } from "./omni-ai/index.mjs";
|
|
7
7
|
export { OmniFeed, type FeedItem, type FeedItemKind, type FeedItemMetric, type FeedMetricType, type FeedPage, type OmniFeedGetFeedResponse, type OmniFeedGetFeedParams, type OmniFeedPostFeedEventParams, } from "./omni-feed.mjs";
|
|
8
8
|
export { Orders, type Execution, type ExecutionList, type InstrumentIDOrSymbol, type NewOrderRequest, type Order, type OrderList, type OrderStatus, type OrderType, type QueueState, type ReplaceOrderRequest, type RequestOrderType, type RequestPositionEffect, type RequestTimeInForce, type Side, type TimeInForce, type TrailingOffsetType, type OrderCancelAllOpenOrdersResponse, type OrderCancelOpenOrderResponse, type OrderGetExecutionsResponse, type OrderGetOrderByIDResponse, type OrderGetOrdersResponse, type OrderReplaceOrderResponse, type OrderSubmitOrdersResponse, type OrderCancelAllOpenOrdersParams, type OrderCancelOpenOrderParams, type OrderGetExecutionsParams, type OrderGetOrderByIDParams, type OrderGetOrdersParams, type OrderReplaceOrderParams, type OrderSubmitOrdersParams, } from "./orders.mjs";
|
|
9
|
-
export { Positions, type Position, type PositionInstruction, type PositionInstructionList, type PositionInstructionStatus, type PositionInstructionType, type PositionList, type PositionType, type PositionCancelPositionInstructionResponse, type PositionClosePositionResponse, type PositionClosePositionsResponse, type PositionGetPositionInstructionsResponse, type PositionGetPositionsResponse, type PositionSubmitPositionInstructionsResponse, type PositionCancelPositionInstructionParams, type PositionClosePositionParams, type PositionClosePositionsParams, type PositionGetPositionInstructionsParams, type PositionGetPositionsParams, type PositionSubmitPositionInstructionsParams, } from "./positions.mjs";
|
|
9
|
+
export { Positions, type Position, type PositionInstruction, type PositionInstructionList, type PositionInstructionRejection, type PositionInstructionStatus, type PositionInstructionType, type PositionList, type PositionType, type PositionCancelPositionInstructionResponse, type PositionClosePositionResponse, type PositionClosePositionsResponse, type PositionGetPositionInstructionsResponse, type PositionGetPositionsResponse, type PositionSubmitPositionInstructionsResponse, type PositionCancelPositionInstructionParams, type PositionClosePositionParams, type PositionClosePositionsParams, type PositionGetPositionInstructionsParams, type PositionGetPositionsParams, type PositionSubmitPositionInstructionsParams, } from "./positions.mjs";
|
|
10
10
|
export { PrivateMarkets, type PrivateMarketCreateIoiResponse, type PrivateMarketGetCompanyByIDResponse, type PrivateMarketGetIoisResponse, type PrivateMarketGetSpvByIDResponse, type PrivateMarketUpdateIoiResponse, type PrivateMarketCreateIoiParams, type PrivateMarketDeleteIoiParams, type PrivateMarketGetCompanyByIDParams, type PrivateMarketGetIoisParams, type PrivateMarketGetSpvByIDParams, type PrivateMarketUpdateIoiParams, } from "./private-markets/index.mjs";
|
|
11
11
|
export { Screener, type Catalog, type Combination, type Enums, type FieldColumns, type FieldKind, type FieldLookback, type FieldPeriod, type FieldRef, type FieldType, type FilterOpSpec, type FilterOperator, type FilterValue, type Modifier, type ModifierArg, type ModifierDef, type ModifierOp, type OperatorArg, type Rules, type ScreenerColumn, type ScreenerEntry, type ScreenerEntryList, type ScreenerFilter, type ScreenerRow, type ScreenerRowList, type SearchFilter, type SortSpec, type Variable, type VariableDef, type ScreenerCreateScreenerResponse, type ScreenerGetScreenerByIDResponse, type ScreenerGetScreenerCatalogResponse, type ScreenerGetScreenersResponse, type ScreenerPatchScreenerResponse, type ScreenerReplaceScreenerResponse, type ScreenerSearchScreenerResponse, type ScreenerCreateScreenerParams, type ScreenerPatchScreenerParams, type ScreenerReplaceScreenerParams, type ScreenerSearchScreenerParams, } from "./screener.mjs";
|
|
12
12
|
export { V1, type SecurityType, type SortDirection } from "./v1.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,KAAK,OAAO,EAAE,KAAK,4BAA4B,EAAE,0BAAsB;AAC5F,OAAO,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,UAAU,EACf,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,YAAY,EACjB,KAAK,iCAAiC,EACtC,KAAK,6BAA6B,EAClC,KAAK,0BAA0B,EAC/B,KAAK,kCAAkC,EACvC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,6BAA6B,GACnC,uBAAmB;AACpB,OAAO,EACL,QAAQ,EACR,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAA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ACnB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,kCAAkC,EACvC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,GAClC,uBAAmB;AACpB,OAAO,EAAE,EAAE,EAAE,KAAK,YAAY,EAAE,KAAK,aAAa,EAAE,iBAAa;AACjE,OAAO,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,iCAAiC,EACtC,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,EACrC,KAAK,oCAAoC,EACzC,KAAK,iCAAiC,EACtC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,4BAA4B,GAClC,wBAAoB"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,KAAK,OAAO,EAAE,KAAK,4BAA4B,EAAE,0BAAsB;AAC5F,OAAO,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,K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,EACzC,KAAK,iCAAiC,EACtC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,4BAA4B,GAClC,wBAAoB"}
|
package/resources/v1/index.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ export { APIVersion, type Version, type APIVersionGetVersionResponse } from "./a
|
|
|
2
2
|
export { Accounts, type Account, type AccountBalances, type AccountBalancesSod, type AccountHolderEntityKind, type AccountList, type AccountSettings, type AccountStatus, type AccountSubtype, type AccountType, type AccountWithPersonalDetails, type Address, type MarginDetails, type MarginDetailsUsage, type MarginSessionDetails, type MarginTopContributor, type MarginType, type PortfolioHistoryResponse, type PortfolioHistorySegment, type RiskSettings, type AccountGetAccountBalancesResponse, type AccountGetAccountByIDResponse, type AccountGetAccountsResponse, type AccountGetPortfolioHistoryResponse, type AccountPatchAccountByIDResponse, type AccountGetAccountBalancesParams, type AccountGetAccountsParams, type AccountGetPortfolioHistoryParams, type AccountPatchAccountByIDParams, } from "./accounts.js";
|
|
3
3
|
export { Calendar, type ClockDetail, type DayType, type MarketHoursDetail, type MarketHoursDetailList, type MarketSessionType, type MarketStatus, type MarketType, type SessionSchedule, type TradingSessions, type CalendarGetClockResponse, type CalendarGetMarketHoursCalendarResponse, type CalendarGetMarketHoursCalendarParams, } from "./calendar.js";
|
|
4
4
|
export { InstrumentData, type AllEventsEventType, type AnalystDistribution, type AnalystRating, type FiscalPeriodType, type InstrumentAllEventsData, type InstrumentAnalystConsensus, type InstrumentBalanceSheetStatement, type InstrumentBalanceSheetStatementList, type InstrumentCashFlowStatement, type InstrumentCashFlowStatementList, type InstrumentDividendEvent, type InstrumentEarnings, type InstrumentEventEnvelope, type InstrumentEventIpoItem, type InstrumentEventsByDate, type InstrumentEventsData, type InstrumentFundamentals, type InstrumentIncomeStatement, type InstrumentIncomeStatementList, type InstrumentIpoEvent, type InstrumentSplitEvent, type PriceTarget, type ReportTime, type InstrumentDataGetAllInstrumentEventsResponse, type InstrumentDataGetInstrumentAnalystConsensusResponse, type InstrumentDataGetInstrumentBalanceSheetStatementsResponse, type InstrumentDataGetInstrumentCashFlowStatementsResponse, type InstrumentDataGetInstrumentEventsResponse, type InstrumentDataGetInstrumentFundamentalsResponse, type InstrumentDataGetInstrumentIncomeStatementsResponse, type InstrumentDataGetAllInstrumentEventsParams, type InstrumentDataGetInstrumentAnalystConsensusParams, type InstrumentDataGetInstrumentBalanceSheetStatementsParams, type InstrumentDataGetInstrumentCashFlowStatementsParams, type InstrumentDataGetInstrumentEventsParams, type InstrumentDataGetInstrumentIncomeStatementsParams, } from "./instrument-data/index.js";
|
|
5
|
-
export { Instruments, type ContractType, type ExerciseStyle, type Instrument, type InstrumentCore, type InstrumentCoreList, type ListingType, type OptionExpiryDate, type OptionsContract, type OptionsContractList, type InstrumentGetInstrumentByIDResponse, type InstrumentGetInstrumentsResponse, type InstrumentGetOptionContractsResponse, type InstrumentSearchInstrumentsResponse, type InstrumentGetInstrumentByIDParams, type InstrumentGetInstrumentsParams, type InstrumentGetOptionContractsParams, type InstrumentSearchInstrumentsParams, } from "./instruments.js";
|
|
5
|
+
export { Instruments, type ContractType, type ExerciseStyle, type Instrument, type InstrumentCore, type InstrumentCoreList, type ListingType, type OptionExpiryDate, type OptionsContract, type OptionsContractList, type TickRule, type InstrumentGetInstrumentByIDResponse, type InstrumentGetInstrumentsResponse, type InstrumentGetOptionContractsResponse, type InstrumentSearchInstrumentsResponse, type InstrumentGetInstrumentByIDParams, type InstrumentGetInstrumentsParams, type InstrumentGetOptionContractsParams, type InstrumentSearchInstrumentsParams, } from "./instruments.js";
|
|
6
6
|
export { OmniAI, type ActionButton, type ChartPayload, type ChartPoint, type ChartSeries, type ContentPartChartPayload, type ContentPartCustomPayload, type ContentPartStructuredActionPayload, type ContentPartSuggestedActionsPayload, type ContentPartTextPayload, type ContentPartThinkingPayload, type DataChart, type EntitlementAgreementKey, type EntitlementCode, type OpenChartAction, type OpenEntitlementConsentAction, type OpenScreenerAction, type PrefillCancelOrderAction, type PrefillCancelOrderRequest, type PrefillModifyOrderAction, type PrefillModifyOrderRequest, type PrefillNewOrderAction, type PrefillNewOrderRequest, type PrefillOrderAction, type PromptButtonAction, type StructuredAction, type StructuredActionButtonAction, type SuggestedActionsPayload, } from "./omni-ai/index.js";
|
|
7
7
|
export { OmniFeed, type FeedItem, type FeedItemKind, type FeedItemMetric, type FeedMetricType, type FeedPage, type OmniFeedGetFeedResponse, type OmniFeedGetFeedParams, type OmniFeedPostFeedEventParams, } from "./omni-feed.js";
|
|
8
8
|
export { Orders, type Execution, type ExecutionList, type InstrumentIDOrSymbol, type NewOrderRequest, type Order, type OrderList, type OrderStatus, type OrderType, type QueueState, type ReplaceOrderRequest, type RequestOrderType, type RequestPositionEffect, type RequestTimeInForce, type Side, type TimeInForce, type TrailingOffsetType, type OrderCancelAllOpenOrdersResponse, type OrderCancelOpenOrderResponse, type OrderGetExecutionsResponse, type OrderGetOrderByIDResponse, type OrderGetOrdersResponse, type OrderReplaceOrderResponse, type OrderSubmitOrdersResponse, type OrderCancelAllOpenOrdersParams, type OrderCancelOpenOrderParams, type OrderGetExecutionsParams, type OrderGetOrderByIDParams, type OrderGetOrdersParams, type OrderReplaceOrderParams, type OrderSubmitOrdersParams, } from "./orders.js";
|
|
9
|
-
export { Positions, type Position, type PositionInstruction, type PositionInstructionList, type PositionInstructionStatus, type PositionInstructionType, type PositionList, type PositionType, type PositionCancelPositionInstructionResponse, type PositionClosePositionResponse, type PositionClosePositionsResponse, type PositionGetPositionInstructionsResponse, type PositionGetPositionsResponse, type PositionSubmitPositionInstructionsResponse, type PositionCancelPositionInstructionParams, type PositionClosePositionParams, type PositionClosePositionsParams, type PositionGetPositionInstructionsParams, type PositionGetPositionsParams, type PositionSubmitPositionInstructionsParams, } from "./positions.js";
|
|
9
|
+
export { Positions, type Position, type PositionInstruction, type PositionInstructionList, type PositionInstructionRejection, type PositionInstructionStatus, type PositionInstructionType, type PositionList, type PositionType, type PositionCancelPositionInstructionResponse, type PositionClosePositionResponse, type PositionClosePositionsResponse, type PositionGetPositionInstructionsResponse, type PositionGetPositionsResponse, type PositionSubmitPositionInstructionsResponse, type PositionCancelPositionInstructionParams, type PositionClosePositionParams, type PositionClosePositionsParams, type PositionGetPositionInstructionsParams, type PositionGetPositionsParams, type PositionSubmitPositionInstructionsParams, } from "./positions.js";
|
|
10
10
|
export { PrivateMarkets, type PrivateMarketCreateIoiResponse, type PrivateMarketGetCompanyByIDResponse, type PrivateMarketGetIoisResponse, type PrivateMarketGetSpvByIDResponse, type PrivateMarketUpdateIoiResponse, type PrivateMarketCreateIoiParams, type PrivateMarketDeleteIoiParams, type PrivateMarketGetCompanyByIDParams, type PrivateMarketGetIoisParams, type PrivateMarketGetSpvByIDParams, type PrivateMarketUpdateIoiParams, } from "./private-markets/index.js";
|
|
11
11
|
export { Screener, type Catalog, type Combination, type Enums, type FieldColumns, type FieldKind, type FieldLookback, type FieldPeriod, type FieldRef, type FieldType, type FilterOpSpec, type FilterOperator, type FilterValue, type Modifier, type ModifierArg, type ModifierDef, type ModifierOp, type OperatorArg, type Rules, type ScreenerColumn, type ScreenerEntry, type ScreenerEntryList, type ScreenerFilter, type ScreenerRow, type ScreenerRowList, type SearchFilter, type SortSpec, type Variable, type VariableDef, type ScreenerCreateScreenerResponse, type ScreenerGetScreenerByIDResponse, type ScreenerGetScreenerCatalogResponse, type ScreenerGetScreenersResponse, type ScreenerPatchScreenerResponse, type ScreenerReplaceScreenerResponse, type ScreenerSearchScreenerResponse, type ScreenerCreateScreenerParams, type ScreenerPatchScreenerParams, type ScreenerReplaceScreenerParams, type ScreenerSearchScreenerParams, } from "./screener.js";
|
|
12
12
|
export { V1, type SecurityType, type SortDirection } from "./v1.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,KAAK,OAA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,EAAE,EAAE,KAAK,YAAY,EAAE,KAAK,aAAa,EAAE,gBAAa;AACjE,OAAO,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,iCAAiC,EACtC,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,EACrC,KAAK,oCAAoC,EACzC,KAAK,iCAAiC,EACtC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,4BAA4B,GAClC,uBAAoB"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,KAAK,OAAO,EAAE,KAAK,4BAA4B,EAAE,yBAAsB;AAC5F,OAAO,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,UAAU,EACf,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,YAAY,EACjB,KAAK,iCAAiC,EACtC,KAAK,6BAA6B,EAClC,KAAK,0BAA0B,EAC/B,KAAK,kCAAkC,EACvC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,6BAA6B,GACnC,sBAAmB;AACpB,OAAO,EACL,QAAQ,EACR,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,iBAAiB,EACtB,K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AAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,kCAAkC,EACvC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,GAClC,sBAAmB;AACpB,OAAO,EAAE,EAAE,EAAE,KAAK,YAAY,EAAE,KAAK,aAAa,EAAE,gBAAa;AACjE,OAAO,EACL,SAAS,EACT,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,iCAAiC,EACtC,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,EACrC,KAAK,oCAAoC,EACzC,KAAK,iCAAiC,EACtC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,4BAA4B,GAClC,uBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA4F;AAAnF,yGAAA,UAAU,OAAA;AACnB,0CA8BoB;AA7BlB,oGAAA,QAAQ,OAAA;AA8BV,0CAcoB;AAblB,oGAAA,QAAQ,OAAA;AAcV,oDAsCiC;AArC/B,uGAAA,cAAc,OAAA;AAsChB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA4F;AAAnF,yGAAA,UAAU,OAAA;AACnB,0CA8BoB;AA7BlB,oGAAA,QAAQ,OAAA;AA8BV,0CAcoB;AAblB,oGAAA,QAAQ,OAAA;AAcV,oDAsCiC;AArC/B,uGAAA,cAAc,OAAA;AAsChB,gDAoBuB;AAnBrB,0GAAA,WAAW,OAAA;AAoBb,4CA6ByB;AA5BvB,+FAAA,MAAM,OAAA;AA6BR,4CAUqB;AATnB,qGAAA,QAAQ,OAAA;AAUV,sCAgCkB;AA/BhB,gGAAA,MAAM,OAAA;AAgCR,4CAsBqB;AArBnB,sGAAA,SAAS,OAAA;AAsBX,oDAaiC;AAZ/B,uGAAA,cAAc,OAAA;AAahB,0CAyCoB;AAxClB,oGAAA,QAAQ,OAAA;AAyCV,8BAAiE;AAAxD,wFAAA,EAAE,OAAA;AACX,4CAiBqB;AAhBnB,sGAAA,SAAS,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,UAAU,EAAmD,0BAAsB;AAC5F,OAAO,EACL,QAAQ,GA6BT,uBAAmB;AACpB,OAAO,EACL,QAAQ,GAaT,uBAAmB;AACpB,OAAO,EACL,cAAc,GAqCf,oCAAgC;AACjC,OAAO,EACL,WAAW,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,UAAU,EAAmD,0BAAsB;AAC5F,OAAO,EACL,QAAQ,GA6BT,uBAAmB;AACpB,OAAO,EACL,QAAQ,GAaT,uBAAmB;AACpB,OAAO,EACL,cAAc,GAqCf,oCAAgC;AACjC,OAAO,EACL,WAAW,GAmBZ,0BAAsB;AACvB,OAAO,EACL,MAAM,GA4BP,4BAAwB;AACzB,OAAO,EACL,QAAQ,GAST,wBAAoB;AACrB,OAAO,EACL,MAAM,GA+BP,qBAAiB;AAClB,OAAO,EACL,SAAS,GAqBV,wBAAoB;AACrB,OAAO,EACL,cAAc,GAYf,oCAAgC;AACjC,OAAO,EACL,QAAQ,GAwCT,uBAAmB;AACpB,OAAO,EAAE,EAAE,EAAyC,iBAAa;AACjE,OAAO,EACL,SAAS,GAgBV,wBAAoB"}
|
|
@@ -8,6 +8,10 @@ import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class MarketData extends APIResource {
|
|
10
10
|
/**
|
|
11
|
+
* **Deprecated**: use `GET /market-data/snapshot` instead, which now reports the
|
|
12
|
+
* same open/high/low/volume/open-interest fields under `session` and top-level
|
|
13
|
+
* `open_interest`.
|
|
14
|
+
*
|
|
11
15
|
* Returns the most recent open, high, low, volume (OHLV) and current price for the
|
|
12
16
|
* requested instruments.
|
|
13
17
|
*
|
|
@@ -17,13 +21,7 @@ export declare class MarketData extends APIResource {
|
|
|
17
21
|
* fail to resolve are omitted from `data` and reported in `error` instead (see the
|
|
18
22
|
* 207/404 responses below).
|
|
19
23
|
*
|
|
20
|
-
* @
|
|
21
|
-
* ```ts
|
|
22
|
-
* const response =
|
|
23
|
-
* await client.v1.instrumentData.marketData.getDailySummaries(
|
|
24
|
-
* { instrument_ids: 'instrument_ids' },
|
|
25
|
-
* );
|
|
26
|
-
* ```
|
|
24
|
+
* @deprecated
|
|
27
25
|
*/
|
|
28
26
|
getDailySummaries(query: MarketDataGetDailySummariesParams, options?: RequestOptions): APIPromise<MarketDataGetDailySummariesResponse>;
|
|
29
27
|
/**
|
|
@@ -111,14 +109,39 @@ export interface MarketDataSnapshot {
|
|
|
111
109
|
* Unique instrument identifier.
|
|
112
110
|
*/
|
|
113
111
|
instrument_id: string;
|
|
112
|
+
/**
|
|
113
|
+
* Session-level pricing and OHLV metrics. Always present; each inner field is
|
|
114
|
+
* independently nullable.
|
|
115
|
+
*/
|
|
116
|
+
session: SnapshotSession;
|
|
117
|
+
/**
|
|
118
|
+
* Whether the SEC Rule 201 short-sale price test is currently restricting short
|
|
119
|
+
* sales in this security, from the trading-status feed.
|
|
120
|
+
*
|
|
121
|
+
* `true` restricts non-exempt short sales at or below the national best bid.
|
|
122
|
+
* `null` means we have no answer, either because no trading status has been seen
|
|
123
|
+
* for this security yet or because Rule 201 does not cover this security type. A
|
|
124
|
+
* `null` is not a statement that short selling is unrestricted, and must not be
|
|
125
|
+
* treated as clear to short.
|
|
126
|
+
*
|
|
127
|
+
* This is the current market condition, not a statement about whether Clear Street
|
|
128
|
+
* will reject your order. It is also distinct from `is_short_prohibited` on the
|
|
129
|
+
* instrument endpoints, which is a standing property of the security rather than a
|
|
130
|
+
* live circuit breaker. When a null/undefined value is observed, it indicates that
|
|
131
|
+
* there is no available data.
|
|
132
|
+
*/
|
|
133
|
+
short_sale_restricted: boolean | null;
|
|
114
134
|
/**
|
|
115
135
|
* Display symbol for the security.
|
|
116
136
|
*/
|
|
117
137
|
symbol: string;
|
|
118
138
|
/**
|
|
119
|
-
* Cumulative traded volume reported on the most recent trade, in
|
|
120
|
-
* equities or contracts for options. Absent when no trade is available.
|
|
121
|
-
*
|
|
139
|
+
* @deprecated Cumulative traded volume reported on the most recent trade, in
|
|
140
|
+
* shares for equities or contracts for options. Absent when no trade is available.
|
|
141
|
+
*
|
|
142
|
+
* Deprecated: use `session.cumulative_volume`, the same value from the same
|
|
143
|
+
* source. When a null/undefined value is observed, it indicates that there is no
|
|
144
|
+
* available data.
|
|
122
145
|
*/
|
|
123
146
|
cumulative_volume?: number | null;
|
|
124
147
|
/**
|
|
@@ -145,11 +168,11 @@ export interface MarketDataSnapshot {
|
|
|
145
168
|
*/
|
|
146
169
|
name?: string | null;
|
|
147
170
|
/**
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
* data.
|
|
171
|
+
* Open interest (outstanding contracts) as of the most recent OPRA Refresh.
|
|
172
|
+
* Populated for options only; absent for equities and indices. When a
|
|
173
|
+
* null/undefined value is observed, it indicates that there is no available data.
|
|
151
174
|
*/
|
|
152
|
-
|
|
175
|
+
open_interest?: number | null;
|
|
153
176
|
}
|
|
154
177
|
export type MarketDataSnapshotList = Array<MarketDataSnapshot>;
|
|
155
178
|
/**
|
|
@@ -278,24 +301,70 @@ export interface SnapshotQuote {
|
|
|
278
301
|
midpoint?: string | null;
|
|
279
302
|
}
|
|
280
303
|
/**
|
|
281
|
-
* Session-level pricing metrics for a market data snapshot.
|
|
304
|
+
* Session-level pricing and OHLV metrics for a market data snapshot. Always
|
|
305
|
+
* present on the snapshot row; every field here is independently nullable except
|
|
306
|
+
* `ohlv_applicable`.
|
|
282
307
|
*/
|
|
283
308
|
export interface SnapshotSession {
|
|
309
|
+
/**
|
|
310
|
+
* `false` only for instrument types with no OHLV by definition (e.g. an index
|
|
311
|
+
* instrument, whose price is a computed level rather than a traded security) --
|
|
312
|
+
* `open`/`high`/`low`/`ohlv_date`/`cumulative_volume` are then always absent.
|
|
313
|
+
* `true` otherwise, even when those fields simply haven't loaded yet. Always
|
|
314
|
+
* serialized.
|
|
315
|
+
*/
|
|
316
|
+
ohlv_applicable: boolean;
|
|
284
317
|
/**
|
|
285
318
|
* Absolute change from previous close to the most recent last-sale-eligible trade.
|
|
319
|
+
* Absent when either side of the computation is unavailable. When a null/undefined
|
|
320
|
+
* value is observed, it indicates that there is no available data.
|
|
286
321
|
*/
|
|
287
|
-
change
|
|
322
|
+
change?: string | null;
|
|
288
323
|
/**
|
|
289
324
|
* Percent change from previous close to the most recent last-sale-eligible trade.
|
|
325
|
+
* Absent under the same conditions as `change`. When a null/undefined value is
|
|
326
|
+
* observed, it indicates that there is no available data.
|
|
290
327
|
*/
|
|
291
|
-
change_percent
|
|
328
|
+
change_percent?: string | null;
|
|
329
|
+
/**
|
|
330
|
+
* Cumulative traded volume for the current session, in shares for equities or
|
|
331
|
+
* contracts for options. Always reflects the current session, even when
|
|
332
|
+
* `ohlv_date` trails it. Absent when `ohlv_applicable` is `false`, or when no
|
|
333
|
+
* trade is available. When a null/undefined value is observed, it indicates that
|
|
334
|
+
* there is no available data.
|
|
335
|
+
*/
|
|
336
|
+
cumulative_volume?: number | null;
|
|
337
|
+
/**
|
|
338
|
+
* Session high. When a null/undefined value is observed, it indicates that there
|
|
339
|
+
* is no available data.
|
|
340
|
+
*/
|
|
341
|
+
high?: string | null;
|
|
342
|
+
/**
|
|
343
|
+
* Session low. When a null/undefined value is observed, it indicates that there is
|
|
344
|
+
* no available data.
|
|
345
|
+
*/
|
|
346
|
+
low?: string | null;
|
|
347
|
+
/**
|
|
348
|
+
* Session date the open/high/low values represent, US/Eastern. May trail the
|
|
349
|
+
* current session until the upstream feed rolls. When a null/undefined value is
|
|
350
|
+
* observed, it indicates that there is no available data.
|
|
351
|
+
*/
|
|
352
|
+
ohlv_date?: string | null;
|
|
353
|
+
/**
|
|
354
|
+
* Session opening price, from the day's OHLC bar. Absent when `ohlv_applicable` is
|
|
355
|
+
* `false`, or when the bar has not loaded yet. When a null/undefined value is
|
|
356
|
+
* observed, it indicates that there is no available data.
|
|
357
|
+
*/
|
|
358
|
+
open?: string | null;
|
|
292
359
|
/**
|
|
293
360
|
* Previous session close price. Corporate-action-adjusted (stock dividends, cash
|
|
294
361
|
* dividends, and forward/reverse splits) when an adjustment exists for the close
|
|
295
362
|
* date; the raw close otherwise. An adjustment can carry the price beyond 2
|
|
296
|
-
* decimal places.
|
|
363
|
+
* decimal places. Absent when no previous close is on record (e.g. an instrument's
|
|
364
|
+
* first session). When a null/undefined value is observed, it indicates that there
|
|
365
|
+
* is no available data.
|
|
297
366
|
*/
|
|
298
|
-
previous_close
|
|
367
|
+
previous_close?: string | null;
|
|
299
368
|
/**
|
|
300
369
|
* Unadjusted (raw) previous session close. Present only when a corporate-action
|
|
301
370
|
* adjustment exists for the previous close date; when no adjustment exists,
|
|
@@ -319,7 +388,8 @@ export interface MarketDataGetDailySummariesParams {
|
|
|
319
388
|
export interface MarketDataGetSnapshotsParams {
|
|
320
389
|
/**
|
|
321
390
|
* Comma-separated instrument IDs (UUID) or symbols (equity tickers or OSI option
|
|
322
|
-
* symbols).
|
|
391
|
+
* symbols). Required; accepts 1 to 100 IDs. Duplicate resolved ids collapse to a
|
|
392
|
+
* single row.
|
|
323
393
|
*/
|
|
324
394
|
instrument_ids?: Array<OrdersAPI.InstrumentIDOrSymbol>;
|
|
325
395
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"market-data.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/instrument-data/market-data.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,MAAM,yBAAqB;AACvC,OAAO,KAAK,SAAS,sBAAkB;AACvC,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAEnE;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC
|
|
1
|
+
{"version":3,"file":"market-data.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/instrument-data/market-data.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,MAAM,yBAAqB;AACvC,OAAO,KAAK,SAAS,sBAAkB;AACvC,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAEnE;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;OAeG;IACH,iBAAiB,CACf,KAAK,EAAE,iCAAiC,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;IAIlD;;;;;;;;OAQG;IACH,YAAY,CACV,KAAK,GAAE,4BAA4B,GAAG,IAAI,GAAG,SAAc,EAC3D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AoB,CAAC,CAAC;CACxD;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
|
|
@@ -8,6 +8,10 @@ import { RequestOptions } from "../../../internal/request-options.js";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class MarketData extends APIResource {
|
|
10
10
|
/**
|
|
11
|
+
* **Deprecated**: use `GET /market-data/snapshot` instead, which now reports the
|
|
12
|
+
* same open/high/low/volume/open-interest fields under `session` and top-level
|
|
13
|
+
* `open_interest`.
|
|
14
|
+
*
|
|
11
15
|
* Returns the most recent open, high, low, volume (OHLV) and current price for the
|
|
12
16
|
* requested instruments.
|
|
13
17
|
*
|
|
@@ -17,13 +21,7 @@ export declare class MarketData extends APIResource {
|
|
|
17
21
|
* fail to resolve are omitted from `data` and reported in `error` instead (see the
|
|
18
22
|
* 207/404 responses below).
|
|
19
23
|
*
|
|
20
|
-
* @
|
|
21
|
-
* ```ts
|
|
22
|
-
* const response =
|
|
23
|
-
* await client.v1.instrumentData.marketData.getDailySummaries(
|
|
24
|
-
* { instrument_ids: 'instrument_ids' },
|
|
25
|
-
* );
|
|
26
|
-
* ```
|
|
24
|
+
* @deprecated
|
|
27
25
|
*/
|
|
28
26
|
getDailySummaries(query: MarketDataGetDailySummariesParams, options?: RequestOptions): APIPromise<MarketDataGetDailySummariesResponse>;
|
|
29
27
|
/**
|
|
@@ -111,14 +109,39 @@ export interface MarketDataSnapshot {
|
|
|
111
109
|
* Unique instrument identifier.
|
|
112
110
|
*/
|
|
113
111
|
instrument_id: string;
|
|
112
|
+
/**
|
|
113
|
+
* Session-level pricing and OHLV metrics. Always present; each inner field is
|
|
114
|
+
* independently nullable.
|
|
115
|
+
*/
|
|
116
|
+
session: SnapshotSession;
|
|
117
|
+
/**
|
|
118
|
+
* Whether the SEC Rule 201 short-sale price test is currently restricting short
|
|
119
|
+
* sales in this security, from the trading-status feed.
|
|
120
|
+
*
|
|
121
|
+
* `true` restricts non-exempt short sales at or below the national best bid.
|
|
122
|
+
* `null` means we have no answer, either because no trading status has been seen
|
|
123
|
+
* for this security yet or because Rule 201 does not cover this security type. A
|
|
124
|
+
* `null` is not a statement that short selling is unrestricted, and must not be
|
|
125
|
+
* treated as clear to short.
|
|
126
|
+
*
|
|
127
|
+
* This is the current market condition, not a statement about whether Clear Street
|
|
128
|
+
* will reject your order. It is also distinct from `is_short_prohibited` on the
|
|
129
|
+
* instrument endpoints, which is a standing property of the security rather than a
|
|
130
|
+
* live circuit breaker. When a null/undefined value is observed, it indicates that
|
|
131
|
+
* there is no available data.
|
|
132
|
+
*/
|
|
133
|
+
short_sale_restricted: boolean | null;
|
|
114
134
|
/**
|
|
115
135
|
* Display symbol for the security.
|
|
116
136
|
*/
|
|
117
137
|
symbol: string;
|
|
118
138
|
/**
|
|
119
|
-
* Cumulative traded volume reported on the most recent trade, in
|
|
120
|
-
* equities or contracts for options. Absent when no trade is available.
|
|
121
|
-
*
|
|
139
|
+
* @deprecated Cumulative traded volume reported on the most recent trade, in
|
|
140
|
+
* shares for equities or contracts for options. Absent when no trade is available.
|
|
141
|
+
*
|
|
142
|
+
* Deprecated: use `session.cumulative_volume`, the same value from the same
|
|
143
|
+
* source. When a null/undefined value is observed, it indicates that there is no
|
|
144
|
+
* available data.
|
|
122
145
|
*/
|
|
123
146
|
cumulative_volume?: number | null;
|
|
124
147
|
/**
|
|
@@ -145,11 +168,11 @@ export interface MarketDataSnapshot {
|
|
|
145
168
|
*/
|
|
146
169
|
name?: string | null;
|
|
147
170
|
/**
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
* data.
|
|
171
|
+
* Open interest (outstanding contracts) as of the most recent OPRA Refresh.
|
|
172
|
+
* Populated for options only; absent for equities and indices. When a
|
|
173
|
+
* null/undefined value is observed, it indicates that there is no available data.
|
|
151
174
|
*/
|
|
152
|
-
|
|
175
|
+
open_interest?: number | null;
|
|
153
176
|
}
|
|
154
177
|
export type MarketDataSnapshotList = Array<MarketDataSnapshot>;
|
|
155
178
|
/**
|
|
@@ -278,24 +301,70 @@ export interface SnapshotQuote {
|
|
|
278
301
|
midpoint?: string | null;
|
|
279
302
|
}
|
|
280
303
|
/**
|
|
281
|
-
* Session-level pricing metrics for a market data snapshot.
|
|
304
|
+
* Session-level pricing and OHLV metrics for a market data snapshot. Always
|
|
305
|
+
* present on the snapshot row; every field here is independently nullable except
|
|
306
|
+
* `ohlv_applicable`.
|
|
282
307
|
*/
|
|
283
308
|
export interface SnapshotSession {
|
|
309
|
+
/**
|
|
310
|
+
* `false` only for instrument types with no OHLV by definition (e.g. an index
|
|
311
|
+
* instrument, whose price is a computed level rather than a traded security) --
|
|
312
|
+
* `open`/`high`/`low`/`ohlv_date`/`cumulative_volume` are then always absent.
|
|
313
|
+
* `true` otherwise, even when those fields simply haven't loaded yet. Always
|
|
314
|
+
* serialized.
|
|
315
|
+
*/
|
|
316
|
+
ohlv_applicable: boolean;
|
|
284
317
|
/**
|
|
285
318
|
* Absolute change from previous close to the most recent last-sale-eligible trade.
|
|
319
|
+
* Absent when either side of the computation is unavailable. When a null/undefined
|
|
320
|
+
* value is observed, it indicates that there is no available data.
|
|
286
321
|
*/
|
|
287
|
-
change
|
|
322
|
+
change?: string | null;
|
|
288
323
|
/**
|
|
289
324
|
* Percent change from previous close to the most recent last-sale-eligible trade.
|
|
325
|
+
* Absent under the same conditions as `change`. When a null/undefined value is
|
|
326
|
+
* observed, it indicates that there is no available data.
|
|
290
327
|
*/
|
|
291
|
-
change_percent
|
|
328
|
+
change_percent?: string | null;
|
|
329
|
+
/**
|
|
330
|
+
* Cumulative traded volume for the current session, in shares for equities or
|
|
331
|
+
* contracts for options. Always reflects the current session, even when
|
|
332
|
+
* `ohlv_date` trails it. Absent when `ohlv_applicable` is `false`, or when no
|
|
333
|
+
* trade is available. When a null/undefined value is observed, it indicates that
|
|
334
|
+
* there is no available data.
|
|
335
|
+
*/
|
|
336
|
+
cumulative_volume?: number | null;
|
|
337
|
+
/**
|
|
338
|
+
* Session high. When a null/undefined value is observed, it indicates that there
|
|
339
|
+
* is no available data.
|
|
340
|
+
*/
|
|
341
|
+
high?: string | null;
|
|
342
|
+
/**
|
|
343
|
+
* Session low. When a null/undefined value is observed, it indicates that there is
|
|
344
|
+
* no available data.
|
|
345
|
+
*/
|
|
346
|
+
low?: string | null;
|
|
347
|
+
/**
|
|
348
|
+
* Session date the open/high/low values represent, US/Eastern. May trail the
|
|
349
|
+
* current session until the upstream feed rolls. When a null/undefined value is
|
|
350
|
+
* observed, it indicates that there is no available data.
|
|
351
|
+
*/
|
|
352
|
+
ohlv_date?: string | null;
|
|
353
|
+
/**
|
|
354
|
+
* Session opening price, from the day's OHLC bar. Absent when `ohlv_applicable` is
|
|
355
|
+
* `false`, or when the bar has not loaded yet. When a null/undefined value is
|
|
356
|
+
* observed, it indicates that there is no available data.
|
|
357
|
+
*/
|
|
358
|
+
open?: string | null;
|
|
292
359
|
/**
|
|
293
360
|
* Previous session close price. Corporate-action-adjusted (stock dividends, cash
|
|
294
361
|
* dividends, and forward/reverse splits) when an adjustment exists for the close
|
|
295
362
|
* date; the raw close otherwise. An adjustment can carry the price beyond 2
|
|
296
|
-
* decimal places.
|
|
363
|
+
* decimal places. Absent when no previous close is on record (e.g. an instrument's
|
|
364
|
+
* first session). When a null/undefined value is observed, it indicates that there
|
|
365
|
+
* is no available data.
|
|
297
366
|
*/
|
|
298
|
-
previous_close
|
|
367
|
+
previous_close?: string | null;
|
|
299
368
|
/**
|
|
300
369
|
* Unadjusted (raw) previous session close. Present only when a corporate-action
|
|
301
370
|
* adjustment exists for the previous close date; when no adjustment exists,
|
|
@@ -319,7 +388,8 @@ export interface MarketDataGetDailySummariesParams {
|
|
|
319
388
|
export interface MarketDataGetSnapshotsParams {
|
|
320
389
|
/**
|
|
321
390
|
* Comma-separated instrument IDs (UUID) or symbols (equity tickers or OSI option
|
|
322
|
-
* symbols).
|
|
391
|
+
* symbols). Required; accepts 1 to 100 IDs. Duplicate resolved ids collapse to a
|
|
392
|
+
* single row.
|
|
323
393
|
*/
|
|
324
394
|
instrument_ids?: Array<OrdersAPI.InstrumentIDOrSymbol>;
|
|
325
395
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"market-data.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/instrument-data/market-data.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,MAAM,wBAAqB;AACvC,OAAO,KAAK,SAAS,qBAAkB;AACvC,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAEnE;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC
|
|
1
|
+
{"version":3,"file":"market-data.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/instrument-data/market-data.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,MAAM,wBAAqB;AACvC,OAAO,KAAK,SAAS,qBAAkB;AACvC,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAEnE;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;OAeG;IACH,iBAAiB,CACf,KAAK,EAAE,iC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,WAAW,iCAAiC;IAChD;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,4BAA4B;IAC3C;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAAC;CACxD;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
|
|
@@ -8,6 +8,10 @@ const resource_1 = require("../../../core/resource.js");
|
|
|
8
8
|
*/
|
|
9
9
|
class MarketData extends resource_1.APIResource {
|
|
10
10
|
/**
|
|
11
|
+
* **Deprecated**: use `GET /market-data/snapshot` instead, which now reports the
|
|
12
|
+
* same open/high/low/volume/open-interest fields under `session` and top-level
|
|
13
|
+
* `open_interest`.
|
|
14
|
+
*
|
|
11
15
|
* Returns the most recent open, high, low, volume (OHLV) and current price for the
|
|
12
16
|
* requested instruments.
|
|
13
17
|
*
|
|
@@ -17,13 +21,7 @@ class MarketData extends resource_1.APIResource {
|
|
|
17
21
|
* fail to resolve are omitted from `data` and reported in `error` instead (see the
|
|
18
22
|
* 207/404 responses below).
|
|
19
23
|
*
|
|
20
|
-
* @
|
|
21
|
-
* ```ts
|
|
22
|
-
* const response =
|
|
23
|
-
* await client.v1.instrumentData.marketData.getDailySummaries(
|
|
24
|
-
* { instrument_ids: 'instrument_ids' },
|
|
25
|
-
* );
|
|
26
|
-
* ```
|
|
24
|
+
* @deprecated
|
|
27
25
|
*/
|
|
28
26
|
getDailySummaries(query, options) {
|
|
29
27
|
return this._client.get('/v1/market-data/daily-summary', { query, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"market-data.js","sourceRoot":"","sources":["../../../src/resources/v1/instrument-data/market-data.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAMrD;;GAEG;AACH,MAAa,UAAW,SAAQ,sBAAW;IACzC
|
|
1
|
+
{"version":3,"file":"market-data.js","sourceRoot":"","sources":["../../../src/resources/v1/instrument-data/market-data.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAMrD;;GAEG;AACH,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;;;;;;OAeG;IACH,iBAAiB,CACf,KAAwC,EACxC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,+BAA+B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;IAED;;;;;;;;OAQG;IACH,YAAY,CACV,QAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF;AAvCD,gCAuCC"}
|
|
@@ -5,6 +5,10 @@ import { APIResource } from "../../../core/resource.mjs";
|
|
|
5
5
|
*/
|
|
6
6
|
export class MarketData extends APIResource {
|
|
7
7
|
/**
|
|
8
|
+
* **Deprecated**: use `GET /market-data/snapshot` instead, which now reports the
|
|
9
|
+
* same open/high/low/volume/open-interest fields under `session` and top-level
|
|
10
|
+
* `open_interest`.
|
|
11
|
+
*
|
|
8
12
|
* Returns the most recent open, high, low, volume (OHLV) and current price for the
|
|
9
13
|
* requested instruments.
|
|
10
14
|
*
|
|
@@ -14,13 +18,7 @@ export class MarketData extends APIResource {
|
|
|
14
18
|
* fail to resolve are omitted from `data` and reported in `error` instead (see the
|
|
15
19
|
* 207/404 responses below).
|
|
16
20
|
*
|
|
17
|
-
* @
|
|
18
|
-
* ```ts
|
|
19
|
-
* const response =
|
|
20
|
-
* await client.v1.instrumentData.marketData.getDailySummaries(
|
|
21
|
-
* { instrument_ids: 'instrument_ids' },
|
|
22
|
-
* );
|
|
23
|
-
* ```
|
|
21
|
+
* @deprecated
|
|
24
22
|
*/
|
|
25
23
|
getDailySummaries(query, options) {
|
|
26
24
|
return this._client.get('/v1/market-data/daily-summary', { query, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"market-data.mjs","sourceRoot":"","sources":["../../../src/resources/v1/instrument-data/market-data.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAMrD;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC
|
|
1
|
+
{"version":3,"file":"market-data.mjs","sourceRoot":"","sources":["../../../src/resources/v1/instrument-data/market-data.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAMrD;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;OAeG;IACH,iBAAiB,CACf,KAAwC,EACxC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,+BAA+B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;IAED;;;;;;;;OAQG;IACH,YAAY,CACV,QAAyD,EAAE,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF"}
|