@woodger/t-invest-node-sdk 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +611 -0
- package/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES.md +307 -0
- package/certificates/russian-trusted-root-ca.pem +33 -0
- package/dist/application/dto/t-invest-options.d.ts +30 -0
- package/dist/application/dto/t-invest-options.js +11 -0
- package/dist/application/dto/t-invest-services.d.ts +168 -0
- package/dist/application/dto/t-invest-services.js +12 -0
- package/dist/application/errors/sdk-error.d.ts +47 -0
- package/dist/application/errors/sdk-error.js +84 -0
- package/dist/application/reports/accounts.report.d.ts +26 -0
- package/dist/application/reports/accounts.report.js +11 -0
- package/dist/application/reports/accrued-interests.report.d.ts +22 -0
- package/dist/application/reports/accrued-interests.report.js +11 -0
- package/dist/application/reports/asset.report.d.ts +72 -0
- package/dist/application/reports/asset.report.js +11 -0
- package/dist/application/reports/bond-coupons.report.d.ts +31 -0
- package/dist/application/reports/bond-coupons.report.js +11 -0
- package/dist/application/reports/bond.report.d.ts +82 -0
- package/dist/application/reports/bond.report.js +11 -0
- package/dist/application/reports/brands.report.d.ts +24 -0
- package/dist/application/reports/brands.report.js +11 -0
- package/dist/application/reports/broker-report.report.d.ts +74 -0
- package/dist/application/reports/broker-report.report.js +11 -0
- package/dist/application/reports/cancel-order.report.d.ts +14 -0
- package/dist/application/reports/cancel-order.report.js +11 -0
- package/dist/application/reports/cancel-stop-order.report.d.ts +14 -0
- package/dist/application/reports/cancel-stop-order.report.js +11 -0
- package/dist/application/reports/candles.report.d.ts +26 -0
- package/dist/application/reports/candles.report.js +11 -0
- package/dist/application/reports/close-prices.report.d.ts +20 -0
- package/dist/application/reports/close-prices.report.js +11 -0
- package/dist/application/reports/countries.report.d.ts +20 -0
- package/dist/application/reports/countries.report.js +11 -0
- package/dist/application/reports/currency.report.d.ts +58 -0
- package/dist/application/reports/currency.report.js +11 -0
- package/dist/application/reports/dividends-foreign-issuer.report.d.ts +51 -0
- package/dist/application/reports/dividends-foreign-issuer.report.js +11 -0
- package/dist/application/reports/dividends.report.d.ts +33 -0
- package/dist/application/reports/dividends.report.js +11 -0
- package/dist/application/reports/etf.report.d.ts +62 -0
- package/dist/application/reports/etf.report.js +11 -0
- package/dist/application/reports/favorites.report.d.ts +24 -0
- package/dist/application/reports/favorites.report.js +11 -0
- package/dist/application/reports/find-instrument.report.d.ts +34 -0
- package/dist/application/reports/find-instrument.report.js +11 -0
- package/dist/application/reports/future.report.d.ts +66 -0
- package/dist/application/reports/future.report.js +11 -0
- package/dist/application/reports/futures-margin.report.d.ts +21 -0
- package/dist/application/reports/futures-margin.report.js +11 -0
- package/dist/application/reports/index.d.ts +50 -0
- package/dist/application/reports/index.js +66 -0
- package/dist/application/reports/instrument.report.d.ts +47 -0
- package/dist/application/reports/instrument.report.js +11 -0
- package/dist/application/reports/last-prices.report.d.ts +20 -0
- package/dist/application/reports/last-prices.report.js +11 -0
- package/dist/application/reports/last-trades.report.d.ts +24 -0
- package/dist/application/reports/last-trades.report.js +11 -0
- package/dist/application/reports/margin-attributes.report.d.ts +25 -0
- package/dist/application/reports/margin-attributes.report.js +11 -0
- package/dist/application/reports/money.report.d.ts +15 -0
- package/dist/application/reports/money.report.js +11 -0
- package/dist/application/reports/operations-by-cursor.report.d.ts +65 -0
- package/dist/application/reports/operations-by-cursor.report.js +11 -0
- package/dist/application/reports/operations.report.d.ts +40 -0
- package/dist/application/reports/operations.report.js +11 -0
- package/dist/application/reports/option.report.d.ts +76 -0
- package/dist/application/reports/option.report.js +11 -0
- package/dist/application/reports/order-book.report.d.ts +38 -0
- package/dist/application/reports/order-book.report.js +11 -0
- package/dist/application/reports/order-mutation.report.d.ts +45 -0
- package/dist/application/reports/order-mutation.report.js +11 -0
- package/dist/application/reports/order-state.report.d.ts +12 -0
- package/dist/application/reports/order-state.report.js +11 -0
- package/dist/application/reports/orders.report.d.ts +53 -0
- package/dist/application/reports/orders.report.js +11 -0
- package/dist/application/reports/portfolio.report.d.ts +54 -0
- package/dist/application/reports/portfolio.report.js +11 -0
- package/dist/application/reports/positions.report.d.ts +45 -0
- package/dist/application/reports/positions.report.js +11 -0
- package/dist/application/reports/post-stop-order.report.d.ts +14 -0
- package/dist/application/reports/post-stop-order.report.js +11 -0
- package/dist/application/reports/sandbox-account.report.d.ts +20 -0
- package/dist/application/reports/sandbox-account.report.js +11 -0
- package/dist/application/reports/share.report.d.ts +66 -0
- package/dist/application/reports/share.report.js +11 -0
- package/dist/application/reports/stop-orders.report.d.ts +34 -0
- package/dist/application/reports/stop-orders.report.js +11 -0
- package/dist/application/reports/trading-schedules.report.d.ts +44 -0
- package/dist/application/reports/trading-schedules.report.js +11 -0
- package/dist/application/reports/trading-status.report.d.ts +19 -0
- package/dist/application/reports/trading-status.report.js +11 -0
- package/dist/application/reports/trading-statuses.report.d.ts +12 -0
- package/dist/application/reports/trading-statuses.report.js +11 -0
- package/dist/application/reports/user-info.report.d.ts +16 -0
- package/dist/application/reports/user-info.report.js +11 -0
- package/dist/application/reports/user-tariff.report.d.ts +28 -0
- package/dist/application/reports/user-tariff.report.js +11 -0
- package/dist/application/reports/withdraw-limits.report.d.ts +16 -0
- package/dist/application/reports/withdraw-limits.report.js +11 -0
- package/dist/application/services/unary-limiter.d.ts +44 -0
- package/dist/application/services/unary-limiter.js +138 -0
- package/dist/bootstrap/args/command-options.d.ts +43 -0
- package/dist/bootstrap/args/command-options.js +125 -0
- package/dist/bootstrap/args/index.d.ts +1 -0
- package/dist/bootstrap/args/index.js +5 -0
- package/dist/bootstrap/args/instrument-id-options.d.ts +24 -0
- package/dist/bootstrap/args/instrument-id-options.js +47 -0
- package/dist/bootstrap/args/instruments-args.d.ts +49 -0
- package/dist/bootstrap/args/instruments-args.js +89 -0
- package/dist/bootstrap/args/sdk-options.d.ts +19 -0
- package/dist/bootstrap/args/sdk-options.js +40 -0
- package/dist/bootstrap/args/side-effect-args.d.ts +20 -0
- package/dist/bootstrap/args/side-effect-args.js +50 -0
- package/dist/bootstrap/cli/contract.d.ts +16 -0
- package/dist/bootstrap/cli/contract.js +15 -0
- package/dist/bootstrap/cli/domains.d.ts +260 -0
- package/dist/bootstrap/cli/domains.js +631 -0
- package/dist/bootstrap/cli/error.d.ts +15 -0
- package/dist/bootstrap/cli/error.js +40 -0
- package/dist/bootstrap/cli/help.d.ts +751 -0
- package/dist/bootstrap/cli/help.js +1789 -0
- package/dist/bootstrap/cli/registry.d.ts +2102 -0
- package/dist/bootstrap/cli/registry.js +186 -0
- package/dist/bootstrap/cli/runner.d.ts +10 -0
- package/dist/bootstrap/cli/runner.js +151 -0
- package/dist/bootstrap/cli/version.d.ts +17 -0
- package/dist/bootstrap/cli/version.js +26 -0
- package/dist/bootstrap/commands/accounts/cli.d.ts +63 -0
- package/dist/bootstrap/commands/accounts/cli.js +50 -0
- package/dist/bootstrap/commands/accounts/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/accounts/reporter.js +50 -0
- package/dist/bootstrap/commands/accrued-interests/cli.d.ts +129 -0
- package/dist/bootstrap/commands/accrued-interests/cli.js +80 -0
- package/dist/bootstrap/commands/accrued-interests/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/accrued-interests/reporter.js +43 -0
- package/dist/bootstrap/commands/asset/cli.d.ts +99 -0
- package/dist/bootstrap/commands/asset/cli.js +64 -0
- package/dist/bootstrap/commands/asset/reporter.d.ts +16 -0
- package/dist/bootstrap/commands/asset/reporter.js +122 -0
- package/dist/bootstrap/commands/assets/cli.d.ts +102 -0
- package/dist/bootstrap/commands/assets/cli.js +78 -0
- package/dist/bootstrap/commands/assets/reporter.d.ts +14 -0
- package/dist/bootstrap/commands/assets/reporter.js +27 -0
- package/dist/bootstrap/commands/bond/cli.d.ts +83 -0
- package/dist/bootstrap/commands/bond/cli.js +53 -0
- package/dist/bootstrap/commands/bond/reporter.d.ts +15 -0
- package/dist/bootstrap/commands/bond/reporter.js +123 -0
- package/dist/bootstrap/commands/bond-coupons/cli.d.ts +129 -0
- package/dist/bootstrap/commands/bond-coupons/cli.js +80 -0
- package/dist/bootstrap/commands/bond-coupons/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/bond-coupons/reporter.js +64 -0
- package/dist/bootstrap/commands/bonds/cli.d.ts +73 -0
- package/dist/bootstrap/commands/bonds/cli.js +53 -0
- package/dist/bootstrap/commands/bonds/reporter.d.ts +14 -0
- package/dist/bootstrap/commands/bonds/reporter.js +27 -0
- package/dist/bootstrap/commands/brand/cli.d.ts +99 -0
- package/dist/bootstrap/commands/brand/cli.js +64 -0
- package/dist/bootstrap/commands/brand/reporter.d.ts +14 -0
- package/dist/bootstrap/commands/brand/reporter.js +37 -0
- package/dist/bootstrap/commands/brands/cli.d.ts +63 -0
- package/dist/bootstrap/commands/brands/cli.js +50 -0
- package/dist/bootstrap/commands/brands/reporter.d.ts +14 -0
- package/dist/bootstrap/commands/brands/reporter.js +49 -0
- package/dist/bootstrap/commands/broker-report/cli.d.ts +132 -0
- package/dist/bootstrap/commands/broker-report/cli.js +105 -0
- package/dist/bootstrap/commands/broker-report/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/broker-report/reporter.js +123 -0
- package/dist/bootstrap/commands/cancel-order/cli.d.ts +120 -0
- package/dist/bootstrap/commands/cancel-order/cli.js +71 -0
- package/dist/bootstrap/commands/cancel-order/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/cancel-order/reporter.js +32 -0
- package/dist/bootstrap/commands/cancel-stop-order/cli.d.ts +120 -0
- package/dist/bootstrap/commands/cancel-stop-order/cli.js +71 -0
- package/dist/bootstrap/commands/cancel-stop-order/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/cancel-stop-order/reporter.js +32 -0
- package/dist/bootstrap/commands/candles/cli.d.ts +138 -0
- package/dist/bootstrap/commands/candles/cli.js +104 -0
- package/dist/bootstrap/commands/candles/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/candles/reporter.js +49 -0
- package/dist/bootstrap/commands/close-prices/cli.d.ts +99 -0
- package/dist/bootstrap/commands/close-prices/cli.js +66 -0
- package/dist/bootstrap/commands/close-prices/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/close-prices/reporter.js +43 -0
- package/dist/bootstrap/commands/compile-proto/cli.d.ts +12 -0
- package/dist/bootstrap/commands/compile-proto/cli.js +22 -0
- package/dist/bootstrap/commands/countries/cli.d.ts +63 -0
- package/dist/bootstrap/commands/countries/cli.js +50 -0
- package/dist/bootstrap/commands/countries/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/countries/reporter.js +42 -0
- package/dist/bootstrap/commands/currencies/cli.d.ts +73 -0
- package/dist/bootstrap/commands/currencies/cli.js +53 -0
- package/dist/bootstrap/commands/currencies/reporter.d.ts +14 -0
- package/dist/bootstrap/commands/currencies/reporter.js +27 -0
- package/dist/bootstrap/commands/currency/cli.d.ts +83 -0
- package/dist/bootstrap/commands/currency/cli.js +53 -0
- package/dist/bootstrap/commands/currency/reporter.d.ts +15 -0
- package/dist/bootstrap/commands/currency/reporter.js +104 -0
- package/dist/bootstrap/commands/dividends/cli.d.ts +129 -0
- package/dist/bootstrap/commands/dividends/cli.js +80 -0
- package/dist/bootstrap/commands/dividends/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/dividends/reporter.js +62 -0
- package/dist/bootstrap/commands/dividends-foreign-issuer/cli.d.ts +132 -0
- package/dist/bootstrap/commands/dividends-foreign-issuer/cli.js +105 -0
- package/dist/bootstrap/commands/dividends-foreign-issuer/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/dividends-foreign-issuer/reporter.js +108 -0
- package/dist/bootstrap/commands/edit-favorites/cli.d.ts +129 -0
- package/dist/bootstrap/commands/edit-favorites/cli.js +78 -0
- package/dist/bootstrap/commands/edit-favorites/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/edit-favorites/reporter.js +23 -0
- package/dist/bootstrap/commands/etf/cli.d.ts +83 -0
- package/dist/bootstrap/commands/etf/cli.js +53 -0
- package/dist/bootstrap/commands/etf/reporter.d.ts +15 -0
- package/dist/bootstrap/commands/etf/reporter.js +109 -0
- package/dist/bootstrap/commands/etfs/cli.d.ts +73 -0
- package/dist/bootstrap/commands/etfs/cli.js +53 -0
- package/dist/bootstrap/commands/etfs/reporter.d.ts +14 -0
- package/dist/bootstrap/commands/etfs/reporter.js +27 -0
- package/dist/bootstrap/commands/favorites/cli.d.ts +63 -0
- package/dist/bootstrap/commands/favorites/cli.js +50 -0
- package/dist/bootstrap/commands/favorites/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/favorites/reporter.js +60 -0
- package/dist/bootstrap/commands/find-instrument/cli.d.ts +126 -0
- package/dist/bootstrap/commands/find-instrument/cli.js +88 -0
- package/dist/bootstrap/commands/find-instrument/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/find-instrument/reporter.js +71 -0
- package/dist/bootstrap/commands/future/cli.d.ts +83 -0
- package/dist/bootstrap/commands/future/cli.js +53 -0
- package/dist/bootstrap/commands/future/reporter.d.ts +15 -0
- package/dist/bootstrap/commands/future/reporter.js +116 -0
- package/dist/bootstrap/commands/futures/cli.d.ts +73 -0
- package/dist/bootstrap/commands/futures/cli.js +53 -0
- package/dist/bootstrap/commands/futures/reporter.d.ts +14 -0
- package/dist/bootstrap/commands/futures/reporter.js +27 -0
- package/dist/bootstrap/commands/futures-margin/cli.d.ts +105 -0
- package/dist/bootstrap/commands/futures-margin/cli.js +64 -0
- package/dist/bootstrap/commands/futures-margin/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/futures-margin/reporter.js +40 -0
- package/dist/bootstrap/commands/help/cli.d.ts +13 -0
- package/dist/bootstrap/commands/help/cli.js +26 -0
- package/dist/bootstrap/commands/instrument/cli.d.ts +83 -0
- package/dist/bootstrap/commands/instrument/cli.js +53 -0
- package/dist/bootstrap/commands/instrument/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/instrument/reporter.js +91 -0
- package/dist/bootstrap/commands/last-prices/cli.d.ts +99 -0
- package/dist/bootstrap/commands/last-prices/cli.js +66 -0
- package/dist/bootstrap/commands/last-prices/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/last-prices/reporter.js +43 -0
- package/dist/bootstrap/commands/last-trades/cli.d.ts +123 -0
- package/dist/bootstrap/commands/last-trades/cli.js +82 -0
- package/dist/bootstrap/commands/last-trades/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/last-trades/reporter.js +48 -0
- package/dist/bootstrap/commands/margin-attributes/cli.d.ts +99 -0
- package/dist/bootstrap/commands/margin-attributes/cli.js +64 -0
- package/dist/bootstrap/commands/margin-attributes/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/margin-attributes/reporter.js +51 -0
- package/dist/bootstrap/commands/operations/cli.d.ts +156 -0
- package/dist/bootstrap/commands/operations/cli.js +99 -0
- package/dist/bootstrap/commands/operations/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/operations/reporter.js +78 -0
- package/dist/bootstrap/commands/operations-by-cursor/cli.d.ts +204 -0
- package/dist/bootstrap/commands/operations-by-cursor/cli.js +164 -0
- package/dist/bootstrap/commands/operations-by-cursor/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/operations-by-cursor/reporter.js +107 -0
- package/dist/bootstrap/commands/option/cli.d.ts +83 -0
- package/dist/bootstrap/commands/option/cli.js +53 -0
- package/dist/bootstrap/commands/option/reporter.d.ts +15 -0
- package/dist/bootstrap/commands/option/reporter.js +125 -0
- package/dist/bootstrap/commands/options-by/cli.d.ts +108 -0
- package/dist/bootstrap/commands/options-by/cli.js +68 -0
- package/dist/bootstrap/commands/options-by/reporter.d.ts +14 -0
- package/dist/bootstrap/commands/options-by/reporter.js +27 -0
- package/dist/bootstrap/commands/order-book/cli.d.ts +120 -0
- package/dist/bootstrap/commands/order-book/cli.js +73 -0
- package/dist/bootstrap/commands/order-book/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/order-book/reporter.js +60 -0
- package/dist/bootstrap/commands/order-state/cli.d.ts +111 -0
- package/dist/bootstrap/commands/order-state/cli.js +71 -0
- package/dist/bootstrap/commands/order-state/reporter.d.ts +14 -0
- package/dist/bootstrap/commands/order-state/reporter.js +57 -0
- package/dist/bootstrap/commands/orders/cli.d.ts +99 -0
- package/dist/bootstrap/commands/orders/cli.js +64 -0
- package/dist/bootstrap/commands/orders/reporter.d.ts +14 -0
- package/dist/bootstrap/commands/orders/reporter.js +88 -0
- package/dist/bootstrap/commands/portfolio/cli.d.ts +114 -0
- package/dist/bootstrap/commands/portfolio/cli.js +77 -0
- package/dist/bootstrap/commands/portfolio/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/portfolio/reporter.js +95 -0
- package/dist/bootstrap/commands/positions/cli.d.ts +99 -0
- package/dist/bootstrap/commands/positions/cli.js +64 -0
- package/dist/bootstrap/commands/positions/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/positions/reporter.js +116 -0
- package/dist/bootstrap/commands/post-order/cli.d.ts +192 -0
- package/dist/bootstrap/commands/post-order/cli.js +113 -0
- package/dist/bootstrap/commands/post-order/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/post-order/reporter.js +77 -0
- package/dist/bootstrap/commands/post-stop-order/cli.d.ts +216 -0
- package/dist/bootstrap/commands/post-stop-order/cli.js +145 -0
- package/dist/bootstrap/commands/post-stop-order/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/post-stop-order/reporter.js +31 -0
- package/dist/bootstrap/commands/replace-order/cli.d.ts +180 -0
- package/dist/bootstrap/commands/replace-order/cli.js +99 -0
- package/dist/bootstrap/commands/replace-order/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/replace-order/reporter.js +17 -0
- package/dist/bootstrap/commands/sandbox-accounts/cli.d.ts +64 -0
- package/dist/bootstrap/commands/sandbox-accounts/cli.js +54 -0
- package/dist/bootstrap/commands/sandbox-cancel-order/cli.d.ts +120 -0
- package/dist/bootstrap/commands/sandbox-cancel-order/cli.js +69 -0
- package/dist/bootstrap/commands/sandbox-close-account/cli.d.ts +108 -0
- package/dist/bootstrap/commands/sandbox-close-account/cli.js +66 -0
- package/dist/bootstrap/commands/sandbox-close-account/reporter.d.ts +12 -0
- package/dist/bootstrap/commands/sandbox-close-account/reporter.js +32 -0
- package/dist/bootstrap/commands/sandbox-open-account/cli.d.ts +70 -0
- package/dist/bootstrap/commands/sandbox-open-account/cli.js +57 -0
- package/dist/bootstrap/commands/sandbox-open-account/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/sandbox-open-account/reporter.js +31 -0
- package/dist/bootstrap/commands/sandbox-operations/cli.d.ts +156 -0
- package/dist/bootstrap/commands/sandbox-operations/cli.js +78 -0
- package/dist/bootstrap/commands/sandbox-operations-by-cursor/cli.d.ts +204 -0
- package/dist/bootstrap/commands/sandbox-operations-by-cursor/cli.js +98 -0
- package/dist/bootstrap/commands/sandbox-order-state/cli.d.ts +111 -0
- package/dist/bootstrap/commands/sandbox-order-state/cli.js +67 -0
- package/dist/bootstrap/commands/sandbox-orders/cli.d.ts +99 -0
- package/dist/bootstrap/commands/sandbox-orders/cli.js +63 -0
- package/dist/bootstrap/commands/sandbox-pay-in/cli.d.ts +135 -0
- package/dist/bootstrap/commands/sandbox-pay-in/cli.js +86 -0
- package/dist/bootstrap/commands/sandbox-pay-in/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/sandbox-pay-in/reporter.js +32 -0
- package/dist/bootstrap/commands/sandbox-portfolio/cli.d.ts +114 -0
- package/dist/bootstrap/commands/sandbox-portfolio/cli.js +68 -0
- package/dist/bootstrap/commands/sandbox-positions/cli.d.ts +99 -0
- package/dist/bootstrap/commands/sandbox-positions/cli.js +63 -0
- package/dist/bootstrap/commands/sandbox-post-order/cli.d.ts +192 -0
- package/dist/bootstrap/commands/sandbox-post-order/cli.js +90 -0
- package/dist/bootstrap/commands/sandbox-replace-order/cli.d.ts +180 -0
- package/dist/bootstrap/commands/sandbox-replace-order/cli.js +86 -0
- package/dist/bootstrap/commands/sandbox-withdraw-limits/cli.d.ts +99 -0
- package/dist/bootstrap/commands/sandbox-withdraw-limits/cli.js +63 -0
- package/dist/bootstrap/commands/share/cli.d.ts +83 -0
- package/dist/bootstrap/commands/share/cli.js +53 -0
- package/dist/bootstrap/commands/share/reporter.d.ts +15 -0
- package/dist/bootstrap/commands/share/reporter.js +111 -0
- package/dist/bootstrap/commands/shares/cli.d.ts +73 -0
- package/dist/bootstrap/commands/shares/cli.js +53 -0
- package/dist/bootstrap/commands/shares/reporter.d.ts +14 -0
- package/dist/bootstrap/commands/shares/reporter.js +27 -0
- package/dist/bootstrap/commands/stop-orders/cli.d.ts +99 -0
- package/dist/bootstrap/commands/stop-orders/cli.js +68 -0
- package/dist/bootstrap/commands/stop-orders/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/stop-orders/reporter.js +69 -0
- package/dist/bootstrap/commands/stream-run/cli.d.ts +138 -0
- package/dist/bootstrap/commands/stream-run/cli.js +229 -0
- package/dist/bootstrap/commands/stream-run/config.d.ts +56 -0
- package/dist/bootstrap/commands/stream-run/config.js +468 -0
- package/dist/bootstrap/commands/stream-run/reporter.d.ts +30 -0
- package/dist/bootstrap/commands/stream-run/reporter.js +76 -0
- package/dist/bootstrap/commands/trading-schedules/cli.d.ts +120 -0
- package/dist/bootstrap/commands/trading-schedules/cli.js +79 -0
- package/dist/bootstrap/commands/trading-schedules/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/trading-schedules/reporter.js +58 -0
- package/dist/bootstrap/commands/trading-status/cli.d.ts +99 -0
- package/dist/bootstrap/commands/trading-status/cli.js +65 -0
- package/dist/bootstrap/commands/trading-status/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/trading-status/reporter.js +51 -0
- package/dist/bootstrap/commands/trading-statuses/cli.d.ts +99 -0
- package/dist/bootstrap/commands/trading-statuses/cli.js +64 -0
- package/dist/bootstrap/commands/trading-statuses/reporter.d.ts +14 -0
- package/dist/bootstrap/commands/trading-statuses/reporter.js +44 -0
- package/dist/bootstrap/commands/user-info/cli.d.ts +63 -0
- package/dist/bootstrap/commands/user-info/cli.js +50 -0
- package/dist/bootstrap/commands/user-info/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/user-info/reporter.js +39 -0
- package/dist/bootstrap/commands/user-tariff/cli.d.ts +63 -0
- package/dist/bootstrap/commands/user-tariff/cli.js +50 -0
- package/dist/bootstrap/commands/user-tariff/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/user-tariff/reporter.js +50 -0
- package/dist/bootstrap/commands/version/cli.d.ts +13 -0
- package/dist/bootstrap/commands/version/cli.js +22 -0
- package/dist/bootstrap/commands/withdraw-limits/cli.d.ts +99 -0
- package/dist/bootstrap/commands/withdraw-limits/cli.js +64 -0
- package/dist/bootstrap/commands/withdraw-limits/reporter.d.ts +13 -0
- package/dist/bootstrap/commands/withdraw-limits/reporter.js +59 -0
- package/dist/bootstrap/generated-exports.d.ts +29 -0
- package/dist/bootstrap/generated-exports.js +590 -0
- package/dist/bootstrap/index.d.ts +6 -0
- package/dist/bootstrap/index.js +22 -0
- package/dist/bootstrap/proto/compile-proto.d.ts +18 -0
- package/dist/bootstrap/proto/compile-proto.js +122 -0
- package/dist/bootstrap/sdk-config.d.ts +21 -0
- package/dist/bootstrap/sdk-config.js +152 -0
- package/dist/bootstrap/t-invest-node-sdk.d.ts +42 -0
- package/dist/bootstrap/t-invest-node-sdk.js +115 -0
- package/dist/bootstrap/unary-limit-config.d.ts +38 -0
- package/dist/bootstrap/unary-limit-config.js +130 -0
- package/dist/config.d.ts +160 -0
- package/dist/config.js +173 -0
- package/dist/config.types.d.ts +89 -0
- package/dist/config.types.js +13 -0
- package/dist/generated/common.d.ts +214 -0
- package/dist/generated/common.js +1336 -0
- package/dist/generated/google/api/field_behavior.d.ts +61 -0
- package/dist/generated/google/api/field_behavior.js +126 -0
- package/dist/generated/google/protobuf/descriptor.d.ts +1330 -0
- package/dist/generated/google/protobuf/descriptor.js +5984 -0
- package/dist/generated/google/protobuf/timestamp.d.ts +122 -0
- package/dist/generated/google/protobuf/timestamp.js +102 -0
- package/dist/generated/instruments.d.ts +3230 -0
- package/dist/generated/instruments.js +24246 -0
- package/dist/generated/marketdata.d.ts +1268 -0
- package/dist/generated/marketdata.js +8922 -0
- package/dist/generated/operations.d.ts +1165 -0
- package/dist/generated/operations.js +8625 -0
- package/dist/generated/orders.d.ts +806 -0
- package/dist/generated/orders.js +5639 -0
- package/dist/generated/sandbox.d.ts +356 -0
- package/dist/generated/sandbox.js +603 -0
- package/dist/generated/signals.d.ts +196 -0
- package/dist/generated/signals.js +1261 -0
- package/dist/generated/stoporders.d.ts +328 -0
- package/dist/generated/stoporders.js +1990 -0
- package/dist/generated/users.d.ts +453 -0
- package/dist/generated/users.js +2334 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +30 -0
- package/dist/infrastructure/interceptor/index.d.ts +1 -0
- package/dist/infrastructure/interceptor/index.js +17 -0
- package/dist/infrastructure/interceptor/warning-interceptor.d.ts +23 -0
- package/dist/infrastructure/interceptor/warning-interceptor.js +38 -0
- package/dist/infrastructure/report-values.d.ts +19 -0
- package/dist/infrastructure/report-values.js +50 -0
- package/dist/infrastructure/transport/grpc/index.d.ts +5 -0
- package/dist/infrastructure/transport/grpc/index.js +13 -0
- package/dist/infrastructure/transport/grpc/sdk-channel.d.ts +12 -0
- package/dist/infrastructure/transport/grpc/sdk-channel.js +23 -0
- package/dist/infrastructure/transport/grpc/sdk-client.d.ts +16 -0
- package/dist/infrastructure/transport/grpc/sdk-client.js +33 -0
- package/dist/infrastructure/transport/grpc/sdk-metadata.d.ts +12 -0
- package/dist/infrastructure/transport/grpc/sdk-metadata.js +22 -0
- package/dist/infrastructure/transport/grpc/sdk-middleware.d.ts +22 -0
- package/dist/infrastructure/transport/grpc/sdk-middleware.js +312 -0
- package/dist/infrastructure/transport/grpc/tls-root-certificates.d.ts +10 -0
- package/dist/infrastructure/transport/grpc/tls-root-certificates.js +20 -0
- package/dist/infrastructure/transport/grpc/unary-limit-resolver.d.ts +22 -0
- package/dist/infrastructure/transport/grpc/unary-limit-resolver.js +60 -0
- package/dist/infrastructure/transport/grpc/unary-limits.d.ts +1 -0
- package/dist/infrastructure/transport/grpc/unary-limits.js +7 -0
- package/docs/architecture.md +378 -0
- package/docs/bundled-ca.md +157 -0
- package/docs/clean-architecture/adapters.md +173 -0
- package/docs/clean-architecture/api-commands.md +487 -0
- package/docs/clean-architecture/application.md +137 -0
- package/docs/clean-architecture/cli-output-boundaries.md +256 -0
- package/docs/clean-architecture/dto.md +153 -0
- package/docs/clean-architecture/index.md +89 -0
- package/docs/cli-stream-configuration.md +305 -0
- package/docs/cli-stream-reference.md +195 -0
- package/docs/guides/custom-unary-limiter.md +552 -0
- package/docs/guides/errors-and-lifecycle.md +196 -0
- package/docs/guides/getting-started.md +100 -0
- package/docs/guides/index.md +43 -0
- package/docs/guides/streams-and-cancellation.md +177 -0
- package/docs/guides/testing-with-service-definitions.md +110 -0
- package/docs/guides/unary-calls.md +216 -0
- package/docs/index.md +86 -0
- package/docs/limits-policy.md +201 -0
- package/docs/roadmap.md +204 -0
- package/docs/tls-policy.md +62 -0
- package/package.json +62 -0
- package/readme.md +472 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Модуль application report contracts описывает стабильный output shape.
|
|
3
|
+
*
|
|
4
|
+
* Здесь допустимы:
|
|
5
|
+
* - DTO отчетов на границе application/output;
|
|
6
|
+
* - scalar values без зависимости от generated transport DTO;
|
|
7
|
+
*
|
|
8
|
+
* Здесь не должно быть CLI parsing, SDK calls или presentation formatting.
|
|
9
|
+
*/
|
|
10
|
+
/** Одна страна в отчете команды `instruments get-countries`. */
|
|
11
|
+
export interface CountriesReportCountry {
|
|
12
|
+
/** Двухбуквенный код страны. */
|
|
13
|
+
alfaTwo: string;
|
|
14
|
+
/** Трехбуквенный код страны. */
|
|
15
|
+
alfaThree: string;
|
|
16
|
+
name: string;
|
|
17
|
+
nameBrief: string;
|
|
18
|
+
}
|
|
19
|
+
/** Отчет команды `instruments get-countries` на application/output boundary. */
|
|
20
|
+
export type CountriesReport = CountriesReportCountry[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Модуль application report contracts описывает стабильный output shape.
|
|
4
|
+
*
|
|
5
|
+
* Здесь допустимы:
|
|
6
|
+
* - DTO отчетов на границе application/output;
|
|
7
|
+
* - scalar values без зависимости от generated transport DTO;
|
|
8
|
+
*
|
|
9
|
+
* Здесь не должно быть CLI parsing, SDK calls или presentation formatting.
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Модуль application report contracts описывает стабильный output shape.
|
|
3
|
+
*
|
|
4
|
+
* Здесь допустимы:
|
|
5
|
+
* - DTO отчетов на границе application/output;
|
|
6
|
+
* - scalar values без зависимости от generated transport DTO;
|
|
7
|
+
*
|
|
8
|
+
* Здесь не должно быть CLI parsing, SDK calls или presentation formatting.
|
|
9
|
+
*/
|
|
10
|
+
import type { ReportMoney } from './money.report';
|
|
11
|
+
/** Одна валюта в отчете команд `instruments currency-by` и `instruments currencies`. */
|
|
12
|
+
export interface CurrencyReportInstrument {
|
|
13
|
+
figi: string;
|
|
14
|
+
ticker: string;
|
|
15
|
+
classCode: string;
|
|
16
|
+
isin: string;
|
|
17
|
+
uid: string;
|
|
18
|
+
positionUid: string;
|
|
19
|
+
name: string;
|
|
20
|
+
currency: string;
|
|
21
|
+
isoCurrencyName: string;
|
|
22
|
+
lot: number;
|
|
23
|
+
exchange: string;
|
|
24
|
+
/** Реальная площадка исполнения в формате generated enum JSON name. */
|
|
25
|
+
realExchange: string;
|
|
26
|
+
/** Номинал или `null`, если provider не вернул значение. */
|
|
27
|
+
nominal: ReportMoney | null;
|
|
28
|
+
/** Ставка риска long. */
|
|
29
|
+
dlong: string;
|
|
30
|
+
/** Ставка риска short. */
|
|
31
|
+
dshort: string;
|
|
32
|
+
/** Минимальная ставка риска long. */
|
|
33
|
+
dlongMin: string;
|
|
34
|
+
/** Минимальная ставка риска short. */
|
|
35
|
+
dshortMin: string;
|
|
36
|
+
minPriceIncrement: string;
|
|
37
|
+
/** Торговый статус в формате generated enum JSON name. */
|
|
38
|
+
tradingStatus: string;
|
|
39
|
+
countryOfRisk: string;
|
|
40
|
+
countryOfRiskName: string;
|
|
41
|
+
otcFlag: boolean;
|
|
42
|
+
buyAvailableFlag: boolean;
|
|
43
|
+
sellAvailableFlag: boolean;
|
|
44
|
+
apiTradeAvailableFlag: boolean;
|
|
45
|
+
shortEnabledFlag: boolean;
|
|
46
|
+
forIisFlag: boolean;
|
|
47
|
+
forQualInvestorFlag: boolean;
|
|
48
|
+
weekendFlag: boolean;
|
|
49
|
+
blockedTcaFlag: boolean;
|
|
50
|
+
/** Дата первой минутной свечи в ISO-формате или пустая строка. */
|
|
51
|
+
first1minCandleDate: string;
|
|
52
|
+
/** Дата первой дневной свечи в ISO-формате или пустая строка. */
|
|
53
|
+
first1dayCandleDate: string;
|
|
54
|
+
}
|
|
55
|
+
/** Отчет команды `instruments currency-by` на application/output boundary. */
|
|
56
|
+
export type CurrencyReport = CurrencyReportInstrument | null;
|
|
57
|
+
/** Отчет команды `instruments currencies` на application/output boundary. */
|
|
58
|
+
export type CurrenciesReport = CurrencyReportInstrument[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Модуль application report contracts описывает стабильный output shape.
|
|
4
|
+
*
|
|
5
|
+
* Здесь допустимы:
|
|
6
|
+
* - DTO отчетов на границе application/output;
|
|
7
|
+
* - scalar values без зависимости от generated transport DTO;
|
|
8
|
+
*
|
|
9
|
+
* Здесь не должно быть CLI parsing, SDK calls или presentation formatting.
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Модуль application report contracts описывает стабильный output shape.
|
|
3
|
+
*
|
|
4
|
+
* Здесь допустимы:
|
|
5
|
+
* - DTO отчетов на границе application/output;
|
|
6
|
+
* - scalar values без зависимости от generated transport DTO;
|
|
7
|
+
*
|
|
8
|
+
* Здесь не должно быть CLI parsing, SDK calls или presentation formatting.
|
|
9
|
+
*/
|
|
10
|
+
export interface DividendsForeignIssuerTaskReport {
|
|
11
|
+
type: 'generate';
|
|
12
|
+
taskId: string;
|
|
13
|
+
}
|
|
14
|
+
export interface DividendsForeignIssuerPageInfo {
|
|
15
|
+
page: number;
|
|
16
|
+
pagesCount: number;
|
|
17
|
+
itemsCount: number;
|
|
18
|
+
}
|
|
19
|
+
export interface DividendsForeignIssuerItemReport {
|
|
20
|
+
/** Дата фиксации реестра в ISO-формате или пустая строка. */
|
|
21
|
+
recordDate: string;
|
|
22
|
+
/** Дата выплаты в ISO-формате или пустая строка. */
|
|
23
|
+
paymentDate: string;
|
|
24
|
+
securityName: string;
|
|
25
|
+
isin: string;
|
|
26
|
+
issuerCountry: string;
|
|
27
|
+
/** Количество ценных бумаг. */
|
|
28
|
+
quantity: number;
|
|
29
|
+
/** Выплата на одну бумагу в строковом формате quotation. */
|
|
30
|
+
dividend: string;
|
|
31
|
+
/** Комиссия внешних платежных агентов в строковом формате quotation. */
|
|
32
|
+
externalCommission: string;
|
|
33
|
+
/** Сумма до удержания налога в строковом формате quotation. */
|
|
34
|
+
dividendGross: string;
|
|
35
|
+
/** Удержанный налог в строковом формате quotation. */
|
|
36
|
+
tax: string;
|
|
37
|
+
/** Итоговая сумма выплаты в строковом формате quotation. */
|
|
38
|
+
dividendAmount: string;
|
|
39
|
+
currency: string;
|
|
40
|
+
}
|
|
41
|
+
export interface DividendsForeignIssuerPageReport {
|
|
42
|
+
type: 'page';
|
|
43
|
+
page: DividendsForeignIssuerPageInfo;
|
|
44
|
+
items: DividendsForeignIssuerItemReport[];
|
|
45
|
+
}
|
|
46
|
+
export interface DividendsForeignIssuerEmptyReport {
|
|
47
|
+
/** Тип отчета для пустого provider response. */
|
|
48
|
+
type: 'empty';
|
|
49
|
+
}
|
|
50
|
+
/** Отчет команды `operations get-dividends-foreign-issuer` на application/output boundary. */
|
|
51
|
+
export type DividendsForeignIssuerReport = DividendsForeignIssuerTaskReport | DividendsForeignIssuerPageReport | DividendsForeignIssuerEmptyReport;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Модуль application report contracts описывает стабильный output shape.
|
|
4
|
+
*
|
|
5
|
+
* Здесь допустимы:
|
|
6
|
+
* - DTO отчетов на границе application/output;
|
|
7
|
+
* - scalar values без зависимости от generated transport DTO;
|
|
8
|
+
*
|
|
9
|
+
* Здесь не должно быть CLI parsing, SDK calls или presentation formatting.
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Модуль application report contracts описывает стабильный output shape.
|
|
3
|
+
*
|
|
4
|
+
* Здесь допустимы:
|
|
5
|
+
* - DTO отчетов на границе application/output;
|
|
6
|
+
* - scalar values без зависимости от generated transport DTO;
|
|
7
|
+
*
|
|
8
|
+
* Здесь не должно быть CLI parsing, SDK calls или presentation formatting.
|
|
9
|
+
*/
|
|
10
|
+
import type { ReportMoney } from './money.report';
|
|
11
|
+
/** Одна дивидендная выплата в отчете команды `instruments get-dividends`. */
|
|
12
|
+
export interface DividendsReportItem {
|
|
13
|
+
/** Размер дивиденда после налога или `null`, если provider не вернул значение. */
|
|
14
|
+
dividendNet: ReportMoney | null;
|
|
15
|
+
/** Дата выплаты в ISO-формате или пустая строка. */
|
|
16
|
+
paymentDate: string;
|
|
17
|
+
/** Дата объявления в ISO-формате или пустая строка. */
|
|
18
|
+
declaredDate: string;
|
|
19
|
+
/** Последняя дата покупки в ISO-формате или пустая строка. */
|
|
20
|
+
lastBuyDate: string;
|
|
21
|
+
dividendType: string;
|
|
22
|
+
/** Дата фиксации реестра в ISO-формате или пустая строка. */
|
|
23
|
+
recordDate: string;
|
|
24
|
+
regularity: string;
|
|
25
|
+
/** Цена закрытия или `null`, если provider не вернул значение. */
|
|
26
|
+
closePrice: ReportMoney | null;
|
|
27
|
+
/** Дивидендная доходность в строковом формате quotation. */
|
|
28
|
+
yieldValue: string;
|
|
29
|
+
/** Дата создания записи в ISO-формате или пустая строка. */
|
|
30
|
+
createdAt: string;
|
|
31
|
+
}
|
|
32
|
+
/** Отчет команды `instruments get-dividends` на application/output boundary. */
|
|
33
|
+
export type DividendsReport = DividendsReportItem[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Модуль application report contracts описывает стабильный output shape.
|
|
4
|
+
*
|
|
5
|
+
* Здесь допустимы:
|
|
6
|
+
* - DTO отчетов на границе application/output;
|
|
7
|
+
* - scalar values без зависимости от generated transport DTO;
|
|
8
|
+
*
|
|
9
|
+
* Здесь не должно быть CLI parsing, SDK calls или presentation formatting.
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Модуль application report contracts описывает стабильный output shape.
|
|
3
|
+
*
|
|
4
|
+
* Здесь допустимы:
|
|
5
|
+
* - DTO отчетов на границе application/output;
|
|
6
|
+
* - scalar values без зависимости от generated transport DTO;
|
|
7
|
+
*
|
|
8
|
+
* Здесь не должно быть CLI parsing, SDK calls или presentation formatting.
|
|
9
|
+
*/
|
|
10
|
+
/** Один ETF в отчете команд `instruments etf-by` и `instruments etfs`. */
|
|
11
|
+
export interface EtfReportInstrument {
|
|
12
|
+
figi: string;
|
|
13
|
+
ticker: string;
|
|
14
|
+
classCode: string;
|
|
15
|
+
isin: string;
|
|
16
|
+
uid: string;
|
|
17
|
+
positionUid: string;
|
|
18
|
+
name: string;
|
|
19
|
+
currency: string;
|
|
20
|
+
lot: number;
|
|
21
|
+
exchange: string;
|
|
22
|
+
/** Реальная площадка исполнения в формате generated enum JSON name. */
|
|
23
|
+
realExchange: string;
|
|
24
|
+
sector: string;
|
|
25
|
+
focusType: string;
|
|
26
|
+
rebalancingFreq: string;
|
|
27
|
+
fixedCommission: string;
|
|
28
|
+
/** Дата выпуска в ISO-формате или пустая строка. */
|
|
29
|
+
releasedDate: string;
|
|
30
|
+
numShares: string;
|
|
31
|
+
/** Ставка риска long. */
|
|
32
|
+
dlong: string;
|
|
33
|
+
/** Ставка риска short. */
|
|
34
|
+
dshort: string;
|
|
35
|
+
/** Минимальная ставка риска long. */
|
|
36
|
+
dlongMin: string;
|
|
37
|
+
/** Минимальная ставка риска short. */
|
|
38
|
+
dshortMin: string;
|
|
39
|
+
minPriceIncrement: string;
|
|
40
|
+
/** Торговый статус в формате generated enum JSON name. */
|
|
41
|
+
tradingStatus: string;
|
|
42
|
+
countryOfRisk: string;
|
|
43
|
+
countryOfRiskName: string;
|
|
44
|
+
otcFlag: boolean;
|
|
45
|
+
buyAvailableFlag: boolean;
|
|
46
|
+
sellAvailableFlag: boolean;
|
|
47
|
+
apiTradeAvailableFlag: boolean;
|
|
48
|
+
shortEnabledFlag: boolean;
|
|
49
|
+
forIisFlag: boolean;
|
|
50
|
+
forQualInvestorFlag: boolean;
|
|
51
|
+
weekendFlag: boolean;
|
|
52
|
+
blockedTcaFlag: boolean;
|
|
53
|
+
liquidityFlag: boolean;
|
|
54
|
+
/** Дата первой минутной свечи в ISO-формате или пустая строка. */
|
|
55
|
+
first1minCandleDate: string;
|
|
56
|
+
/** Дата первой дневной свечи в ISO-формате или пустая строка. */
|
|
57
|
+
first1dayCandleDate: string;
|
|
58
|
+
}
|
|
59
|
+
/** Отчет команды `instruments etf-by` на application/output boundary. */
|
|
60
|
+
export type EtfReport = EtfReportInstrument | null;
|
|
61
|
+
/** Отчет команды `instruments etfs` на application/output boundary. */
|
|
62
|
+
export type EtfsReport = EtfReportInstrument[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Модуль application report contracts описывает стабильный output shape.
|
|
4
|
+
*
|
|
5
|
+
* Здесь допустимы:
|
|
6
|
+
* - DTO отчетов на границе application/output;
|
|
7
|
+
* - scalar values без зависимости от generated transport DTO;
|
|
8
|
+
*
|
|
9
|
+
* Здесь не должно быть CLI parsing, SDK calls или presentation formatting.
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Модуль application report contracts описывает стабильный output shape.
|
|
3
|
+
*
|
|
4
|
+
* Здесь допустимы:
|
|
5
|
+
* - DTO отчетов на границе application/output;
|
|
6
|
+
* - scalar values без зависимости от generated transport DTO;
|
|
7
|
+
*
|
|
8
|
+
* Здесь не должно быть CLI parsing, SDK calls или presentation formatting.
|
|
9
|
+
*/
|
|
10
|
+
/** Один избранный инструмент в отчете команды `instruments get-favorites`. */
|
|
11
|
+
export interface FavoritesReportInstrument {
|
|
12
|
+
figi: string;
|
|
13
|
+
ticker: string;
|
|
14
|
+
classCode: string;
|
|
15
|
+
isin: string;
|
|
16
|
+
/** Тип инструмента из provider contract. */
|
|
17
|
+
instrumentType: string;
|
|
18
|
+
/** Вид инструмента в формате generated enum JSON name. */
|
|
19
|
+
instrumentKind: string;
|
|
20
|
+
otcFlag: boolean;
|
|
21
|
+
apiTradeAvailableFlag: boolean;
|
|
22
|
+
}
|
|
23
|
+
/** Отчет команды `instruments get-favorites` на application/output boundary. */
|
|
24
|
+
export type FavoritesReport = FavoritesReportInstrument[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Модуль application report contracts описывает стабильный output shape.
|
|
4
|
+
*
|
|
5
|
+
* Здесь допустимы:
|
|
6
|
+
* - DTO отчетов на границе application/output;
|
|
7
|
+
* - scalar values без зависимости от generated transport DTO;
|
|
8
|
+
*
|
|
9
|
+
* Здесь не должно быть CLI parsing, SDK calls или presentation formatting.
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Модуль application report contracts описывает стабильный output shape.
|
|
3
|
+
*
|
|
4
|
+
* Здесь допустимы:
|
|
5
|
+
* - DTO отчетов на границе application/output;
|
|
6
|
+
* - scalar values без зависимости от generated transport DTO;
|
|
7
|
+
*
|
|
8
|
+
* Здесь не должно быть CLI parsing, SDK calls или presentation formatting.
|
|
9
|
+
*/
|
|
10
|
+
/** Один найденный инструмент в отчете команды `instruments find-instrument`. */
|
|
11
|
+
export interface FindInstrumentReportInstrument {
|
|
12
|
+
isin: string;
|
|
13
|
+
figi: string;
|
|
14
|
+
ticker: string;
|
|
15
|
+
classCode: string;
|
|
16
|
+
/** Тип инструмента из provider contract. */
|
|
17
|
+
instrumentType: string;
|
|
18
|
+
name: string;
|
|
19
|
+
uid: string;
|
|
20
|
+
positionUid: string;
|
|
21
|
+
/** Вид инструмента в формате generated enum JSON name. */
|
|
22
|
+
instrumentKind: string;
|
|
23
|
+
apiTradeAvailableFlag: boolean;
|
|
24
|
+
forIisFlag: boolean;
|
|
25
|
+
forQualInvestorFlag: boolean;
|
|
26
|
+
weekendFlag: boolean;
|
|
27
|
+
blockedTcaFlag: boolean;
|
|
28
|
+
/** Дата первой минутной свечи в ISO-формате или пустая строка. */
|
|
29
|
+
first1minCandleDate: string;
|
|
30
|
+
/** Дата первой дневной свечи в ISO-формате или пустая строка. */
|
|
31
|
+
first1dayCandleDate: string;
|
|
32
|
+
}
|
|
33
|
+
/** Отчет команды `instruments find-instrument` на application/output boundary. */
|
|
34
|
+
export type FindInstrumentReport = FindInstrumentReportInstrument[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Модуль application report contracts описывает стабильный output shape.
|
|
4
|
+
*
|
|
5
|
+
* Здесь допустимы:
|
|
6
|
+
* - DTO отчетов на границе application/output;
|
|
7
|
+
* - scalar values без зависимости от generated transport DTO;
|
|
8
|
+
*
|
|
9
|
+
* Здесь не должно быть CLI parsing, SDK calls или presentation formatting.
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Модуль application report contracts описывает стабильный output shape.
|
|
3
|
+
*
|
|
4
|
+
* Здесь допустимы:
|
|
5
|
+
* - DTO отчетов на границе application/output;
|
|
6
|
+
* - scalar values без зависимости от generated transport DTO;
|
|
7
|
+
*
|
|
8
|
+
* Здесь не должно быть CLI parsing, SDK calls или presentation formatting.
|
|
9
|
+
*/
|
|
10
|
+
/** Один фьючерс в отчете команд `instruments future-by` и `instruments futures`. */
|
|
11
|
+
export interface FutureReportInstrument {
|
|
12
|
+
figi: string;
|
|
13
|
+
ticker: string;
|
|
14
|
+
classCode: string;
|
|
15
|
+
uid: string;
|
|
16
|
+
positionUid: string;
|
|
17
|
+
name: string;
|
|
18
|
+
currency: string;
|
|
19
|
+
lot: number;
|
|
20
|
+
exchange: string;
|
|
21
|
+
/** Реальная площадка исполнения в формате generated enum JSON name. */
|
|
22
|
+
realExchange: string;
|
|
23
|
+
sector: string;
|
|
24
|
+
/** Дата начала торгов в ISO-формате или пустая строка. */
|
|
25
|
+
firstTradeDate: string;
|
|
26
|
+
/** Дата последнего дня торгов в ISO-формате или пустая строка. */
|
|
27
|
+
lastTradeDate: string;
|
|
28
|
+
/** Дата экспирации в ISO-формате или пустая строка. */
|
|
29
|
+
expirationDate: string;
|
|
30
|
+
futuresType: string;
|
|
31
|
+
assetType: string;
|
|
32
|
+
basicAsset: string;
|
|
33
|
+
/** Размер базового актива в строковом формате quotation. */
|
|
34
|
+
basicAssetSize: string;
|
|
35
|
+
basicAssetPositionUid: string;
|
|
36
|
+
/** Ставка риска long. */
|
|
37
|
+
dlong: string;
|
|
38
|
+
/** Ставка риска short. */
|
|
39
|
+
dshort: string;
|
|
40
|
+
/** Минимальная ставка риска long. */
|
|
41
|
+
dlongMin: string;
|
|
42
|
+
/** Минимальная ставка риска short. */
|
|
43
|
+
dshortMin: string;
|
|
44
|
+
minPriceIncrement: string;
|
|
45
|
+
/** Торговый статус в формате generated enum JSON name. */
|
|
46
|
+
tradingStatus: string;
|
|
47
|
+
countryOfRisk: string;
|
|
48
|
+
countryOfRiskName: string;
|
|
49
|
+
otcFlag: boolean;
|
|
50
|
+
buyAvailableFlag: boolean;
|
|
51
|
+
sellAvailableFlag: boolean;
|
|
52
|
+
apiTradeAvailableFlag: boolean;
|
|
53
|
+
shortEnabledFlag: boolean;
|
|
54
|
+
forIisFlag: boolean;
|
|
55
|
+
forQualInvestorFlag: boolean;
|
|
56
|
+
weekendFlag: boolean;
|
|
57
|
+
blockedTcaFlag: boolean;
|
|
58
|
+
/** Дата первой минутной свечи в ISO-формате или пустая строка. */
|
|
59
|
+
first1minCandleDate: string;
|
|
60
|
+
/** Дата первой дневной свечи в ISO-формате или пустая строка. */
|
|
61
|
+
first1dayCandleDate: string;
|
|
62
|
+
}
|
|
63
|
+
/** Отчет команды `instruments future-by` на application/output boundary. */
|
|
64
|
+
export type FutureReport = FutureReportInstrument | null;
|
|
65
|
+
/** Отчет команды `instruments futures` на application/output boundary. */
|
|
66
|
+
export type FuturesReport = FutureReportInstrument[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Модуль application report contracts описывает стабильный output shape.
|
|
4
|
+
*
|
|
5
|
+
* Здесь допустимы:
|
|
6
|
+
* - DTO отчетов на границе application/output;
|
|
7
|
+
* - scalar values без зависимости от generated transport DTO;
|
|
8
|
+
*
|
|
9
|
+
* Здесь не должно быть CLI parsing, SDK calls или presentation formatting.
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Модуль application report contracts описывает стабильный output shape.
|
|
3
|
+
*
|
|
4
|
+
* Здесь допустимы:
|
|
5
|
+
* - DTO отчетов на границе application/output;
|
|
6
|
+
* - scalar values без зависимости от generated transport DTO;
|
|
7
|
+
*
|
|
8
|
+
* Здесь не должно быть CLI parsing, SDK calls или presentation formatting.
|
|
9
|
+
*/
|
|
10
|
+
import type { ReportMoney } from './money.report';
|
|
11
|
+
/** Отчет команды `instruments get-futures-margin` на application/output boundary. */
|
|
12
|
+
export interface FuturesMarginReport {
|
|
13
|
+
/** Начальная маржа на покупку или `null`, если provider не вернул значение. */
|
|
14
|
+
initialMarginOnBuy: ReportMoney | null;
|
|
15
|
+
/** Начальная маржа на продажу или `null`, если provider не вернул значение. */
|
|
16
|
+
initialMarginOnSell: ReportMoney | null;
|
|
17
|
+
/** Минимальный шаг цены в строковом формате quotation. */
|
|
18
|
+
minPriceIncrement: string;
|
|
19
|
+
/** Стоимость минимального шага цены в денежном строковом формате отчета. */
|
|
20
|
+
minPriceIncrementAmount: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Модуль application report contracts описывает стабильный output shape.
|
|
4
|
+
*
|
|
5
|
+
* Здесь допустимы:
|
|
6
|
+
* - DTO отчетов на границе application/output;
|
|
7
|
+
* - scalar values без зависимости от generated transport DTO;
|
|
8
|
+
*
|
|
9
|
+
* Здесь не должно быть CLI parsing, SDK calls или presentation formatting.
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Модуль реэкспорта application report contracts.
|
|
3
|
+
*
|
|
4
|
+
* Здесь живут только стабильные output contracts. CLI formatting, stdout/file
|
|
5
|
+
* sinks и provider-specific mapping остаются во внешних слоях.
|
|
6
|
+
*/
|
|
7
|
+
export * from './accounts.report';
|
|
8
|
+
export * from './accrued-interests.report';
|
|
9
|
+
export * from './asset.report';
|
|
10
|
+
export * from './bond.report';
|
|
11
|
+
export * from './bond-coupons.report';
|
|
12
|
+
export * from './broker-report.report';
|
|
13
|
+
export * from './cancel-order.report';
|
|
14
|
+
export * from './cancel-stop-order.report';
|
|
15
|
+
export * from './brands.report';
|
|
16
|
+
export * from './candles.report';
|
|
17
|
+
export * from './close-prices.report';
|
|
18
|
+
export * from './countries.report';
|
|
19
|
+
export * from './currency.report';
|
|
20
|
+
export * from './dividends-foreign-issuer.report';
|
|
21
|
+
export * from './favorites.report';
|
|
22
|
+
export * from './find-instrument.report';
|
|
23
|
+
export * from './future.report';
|
|
24
|
+
export * from './futures-margin.report';
|
|
25
|
+
export * from './dividends.report';
|
|
26
|
+
export * from './etf.report';
|
|
27
|
+
export * from './instrument.report';
|
|
28
|
+
export * from './last-prices.report';
|
|
29
|
+
export * from './last-trades.report';
|
|
30
|
+
export * from './margin-attributes.report';
|
|
31
|
+
export * from './order-book.report';
|
|
32
|
+
export * from './order-state.report';
|
|
33
|
+
export * from './orders.report';
|
|
34
|
+
export * from './order-mutation.report';
|
|
35
|
+
export * from './operations-by-cursor.report';
|
|
36
|
+
export * from './operations.report';
|
|
37
|
+
export * from './option.report';
|
|
38
|
+
export * from './portfolio.report';
|
|
39
|
+
export * from './post-stop-order.report';
|
|
40
|
+
export * from './positions.report';
|
|
41
|
+
export * from './money.report';
|
|
42
|
+
export * from './share.report';
|
|
43
|
+
export * from './sandbox-account.report';
|
|
44
|
+
export * from './stop-orders.report';
|
|
45
|
+
export * from './trading-schedules.report';
|
|
46
|
+
export * from './trading-status.report';
|
|
47
|
+
export * from './trading-statuses.report';
|
|
48
|
+
export * from './user-info.report';
|
|
49
|
+
export * from './user-tariff.report';
|
|
50
|
+
export * from './withdraw-limits.report';
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Модуль реэкспорта application report contracts.
|
|
4
|
+
*
|
|
5
|
+
* Здесь живут только стабильные output contracts. CLI formatting, stdout/file
|
|
6
|
+
* sinks и provider-specific mapping остаются во внешних слоях.
|
|
7
|
+
*/
|
|
8
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9
|
+
if (k2 === undefined) k2 = k;
|
|
10
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
11
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
12
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
13
|
+
}
|
|
14
|
+
Object.defineProperty(o, k2, desc);
|
|
15
|
+
}) : (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
o[k2] = m[k];
|
|
18
|
+
}));
|
|
19
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
20
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
21
|
+
};
|
|
22
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
|
+
__exportStar(require("./accounts.report"), exports);
|
|
24
|
+
__exportStar(require("./accrued-interests.report"), exports);
|
|
25
|
+
__exportStar(require("./asset.report"), exports);
|
|
26
|
+
__exportStar(require("./bond.report"), exports);
|
|
27
|
+
__exportStar(require("./bond-coupons.report"), exports);
|
|
28
|
+
__exportStar(require("./broker-report.report"), exports);
|
|
29
|
+
__exportStar(require("./cancel-order.report"), exports);
|
|
30
|
+
__exportStar(require("./cancel-stop-order.report"), exports);
|
|
31
|
+
__exportStar(require("./brands.report"), exports);
|
|
32
|
+
__exportStar(require("./candles.report"), exports);
|
|
33
|
+
__exportStar(require("./close-prices.report"), exports);
|
|
34
|
+
__exportStar(require("./countries.report"), exports);
|
|
35
|
+
__exportStar(require("./currency.report"), exports);
|
|
36
|
+
__exportStar(require("./dividends-foreign-issuer.report"), exports);
|
|
37
|
+
__exportStar(require("./favorites.report"), exports);
|
|
38
|
+
__exportStar(require("./find-instrument.report"), exports);
|
|
39
|
+
__exportStar(require("./future.report"), exports);
|
|
40
|
+
__exportStar(require("./futures-margin.report"), exports);
|
|
41
|
+
__exportStar(require("./dividends.report"), exports);
|
|
42
|
+
__exportStar(require("./etf.report"), exports);
|
|
43
|
+
__exportStar(require("./instrument.report"), exports);
|
|
44
|
+
__exportStar(require("./last-prices.report"), exports);
|
|
45
|
+
__exportStar(require("./last-trades.report"), exports);
|
|
46
|
+
__exportStar(require("./margin-attributes.report"), exports);
|
|
47
|
+
__exportStar(require("./order-book.report"), exports);
|
|
48
|
+
__exportStar(require("./order-state.report"), exports);
|
|
49
|
+
__exportStar(require("./orders.report"), exports);
|
|
50
|
+
__exportStar(require("./order-mutation.report"), exports);
|
|
51
|
+
__exportStar(require("./operations-by-cursor.report"), exports);
|
|
52
|
+
__exportStar(require("./operations.report"), exports);
|
|
53
|
+
__exportStar(require("./option.report"), exports);
|
|
54
|
+
__exportStar(require("./portfolio.report"), exports);
|
|
55
|
+
__exportStar(require("./post-stop-order.report"), exports);
|
|
56
|
+
__exportStar(require("./positions.report"), exports);
|
|
57
|
+
__exportStar(require("./money.report"), exports);
|
|
58
|
+
__exportStar(require("./share.report"), exports);
|
|
59
|
+
__exportStar(require("./sandbox-account.report"), exports);
|
|
60
|
+
__exportStar(require("./stop-orders.report"), exports);
|
|
61
|
+
__exportStar(require("./trading-schedules.report"), exports);
|
|
62
|
+
__exportStar(require("./trading-status.report"), exports);
|
|
63
|
+
__exportStar(require("./trading-statuses.report"), exports);
|
|
64
|
+
__exportStar(require("./user-info.report"), exports);
|
|
65
|
+
__exportStar(require("./user-tariff.report"), exports);
|
|
66
|
+
__exportStar(require("./withdraw-limits.report"), exports);
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Модуль application report contracts описывает стабильный output shape.
|
|
3
|
+
*
|
|
4
|
+
* Здесь допустимы:
|
|
5
|
+
* - DTO отчетов на границе application/output;
|
|
6
|
+
* - scalar values без зависимости от generated transport DTO;
|
|
7
|
+
*
|
|
8
|
+
* Здесь не должно быть CLI parsing, SDK calls или presentation formatting.
|
|
9
|
+
*/
|
|
10
|
+
/** Основная информация об инструменте в отчете команды `instruments get-instrument-by`. */
|
|
11
|
+
export interface InstrumentReportInstrument {
|
|
12
|
+
figi: string;
|
|
13
|
+
ticker: string;
|
|
14
|
+
classCode: string;
|
|
15
|
+
isin: string;
|
|
16
|
+
uid: string;
|
|
17
|
+
positionUid: string;
|
|
18
|
+
name: string;
|
|
19
|
+
/** Тип инструмента из provider contract. */
|
|
20
|
+
instrumentType: string;
|
|
21
|
+
/** Вид инструмента в формате generated enum JSON name. */
|
|
22
|
+
instrumentKind: string;
|
|
23
|
+
currency: string;
|
|
24
|
+
lot: number;
|
|
25
|
+
exchange: string;
|
|
26
|
+
/** Реальная площадка исполнения в формате generated enum JSON name. */
|
|
27
|
+
realExchange: string;
|
|
28
|
+
/** Торговый статус в формате generated enum JSON name. */
|
|
29
|
+
tradingStatus: string;
|
|
30
|
+
countryOfRisk: string;
|
|
31
|
+
countryOfRiskName: string;
|
|
32
|
+
otcFlag: boolean;
|
|
33
|
+
buyAvailableFlag: boolean;
|
|
34
|
+
sellAvailableFlag: boolean;
|
|
35
|
+
apiTradeAvailableFlag: boolean;
|
|
36
|
+
shortEnabledFlag: boolean;
|
|
37
|
+
forIisFlag: boolean;
|
|
38
|
+
forQualInvestorFlag: boolean;
|
|
39
|
+
weekendFlag: boolean;
|
|
40
|
+
blockedTcaFlag: boolean;
|
|
41
|
+
/** Дата первой минутной свечи в ISO-формате или пустая строка. */
|
|
42
|
+
first1minCandleDate: string;
|
|
43
|
+
/** Дата первой дневной свечи в ISO-формате или пустая строка. */
|
|
44
|
+
first1dayCandleDate: string;
|
|
45
|
+
}
|
|
46
|
+
/** Отчет команды `instruments get-instrument-by` на application/output boundary. */
|
|
47
|
+
export type InstrumentReport = InstrumentReportInstrument | null;
|