@clear-street/clearstreet 0.0.0 → 0.73.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 +994 -0
- package/LICENSE +201 -0
- package/README.md +358 -0
- package/api-promise.d.mts +3 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +3 -0
- package/api-promise.d.ts.map +1 -0
- package/api-promise.js +6 -0
- package/api-promise.js.map +1 -0
- package/api-promise.mjs +3 -0
- package/api-promise.mjs.map +1 -0
- package/client.d.mts +195 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +195 -0
- package/client.d.ts.map +1 -0
- package/client.js +489 -0
- package/client.js.map +1 -0
- package/client.mjs +485 -0
- package/client.mjs.map +1 -0
- package/core/api-promise.d.mts +46 -0
- package/core/api-promise.d.mts.map +1 -0
- package/core/api-promise.d.ts +46 -0
- package/core/api-promise.d.ts.map +1 -0
- package/core/api-promise.js +74 -0
- package/core/api-promise.js.map +1 -0
- package/core/api-promise.mjs +70 -0
- package/core/api-promise.mjs.map +1 -0
- package/core/error.d.mts +46 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +46 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +113 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +97 -0
- package/core/error.mjs.map +1 -0
- package/core/resource.d.mts +6 -0
- package/core/resource.d.mts.map +1 -0
- package/core/resource.d.ts +6 -0
- package/core/resource.d.ts.map +1 -0
- package/core/resource.js +11 -0
- package/core/resource.js.map +1 -0
- package/core/resource.mjs +7 -0
- package/core/resource.mjs.map +1 -0
- package/core/uploads.d.mts +3 -0
- package/core/uploads.d.mts.map +1 -0
- package/core/uploads.d.ts +3 -0
- package/core/uploads.d.ts.map +1 -0
- package/core/uploads.js +6 -0
- package/core/uploads.js.map +1 -0
- package/core/uploads.mjs +2 -0
- package/core/uploads.mjs.map +1 -0
- package/error.d.mts +3 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +3 -0
- package/error.d.ts.map +1 -0
- package/error.js +6 -0
- package/error.js.map +1 -0
- package/error.mjs +3 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +6 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -0
- package/index.js +30 -0
- package/index.js.map +1 -0
- package/index.mjs +7 -0
- package/index.mjs.map +1 -0
- package/internal/builtin-types.d.mts +73 -0
- package/internal/builtin-types.d.mts.map +1 -0
- package/internal/builtin-types.d.ts +73 -0
- package/internal/builtin-types.d.ts.map +1 -0
- package/internal/builtin-types.js +4 -0
- package/internal/builtin-types.js.map +1 -0
- package/internal/builtin-types.mjs +3 -0
- package/internal/builtin-types.mjs.map +1 -0
- package/internal/detect-platform.d.mts +15 -0
- package/internal/detect-platform.d.mts.map +1 -0
- package/internal/detect-platform.d.ts +15 -0
- package/internal/detect-platform.d.ts.map +1 -0
- package/internal/detect-platform.js +162 -0
- package/internal/detect-platform.js.map +1 -0
- package/internal/detect-platform.mjs +157 -0
- package/internal/detect-platform.mjs.map +1 -0
- package/internal/errors.d.mts +3 -0
- package/internal/errors.d.mts.map +1 -0
- package/internal/errors.d.ts +3 -0
- package/internal/errors.d.ts.map +1 -0
- package/internal/errors.js +41 -0
- package/internal/errors.js.map +1 -0
- package/internal/errors.mjs +36 -0
- package/internal/errors.mjs.map +1 -0
- package/internal/headers.d.mts +20 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +20 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +79 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +74 -0
- package/internal/headers.mjs.map +1 -0
- package/internal/parse.d.mts +12 -0
- package/internal/parse.d.mts.map +1 -0
- package/internal/parse.d.ts +12 -0
- package/internal/parse.d.ts.map +1 -0
- package/internal/parse.js +40 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +37 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/qs/formats.d.mts +7 -0
- package/internal/qs/formats.d.mts.map +1 -0
- package/internal/qs/formats.d.ts +7 -0
- package/internal/qs/formats.d.ts.map +1 -0
- package/internal/qs/formats.js +13 -0
- package/internal/qs/formats.js.map +1 -0
- package/internal/qs/formats.mjs +9 -0
- package/internal/qs/formats.mjs.map +1 -0
- package/internal/qs/index.d.mts +10 -0
- package/internal/qs/index.d.mts.map +1 -0
- package/internal/qs/index.d.ts +10 -0
- package/internal/qs/index.d.ts.map +1 -0
- package/internal/qs/index.js +14 -0
- package/internal/qs/index.js.map +1 -0
- package/internal/qs/index.mjs +10 -0
- package/internal/qs/index.mjs.map +1 -0
- package/internal/qs/stringify.d.mts +3 -0
- package/internal/qs/stringify.d.mts.map +1 -0
- package/internal/qs/stringify.d.ts +3 -0
- package/internal/qs/stringify.d.ts.map +1 -0
- package/internal/qs/stringify.js +277 -0
- package/internal/qs/stringify.js.map +1 -0
- package/internal/qs/stringify.mjs +274 -0
- package/internal/qs/stringify.mjs.map +1 -0
- package/internal/qs/types.d.mts +57 -0
- package/internal/qs/types.d.mts.map +1 -0
- package/internal/qs/types.d.ts +57 -0
- package/internal/qs/types.d.ts.map +1 -0
- package/internal/qs/types.js +3 -0
- package/internal/qs/types.js.map +1 -0
- package/internal/qs/types.mjs +2 -0
- package/internal/qs/types.mjs.map +1 -0
- package/internal/qs/utils.d.mts +15 -0
- package/internal/qs/utils.d.mts.map +1 -0
- package/internal/qs/utils.d.ts +15 -0
- package/internal/qs/utils.d.ts.map +1 -0
- package/internal/qs/utils.js +230 -0
- package/internal/qs/utils.js.map +1 -0
- package/internal/qs/utils.mjs +217 -0
- package/internal/qs/utils.mjs.map +1 -0
- package/internal/request-options.d.mts +75 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +75 -0
- package/internal/request-options.d.ts.map +1 -0
- package/internal/request-options.js +14 -0
- package/internal/request-options.js.map +1 -0
- package/internal/request-options.mjs +10 -0
- package/internal/request-options.mjs.map +1 -0
- package/internal/shim-types.d.mts +17 -0
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +17 -0
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/internal/shim-types.mjs +3 -0
- package/internal/shim-types.mjs.map +1 -0
- package/internal/shims.d.mts +26 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +26 -0
- package/internal/shims.d.ts.map +1 -0
- package/internal/shims.js +92 -0
- package/internal/shims.js.map +1 -0
- package/internal/shims.mjs +85 -0
- package/internal/shims.mjs.map +1 -0
- package/internal/to-file.d.mts +45 -0
- package/internal/to-file.d.mts.map +1 -0
- package/internal/to-file.d.ts +45 -0
- package/internal/to-file.d.ts.map +1 -0
- package/internal/to-file.js +91 -0
- package/internal/to-file.js.map +1 -0
- package/internal/to-file.mjs +88 -0
- package/internal/to-file.mjs.map +1 -0
- package/internal/tslib.js +81 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +69 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +69 -0
- package/internal/types.d.ts.map +1 -0
- package/internal/types.js +4 -0
- package/internal/types.js.map +1 -0
- package/internal/types.mjs +3 -0
- package/internal/types.mjs.map +1 -0
- package/internal/uploads.d.mts +42 -0
- package/internal/uploads.d.mts.map +1 -0
- package/internal/uploads.d.ts +42 -0
- package/internal/uploads.d.ts.map +1 -0
- package/internal/uploads.js +141 -0
- package/internal/uploads.js.map +1 -0
- package/internal/uploads.mjs +131 -0
- package/internal/uploads.mjs.map +1 -0
- package/internal/utils/base64.d.mts +3 -0
- package/internal/utils/base64.d.mts.map +1 -0
- package/internal/utils/base64.d.ts +3 -0
- package/internal/utils/base64.d.ts.map +1 -0
- package/internal/utils/base64.js +38 -0
- package/internal/utils/base64.js.map +1 -0
- package/internal/utils/base64.mjs +33 -0
- package/internal/utils/base64.mjs.map +1 -0
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.mjs.map +1 -0
- package/internal/utils/env.d.mts +9 -0
- package/internal/utils/env.d.mts.map +1 -0
- package/internal/utils/env.d.ts +9 -0
- package/internal/utils/env.d.ts.map +1 -0
- package/internal/utils/env.js +22 -0
- package/internal/utils/env.js.map +1 -0
- package/internal/utils/env.mjs +18 -0
- package/internal/utils/env.mjs.map +1 -0
- package/internal/utils/log.d.mts +37 -0
- package/internal/utils/log.d.mts.map +1 -0
- package/internal/utils/log.d.ts +37 -0
- package/internal/utils/log.d.ts.map +1 -0
- package/internal/utils/log.js +87 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +81 -0
- package/internal/utils/log.mjs.map +1 -0
- package/internal/utils/path.d.mts +15 -0
- package/internal/utils/path.d.mts.map +1 -0
- package/internal/utils/path.d.ts +15 -0
- package/internal/utils/path.d.ts.map +1 -0
- package/internal/utils/path.js +79 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +74 -0
- package/internal/utils/path.mjs.map +1 -0
- package/internal/utils/query.d.mts +2 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +2 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +10 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +6 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils/sleep.d.mts +2 -0
- package/internal/utils/sleep.d.mts.map +1 -0
- package/internal/utils/sleep.d.ts +2 -0
- package/internal/utils/sleep.d.ts.map +1 -0
- package/internal/utils/sleep.js +7 -0
- package/internal/utils/sleep.js.map +1 -0
- package/internal/utils/sleep.mjs +3 -0
- package/internal/utils/sleep.mjs.map +1 -0
- package/internal/utils/uuid.d.mts +5 -0
- package/internal/utils/uuid.d.mts.map +1 -0
- package/internal/utils/uuid.d.ts +5 -0
- package/internal/utils/uuid.d.ts.map +1 -0
- package/internal/utils/uuid.js +19 -0
- package/internal/utils/uuid.js.map +1 -0
- package/internal/utils/uuid.mjs +15 -0
- package/internal/utils/uuid.mjs.map +1 -0
- package/internal/utils/values.d.mts +18 -0
- package/internal/utils/values.d.mts.map +1 -0
- package/internal/utils/values.d.ts +18 -0
- package/internal/utils/values.d.ts.map +1 -0
- package/internal/utils/values.js +112 -0
- package/internal/utils/values.js.map +1 -0
- package/internal/utils/values.mjs +94 -0
- package/internal/utils/values.mjs.map +1 -0
- package/internal/utils.d.mts +8 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +8 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +12 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +9 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +147 -3
- package/resource.d.mts +3 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +3 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +6 -0
- package/resource.js.map +1 -0
- package/resource.mjs +3 -0
- package/resource.mjs.map +1 -0
- package/resources/index.d.mts +3 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +3 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +9 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +4 -0
- package/resources/index.mjs.map +1 -0
- package/resources/shared.d.mts +63 -0
- package/resources/shared.d.mts.map +1 -0
- package/resources/shared.d.ts +63 -0
- package/resources/shared.d.ts.map +1 -0
- package/resources/shared.js +4 -0
- package/resources/shared.js.map +1 -0
- package/resources/shared.mjs +3 -0
- package/resources/shared.mjs.map +1 -0
- package/resources/v1/accounts.d.mts +436 -0
- package/resources/v1/accounts.d.mts.map +1 -0
- package/resources/v1/accounts.d.ts +436 -0
- package/resources/v1/accounts.d.ts.map +1 -0
- package/resources/v1/accounts.js +74 -0
- package/resources/v1/accounts.js.map +1 -0
- package/resources/v1/accounts.mjs +70 -0
- package/resources/v1/accounts.mjs.map +1 -0
- package/resources/v1/api-version.d.mts +37 -0
- package/resources/v1/api-version.d.mts.map +1 -0
- package/resources/v1/api-version.d.ts +37 -0
- package/resources/v1/api-version.d.ts.map +1 -0
- package/resources/v1/api-version.js +23 -0
- package/resources/v1/api-version.js.map +1 -0
- package/resources/v1/api-version.mjs +19 -0
- package/resources/v1/api-version.mjs.map +1 -0
- package/resources/v1/calendar.d.mts +170 -0
- package/resources/v1/calendar.d.mts.map +1 -0
- package/resources/v1/calendar.d.ts +170 -0
- package/resources/v1/calendar.d.ts.map +1 -0
- package/resources/v1/calendar.js +39 -0
- package/resources/v1/calendar.js.map +1 -0
- package/resources/v1/calendar.mjs +35 -0
- package/resources/v1/calendar.mjs.map +1 -0
- package/resources/v1/index.d.mts +12 -0
- package/resources/v1/index.d.mts.map +1 -0
- package/resources/v1/index.d.ts +12 -0
- package/resources/v1/index.d.ts.map +1 -0
- package/resources/v1/index.js +27 -0
- package/resources/v1/index.js.map +1 -0
- package/resources/v1/index.mjs +13 -0
- package/resources/v1/index.mjs.map +1 -0
- package/resources/v1/instrument-data/index.d.mts +4 -0
- package/resources/v1/instrument-data/index.d.mts.map +1 -0
- package/resources/v1/instrument-data/index.d.ts +4 -0
- package/resources/v1/instrument-data/index.d.ts.map +1 -0
- package/resources/v1/instrument-data/index.js +11 -0
- package/resources/v1/instrument-data/index.js.map +1 -0
- package/resources/v1/instrument-data/index.mjs +5 -0
- package/resources/v1/instrument-data/index.mjs.map +1 -0
- package/resources/v1/instrument-data/instrument-data.d.mts +1202 -0
- package/resources/v1/instrument-data/instrument-data.d.mts.map +1 -0
- package/resources/v1/instrument-data/instrument-data.d.ts +1202 -0
- package/resources/v1/instrument-data/instrument-data.d.ts.map +1 -0
- package/resources/v1/instrument-data/instrument-data.js +150 -0
- package/resources/v1/instrument-data/instrument-data.js.map +1 -0
- package/resources/v1/instrument-data/instrument-data.mjs +145 -0
- package/resources/v1/instrument-data/instrument-data.mjs.map +1 -0
- package/resources/v1/instrument-data/market-data.d.mts +240 -0
- package/resources/v1/instrument-data/market-data.d.mts.map +1 -0
- package/resources/v1/instrument-data/market-data.d.ts +240 -0
- package/resources/v1/instrument-data/market-data.d.ts.map +1 -0
- package/resources/v1/instrument-data/market-data.js +49 -0
- package/resources/v1/instrument-data/market-data.js.map +1 -0
- package/resources/v1/instrument-data/market-data.mjs +45 -0
- package/resources/v1/instrument-data/market-data.mjs.map +1 -0
- package/resources/v1/instrument-data/news.d.mts +136 -0
- package/resources/v1/instrument-data/news.d.mts.map +1 -0
- package/resources/v1/instrument-data/news.d.ts +136 -0
- package/resources/v1/instrument-data/news.d.ts.map +1 -0
- package/resources/v1/instrument-data/news.js +25 -0
- package/resources/v1/instrument-data/news.js.map +1 -0
- package/resources/v1/instrument-data/news.mjs +21 -0
- package/resources/v1/instrument-data/news.mjs.map +1 -0
- package/resources/v1/instrument-data.d.mts +2 -0
- package/resources/v1/instrument-data.d.mts.map +1 -0
- package/resources/v1/instrument-data.d.ts +2 -0
- package/resources/v1/instrument-data.d.ts.map +1 -0
- package/resources/v1/instrument-data.js +6 -0
- package/resources/v1/instrument-data.js.map +1 -0
- package/resources/v1/instrument-data.mjs +3 -0
- package/resources/v1/instrument-data.mjs.map +1 -0
- package/resources/v1/instruments.d.mts +473 -0
- package/resources/v1/instruments.d.mts.map +1 -0
- package/resources/v1/instruments.d.ts +473 -0
- package/resources/v1/instruments.d.ts.map +1 -0
- package/resources/v1/instruments.js +77 -0
- package/resources/v1/instruments.js.map +1 -0
- package/resources/v1/instruments.mjs +73 -0
- package/resources/v1/instruments.mjs.map +1 -0
- package/resources/v1/omni-ai/entitlements.d.mts +108 -0
- package/resources/v1/omni-ai/entitlements.d.mts.map +1 -0
- package/resources/v1/omni-ai/entitlements.d.ts +108 -0
- package/resources/v1/omni-ai/entitlements.d.ts.map +1 -0
- package/resources/v1/omni-ai/entitlements.js +67 -0
- package/resources/v1/omni-ai/entitlements.js.map +1 -0
- package/resources/v1/omni-ai/entitlements.mjs +63 -0
- package/resources/v1/omni-ai/entitlements.mjs.map +1 -0
- package/resources/v1/omni-ai/index.d.mts +6 -0
- package/resources/v1/omni-ai/index.d.mts.map +1 -0
- package/resources/v1/omni-ai/index.d.ts +6 -0
- package/resources/v1/omni-ai/index.d.ts.map +1 -0
- package/resources/v1/omni-ai/index.js +15 -0
- package/resources/v1/omni-ai/index.js.map +1 -0
- package/resources/v1/omni-ai/index.mjs +7 -0
- package/resources/v1/omni-ai/index.mjs.map +1 -0
- package/resources/v1/omni-ai/messages.d.mts +85 -0
- package/resources/v1/omni-ai/messages.d.mts.map +1 -0
- package/resources/v1/omni-ai/messages.d.ts +85 -0
- package/resources/v1/omni-ai/messages.d.ts.map +1 -0
- package/resources/v1/omni-ai/messages.js +51 -0
- package/resources/v1/omni-ai/messages.js.map +1 -0
- package/resources/v1/omni-ai/messages.mjs +47 -0
- package/resources/v1/omni-ai/messages.mjs.map +1 -0
- package/resources/v1/omni-ai/omni-ai.d.mts +323 -0
- package/resources/v1/omni-ai/omni-ai.d.mts.map +1 -0
- package/resources/v1/omni-ai/omni-ai.d.ts +323 -0
- package/resources/v1/omni-ai/omni-ai.d.ts.map +1 -0
- package/resources/v1/omni-ai/omni-ai.js +29 -0
- package/resources/v1/omni-ai/omni-ai.js.map +1 -0
- package/resources/v1/omni-ai/omni-ai.mjs +24 -0
- package/resources/v1/omni-ai/omni-ai.mjs.map +1 -0
- package/resources/v1/omni-ai/responses.d.mts +158 -0
- package/resources/v1/omni-ai/responses.d.mts.map +1 -0
- package/resources/v1/omni-ai/responses.d.ts +158 -0
- package/resources/v1/omni-ai/responses.d.ts.map +1 -0
- package/resources/v1/omni-ai/responses.js +60 -0
- package/resources/v1/omni-ai/responses.js.map +1 -0
- package/resources/v1/omni-ai/responses.mjs +56 -0
- package/resources/v1/omni-ai/responses.mjs.map +1 -0
- package/resources/v1/omni-ai/threads.d.mts +338 -0
- package/resources/v1/omni-ai/threads.d.mts.map +1 -0
- package/resources/v1/omni-ai/threads.d.ts +338 -0
- package/resources/v1/omni-ai/threads.d.ts.map +1 -0
- package/resources/v1/omni-ai/threads.js +141 -0
- package/resources/v1/omni-ai/threads.js.map +1 -0
- package/resources/v1/omni-ai/threads.mjs +137 -0
- package/resources/v1/omni-ai/threads.mjs.map +1 -0
- package/resources/v1/omni-ai.d.mts +2 -0
- package/resources/v1/omni-ai.d.mts.map +1 -0
- package/resources/v1/omni-ai.d.ts +2 -0
- package/resources/v1/omni-ai.d.ts.map +1 -0
- package/resources/v1/omni-ai.js +6 -0
- package/resources/v1/omni-ai.js.map +1 -0
- package/resources/v1/omni-ai.mjs +3 -0
- package/resources/v1/omni-ai.mjs.map +1 -0
- package/resources/v1/orders.d.mts +643 -0
- package/resources/v1/orders.d.mts.map +1 -0
- package/resources/v1/orders.d.ts +643 -0
- package/resources/v1/orders.d.ts.map +1 -0
- package/resources/v1/orders.js +134 -0
- package/resources/v1/orders.js.map +1 -0
- package/resources/v1/orders.mjs +130 -0
- package/resources/v1/orders.mjs.map +1 -0
- package/resources/v1/positions.d.mts +385 -0
- package/resources/v1/positions.d.mts.map +1 -0
- package/resources/v1/positions.d.ts +385 -0
- package/resources/v1/positions.d.ts.map +1 -0
- package/resources/v1/positions.js +130 -0
- package/resources/v1/positions.js.map +1 -0
- package/resources/v1/positions.mjs +126 -0
- package/resources/v1/positions.mjs.map +1 -0
- package/resources/v1/v1.d.mts +51 -0
- package/resources/v1/v1.d.mts.map +1 -0
- package/resources/v1/v1.d.ts +51 -0
- package/resources/v1/v1.d.ts.map +1 -0
- package/resources/v1/v1.js +53 -0
- package/resources/v1/v1.js.map +1 -0
- package/resources/v1/v1.mjs +48 -0
- package/resources/v1/v1.mjs.map +1 -0
- package/resources/v1/watchlist.d.mts +210 -0
- package/resources/v1/watchlist.d.mts.map +1 -0
- package/resources/v1/watchlist.d.ts +210 -0
- package/resources/v1/watchlist.d.ts.map +1 -0
- package/resources/v1/watchlist.js +95 -0
- package/resources/v1/watchlist.js.map +1 -0
- package/resources/v1/watchlist.mjs +91 -0
- package/resources/v1/watchlist.mjs.map +1 -0
- package/resources/v1/websocket.d.mts +18 -0
- package/resources/v1/websocket.d.mts.map +1 -0
- package/resources/v1/websocket.d.ts +18 -0
- package/resources/v1/websocket.d.ts.map +1 -0
- package/resources/v1/websocket.js +27 -0
- package/resources/v1/websocket.js.map +1 -0
- package/resources/v1/websocket.mjs +23 -0
- package/resources/v1/websocket.mjs.map +1 -0
- package/resources/v1.d.mts +2 -0
- package/resources/v1.d.mts.map +1 -0
- package/resources/v1.d.ts +2 -0
- package/resources/v1.d.ts.map +1 -0
- package/resources/v1.js +6 -0
- package/resources/v1.js.map +1 -0
- package/resources/v1.mjs +3 -0
- package/resources/v1.mjs.map +1 -0
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +5 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/api-promise.ts +2 -0
- package/src/client.ts +769 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +130 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -0
- package/src/index.ts +22 -0
- package/src/internal/README.md +3 -0
- package/src/internal/builtin-types.ts +93 -0
- package/src/internal/detect-platform.ts +196 -0
- package/src/internal/errors.ts +33 -0
- package/src/internal/headers.ts +97 -0
- package/src/internal/parse.ts +56 -0
- package/src/internal/qs/LICENSE.md +13 -0
- package/src/internal/qs/README.md +3 -0
- package/src/internal/qs/formats.ts +10 -0
- package/src/internal/qs/index.ts +13 -0
- package/src/internal/qs/stringify.ts +385 -0
- package/src/internal/qs/types.ts +71 -0
- package/src/internal/qs/utils.ts +265 -0
- package/src/internal/request-options.ts +91 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +107 -0
- package/src/internal/to-file.ts +154 -0
- package/src/internal/types.ts +93 -0
- package/src/internal/uploads.ts +187 -0
- package/src/internal/utils/base64.ts +40 -0
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/env.ts +18 -0
- package/src/internal/utils/log.ts +128 -0
- package/src/internal/utils/path.ts +88 -0
- package/src/internal/utils/query.ts +7 -0
- package/src/internal/utils/sleep.ts +3 -0
- package/src/internal/utils/uuid.ts +17 -0
- package/src/internal/utils/values.ts +105 -0
- package/src/internal/utils.ts +9 -0
- package/src/lib/.keep +4 -0
- package/src/resource.ts +2 -0
- package/src/resources/index.ts +4 -0
- package/src/resources/shared.ts +72 -0
- package/src/resources/v1/accounts.ts +586 -0
- package/src/resources/v1/api-version.ts +44 -0
- package/src/resources/v1/calendar.ts +221 -0
- package/src/resources/v1/index.ts +203 -0
- package/src/resources/v1/instrument-data/index.ts +63 -0
- package/src/resources/v1/instrument-data/instrument-data.ts +1584 -0
- package/src/resources/v1/instrument-data/market-data.ts +306 -0
- package/src/resources/v1/instrument-data/news.ts +188 -0
- package/src/resources/v1/instrument-data.ts +3 -0
- package/src/resources/v1/instruments.ts +611 -0
- package/src/resources/v1/omni-ai/entitlements.ts +170 -0
- package/src/resources/v1/omni-ai/index.ts +89 -0
- package/src/resources/v1/omni-ai/messages.ts +117 -0
- package/src/resources/v1/omni-ai/omni-ai.ts +527 -0
- package/src/resources/v1/omni-ai/responses.ts +220 -0
- package/src/resources/v1/omni-ai/threads.ts +460 -0
- package/src/resources/v1/omni-ai.ts +3 -0
- package/src/resources/v1/orders.ts +912 -0
- package/src/resources/v1/positions.ts +533 -0
- package/src/resources/v1/v1.ts +460 -0
- package/src/resources/v1/watchlist.ts +292 -0
- package/src/resources/v1/websocket.ts +26 -0
- package/src/resources/v1.ts +3 -0
- package/src/resources.ts +1 -0
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +2 -0
- package/src/version.ts +1 -0
- package/uploads.d.mts +3 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +3 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +6 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +3 -0
- package/uploads.mjs.map +1 -0
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
|
@@ -0,0 +1,1202 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as Shared from "../../shared.js";
|
|
3
|
+
import * as OrdersAPI from "../orders.js";
|
|
4
|
+
import * as MarketDataAPI from "./market-data.js";
|
|
5
|
+
import { DailySummary, DailySummaryList, MarketData, MarketDataGetDailySummariesParams, MarketDataGetDailySummariesResponse, MarketDataGetSnapshotsParams, MarketDataGetSnapshotsResponse, MarketDataSnapshot, MarketDataSnapshotList, SnapshotGreeks, SnapshotLastTrade, SnapshotQuote, SnapshotSession } from "./market-data.js";
|
|
6
|
+
import * as NewsAPI from "./news.js";
|
|
7
|
+
import { News, NewsGetNewsParams, NewsGetNewsResponse, NewsInstrument, NewsItem, NewsItemList, NewsType } from "./news.js";
|
|
8
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
9
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
10
|
+
/**
|
|
11
|
+
* Retrieve instrument analytics, market data, news, and related reference data.
|
|
12
|
+
*/
|
|
13
|
+
export declare class InstrumentData extends APIResource {
|
|
14
|
+
marketData: MarketDataAPI.MarketData;
|
|
15
|
+
news: NewsAPI.News;
|
|
16
|
+
/**
|
|
17
|
+
* List instrument events across all securities.
|
|
18
|
+
*
|
|
19
|
+
* Retrieves all instrument events grouped by date.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* const response =
|
|
24
|
+
* await client.v1.instrumentData.getAllInstrumentEvents();
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
getAllInstrumentEvents(query?: InstrumentDataGetAllInstrumentEventsParams | null | undefined, options?: RequestOptions): APIPromise<InstrumentDataGetAllInstrumentEventsResponse>;
|
|
28
|
+
/**
|
|
29
|
+
* Retrieves analyst ratings and price targets for an instrument.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const response =
|
|
34
|
+
* await client.v1.instrumentData.getInstrumentAnalystConsensus(
|
|
35
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
36
|
+
* );
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
getInstrumentAnalystConsensus(instrumentID: OrdersAPI.InstrumentIDOrSymbol, query?: InstrumentDataGetInstrumentAnalystConsensusParams | null | undefined, options?: RequestOptions): APIPromise<InstrumentDataGetInstrumentAnalystConsensusResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* Get balance sheet statements for an instrument.
|
|
42
|
+
*
|
|
43
|
+
* Retrieves quarterly balance sheet statements for a specific instrument, sorted
|
|
44
|
+
* by fiscal period (most recent first).
|
|
45
|
+
*
|
|
46
|
+
* Date range defaults:
|
|
47
|
+
*
|
|
48
|
+
* - `from_date`: None (no lower bound)
|
|
49
|
+
* - `to_date`: None (no upper bound)
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```ts
|
|
53
|
+
* const response =
|
|
54
|
+
* await client.v1.instrumentData.getInstrumentBalanceSheetStatements(
|
|
55
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
56
|
+
* );
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
getInstrumentBalanceSheetStatements(instrumentID: OrdersAPI.InstrumentIDOrSymbol, query?: InstrumentDataGetInstrumentBalanceSheetStatementsParams | null | undefined, options?: RequestOptions): APIPromise<InstrumentDataGetInstrumentBalanceSheetStatementsResponse>;
|
|
60
|
+
/**
|
|
61
|
+
* Get cash flow statements for an instrument.
|
|
62
|
+
*
|
|
63
|
+
* Retrieves historical cash flow statements for the specified instrument. Cash
|
|
64
|
+
* flow statements show cash inflows and outflows from operating, investing, and
|
|
65
|
+
* financing activities.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ```ts
|
|
69
|
+
* const response =
|
|
70
|
+
* await client.v1.instrumentData.getInstrumentCashFlowStatements(
|
|
71
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
72
|
+
* );
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
getInstrumentCashFlowStatements(instrumentID: OrdersAPI.InstrumentIDOrSymbol, query?: InstrumentDataGetInstrumentCashFlowStatementsParams | null | undefined, options?: RequestOptions): APIPromise<InstrumentDataGetInstrumentCashFlowStatementsResponse>;
|
|
76
|
+
/**
|
|
77
|
+
* Retrieves corporate events (dividends, splits, etc.) for an instrument, grouped
|
|
78
|
+
* by event type.
|
|
79
|
+
*
|
|
80
|
+
* Date range defaults:
|
|
81
|
+
*
|
|
82
|
+
* - `from_date`: today - 365 days
|
|
83
|
+
* - `to_date`: today + 60 days
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* ```ts
|
|
87
|
+
* const response =
|
|
88
|
+
* await client.v1.instrumentData.getInstrumentEvents(
|
|
89
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
90
|
+
* );
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
getInstrumentEvents(instrumentID: OrdersAPI.InstrumentIDOrSymbol, query?: InstrumentDataGetInstrumentEventsParams | null | undefined, options?: RequestOptions): APIPromise<InstrumentDataGetInstrumentEventsResponse>;
|
|
94
|
+
/**
|
|
95
|
+
* Retrieves supplemental fundamentals and company profile data for an instrument.
|
|
96
|
+
*
|
|
97
|
+
* @example
|
|
98
|
+
* ```ts
|
|
99
|
+
* const response =
|
|
100
|
+
* await client.v1.instrumentData.getInstrumentFundamentals(
|
|
101
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
102
|
+
* );
|
|
103
|
+
* ```
|
|
104
|
+
*/
|
|
105
|
+
getInstrumentFundamentals(instrumentID: OrdersAPI.InstrumentIDOrSymbol, options?: RequestOptions): APIPromise<InstrumentDataGetInstrumentFundamentalsResponse>;
|
|
106
|
+
/**
|
|
107
|
+
* Retrieves quarterly income statements for a specific instrument, sorted by
|
|
108
|
+
* fiscal period (most recent first).
|
|
109
|
+
*
|
|
110
|
+
* Date range defaults:
|
|
111
|
+
*
|
|
112
|
+
* - `from_date`: None (no lower bound)
|
|
113
|
+
* - `to_date`: None (no upper bound)
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* ```ts
|
|
117
|
+
* const response =
|
|
118
|
+
* await client.v1.instrumentData.getInstrumentIncomeStatements(
|
|
119
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
120
|
+
* );
|
|
121
|
+
* ```
|
|
122
|
+
*/
|
|
123
|
+
getInstrumentIncomeStatements(instrumentID: OrdersAPI.InstrumentIDOrSymbol, query?: InstrumentDataGetInstrumentIncomeStatementsParams | null | undefined, options?: RequestOptions): APIPromise<InstrumentDataGetInstrumentIncomeStatementsResponse>;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Event types supported by the all-events endpoint.
|
|
127
|
+
*/
|
|
128
|
+
export type AllEventsEventType = 'EARNINGS' | 'DIVIDEND' | 'STOCK_SPLIT' | 'IPO';
|
|
129
|
+
/**
|
|
130
|
+
* Analyst recommendation distribution
|
|
131
|
+
*/
|
|
132
|
+
export interface AnalystDistribution {
|
|
133
|
+
/**
|
|
134
|
+
* Number of buy recommendations
|
|
135
|
+
*/
|
|
136
|
+
buy: number;
|
|
137
|
+
/**
|
|
138
|
+
* Number of hold recommendations
|
|
139
|
+
*/
|
|
140
|
+
hold: number;
|
|
141
|
+
/**
|
|
142
|
+
* Number of sell recommendations
|
|
143
|
+
*/
|
|
144
|
+
sell: number;
|
|
145
|
+
/**
|
|
146
|
+
* Number of strong buy recommendations
|
|
147
|
+
*/
|
|
148
|
+
strong_buy: number;
|
|
149
|
+
/**
|
|
150
|
+
* Number of strong sell recommendations
|
|
151
|
+
*/
|
|
152
|
+
strong_sell: number;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Analyst rating category
|
|
156
|
+
*/
|
|
157
|
+
export type AnalystRating = 'STRONG_BUY' | 'BUY' | 'HOLD' | 'SELL' | 'STRONG_SELL';
|
|
158
|
+
/**
|
|
159
|
+
* Fiscal period type for earnings reports
|
|
160
|
+
*/
|
|
161
|
+
export type FiscalPeriodType = 'QUARTERLY' | 'ANNUAL' | 'TTM' | 'BIANNUAL';
|
|
162
|
+
/**
|
|
163
|
+
* All-events payload grouped by date.
|
|
164
|
+
*/
|
|
165
|
+
export interface InstrumentAllEventsData {
|
|
166
|
+
/**
|
|
167
|
+
* Events grouped by date in descending order.
|
|
168
|
+
*/
|
|
169
|
+
event_dates: Array<InstrumentEventsByDate>;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Aggregated analyst consensus metrics
|
|
173
|
+
*/
|
|
174
|
+
export interface InstrumentAnalystConsensus {
|
|
175
|
+
/**
|
|
176
|
+
* The date the consensus snapshot was generated
|
|
177
|
+
*/
|
|
178
|
+
date: string;
|
|
179
|
+
/**
|
|
180
|
+
* Count of individual analyst recommendations by category
|
|
181
|
+
*/
|
|
182
|
+
distribution?: AnalystDistribution | null;
|
|
183
|
+
/**
|
|
184
|
+
* Aggregated analyst price target statistics
|
|
185
|
+
*/
|
|
186
|
+
price_target?: PriceTarget | null;
|
|
187
|
+
/**
|
|
188
|
+
* Consensus analyst rating
|
|
189
|
+
*/
|
|
190
|
+
rating?: AnalystRating | null;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* A quarterly balance sheet statement for an instrument.
|
|
194
|
+
*/
|
|
195
|
+
export interface InstrumentBalanceSheetStatement {
|
|
196
|
+
/**
|
|
197
|
+
* The date and time when the filing was accepted by the SEC
|
|
198
|
+
*/
|
|
199
|
+
accepted_date: string;
|
|
200
|
+
/**
|
|
201
|
+
* The date the financial statement was filed
|
|
202
|
+
*/
|
|
203
|
+
filing_date: string;
|
|
204
|
+
/**
|
|
205
|
+
* The fiscal period identifier (e.g., "Q1", "Q2", "Q3", "Q4")
|
|
206
|
+
*/
|
|
207
|
+
period: string;
|
|
208
|
+
/**
|
|
209
|
+
* The type of fiscal period
|
|
210
|
+
*/
|
|
211
|
+
period_type: FiscalPeriodType;
|
|
212
|
+
/**
|
|
213
|
+
* The currency in which the statement is reported (ISO 4217)
|
|
214
|
+
*/
|
|
215
|
+
reported_currency: string;
|
|
216
|
+
/**
|
|
217
|
+
* The fiscal year of the statement
|
|
218
|
+
*/
|
|
219
|
+
year: number;
|
|
220
|
+
/**
|
|
221
|
+
* Account payables
|
|
222
|
+
*/
|
|
223
|
+
account_payables?: string | null;
|
|
224
|
+
/**
|
|
225
|
+
* Accounts receivables
|
|
226
|
+
*/
|
|
227
|
+
accounts_receivables?: string | null;
|
|
228
|
+
/**
|
|
229
|
+
* Accrued expenses
|
|
230
|
+
*/
|
|
231
|
+
accrued_expenses?: string | null;
|
|
232
|
+
/**
|
|
233
|
+
* Accumulated other comprehensive income/loss
|
|
234
|
+
*/
|
|
235
|
+
accumulated_other_comprehensive_income_loss?: string | null;
|
|
236
|
+
/**
|
|
237
|
+
* Additional paid-in capital
|
|
238
|
+
*/
|
|
239
|
+
additional_paid_in_capital?: string | null;
|
|
240
|
+
/**
|
|
241
|
+
* Capital lease obligations (total)
|
|
242
|
+
*/
|
|
243
|
+
capital_lease_obligations?: string | null;
|
|
244
|
+
/**
|
|
245
|
+
* Capital lease obligations (current portion)
|
|
246
|
+
*/
|
|
247
|
+
capital_lease_obligations_current?: string | null;
|
|
248
|
+
/**
|
|
249
|
+
* Cash and cash equivalents
|
|
250
|
+
*/
|
|
251
|
+
cash_and_cash_equivalents?: string | null;
|
|
252
|
+
/**
|
|
253
|
+
* Cash and short-term investments combined
|
|
254
|
+
*/
|
|
255
|
+
cash_and_short_term_investments?: string | null;
|
|
256
|
+
/**
|
|
257
|
+
* Common stock
|
|
258
|
+
*/
|
|
259
|
+
common_stock?: string | null;
|
|
260
|
+
/**
|
|
261
|
+
* Deferred revenue
|
|
262
|
+
*/
|
|
263
|
+
deferred_revenue?: string | null;
|
|
264
|
+
/**
|
|
265
|
+
* Deferred revenue (non-current)
|
|
266
|
+
*/
|
|
267
|
+
deferred_revenue_non_current?: string | null;
|
|
268
|
+
/**
|
|
269
|
+
* Deferred tax liabilities (non-current)
|
|
270
|
+
*/
|
|
271
|
+
deferred_tax_liabilities_non_current?: string | null;
|
|
272
|
+
/**
|
|
273
|
+
* Goodwill
|
|
274
|
+
*/
|
|
275
|
+
goodwill?: string | null;
|
|
276
|
+
/**
|
|
277
|
+
* Goodwill and intangible assets combined
|
|
278
|
+
*/
|
|
279
|
+
goodwill_and_intangible_assets?: string | null;
|
|
280
|
+
/**
|
|
281
|
+
* Intangible assets
|
|
282
|
+
*/
|
|
283
|
+
intangible_assets?: string | null;
|
|
284
|
+
/**
|
|
285
|
+
* Inventory
|
|
286
|
+
*/
|
|
287
|
+
inventory?: string | null;
|
|
288
|
+
/**
|
|
289
|
+
* Long-term debt
|
|
290
|
+
*/
|
|
291
|
+
long_term_debt?: string | null;
|
|
292
|
+
/**
|
|
293
|
+
* Long-term investments
|
|
294
|
+
*/
|
|
295
|
+
long_term_investments?: string | null;
|
|
296
|
+
/**
|
|
297
|
+
* Minority interest
|
|
298
|
+
*/
|
|
299
|
+
minority_interest?: string | null;
|
|
300
|
+
/**
|
|
301
|
+
* Net debt (total debt minus cash)
|
|
302
|
+
*/
|
|
303
|
+
net_debt?: string | null;
|
|
304
|
+
/**
|
|
305
|
+
* Net receivables
|
|
306
|
+
*/
|
|
307
|
+
net_receivables?: string | null;
|
|
308
|
+
/**
|
|
309
|
+
* Other assets
|
|
310
|
+
*/
|
|
311
|
+
other_assets?: string | null;
|
|
312
|
+
/**
|
|
313
|
+
* Other current assets
|
|
314
|
+
*/
|
|
315
|
+
other_current_assets?: string | null;
|
|
316
|
+
/**
|
|
317
|
+
* Other current liabilities
|
|
318
|
+
*/
|
|
319
|
+
other_current_liabilities?: string | null;
|
|
320
|
+
/**
|
|
321
|
+
* Other liabilities
|
|
322
|
+
*/
|
|
323
|
+
other_liabilities?: string | null;
|
|
324
|
+
/**
|
|
325
|
+
* Other non-current assets
|
|
326
|
+
*/
|
|
327
|
+
other_non_current_assets?: string | null;
|
|
328
|
+
/**
|
|
329
|
+
* Other non-current liabilities
|
|
330
|
+
*/
|
|
331
|
+
other_non_current_liabilities?: string | null;
|
|
332
|
+
/**
|
|
333
|
+
* Other payables
|
|
334
|
+
*/
|
|
335
|
+
other_payables?: string | null;
|
|
336
|
+
/**
|
|
337
|
+
* Other receivables
|
|
338
|
+
*/
|
|
339
|
+
other_receivables?: string | null;
|
|
340
|
+
/**
|
|
341
|
+
* Other total stockholders equity
|
|
342
|
+
*/
|
|
343
|
+
other_total_stockholders_equity?: string | null;
|
|
344
|
+
/**
|
|
345
|
+
* Preferred stock
|
|
346
|
+
*/
|
|
347
|
+
preferred_stock?: string | null;
|
|
348
|
+
/**
|
|
349
|
+
* Prepaids
|
|
350
|
+
*/
|
|
351
|
+
prepaids?: string | null;
|
|
352
|
+
/**
|
|
353
|
+
* Property, plant and equipment net of depreciation
|
|
354
|
+
*/
|
|
355
|
+
property_plant_and_equipment_net?: string | null;
|
|
356
|
+
/**
|
|
357
|
+
* Retained earnings
|
|
358
|
+
*/
|
|
359
|
+
retained_earnings?: string | null;
|
|
360
|
+
/**
|
|
361
|
+
* Short-term debt
|
|
362
|
+
*/
|
|
363
|
+
short_term_debt?: string | null;
|
|
364
|
+
/**
|
|
365
|
+
* Short-term investments
|
|
366
|
+
*/
|
|
367
|
+
short_term_investments?: string | null;
|
|
368
|
+
/**
|
|
369
|
+
* Tax assets
|
|
370
|
+
*/
|
|
371
|
+
tax_assets?: string | null;
|
|
372
|
+
/**
|
|
373
|
+
* Tax payables
|
|
374
|
+
*/
|
|
375
|
+
tax_payables?: string | null;
|
|
376
|
+
/**
|
|
377
|
+
* Total assets
|
|
378
|
+
*/
|
|
379
|
+
total_assets?: string | null;
|
|
380
|
+
/**
|
|
381
|
+
* Total current assets
|
|
382
|
+
*/
|
|
383
|
+
total_current_assets?: string | null;
|
|
384
|
+
/**
|
|
385
|
+
* Total current liabilities
|
|
386
|
+
*/
|
|
387
|
+
total_current_liabilities?: string | null;
|
|
388
|
+
/**
|
|
389
|
+
* Total debt
|
|
390
|
+
*/
|
|
391
|
+
total_debt?: string | null;
|
|
392
|
+
/**
|
|
393
|
+
* Total equity
|
|
394
|
+
*/
|
|
395
|
+
total_equity?: string | null;
|
|
396
|
+
/**
|
|
397
|
+
* Total investments
|
|
398
|
+
*/
|
|
399
|
+
total_investments?: string | null;
|
|
400
|
+
/**
|
|
401
|
+
* Total liabilities
|
|
402
|
+
*/
|
|
403
|
+
total_liabilities?: string | null;
|
|
404
|
+
/**
|
|
405
|
+
* Total liabilities and total equity
|
|
406
|
+
*/
|
|
407
|
+
total_liabilities_and_total_equity?: string | null;
|
|
408
|
+
/**
|
|
409
|
+
* Total non-current assets
|
|
410
|
+
*/
|
|
411
|
+
total_non_current_assets?: string | null;
|
|
412
|
+
/**
|
|
413
|
+
* Total non-current liabilities
|
|
414
|
+
*/
|
|
415
|
+
total_non_current_liabilities?: string | null;
|
|
416
|
+
/**
|
|
417
|
+
* Total payables
|
|
418
|
+
*/
|
|
419
|
+
total_payables?: string | null;
|
|
420
|
+
/**
|
|
421
|
+
* Total stockholders equity
|
|
422
|
+
*/
|
|
423
|
+
total_stockholders_equity?: string | null;
|
|
424
|
+
/**
|
|
425
|
+
* Treasury stock
|
|
426
|
+
*/
|
|
427
|
+
treasury_stock?: string | null;
|
|
428
|
+
}
|
|
429
|
+
export type InstrumentBalanceSheetStatementList = Array<InstrumentBalanceSheetStatement>;
|
|
430
|
+
/**
|
|
431
|
+
* A quarterly cash flow statement for an instrument.
|
|
432
|
+
*/
|
|
433
|
+
export interface InstrumentCashFlowStatement {
|
|
434
|
+
/**
|
|
435
|
+
* The date and time when the filing was accepted by the SEC
|
|
436
|
+
*/
|
|
437
|
+
accepted_date: string;
|
|
438
|
+
/**
|
|
439
|
+
* The date the financial statement was filed
|
|
440
|
+
*/
|
|
441
|
+
filing_date: string;
|
|
442
|
+
/**
|
|
443
|
+
* The fiscal period identifier (e.g., "Q1", "Q2", "Q3", "Q4")
|
|
444
|
+
*/
|
|
445
|
+
period: string;
|
|
446
|
+
/**
|
|
447
|
+
* The type of fiscal period
|
|
448
|
+
*/
|
|
449
|
+
period_type: FiscalPeriodType;
|
|
450
|
+
/**
|
|
451
|
+
* The currency in which the statement is reported (ISO 4217)
|
|
452
|
+
*/
|
|
453
|
+
reported_currency: string;
|
|
454
|
+
/**
|
|
455
|
+
* The fiscal year of the statement
|
|
456
|
+
*/
|
|
457
|
+
year: number;
|
|
458
|
+
/**
|
|
459
|
+
* Change in accounts payables
|
|
460
|
+
*/
|
|
461
|
+
accounts_payables?: string | null;
|
|
462
|
+
/**
|
|
463
|
+
* Change in accounts receivables
|
|
464
|
+
*/
|
|
465
|
+
accounts_receivables?: string | null;
|
|
466
|
+
/**
|
|
467
|
+
* Net acquisitions
|
|
468
|
+
*/
|
|
469
|
+
acquisitions_net?: string | null;
|
|
470
|
+
/**
|
|
471
|
+
* Capital expenditure
|
|
472
|
+
*/
|
|
473
|
+
capital_expenditure?: string | null;
|
|
474
|
+
/**
|
|
475
|
+
* Cash and cash equivalents at beginning of period
|
|
476
|
+
*/
|
|
477
|
+
cash_at_beginning_of_period?: string | null;
|
|
478
|
+
/**
|
|
479
|
+
* Cash and cash equivalents at end of period
|
|
480
|
+
*/
|
|
481
|
+
cash_at_end_of_period?: string | null;
|
|
482
|
+
/**
|
|
483
|
+
* Change in working capital
|
|
484
|
+
*/
|
|
485
|
+
change_in_working_capital?: string | null;
|
|
486
|
+
/**
|
|
487
|
+
* Common dividends paid
|
|
488
|
+
*/
|
|
489
|
+
common_dividends_paid?: string | null;
|
|
490
|
+
/**
|
|
491
|
+
* Common stock issuance
|
|
492
|
+
*/
|
|
493
|
+
common_stock_issuance?: string | null;
|
|
494
|
+
/**
|
|
495
|
+
* Common stock repurchased (buybacks)
|
|
496
|
+
*/
|
|
497
|
+
common_stock_repurchased?: string | null;
|
|
498
|
+
/**
|
|
499
|
+
* Deferred income tax expense
|
|
500
|
+
*/
|
|
501
|
+
deferred_income_tax?: string | null;
|
|
502
|
+
/**
|
|
503
|
+
* Depreciation and amortization expense
|
|
504
|
+
*/
|
|
505
|
+
depreciation_and_amortization?: string | null;
|
|
506
|
+
/**
|
|
507
|
+
* Effect of foreign exchange changes on cash
|
|
508
|
+
*/
|
|
509
|
+
effect_of_forex_changes_on_cash?: string | null;
|
|
510
|
+
/**
|
|
511
|
+
* Free cash flow (operating cash flow minus capital expenditure)
|
|
512
|
+
*/
|
|
513
|
+
free_cash_flow?: string | null;
|
|
514
|
+
/**
|
|
515
|
+
* Income taxes paid
|
|
516
|
+
*/
|
|
517
|
+
income_taxes_paid?: string | null;
|
|
518
|
+
/**
|
|
519
|
+
* Interest paid
|
|
520
|
+
*/
|
|
521
|
+
interest_paid?: string | null;
|
|
522
|
+
/**
|
|
523
|
+
* Change in inventory
|
|
524
|
+
*/
|
|
525
|
+
inventory?: string | null;
|
|
526
|
+
/**
|
|
527
|
+
* Investments in property, plant, and equipment
|
|
528
|
+
*/
|
|
529
|
+
investments_in_property_plant_and_equipment?: string | null;
|
|
530
|
+
/**
|
|
531
|
+
* Long-term net debt issuance
|
|
532
|
+
*/
|
|
533
|
+
long_term_net_debt_issuance?: string | null;
|
|
534
|
+
/**
|
|
535
|
+
* Net cash provided by financing activities
|
|
536
|
+
*/
|
|
537
|
+
net_cash_provided_by_financing_activities?: string | null;
|
|
538
|
+
/**
|
|
539
|
+
* Net cash provided by investing activities
|
|
540
|
+
*/
|
|
541
|
+
net_cash_provided_by_investing_activities?: string | null;
|
|
542
|
+
/**
|
|
543
|
+
* Net cash provided by operating activities
|
|
544
|
+
*/
|
|
545
|
+
net_cash_provided_by_operating_activities?: string | null;
|
|
546
|
+
/**
|
|
547
|
+
* Net change in cash during the period
|
|
548
|
+
*/
|
|
549
|
+
net_change_in_cash?: string | null;
|
|
550
|
+
/**
|
|
551
|
+
* Net common stock issuance
|
|
552
|
+
*/
|
|
553
|
+
net_common_stock_issuance?: string | null;
|
|
554
|
+
/**
|
|
555
|
+
* Net debt issuance (long-term + short-term)
|
|
556
|
+
*/
|
|
557
|
+
net_debt_issuance?: string | null;
|
|
558
|
+
/**
|
|
559
|
+
* Net dividends paid (common + preferred)
|
|
560
|
+
*/
|
|
561
|
+
net_dividends_paid?: string | null;
|
|
562
|
+
/**
|
|
563
|
+
* Net income for the period
|
|
564
|
+
*/
|
|
565
|
+
net_income?: string | null;
|
|
566
|
+
/**
|
|
567
|
+
* Net preferred stock issuance
|
|
568
|
+
*/
|
|
569
|
+
net_preferred_stock_issuance?: string | null;
|
|
570
|
+
/**
|
|
571
|
+
* Net stock issuance (common + preferred)
|
|
572
|
+
*/
|
|
573
|
+
net_stock_issuance?: string | null;
|
|
574
|
+
/**
|
|
575
|
+
* Operating cash flow (alternative calculation)
|
|
576
|
+
*/
|
|
577
|
+
operating_cash_flow?: string | null;
|
|
578
|
+
/**
|
|
579
|
+
* Other financing activities
|
|
580
|
+
*/
|
|
581
|
+
other_financing_activities?: string | null;
|
|
582
|
+
/**
|
|
583
|
+
* Other investing activities
|
|
584
|
+
*/
|
|
585
|
+
other_investing_activities?: string | null;
|
|
586
|
+
/**
|
|
587
|
+
* Other non-cash items
|
|
588
|
+
*/
|
|
589
|
+
other_non_cash_items?: string | null;
|
|
590
|
+
/**
|
|
591
|
+
* Change in other working capital
|
|
592
|
+
*/
|
|
593
|
+
other_working_capital?: string | null;
|
|
594
|
+
/**
|
|
595
|
+
* Preferred dividends paid
|
|
596
|
+
*/
|
|
597
|
+
preferred_dividends_paid?: string | null;
|
|
598
|
+
/**
|
|
599
|
+
* Purchases of investments
|
|
600
|
+
*/
|
|
601
|
+
purchases_of_investments?: string | null;
|
|
602
|
+
/**
|
|
603
|
+
* Sales and maturities of investments
|
|
604
|
+
*/
|
|
605
|
+
sales_maturities_of_investments?: string | null;
|
|
606
|
+
/**
|
|
607
|
+
* Short-term net debt issuance
|
|
608
|
+
*/
|
|
609
|
+
short_term_net_debt_issuance?: string | null;
|
|
610
|
+
/**
|
|
611
|
+
* Stock-based compensation expense
|
|
612
|
+
*/
|
|
613
|
+
stock_based_compensation?: string | null;
|
|
614
|
+
}
|
|
615
|
+
export type InstrumentCashFlowStatementList = Array<InstrumentCashFlowStatement>;
|
|
616
|
+
/**
|
|
617
|
+
* Represents a dividend event for an instrument
|
|
618
|
+
*/
|
|
619
|
+
export interface InstrumentDividendEvent {
|
|
620
|
+
/**
|
|
621
|
+
* The adjusted dividend amount accounting for any splits.
|
|
622
|
+
*/
|
|
623
|
+
adjusted_dividend_amount: string;
|
|
624
|
+
/**
|
|
625
|
+
* The day the stock starts trading without the right to receive that dividend.
|
|
626
|
+
*/
|
|
627
|
+
ex_date: string;
|
|
628
|
+
/**
|
|
629
|
+
* The declaration date of the dividend
|
|
630
|
+
*/
|
|
631
|
+
declaration_date?: string | null;
|
|
632
|
+
/**
|
|
633
|
+
* The dividend amount per share.
|
|
634
|
+
*/
|
|
635
|
+
dividend_amount?: string | null;
|
|
636
|
+
/**
|
|
637
|
+
* The dividend yield as a percentage of the stock price.
|
|
638
|
+
*/
|
|
639
|
+
dividend_yield?: string | null;
|
|
640
|
+
/**
|
|
641
|
+
* The frequency of the dividend payments (e.g., "Quarterly", "Annual").
|
|
642
|
+
*/
|
|
643
|
+
frequency?: string | null;
|
|
644
|
+
/**
|
|
645
|
+
* The payment date is the date on which a declared stock dividend is scheduled to
|
|
646
|
+
* be paid.
|
|
647
|
+
*/
|
|
648
|
+
payment_date?: string | null;
|
|
649
|
+
/**
|
|
650
|
+
* The record date, set by a company's board of directors, is when a company
|
|
651
|
+
* compiles a list of shareholders of the stock for which it has declared a
|
|
652
|
+
* dividend.
|
|
653
|
+
*/
|
|
654
|
+
record_date?: string | null;
|
|
655
|
+
}
|
|
656
|
+
/**
|
|
657
|
+
* Represents instrument earnings data
|
|
658
|
+
*/
|
|
659
|
+
export interface InstrumentEarnings {
|
|
660
|
+
/**
|
|
661
|
+
* The date when the earnings report was published
|
|
662
|
+
*/
|
|
663
|
+
date: string;
|
|
664
|
+
/**
|
|
665
|
+
* The actual earnings per share (EPS) for the period
|
|
666
|
+
*/
|
|
667
|
+
eps_actual?: string | null;
|
|
668
|
+
/**
|
|
669
|
+
* The estimated earnings per share (EPS) for the period
|
|
670
|
+
*/
|
|
671
|
+
eps_estimate?: string | null;
|
|
672
|
+
/**
|
|
673
|
+
* The percentage difference between actual and estimated EPS
|
|
674
|
+
*/
|
|
675
|
+
eps_surprise_percent?: string | null;
|
|
676
|
+
/**
|
|
677
|
+
* The actual total revenue for the period
|
|
678
|
+
*/
|
|
679
|
+
revenue_actual?: string | null;
|
|
680
|
+
/**
|
|
681
|
+
* The estimated total revenue for the period
|
|
682
|
+
*/
|
|
683
|
+
revenue_estimate?: string | null;
|
|
684
|
+
/**
|
|
685
|
+
* The percentage difference between actual and estimated revenue
|
|
686
|
+
*/
|
|
687
|
+
revenue_surprise_percent?: string | null;
|
|
688
|
+
}
|
|
689
|
+
/**
|
|
690
|
+
* Unified envelope for the all-events response.
|
|
691
|
+
*/
|
|
692
|
+
export interface InstrumentEventEnvelope {
|
|
693
|
+
/**
|
|
694
|
+
* Symbol associated with the event.
|
|
695
|
+
*/
|
|
696
|
+
symbol: string;
|
|
697
|
+
/**
|
|
698
|
+
* Event type discriminator.
|
|
699
|
+
*/
|
|
700
|
+
type: AllEventsEventType;
|
|
701
|
+
/**
|
|
702
|
+
* Dividend payload when type is DIVIDEND.
|
|
703
|
+
*/
|
|
704
|
+
dividend_event_data?: InstrumentDividendEvent | null;
|
|
705
|
+
/**
|
|
706
|
+
* Earnings payload when type is EARNINGS.
|
|
707
|
+
*/
|
|
708
|
+
earnings_event_data?: InstrumentEarnings | null;
|
|
709
|
+
/**
|
|
710
|
+
* OEMS instrument identifier, when the instrument is found in the instrument
|
|
711
|
+
* cache.
|
|
712
|
+
*/
|
|
713
|
+
instrument_id?: string | null;
|
|
714
|
+
/**
|
|
715
|
+
* IPO payload when type is IPO.
|
|
716
|
+
*/
|
|
717
|
+
ipo_event_data?: InstrumentEventIpoItem | null;
|
|
718
|
+
/**
|
|
719
|
+
* Instrument name associated with the event, when available.
|
|
720
|
+
*/
|
|
721
|
+
name?: string | null;
|
|
722
|
+
/**
|
|
723
|
+
* The currency used for reporting financial data.
|
|
724
|
+
*/
|
|
725
|
+
reporting_currency?: string | null;
|
|
726
|
+
/**
|
|
727
|
+
* Stock split payload when type is STOCK_SPLIT.
|
|
728
|
+
*/
|
|
729
|
+
stock_split_event_data?: InstrumentSplitEvent | null;
|
|
730
|
+
}
|
|
731
|
+
/**
|
|
732
|
+
* IPO event in the all-events date grouping response.
|
|
733
|
+
*/
|
|
734
|
+
export interface InstrumentEventIpoItem {
|
|
735
|
+
/**
|
|
736
|
+
* IPO action.
|
|
737
|
+
*/
|
|
738
|
+
actions?: string | null;
|
|
739
|
+
/**
|
|
740
|
+
* IPO announced timestamp.
|
|
741
|
+
*/
|
|
742
|
+
announced_at?: string | null;
|
|
743
|
+
/**
|
|
744
|
+
* IPO company name.
|
|
745
|
+
*/
|
|
746
|
+
company?: string | null;
|
|
747
|
+
/**
|
|
748
|
+
* IPO exchange.
|
|
749
|
+
*/
|
|
750
|
+
exchange?: string | null;
|
|
751
|
+
/**
|
|
752
|
+
* IPO market cap.
|
|
753
|
+
*/
|
|
754
|
+
market_cap?: string | null;
|
|
755
|
+
/**
|
|
756
|
+
* IPO price range.
|
|
757
|
+
*/
|
|
758
|
+
price_range?: string | null;
|
|
759
|
+
/**
|
|
760
|
+
* IPO shares offered.
|
|
761
|
+
*/
|
|
762
|
+
shares?: string | null;
|
|
763
|
+
}
|
|
764
|
+
/**
|
|
765
|
+
* Instrument events for a single date.
|
|
766
|
+
*/
|
|
767
|
+
export interface InstrumentEventsByDate {
|
|
768
|
+
/**
|
|
769
|
+
* Event date.
|
|
770
|
+
*/
|
|
771
|
+
date: string;
|
|
772
|
+
/**
|
|
773
|
+
* Flat event envelopes for this date.
|
|
774
|
+
*/
|
|
775
|
+
events: Array<InstrumentEventEnvelope>;
|
|
776
|
+
}
|
|
777
|
+
/**
|
|
778
|
+
* Grouped instrument events by type
|
|
779
|
+
*/
|
|
780
|
+
export interface InstrumentEventsData {
|
|
781
|
+
/**
|
|
782
|
+
* Dividend distribution events
|
|
783
|
+
*/
|
|
784
|
+
dividends: Array<InstrumentDividendEvent>;
|
|
785
|
+
/**
|
|
786
|
+
* Earnings announcement events
|
|
787
|
+
*/
|
|
788
|
+
earnings: Array<InstrumentEarnings>;
|
|
789
|
+
/**
|
|
790
|
+
* OEMS instrument UUID from the request
|
|
791
|
+
*/
|
|
792
|
+
instrument_id: string;
|
|
793
|
+
/**
|
|
794
|
+
* Stock split events
|
|
795
|
+
*/
|
|
796
|
+
splits: Array<InstrumentSplitEvent>;
|
|
797
|
+
/**
|
|
798
|
+
* The currency used for reporting financial data
|
|
799
|
+
*/
|
|
800
|
+
reporting_currency?: string | null;
|
|
801
|
+
}
|
|
802
|
+
/**
|
|
803
|
+
* Supplemental fundamentals and company profile data for an instrument.
|
|
804
|
+
*/
|
|
805
|
+
export interface InstrumentFundamentals {
|
|
806
|
+
/**
|
|
807
|
+
* The average daily trading volume over the past 30 days
|
|
808
|
+
*/
|
|
809
|
+
average_volume?: number | null;
|
|
810
|
+
/**
|
|
811
|
+
* The beta value, measuring the instrument's volatility relative to the overall
|
|
812
|
+
* market
|
|
813
|
+
*/
|
|
814
|
+
beta?: string | null;
|
|
815
|
+
/**
|
|
816
|
+
* A detailed description of the instrument or company
|
|
817
|
+
*/
|
|
818
|
+
description?: string | null;
|
|
819
|
+
/**
|
|
820
|
+
* The trailing twelve months (TTM) dividend yield
|
|
821
|
+
*/
|
|
822
|
+
dividend_yield?: string | null;
|
|
823
|
+
/**
|
|
824
|
+
* The trailing twelve months (TTM) earnings per share
|
|
825
|
+
*/
|
|
826
|
+
earnings_per_share?: string | null;
|
|
827
|
+
/**
|
|
828
|
+
* The highest price over the last 52 weeks
|
|
829
|
+
*/
|
|
830
|
+
fifty_two_week_high?: string | null;
|
|
831
|
+
/**
|
|
832
|
+
* The lowest price over the last 52 weeks
|
|
833
|
+
*/
|
|
834
|
+
fifty_two_week_low?: string | null;
|
|
835
|
+
/**
|
|
836
|
+
* The specific industry of the instrument's issuer
|
|
837
|
+
*/
|
|
838
|
+
industry?: string | null;
|
|
839
|
+
/**
|
|
840
|
+
* The date the instrument was first listed
|
|
841
|
+
*/
|
|
842
|
+
list_date?: string | null;
|
|
843
|
+
/**
|
|
844
|
+
* URL to a representative logo image for the instrument or issuer
|
|
845
|
+
*/
|
|
846
|
+
logo_url?: string | null;
|
|
847
|
+
/**
|
|
848
|
+
* The total market capitalization
|
|
849
|
+
*/
|
|
850
|
+
market_cap?: string | null;
|
|
851
|
+
/**
|
|
852
|
+
* The closing price from the previous trading day
|
|
853
|
+
*/
|
|
854
|
+
previous_close?: string | null;
|
|
855
|
+
/**
|
|
856
|
+
* The price-to-earnings (P/E) ratio for the trailing twelve months (TTM)
|
|
857
|
+
*/
|
|
858
|
+
price_to_earnings?: string | null;
|
|
859
|
+
/**
|
|
860
|
+
* The currency used for reporting financial data
|
|
861
|
+
*/
|
|
862
|
+
reporting_currency?: string | null;
|
|
863
|
+
/**
|
|
864
|
+
* The business sector of the instrument's issuer
|
|
865
|
+
*/
|
|
866
|
+
sector?: string | null;
|
|
867
|
+
}
|
|
868
|
+
/**
|
|
869
|
+
* A quarterly income statement for an instrument.
|
|
870
|
+
*/
|
|
871
|
+
export interface InstrumentIncomeStatement {
|
|
872
|
+
/**
|
|
873
|
+
* The date and time when the filing was accepted by the SEC
|
|
874
|
+
*/
|
|
875
|
+
accepted_date: string;
|
|
876
|
+
/**
|
|
877
|
+
* The date the financial statement was filed
|
|
878
|
+
*/
|
|
879
|
+
filing_date: string;
|
|
880
|
+
/**
|
|
881
|
+
* The fiscal period identifier (e.g., "Q1", "Q2", "Q3", "Q4")
|
|
882
|
+
*/
|
|
883
|
+
period: string;
|
|
884
|
+
/**
|
|
885
|
+
* The type of fiscal period
|
|
886
|
+
*/
|
|
887
|
+
period_type: FiscalPeriodType;
|
|
888
|
+
/**
|
|
889
|
+
* The currency in which the statement is reported (ISO 4217)
|
|
890
|
+
*/
|
|
891
|
+
reported_currency: string;
|
|
892
|
+
/**
|
|
893
|
+
* The fiscal year of the statement
|
|
894
|
+
*/
|
|
895
|
+
year: number;
|
|
896
|
+
/**
|
|
897
|
+
* Bottom line net income after all adjustments
|
|
898
|
+
*/
|
|
899
|
+
bottom_line_net_income?: string | null;
|
|
900
|
+
/**
|
|
901
|
+
* Total costs and expenses
|
|
902
|
+
*/
|
|
903
|
+
cost_and_expenses?: string | null;
|
|
904
|
+
/**
|
|
905
|
+
* Direct costs attributable to producing goods sold
|
|
906
|
+
*/
|
|
907
|
+
cost_of_revenue?: string | null;
|
|
908
|
+
/**
|
|
909
|
+
* Depreciation and amortization expenses
|
|
910
|
+
*/
|
|
911
|
+
depreciation_and_amortization?: string | null;
|
|
912
|
+
/**
|
|
913
|
+
* Earnings before interest and taxes
|
|
914
|
+
*/
|
|
915
|
+
ebit?: string | null;
|
|
916
|
+
/**
|
|
917
|
+
* Earnings before interest, taxes, depreciation, and amortization
|
|
918
|
+
*/
|
|
919
|
+
ebitda?: string | null;
|
|
920
|
+
/**
|
|
921
|
+
* Basic earnings per share
|
|
922
|
+
*/
|
|
923
|
+
eps?: string | null;
|
|
924
|
+
/**
|
|
925
|
+
* Diluted earnings per share
|
|
926
|
+
*/
|
|
927
|
+
eps_diluted?: string | null;
|
|
928
|
+
/**
|
|
929
|
+
* General administrative overhead expenses
|
|
930
|
+
*/
|
|
931
|
+
general_and_administrative_expenses?: string | null;
|
|
932
|
+
/**
|
|
933
|
+
* Revenue minus cost of revenue
|
|
934
|
+
*/
|
|
935
|
+
gross_profit?: string | null;
|
|
936
|
+
/**
|
|
937
|
+
* Income before income tax expense
|
|
938
|
+
*/
|
|
939
|
+
income_before_tax?: string | null;
|
|
940
|
+
/**
|
|
941
|
+
* Income tax expense for the period
|
|
942
|
+
*/
|
|
943
|
+
income_tax_expense?: string | null;
|
|
944
|
+
/**
|
|
945
|
+
* Interest paid on debt
|
|
946
|
+
*/
|
|
947
|
+
interest_expense?: string | null;
|
|
948
|
+
/**
|
|
949
|
+
* Interest earned on investments and cash
|
|
950
|
+
*/
|
|
951
|
+
interest_income?: string | null;
|
|
952
|
+
/**
|
|
953
|
+
* Total net income for the period
|
|
954
|
+
*/
|
|
955
|
+
net_income?: string | null;
|
|
956
|
+
/**
|
|
957
|
+
* Deductions from net income
|
|
958
|
+
*/
|
|
959
|
+
net_income_deductions?: string | null;
|
|
960
|
+
/**
|
|
961
|
+
* Net income from continuing operations
|
|
962
|
+
*/
|
|
963
|
+
net_income_from_continuing_operations?: string | null;
|
|
964
|
+
/**
|
|
965
|
+
* Net income from discontinued operations
|
|
966
|
+
*/
|
|
967
|
+
net_income_from_discontinued_operations?: string | null;
|
|
968
|
+
/**
|
|
969
|
+
* Net interest income (interest income minus interest expense)
|
|
970
|
+
*/
|
|
971
|
+
net_interest_income?: string | null;
|
|
972
|
+
/**
|
|
973
|
+
* Non-operating income excluding interest
|
|
974
|
+
*/
|
|
975
|
+
non_operating_income_excluding_interest?: string | null;
|
|
976
|
+
/**
|
|
977
|
+
* Total operating expenses
|
|
978
|
+
*/
|
|
979
|
+
operating_expenses?: string | null;
|
|
980
|
+
/**
|
|
981
|
+
* Income from core business operations
|
|
982
|
+
*/
|
|
983
|
+
operating_income?: string | null;
|
|
984
|
+
/**
|
|
985
|
+
* Other adjustments to net income
|
|
986
|
+
*/
|
|
987
|
+
other_adjustments_to_net_income?: string | null;
|
|
988
|
+
/**
|
|
989
|
+
* Other miscellaneous expenses
|
|
990
|
+
*/
|
|
991
|
+
other_expenses?: string | null;
|
|
992
|
+
/**
|
|
993
|
+
* Expenditure on research and development activities
|
|
994
|
+
*/
|
|
995
|
+
research_and_development_expenses?: string | null;
|
|
996
|
+
/**
|
|
997
|
+
* Total revenue from sales of goods and services
|
|
998
|
+
*/
|
|
999
|
+
revenue?: string | null;
|
|
1000
|
+
/**
|
|
1001
|
+
* Expenditure on marketing and sales activities
|
|
1002
|
+
*/
|
|
1003
|
+
selling_and_marketing_expenses?: string | null;
|
|
1004
|
+
/**
|
|
1005
|
+
* Combined selling, general, and administrative expenses
|
|
1006
|
+
*/
|
|
1007
|
+
selling_general_and_administrative_expenses?: string | null;
|
|
1008
|
+
/**
|
|
1009
|
+
* Net of other income and expenses
|
|
1010
|
+
*/
|
|
1011
|
+
total_other_income_expenses_net?: string | null;
|
|
1012
|
+
/**
|
|
1013
|
+
* Weighted average shares outstanding (basic)
|
|
1014
|
+
*/
|
|
1015
|
+
weighted_average_shs_out?: string | null;
|
|
1016
|
+
/**
|
|
1017
|
+
* Weighted average shares outstanding (diluted)
|
|
1018
|
+
*/
|
|
1019
|
+
weighted_average_shs_out_dil?: string | null;
|
|
1020
|
+
}
|
|
1021
|
+
export type InstrumentIncomeStatementList = Array<InstrumentIncomeStatement>;
|
|
1022
|
+
/**
|
|
1023
|
+
* Represents a stock split event for an instrument
|
|
1024
|
+
*/
|
|
1025
|
+
export interface InstrumentSplitEvent {
|
|
1026
|
+
/**
|
|
1027
|
+
* The date of the stock split
|
|
1028
|
+
*/
|
|
1029
|
+
date: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* The denominator of the split ratio
|
|
1032
|
+
*/
|
|
1033
|
+
denominator: string;
|
|
1034
|
+
/**
|
|
1035
|
+
* The numerator of the split ratio
|
|
1036
|
+
*/
|
|
1037
|
+
numerator: string;
|
|
1038
|
+
/**
|
|
1039
|
+
* The type of stock split (e.g., "stock-split", "stock-dividend", "bonus-issue")
|
|
1040
|
+
*/
|
|
1041
|
+
split_type: string;
|
|
1042
|
+
}
|
|
1043
|
+
/**
|
|
1044
|
+
* Analyst price target statistics
|
|
1045
|
+
*/
|
|
1046
|
+
export interface PriceTarget {
|
|
1047
|
+
/**
|
|
1048
|
+
* Average analyst price target
|
|
1049
|
+
*/
|
|
1050
|
+
average: string;
|
|
1051
|
+
/**
|
|
1052
|
+
* ISO 4217 currency code of the price targets
|
|
1053
|
+
*/
|
|
1054
|
+
currency: string;
|
|
1055
|
+
/**
|
|
1056
|
+
* Highest analyst price target
|
|
1057
|
+
*/
|
|
1058
|
+
high: string;
|
|
1059
|
+
/**
|
|
1060
|
+
* Lowest analyst price target
|
|
1061
|
+
*/
|
|
1062
|
+
low: string;
|
|
1063
|
+
}
|
|
1064
|
+
export interface InstrumentDataGetAllInstrumentEventsResponse extends Shared.BaseResponse {
|
|
1065
|
+
/**
|
|
1066
|
+
* All-events payload grouped by date.
|
|
1067
|
+
*/
|
|
1068
|
+
data: InstrumentAllEventsData;
|
|
1069
|
+
}
|
|
1070
|
+
export interface InstrumentDataGetInstrumentAnalystConsensusResponse extends Shared.BaseResponse {
|
|
1071
|
+
/**
|
|
1072
|
+
* Aggregated analyst consensus metrics
|
|
1073
|
+
*/
|
|
1074
|
+
data: InstrumentAnalystConsensus;
|
|
1075
|
+
}
|
|
1076
|
+
export interface InstrumentDataGetInstrumentBalanceSheetStatementsResponse extends Shared.BaseResponse {
|
|
1077
|
+
data: InstrumentBalanceSheetStatementList;
|
|
1078
|
+
}
|
|
1079
|
+
export interface InstrumentDataGetInstrumentCashFlowStatementsResponse extends Shared.BaseResponse {
|
|
1080
|
+
data: InstrumentCashFlowStatementList;
|
|
1081
|
+
}
|
|
1082
|
+
export interface InstrumentDataGetInstrumentEventsResponse extends Shared.BaseResponse {
|
|
1083
|
+
/**
|
|
1084
|
+
* Grouped instrument events by type
|
|
1085
|
+
*/
|
|
1086
|
+
data: InstrumentEventsData;
|
|
1087
|
+
}
|
|
1088
|
+
export interface InstrumentDataGetInstrumentFundamentalsResponse extends Shared.BaseResponse {
|
|
1089
|
+
/**
|
|
1090
|
+
* Supplemental fundamentals and company profile data for an instrument.
|
|
1091
|
+
*/
|
|
1092
|
+
data: InstrumentFundamentals;
|
|
1093
|
+
}
|
|
1094
|
+
export interface InstrumentDataGetInstrumentIncomeStatementsResponse extends Shared.BaseResponse {
|
|
1095
|
+
data: InstrumentIncomeStatementList;
|
|
1096
|
+
}
|
|
1097
|
+
export interface InstrumentDataGetAllInstrumentEventsParams {
|
|
1098
|
+
/**
|
|
1099
|
+
* Filter by event type(s). Comma-delimited list. Example:
|
|
1100
|
+
* `event_types=EARNINGS,IPO`.
|
|
1101
|
+
*/
|
|
1102
|
+
event_types?: Array<AllEventsEventType>;
|
|
1103
|
+
/**
|
|
1104
|
+
* The start date for the query range, inclusive (YYYY-MM-DD).
|
|
1105
|
+
*/
|
|
1106
|
+
from_date?: string;
|
|
1107
|
+
/**
|
|
1108
|
+
* Filter by OEMS instrument ID(s). Comma-delimited list of UUIDs. Example:
|
|
1109
|
+
* `instrument_ids=550e8400-e29b-41d4-a716-446655440000`.
|
|
1110
|
+
*/
|
|
1111
|
+
instrument_ids?: Array<string>;
|
|
1112
|
+
/**
|
|
1113
|
+
* The end date for the query range, inclusive (YYYY-MM-DD).
|
|
1114
|
+
*/
|
|
1115
|
+
to_date?: string;
|
|
1116
|
+
}
|
|
1117
|
+
export interface InstrumentDataGetInstrumentAnalystConsensusParams {
|
|
1118
|
+
/**
|
|
1119
|
+
* The start date for the query range, inclusive (YYYY-MM-DD)
|
|
1120
|
+
*/
|
|
1121
|
+
from?: string;
|
|
1122
|
+
/**
|
|
1123
|
+
* The end date for the query range, inclusive (YYYY-MM-DD)
|
|
1124
|
+
*/
|
|
1125
|
+
to?: string;
|
|
1126
|
+
}
|
|
1127
|
+
export interface InstrumentDataGetInstrumentBalanceSheetStatementsParams {
|
|
1128
|
+
/**
|
|
1129
|
+
* The start date for the query range, inclusive (YYYY-MM-DD).
|
|
1130
|
+
*/
|
|
1131
|
+
from_date?: string;
|
|
1132
|
+
/**
|
|
1133
|
+
* The number of items to return per page. Only used when page_token is not
|
|
1134
|
+
* provided.
|
|
1135
|
+
*/
|
|
1136
|
+
page_size?: number;
|
|
1137
|
+
/**
|
|
1138
|
+
* Token for retrieving the next or previous page of results. Contains encoded
|
|
1139
|
+
* pagination state; when provided, page_size is ignored.
|
|
1140
|
+
*/
|
|
1141
|
+
page_token?: string;
|
|
1142
|
+
/**
|
|
1143
|
+
* The end date for the query range, inclusive (YYYY-MM-DD).
|
|
1144
|
+
*/
|
|
1145
|
+
to_date?: string;
|
|
1146
|
+
}
|
|
1147
|
+
export interface InstrumentDataGetInstrumentCashFlowStatementsParams {
|
|
1148
|
+
/**
|
|
1149
|
+
* The start date for the query range, inclusive (YYYY-MM-DD).
|
|
1150
|
+
*/
|
|
1151
|
+
from_date?: string;
|
|
1152
|
+
/**
|
|
1153
|
+
* The number of items to return per page. Only used when page_token is not
|
|
1154
|
+
* provided.
|
|
1155
|
+
*/
|
|
1156
|
+
page_size?: number;
|
|
1157
|
+
/**
|
|
1158
|
+
* Token for retrieving the next or previous page of results. Contains encoded
|
|
1159
|
+
* pagination state; when provided, page_size is ignored.
|
|
1160
|
+
*/
|
|
1161
|
+
page_token?: string;
|
|
1162
|
+
/**
|
|
1163
|
+
* The end date for the query range, inclusive (YYYY-MM-DD).
|
|
1164
|
+
*/
|
|
1165
|
+
to_date?: string;
|
|
1166
|
+
}
|
|
1167
|
+
export interface InstrumentDataGetInstrumentEventsParams {
|
|
1168
|
+
/**
|
|
1169
|
+
* The start date for the query range, inclusive (YYYY-MM-DD).
|
|
1170
|
+
*/
|
|
1171
|
+
from_date?: string;
|
|
1172
|
+
/**
|
|
1173
|
+
* The end date for the query range, inclusive (YYYY-MM-DD).
|
|
1174
|
+
*/
|
|
1175
|
+
to_date?: string;
|
|
1176
|
+
}
|
|
1177
|
+
export interface InstrumentDataGetInstrumentIncomeStatementsParams {
|
|
1178
|
+
/**
|
|
1179
|
+
* The start date for the query range, inclusive (YYYY-MM-DD).
|
|
1180
|
+
*/
|
|
1181
|
+
from_date?: string;
|
|
1182
|
+
/**
|
|
1183
|
+
* The number of items to return per page. Only used when page_token is not
|
|
1184
|
+
* provided.
|
|
1185
|
+
*/
|
|
1186
|
+
page_size?: number;
|
|
1187
|
+
/**
|
|
1188
|
+
* Token for retrieving the next or previous page of results. Contains encoded
|
|
1189
|
+
* pagination state; when provided, page_size is ignored.
|
|
1190
|
+
*/
|
|
1191
|
+
page_token?: string;
|
|
1192
|
+
/**
|
|
1193
|
+
* The end date for the query range, inclusive (YYYY-MM-DD).
|
|
1194
|
+
*/
|
|
1195
|
+
to_date?: string;
|
|
1196
|
+
}
|
|
1197
|
+
export declare namespace InstrumentData {
|
|
1198
|
+
export { type AllEventsEventType as AllEventsEventType, type AnalystDistribution as AnalystDistribution, type AnalystRating as AnalystRating, type FiscalPeriodType as FiscalPeriodType, type InstrumentAllEventsData as InstrumentAllEventsData, type InstrumentAnalystConsensus as InstrumentAnalystConsensus, type InstrumentBalanceSheetStatement as InstrumentBalanceSheetStatement, type InstrumentBalanceSheetStatementList as InstrumentBalanceSheetStatementList, type InstrumentCashFlowStatement as InstrumentCashFlowStatement, type InstrumentCashFlowStatementList as InstrumentCashFlowStatementList, type InstrumentDividendEvent as InstrumentDividendEvent, type InstrumentEarnings as InstrumentEarnings, type InstrumentEventEnvelope as InstrumentEventEnvelope, type InstrumentEventIpoItem as InstrumentEventIpoItem, type InstrumentEventsByDate as InstrumentEventsByDate, type InstrumentEventsData as InstrumentEventsData, type InstrumentFundamentals as InstrumentFundamentals, type InstrumentIncomeStatement as InstrumentIncomeStatement, type InstrumentIncomeStatementList as InstrumentIncomeStatementList, type InstrumentSplitEvent as InstrumentSplitEvent, type PriceTarget as PriceTarget, type InstrumentDataGetAllInstrumentEventsResponse as InstrumentDataGetAllInstrumentEventsResponse, type InstrumentDataGetInstrumentAnalystConsensusResponse as InstrumentDataGetInstrumentAnalystConsensusResponse, type InstrumentDataGetInstrumentBalanceSheetStatementsResponse as InstrumentDataGetInstrumentBalanceSheetStatementsResponse, type InstrumentDataGetInstrumentCashFlowStatementsResponse as InstrumentDataGetInstrumentCashFlowStatementsResponse, type InstrumentDataGetInstrumentEventsResponse as InstrumentDataGetInstrumentEventsResponse, type InstrumentDataGetInstrumentFundamentalsResponse as InstrumentDataGetInstrumentFundamentalsResponse, type InstrumentDataGetInstrumentIncomeStatementsResponse as InstrumentDataGetInstrumentIncomeStatementsResponse, type InstrumentDataGetAllInstrumentEventsParams as InstrumentDataGetAllInstrumentEventsParams, type InstrumentDataGetInstrumentAnalystConsensusParams as InstrumentDataGetInstrumentAnalystConsensusParams, type InstrumentDataGetInstrumentBalanceSheetStatementsParams as InstrumentDataGetInstrumentBalanceSheetStatementsParams, type InstrumentDataGetInstrumentCashFlowStatementsParams as InstrumentDataGetInstrumentCashFlowStatementsParams, type InstrumentDataGetInstrumentEventsParams as InstrumentDataGetInstrumentEventsParams, type InstrumentDataGetInstrumentIncomeStatementsParams as InstrumentDataGetInstrumentIncomeStatementsParams, };
|
|
1199
|
+
export { MarketData as MarketData, type DailySummary as DailySummary, type DailySummaryList as DailySummaryList, type MarketDataSnapshot as MarketDataSnapshot, type MarketDataSnapshotList as MarketDataSnapshotList, type SnapshotGreeks as SnapshotGreeks, type SnapshotLastTrade as SnapshotLastTrade, type SnapshotQuote as SnapshotQuote, type SnapshotSession as SnapshotSession, type MarketDataGetDailySummariesResponse as MarketDataGetDailySummariesResponse, type MarketDataGetSnapshotsResponse as MarketDataGetSnapshotsResponse, type MarketDataGetDailySummariesParams as MarketDataGetDailySummariesParams, type MarketDataGetSnapshotsParams as MarketDataGetSnapshotsParams, };
|
|
1200
|
+
export { News as News, type NewsInstrument as NewsInstrument, type NewsItem as NewsItem, type NewsItemList as NewsItemList, type NewsType as NewsType, type NewsGetNewsResponse as NewsGetNewsResponse, type NewsGetNewsParams as NewsGetNewsParams, };
|
|
1201
|
+
}
|
|
1202
|
+
//# sourceMappingURL=instrument-data.d.ts.map
|