@clear-street/clearstreet 0.0.0 → 0.72.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 +986 -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 +433 -0
- package/resources/v1/accounts.d.mts.map +1 -0
- package/resources/v1/accounts.d.ts +433 -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 +471 -0
- package/resources/v1/instruments.d.mts.map +1 -0
- package/resources/v1/instruments.d.ts +471 -0
- package/resources/v1/instruments.d.ts.map +1 -0
- package/resources/v1/instruments.js +75 -0
- package/resources/v1/instruments.js.map +1 -0
- package/resources/v1/instruments.mjs +71 -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 +583 -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 +609 -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,643 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as OrdersAPI from "./orders.mjs";
|
|
3
|
+
import * as Shared from "../shared.mjs";
|
|
4
|
+
import * as V1API from "./v1.mjs";
|
|
5
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
6
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
7
|
+
/**
|
|
8
|
+
* Place, monitor, and manage trading orders.
|
|
9
|
+
*/
|
|
10
|
+
export declare class Orders extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Cancel all orders for an account
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const response = await client.v1.orders.cancelAllOpenOrders(
|
|
17
|
+
* 0,
|
|
18
|
+
* );
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
cancelAllOpenOrders(accountID: number, params?: OrderCancelAllOpenOrdersParams | null | undefined, options?: RequestOptions): APIPromise<OrderCancelAllOpenOrdersResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Cancel a specific order
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* const response = await client.v1.orders.cancelOpenOrder(
|
|
28
|
+
* 'order_id',
|
|
29
|
+
* { account_id: 0 },
|
|
30
|
+
* );
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
cancelOpenOrder(orderID: string, params: OrderCancelOpenOrderParams, options?: RequestOptions): APIPromise<OrderCancelOpenOrderResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Retrieves filled and partially-filled execution reports for the specified
|
|
36
|
+
* trading account, ordered by transaction time (nanosecond precision) descending.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const response = await client.v1.orders.getExecutions(0);
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
getExecutions(accountID: number, query?: OrderGetExecutionsParams | null | undefined, options?: RequestOptions): APIPromise<OrderGetExecutionsResponse>;
|
|
44
|
+
/**
|
|
45
|
+
* Get Order By ID
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```ts
|
|
49
|
+
* const response = await client.v1.orders.getOrderByID(
|
|
50
|
+
* 'order_id',
|
|
51
|
+
* { account_id: 0 },
|
|
52
|
+
* );
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
getOrderByID(orderID: string, params: OrderGetOrderByIDParams, options?: RequestOptions): APIPromise<OrderGetOrderByIDResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* List orders for an account with optional filtering
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* const response = await client.v1.orders.getOrders(0);
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
getOrders(accountID: number, query?: OrderGetOrdersParams | null | undefined, options?: RequestOptions): APIPromise<OrderGetOrdersResponse>;
|
|
65
|
+
/**
|
|
66
|
+
* Replace an order with new parameters
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* ```ts
|
|
70
|
+
* const response = await client.v1.orders.replaceOrder(
|
|
71
|
+
* 'order_id',
|
|
72
|
+
* { account_id: 0 },
|
|
73
|
+
* );
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
76
|
+
replaceOrder(orderID: string, params: OrderReplaceOrderParams, options?: RequestOptions): APIPromise<OrderReplaceOrderResponse>;
|
|
77
|
+
/**
|
|
78
|
+
* Submit new orders
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* ```ts
|
|
82
|
+
* const response = await client.v1.orders.submitOrders(0, {
|
|
83
|
+
* orders: [
|
|
84
|
+
* {
|
|
85
|
+
* legs: [
|
|
86
|
+
* {
|
|
87
|
+
* ratio: 'ratio',
|
|
88
|
+
* security: '0193bb84-447a-706f-996f-097254663f02',
|
|
89
|
+
* side: 'BUY',
|
|
90
|
+
* },
|
|
91
|
+
* {
|
|
92
|
+
* ratio: 'ratio',
|
|
93
|
+
* security: '0193bb84-4db4-78ec-b4fd-cba8be61cf8a',
|
|
94
|
+
* side: 'SELL',
|
|
95
|
+
* },
|
|
96
|
+
* {
|
|
97
|
+
* ratio: 'ratio',
|
|
98
|
+
* security: '0193bb84-5264-7f20-8fd3-35df82cd6ef0',
|
|
99
|
+
* side: 'BUY',
|
|
100
|
+
* },
|
|
101
|
+
* ],
|
|
102
|
+
* order_type: 'LIMIT',
|
|
103
|
+
* time_in_force: 'DAY',
|
|
104
|
+
* },
|
|
105
|
+
* ],
|
|
106
|
+
* });
|
|
107
|
+
* ```
|
|
108
|
+
*/
|
|
109
|
+
submitOrders(accountID: number, params: OrderSubmitOrdersParams, options?: RequestOptions): APIPromise<OrderSubmitOrdersResponse>;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Request to cancel an existing order
|
|
113
|
+
*
|
|
114
|
+
* Note: In the API, order cancellation is done via DELETE request without a body.
|
|
115
|
+
* The order_id and account_id come from the URL path parameters.
|
|
116
|
+
*/
|
|
117
|
+
export interface CancelOrderRequest {
|
|
118
|
+
/**
|
|
119
|
+
* Account ID (from path parameter)
|
|
120
|
+
*/
|
|
121
|
+
account_id: number;
|
|
122
|
+
/**
|
|
123
|
+
* Order ID to cancel (from path parameter)
|
|
124
|
+
*/
|
|
125
|
+
order_id: string;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Represents a single fill of an order for an account.
|
|
129
|
+
*/
|
|
130
|
+
export interface Execution {
|
|
131
|
+
/**
|
|
132
|
+
* Unique identifier for this execution report.
|
|
133
|
+
*/
|
|
134
|
+
id: string;
|
|
135
|
+
/**
|
|
136
|
+
* OEMS instrument identifier.
|
|
137
|
+
*/
|
|
138
|
+
instrument_id: string;
|
|
139
|
+
/**
|
|
140
|
+
* Identifier of the order this execution belongs to.
|
|
141
|
+
*/
|
|
142
|
+
order_id: string;
|
|
143
|
+
/**
|
|
144
|
+
* Fill price.
|
|
145
|
+
*/
|
|
146
|
+
price: string;
|
|
147
|
+
/**
|
|
148
|
+
* Filled quantity.
|
|
149
|
+
*/
|
|
150
|
+
quantity: string;
|
|
151
|
+
/**
|
|
152
|
+
* Side of the fill.
|
|
153
|
+
*/
|
|
154
|
+
side: Side;
|
|
155
|
+
/**
|
|
156
|
+
* Trading symbol.
|
|
157
|
+
*/
|
|
158
|
+
symbol: string;
|
|
159
|
+
/**
|
|
160
|
+
* Transaction timestamp in nanosecond precision (UTC).
|
|
161
|
+
*/
|
|
162
|
+
transaction_time: string;
|
|
163
|
+
}
|
|
164
|
+
export type ExecutionList = Array<Execution>;
|
|
165
|
+
/**
|
|
166
|
+
* OEMS instrument UUID
|
|
167
|
+
*/
|
|
168
|
+
export type InstrumentIDOrSymbol = string;
|
|
169
|
+
/**
|
|
170
|
+
* Request to submit a new order (PlaceOrderRequest from spec)
|
|
171
|
+
*/
|
|
172
|
+
export interface NewOrderRequest {
|
|
173
|
+
/**
|
|
174
|
+
* Type of order
|
|
175
|
+
*/
|
|
176
|
+
order_type: RequestOrderType;
|
|
177
|
+
/**
|
|
178
|
+
* Quantity to trade. For COMMON_STOCK: shares (may be fractional if supported).
|
|
179
|
+
* For OPTION (single-leg): contracts (must be an integer)
|
|
180
|
+
*/
|
|
181
|
+
quantity: string;
|
|
182
|
+
/**
|
|
183
|
+
* Side of the order
|
|
184
|
+
*/
|
|
185
|
+
side: Side;
|
|
186
|
+
/**
|
|
187
|
+
* Time in force
|
|
188
|
+
*/
|
|
189
|
+
time_in_force: RequestTimeInForce;
|
|
190
|
+
/**
|
|
191
|
+
* Optional client-provided unique ID (idempotency). Required to be unique per
|
|
192
|
+
* account.
|
|
193
|
+
*/
|
|
194
|
+
id?: string | null;
|
|
195
|
+
/**
|
|
196
|
+
* The timestamp when the order should expire (UTC). Required when time_in_force is
|
|
197
|
+
* GOOD_TILL_DATE.
|
|
198
|
+
*/
|
|
199
|
+
expires_at?: string | null;
|
|
200
|
+
/**
|
|
201
|
+
* Allow trading outside regular trading hours. Some brokers disallow options
|
|
202
|
+
* outside RTH.
|
|
203
|
+
*/
|
|
204
|
+
extended_hours?: boolean | null;
|
|
205
|
+
/**
|
|
206
|
+
* OEMS instrument UUID
|
|
207
|
+
*/
|
|
208
|
+
instrument_id?: InstrumentIDOrSymbol | null;
|
|
209
|
+
/**
|
|
210
|
+
* Limit offset for trailing stop-limit orders (signed)
|
|
211
|
+
*/
|
|
212
|
+
limit_offset?: string | null;
|
|
213
|
+
/**
|
|
214
|
+
* Limit price (required for LIMIT and STOP_LIMIT orders)
|
|
215
|
+
*/
|
|
216
|
+
limit_price?: string | null;
|
|
217
|
+
/**
|
|
218
|
+
* Required for options. Specifies whether the order opens or closes a position.
|
|
219
|
+
*/
|
|
220
|
+
position_effect?: PositionEffect;
|
|
221
|
+
/**
|
|
222
|
+
* Stop price (required for STOP and STOP_LIMIT orders)
|
|
223
|
+
*/
|
|
224
|
+
stop_price?: string | null;
|
|
225
|
+
/**
|
|
226
|
+
* Trading symbol. For equities, use the ticker symbol (e.g., "AAPL"). For options,
|
|
227
|
+
* use the OSI symbol (e.g., "AAPL 250117C00190000"). Either `symbol` or
|
|
228
|
+
* `instrument_id` must be provided.
|
|
229
|
+
*/
|
|
230
|
+
symbol?: string | null;
|
|
231
|
+
/**
|
|
232
|
+
* Trailing offset amount (required for trailing orders)
|
|
233
|
+
*/
|
|
234
|
+
trailing_offset?: string | null;
|
|
235
|
+
/**
|
|
236
|
+
* Trailing offset type (PRICE or PERCENT_BPS)
|
|
237
|
+
*/
|
|
238
|
+
trailing_offset_type?: TrailingOffsetType | null;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* A trading order with its current state and execution details.
|
|
242
|
+
*
|
|
243
|
+
* This is the unified API representation of an order across its lifecycle,
|
|
244
|
+
* combining data from execution reports, order status queries, and parent/child
|
|
245
|
+
* tracking.
|
|
246
|
+
*/
|
|
247
|
+
export interface Order {
|
|
248
|
+
/**
|
|
249
|
+
* Engine-assigned unique identifier for this order (UUID).
|
|
250
|
+
*/
|
|
251
|
+
id: string;
|
|
252
|
+
/**
|
|
253
|
+
* Account placing the order
|
|
254
|
+
*/
|
|
255
|
+
account_id: number;
|
|
256
|
+
/**
|
|
257
|
+
* Client-provided identifier echoed back (FIX tag 11).
|
|
258
|
+
*/
|
|
259
|
+
client_order_id: string;
|
|
260
|
+
/**
|
|
261
|
+
* Timestamp when order was created (UTC)
|
|
262
|
+
*/
|
|
263
|
+
created_at: string;
|
|
264
|
+
/**
|
|
265
|
+
* Cumulative filled quantity
|
|
266
|
+
*/
|
|
267
|
+
filled_quantity: string;
|
|
268
|
+
/**
|
|
269
|
+
* OEMS instrument UUID for the traded instrument.
|
|
270
|
+
*/
|
|
271
|
+
instrument_id: string;
|
|
272
|
+
/**
|
|
273
|
+
* Type of security
|
|
274
|
+
*/
|
|
275
|
+
instrument_type: V1API.SecurityType;
|
|
276
|
+
/**
|
|
277
|
+
* Remaining unfilled quantity
|
|
278
|
+
*/
|
|
279
|
+
leaves_quantity: string;
|
|
280
|
+
/**
|
|
281
|
+
* Type of order (MARKET, LIMIT, etc.)
|
|
282
|
+
*/
|
|
283
|
+
order_type: OrderType;
|
|
284
|
+
/**
|
|
285
|
+
* Total order quantity
|
|
286
|
+
*/
|
|
287
|
+
quantity: string;
|
|
288
|
+
/**
|
|
289
|
+
* Side of the order (BUY, SELL, SELL_SHORT)
|
|
290
|
+
*/
|
|
291
|
+
side: Side;
|
|
292
|
+
/**
|
|
293
|
+
* Current status of the order
|
|
294
|
+
*/
|
|
295
|
+
status: OrderStatus;
|
|
296
|
+
/**
|
|
297
|
+
* Trading symbol
|
|
298
|
+
*/
|
|
299
|
+
symbol: string;
|
|
300
|
+
/**
|
|
301
|
+
* Time in force instruction
|
|
302
|
+
*/
|
|
303
|
+
time_in_force: TimeInForce;
|
|
304
|
+
/**
|
|
305
|
+
* Timestamp of the most recent update (UTC)
|
|
306
|
+
*/
|
|
307
|
+
updated_at: string;
|
|
308
|
+
/**
|
|
309
|
+
* MIC code of the venue where the order is routed
|
|
310
|
+
*/
|
|
311
|
+
venue: string;
|
|
312
|
+
/**
|
|
313
|
+
* Average fill price across all executions
|
|
314
|
+
*/
|
|
315
|
+
average_fill_price?: string | null;
|
|
316
|
+
/**
|
|
317
|
+
* Contains execution, rejection or cancellation details, if any
|
|
318
|
+
*/
|
|
319
|
+
details?: Array<string>;
|
|
320
|
+
/**
|
|
321
|
+
* Timestamp when the order will expire (UTC). Present when time_in_force is
|
|
322
|
+
* GOOD_TILL_DATE.
|
|
323
|
+
*/
|
|
324
|
+
expires_at?: string | null;
|
|
325
|
+
/**
|
|
326
|
+
* Whether the order is eligible for extended-hours trading.
|
|
327
|
+
*/
|
|
328
|
+
extended_hours?: boolean | null;
|
|
329
|
+
/**
|
|
330
|
+
* Limit offset for trailing stop-limit orders (signed)
|
|
331
|
+
*/
|
|
332
|
+
limit_offset?: string | null;
|
|
333
|
+
/**
|
|
334
|
+
* Limit price (for LIMIT and STOP_LIMIT orders)
|
|
335
|
+
*/
|
|
336
|
+
limit_price?: string | null;
|
|
337
|
+
/**
|
|
338
|
+
* Parent order queue state, present when the order is awaiting release or
|
|
339
|
+
* released.
|
|
340
|
+
*/
|
|
341
|
+
queue_state?: QueueState | null;
|
|
342
|
+
/**
|
|
343
|
+
* Scheduled release time for orders awaiting release.
|
|
344
|
+
*/
|
|
345
|
+
releases_at?: string | null;
|
|
346
|
+
/**
|
|
347
|
+
* Stop price (for STOP and STOP_LIMIT orders)
|
|
348
|
+
*/
|
|
349
|
+
stop_price?: string | null;
|
|
350
|
+
/**
|
|
351
|
+
* Current trailing limit price computed by the trailing strategy
|
|
352
|
+
*/
|
|
353
|
+
trailing_limit_px?: string | null;
|
|
354
|
+
/**
|
|
355
|
+
* Trailing offset amount for trailing orders
|
|
356
|
+
*/
|
|
357
|
+
trailing_offset?: string | null;
|
|
358
|
+
/**
|
|
359
|
+
* Trailing offset type for trailing orders
|
|
360
|
+
*/
|
|
361
|
+
trailing_offset_type?: TrailingOffsetType | null;
|
|
362
|
+
/**
|
|
363
|
+
* Current trailing stop price computed by the trailing strategy
|
|
364
|
+
*/
|
|
365
|
+
trailing_stop_px?: string | null;
|
|
366
|
+
/**
|
|
367
|
+
* Trailing watermark price for trailing orders
|
|
368
|
+
*/
|
|
369
|
+
trailing_watermark_px?: string | null;
|
|
370
|
+
/**
|
|
371
|
+
* Trailing watermark timestamp for trailing orders
|
|
372
|
+
*/
|
|
373
|
+
trailing_watermark_ts?: string | null;
|
|
374
|
+
/**
|
|
375
|
+
* OEMS instrument ID of the option's underlying instrument. Populated only for
|
|
376
|
+
* OPTIONS orders; `null` for non-options and for options whose underlier cannot be
|
|
377
|
+
* resolved from the instrument cache.
|
|
378
|
+
*/
|
|
379
|
+
underlying_instrument_id?: string | null;
|
|
380
|
+
}
|
|
381
|
+
export type OrderList = Array<Order>;
|
|
382
|
+
/**
|
|
383
|
+
* Order status
|
|
384
|
+
*/
|
|
385
|
+
export type OrderStatus = 'PENDING_NEW' | 'NEW' | 'PARTIALLY_FILLED' | 'FILLED' | 'CANCELED' | 'REJECTED' | 'EXPIRED' | 'PENDING_CANCEL' | 'PENDING_REPLACE' | 'REPLACED' | 'DONE_FOR_DAY' | 'STOPPED' | 'SUSPENDED' | 'CALCULATED' | 'OTHER';
|
|
386
|
+
/**
|
|
387
|
+
* Order type
|
|
388
|
+
*/
|
|
389
|
+
export type OrderType = 'MARKET' | 'LIMIT' | 'STOP' | 'STOP_LIMIT' | 'TRAILING_STOP' | 'TRAILING_STOP_LIMIT' | 'OTHER';
|
|
390
|
+
/**
|
|
391
|
+
* Position effect for options orders
|
|
392
|
+
*/
|
|
393
|
+
export type PositionEffect = 'OPEN' | 'CLOSE';
|
|
394
|
+
/**
|
|
395
|
+
* Parent order queue or hold state.
|
|
396
|
+
*/
|
|
397
|
+
export type QueueState = 'AWAITING_RELEASE' | 'RELEASED';
|
|
398
|
+
/**
|
|
399
|
+
* Strict order-type enum for order submission/replacement requests.
|
|
400
|
+
*/
|
|
401
|
+
export type RequestOrderType = 'MARKET' | 'LIMIT' | 'STOP' | 'STOP_LIMIT' | 'TRAILING_STOP' | 'TRAILING_STOP_LIMIT';
|
|
402
|
+
/**
|
|
403
|
+
* Strict time-in-force enum for order submission/replacement requests.
|
|
404
|
+
*/
|
|
405
|
+
export type RequestTimeInForce = 'DAY' | 'GOOD_TILL_CANCEL' | 'IMMEDIATE_OR_CANCEL' | 'FILL_OR_KILL' | 'GOOD_TILL_DATE' | 'AT_THE_OPENING' | 'AT_THE_CLOSE' | 'GOOD_TILL_CROSSING' | 'GOOD_THROUGH_CROSSING' | 'AT_CROSSING';
|
|
406
|
+
/**
|
|
407
|
+
* Side of an order
|
|
408
|
+
*/
|
|
409
|
+
export type Side = 'BUY' | 'SELL' | 'SELL_SHORT' | 'OTHER';
|
|
410
|
+
/**
|
|
411
|
+
* Time in force
|
|
412
|
+
*/
|
|
413
|
+
export type TimeInForce = 'DAY' | 'GOOD_TILL_CANCEL' | 'IMMEDIATE_OR_CANCEL' | 'FILL_OR_KILL' | 'GOOD_TILL_DATE' | 'AT_THE_OPENING' | 'AT_THE_CLOSE' | 'GOOD_TILL_CROSSING' | 'GOOD_THROUGH_CROSSING' | 'AT_CROSSING' | 'OTHER';
|
|
414
|
+
/**
|
|
415
|
+
* Trailing offset type for trailing stop orders.
|
|
416
|
+
*/
|
|
417
|
+
export type TrailingOffsetType = 'PRICE' | 'BPS';
|
|
418
|
+
export interface OrderCancelAllOpenOrdersResponse extends Shared.BaseResponse {
|
|
419
|
+
data: OrderList;
|
|
420
|
+
}
|
|
421
|
+
export interface OrderCancelOpenOrderResponse extends Shared.BaseResponse {
|
|
422
|
+
/**
|
|
423
|
+
* A trading order with its current state and execution details.
|
|
424
|
+
*
|
|
425
|
+
* This is the unified API representation of an order across its lifecycle,
|
|
426
|
+
* combining data from execution reports, order status queries, and parent/child
|
|
427
|
+
* tracking.
|
|
428
|
+
*/
|
|
429
|
+
data: Order;
|
|
430
|
+
}
|
|
431
|
+
export interface OrderGetExecutionsResponse extends Shared.BaseResponse {
|
|
432
|
+
data: ExecutionList;
|
|
433
|
+
}
|
|
434
|
+
export interface OrderGetOrderByIDResponse extends Shared.BaseResponse {
|
|
435
|
+
/**
|
|
436
|
+
* A trading order with its current state and execution details.
|
|
437
|
+
*
|
|
438
|
+
* This is the unified API representation of an order across its lifecycle,
|
|
439
|
+
* combining data from execution reports, order status queries, and parent/child
|
|
440
|
+
* tracking.
|
|
441
|
+
*/
|
|
442
|
+
data: Order;
|
|
443
|
+
}
|
|
444
|
+
export interface OrderGetOrdersResponse extends Shared.BaseResponse {
|
|
445
|
+
data: OrderList;
|
|
446
|
+
}
|
|
447
|
+
export interface OrderReplaceOrderResponse extends Shared.BaseResponse {
|
|
448
|
+
/**
|
|
449
|
+
* A trading order with its current state and execution details.
|
|
450
|
+
*
|
|
451
|
+
* This is the unified API representation of an order across its lifecycle,
|
|
452
|
+
* combining data from execution reports, order status queries, and parent/child
|
|
453
|
+
* tracking.
|
|
454
|
+
*/
|
|
455
|
+
data: Order;
|
|
456
|
+
}
|
|
457
|
+
export interface OrderSubmitOrdersResponse extends Shared.BaseResponse {
|
|
458
|
+
data: OrderList;
|
|
459
|
+
}
|
|
460
|
+
export interface OrderCancelAllOpenOrdersParams {
|
|
461
|
+
/**
|
|
462
|
+
* Comma-separated OEMS instrument UUIDs
|
|
463
|
+
*/
|
|
464
|
+
instrument_ids?: Array<string>;
|
|
465
|
+
/**
|
|
466
|
+
* Filter by instrument type (e.g., COMMON_STOCK, OPTION)
|
|
467
|
+
*/
|
|
468
|
+
instrument_type?: 'COMMON_STOCK' | 'OPTION' | 'CASH';
|
|
469
|
+
/**
|
|
470
|
+
* Filter by order side (BUY or SELL)
|
|
471
|
+
*/
|
|
472
|
+
side?: 'BUY' | 'SELL' | 'SELL_SHORT' | 'OTHER';
|
|
473
|
+
/**
|
|
474
|
+
* Filter by order type (e.g., MARKET, LIMIT)
|
|
475
|
+
*/
|
|
476
|
+
type?: 'MARKET' | 'LIMIT' | 'STOP' | 'STOP_LIMIT' | 'TRAILING_STOP' | 'TRAILING_STOP_LIMIT' | 'OTHER';
|
|
477
|
+
}
|
|
478
|
+
export interface OrderCancelOpenOrderParams {
|
|
479
|
+
/**
|
|
480
|
+
* Account identifier
|
|
481
|
+
*/
|
|
482
|
+
account_id: number;
|
|
483
|
+
}
|
|
484
|
+
export interface OrderGetExecutionsParams {
|
|
485
|
+
/**
|
|
486
|
+
* The start date and time for the query range, inclusive (ISO 8601 format)
|
|
487
|
+
*/
|
|
488
|
+
from?: string;
|
|
489
|
+
/**
|
|
490
|
+
* Optional instrument to filter by. Accepts either a symbol (e.g. `AAPL`) or an
|
|
491
|
+
* OEMS instrument UUID.
|
|
492
|
+
*/
|
|
493
|
+
instrument_id?: InstrumentIDOrSymbol;
|
|
494
|
+
/**
|
|
495
|
+
* The number of items to return per page. Only used when page_token is not
|
|
496
|
+
* provided.
|
|
497
|
+
*/
|
|
498
|
+
page_size?: number;
|
|
499
|
+
/**
|
|
500
|
+
* Token for retrieving the next or previous page of results. Contains encoded
|
|
501
|
+
* pagination state; when provided, page_size is ignored.
|
|
502
|
+
*/
|
|
503
|
+
page_token?: string;
|
|
504
|
+
/**
|
|
505
|
+
* The end date and time for the query range, inclusive (ISO 8601 format)
|
|
506
|
+
*/
|
|
507
|
+
to?: string;
|
|
508
|
+
}
|
|
509
|
+
export interface OrderGetOrderByIDParams {
|
|
510
|
+
/**
|
|
511
|
+
* Account identifier
|
|
512
|
+
*/
|
|
513
|
+
account_id: number;
|
|
514
|
+
}
|
|
515
|
+
export interface OrderGetOrdersParams {
|
|
516
|
+
/**
|
|
517
|
+
* The start date and time for the query range, inclusive (ISO 8601 format)
|
|
518
|
+
*/
|
|
519
|
+
from?: string;
|
|
520
|
+
/**
|
|
521
|
+
* Comma-separated OEMS instrument UUIDs
|
|
522
|
+
*/
|
|
523
|
+
instrument_ids?: Array<string>;
|
|
524
|
+
/**
|
|
525
|
+
* Instrument type filter (e.g., COMMON_STOCK, OPTION)
|
|
526
|
+
*/
|
|
527
|
+
instrument_type?: 'COMMON_STOCK' | 'OPTION' | 'CASH';
|
|
528
|
+
/**
|
|
529
|
+
* The number of items to return per page. Only used when page_token is not
|
|
530
|
+
* provided.
|
|
531
|
+
*/
|
|
532
|
+
page_size?: number;
|
|
533
|
+
/**
|
|
534
|
+
* Token for retrieving the next or previous page of results. Contains encoded
|
|
535
|
+
* pagination state; when provided, page_size is ignored.
|
|
536
|
+
*/
|
|
537
|
+
page_token?: string;
|
|
538
|
+
/**
|
|
539
|
+
* Comma-separated order statuses to filter by
|
|
540
|
+
*/
|
|
541
|
+
status?: Array<'PENDING_NEW' | 'NEW' | 'PARTIALLY_FILLED' | 'FILLED' | 'CANCELED' | 'REJECTED' | 'EXPIRED' | 'PENDING_CANCEL' | 'PENDING_REPLACE' | 'REPLACED' | 'DONE_FOR_DAY' | 'STOPPED' | 'SUSPENDED' | 'CALCULATED' | 'OTHER'>;
|
|
542
|
+
/**
|
|
543
|
+
* Filter by symbol
|
|
544
|
+
*/
|
|
545
|
+
symbol?: string;
|
|
546
|
+
/**
|
|
547
|
+
* The end date and time for the query range, inclusive (ISO 8601 format)
|
|
548
|
+
*/
|
|
549
|
+
to?: string;
|
|
550
|
+
/**
|
|
551
|
+
* Comma-separated OEMS instrument UUIDs. Matches options orders whose resolved
|
|
552
|
+
* underlier is any of the given IDs.
|
|
553
|
+
*/
|
|
554
|
+
underlying_instrument_ids?: Array<string>;
|
|
555
|
+
}
|
|
556
|
+
export interface OrderReplaceOrderParams {
|
|
557
|
+
/**
|
|
558
|
+
* Path param: Account identifier
|
|
559
|
+
*/
|
|
560
|
+
account_id: number;
|
|
561
|
+
/**
|
|
562
|
+
* Body param: New limit price for the order
|
|
563
|
+
*/
|
|
564
|
+
limit_price?: string | null;
|
|
565
|
+
/**
|
|
566
|
+
* Body param: New quantity for the order
|
|
567
|
+
*/
|
|
568
|
+
quantity?: string | null;
|
|
569
|
+
/**
|
|
570
|
+
* Body param: New stop price for the order
|
|
571
|
+
*/
|
|
572
|
+
stop_price?: string | null;
|
|
573
|
+
/**
|
|
574
|
+
* Body param: New time in force for the order
|
|
575
|
+
*/
|
|
576
|
+
time_in_force?: RequestTimeInForce;
|
|
577
|
+
}
|
|
578
|
+
export interface OrderSubmitOrdersParams {
|
|
579
|
+
orders: Array<OrderSubmitOrdersParams.NewOrderMultilegRequest | NewOrderRequest>;
|
|
580
|
+
}
|
|
581
|
+
export declare namespace OrderSubmitOrdersParams {
|
|
582
|
+
/**
|
|
583
|
+
* Multileg strategy order request
|
|
584
|
+
*/
|
|
585
|
+
interface NewOrderMultilegRequest {
|
|
586
|
+
/**
|
|
587
|
+
* Legs that compose the strategy.
|
|
588
|
+
*/
|
|
589
|
+
legs: Array<NewOrderMultilegRequest.Leg>;
|
|
590
|
+
/**
|
|
591
|
+
* Type of order (currently MARKET or LIMIT for multileg strategy submission)
|
|
592
|
+
*/
|
|
593
|
+
order_type: OrdersAPI.RequestOrderType;
|
|
594
|
+
/**
|
|
595
|
+
* Time in force
|
|
596
|
+
*/
|
|
597
|
+
time_in_force: OrdersAPI.RequestTimeInForce;
|
|
598
|
+
/**
|
|
599
|
+
* Optional client-provided unique ID (idempotency). Required to be unique per
|
|
600
|
+
* account.
|
|
601
|
+
*/
|
|
602
|
+
id?: string | null;
|
|
603
|
+
/**
|
|
604
|
+
* Strategy price, required for LIMIT orders.
|
|
605
|
+
*/
|
|
606
|
+
limit_price?: string | null;
|
|
607
|
+
/**
|
|
608
|
+
* Optional strategy-level quantity. Multiplies leg quantities. Defaults to 1.
|
|
609
|
+
*/
|
|
610
|
+
quantity?: string;
|
|
611
|
+
}
|
|
612
|
+
namespace NewOrderMultilegRequest {
|
|
613
|
+
/**
|
|
614
|
+
* A single leg in a multileg strategy request.
|
|
615
|
+
*/
|
|
616
|
+
interface Leg {
|
|
617
|
+
/**
|
|
618
|
+
* Ratio for the leg.
|
|
619
|
+
*/
|
|
620
|
+
ratio: string;
|
|
621
|
+
/**
|
|
622
|
+
* Trading symbol (e.g. "AAPL" or OSI symbol for options)
|
|
623
|
+
*/
|
|
624
|
+
security: string;
|
|
625
|
+
/**
|
|
626
|
+
* Leg side.
|
|
627
|
+
*/
|
|
628
|
+
side: OrdersAPI.Side;
|
|
629
|
+
/**
|
|
630
|
+
* Optional leg reference identifier.
|
|
631
|
+
*/
|
|
632
|
+
id?: string | null;
|
|
633
|
+
/**
|
|
634
|
+
* Optional leg position effect.
|
|
635
|
+
*/
|
|
636
|
+
position_effect?: OrdersAPI.PositionEffect | null;
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
export declare namespace Orders {
|
|
641
|
+
export { type CancelOrderRequest as CancelOrderRequest, type Execution as Execution, type ExecutionList as ExecutionList, type InstrumentIDOrSymbol as InstrumentIDOrSymbol, type NewOrderRequest as NewOrderRequest, type Order as Order, type OrderList as OrderList, type OrderStatus as OrderStatus, type OrderType as OrderType, type PositionEffect as PositionEffect, type QueueState as QueueState, type RequestOrderType as RequestOrderType, type RequestTimeInForce as RequestTimeInForce, type Side as Side, type TimeInForce as TimeInForce, type TrailingOffsetType as TrailingOffsetType, type OrderCancelAllOpenOrdersResponse as OrderCancelAllOpenOrdersResponse, type OrderCancelOpenOrderResponse as OrderCancelOpenOrderResponse, type OrderGetExecutionsResponse as OrderGetExecutionsResponse, type OrderGetOrderByIDResponse as OrderGetOrderByIDResponse, type OrderGetOrdersResponse as OrderGetOrdersResponse, type OrderReplaceOrderResponse as OrderReplaceOrderResponse, type OrderSubmitOrdersResponse as OrderSubmitOrdersResponse, type OrderCancelAllOpenOrdersParams as OrderCancelAllOpenOrdersParams, type OrderCancelOpenOrderParams as OrderCancelOpenOrderParams, type OrderGetExecutionsParams as OrderGetExecutionsParams, type OrderGetOrderByIDParams as OrderGetOrderByIDParams, type OrderGetOrdersParams as OrderGetOrdersParams, type OrderReplaceOrderParams as OrderReplaceOrderParams, type OrderSubmitOrdersParams as OrderSubmitOrdersParams, };
|
|
642
|
+
}
|
|
643
|
+
//# sourceMappingURL=orders.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"orders.d.mts","sourceRoot":"","sources":["../../src/resources/v1/orders.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,KAAK,KAAK,iBAAa;AAC9B,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;OASG;IACH,mBAAmB,CACjB,SAAS,EAAE,MAAM,EACjB,MAAM,GAAE,8BAA8B,GAAG,IAAI,GAAG,SAAc,EAC9D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gCAAgC,CAAC;IAQ/C;;;;;;;;;;OAUG;IACH,eAAe,CACb,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAK3C;;;;;;;;OAQG;IACH,aAAa,CACX,SAAS,EAAE,MAAM,EACjB,KAAK,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO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