snaptrade-typescript-sdk 13.1.14 → 13.2.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/dist/index.d.mts CHANGED
@@ -17,17 +17,26 @@ declare class PersonalApiKeyAuth {
17
17
  private constructor();
18
18
  static create(params: Omit<PersonalApiKeyAuth, "mode">): PersonalApiKeyAuth;
19
19
  }
20
- type AuthMode = CommercialApiKeyAuth | PersonalApiKeyAuth;
20
+ declare class OAuthAuth {
21
+ readonly mode = "oauth";
22
+ private readonly __authModeBrand;
23
+ readonly accessToken: AccessToken;
24
+ private constructor();
25
+ static create(params: Omit<OAuthAuth, "mode">): OAuthAuth;
26
+ }
27
+ type AuthMode = CommercialApiKeyAuth | PersonalApiKeyAuth | OAuthAuth;
21
28
  declare class SnaptradeAuth {
22
29
  private constructor();
23
30
  static ["commercialApiKey"](params: Omit<CommercialApiKeyAuth, "mode">): CommercialApiKeyAuth;
24
31
  static ["personalApiKey"](params: Omit<PersonalApiKeyAuth, "mode">): PersonalApiKeyAuth;
32
+ static ["oauth"](params: Omit<OAuthAuth, "mode">): OAuthAuth;
25
33
  }
26
34
  //#endregion
27
35
  //#region configuration.d.ts
28
36
  type ApiKey = string | ((keyParamName: string) => string) | ((keyParamName: string) => Promise<string>) | {
29
37
  [apiKeyName: string]: string | undefined;
30
38
  };
39
+ type AccessToken = string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
31
40
  /** The FormData methods used by generated multipart requests. */
32
41
  interface FormDataLike {
33
42
  append(name: string, value: unknown, options?: unknown): void;
@@ -68,6 +77,13 @@ declare class Configuration<TAuth extends AuthMode> {
68
77
  * @memberof Configuration
69
78
  */
70
79
  password?: string;
80
+ /**
81
+ * parameter for oauth2 security
82
+ * @param name security name
83
+ * @param scopes oauth2 scope
84
+ * @memberof Configuration
85
+ */
86
+ accessToken?: AccessToken;
71
87
  /**
72
88
  * override base path
73
89
  *
@@ -3875,7 +3891,7 @@ interface AccountPosition {
3875
3891
  */
3876
3892
  'cash_equivalent'?: boolean;
3877
3893
  /**
3878
- * List of tax lots for the given position. Disabled by default; enable via the Customer Dashboard Add-ons page. When enabled, this field is included only for stocks, ADRs, ETFs, mutual funds, and crypto positions. For these positions, an empty list means no tax lot data is available. Availability varies by brokerage and position. This field is omitted for all other instrument kinds or when the feature is disabled.
3894
+ * List of tax lots for the given position. Disabled by default; enable via the Customer Dashboard Add-ons page. When enabled, this field is included for security positions (`stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`). For these positions, an empty list means no tax lot data is available. Availability varies by brokerage and position. This field is omitted for options, futures, future options, CFDs, tokenized assets, and cash, or when the feature is disabled.
3879
3895
  * @type {Array<TaxLot>}
3880
3896
  * @memberof AccountPosition
3881
3897
  */
@@ -8051,7 +8067,7 @@ interface SimpleTradeInstrument {
8051
8067
  */
8052
8068
  'kind': SimpleTradeInstrumentKindEnum;
8053
8069
  /**
8054
- * Equity ticker, OCC equity-option symbol, or exact tastytrade BrokerageInstrument ticker for a future or future option. Future tickers begin with `/`; future-option tickers begin with `./`. Preserve spaces and punctuation. Universal symbol IDs are not accepted.
8070
+ * Equity ticker, OCC equity-option symbol, or brokerage-native futures symbol. Tastytrade future tickers begin with `/` and future-option tickers begin with `./`; preserve their spaces and punctuation. Webull US futures require a specific unprefixed contract symbol such as ESZ6, without whitespace; slash aliases and continuous/root-only symbols are not accepted. Universal symbol IDs are not accepted.
8055
8071
  * @type {string}
8056
8072
  * @memberof SimpleTradeInstrument
8057
8073
  */
@@ -8102,7 +8118,7 @@ interface SimpleTradeForm {
8102
8118
  */
8103
8119
  'order_type': SimpleTradeFormOrderTypeEnum;
8104
8120
  /**
8105
- * Order duration, subject to brokerage and execution-path support. gtd requires expiry_date and a non-market single-leg equity/option order. Existing single-leg option routing does not support ioc. Futures and multi-leg orders do not support gtd through this endpoint.
8121
+ * Order duration, subject to brokerage and execution-path support. gtd requires expiry_date and a non-market single-leg equity/option order. Existing single-leg option routing does not support ioc. Futures and multi-leg orders do not support gtd through this endpoint. Webull US futures only support day and gtc.
8106
8122
  * @type {string}
8107
8123
  * @memberof SimpleTradeForm
8108
8124
  */
@@ -8132,7 +8148,7 @@ interface SimpleTradeForm {
8132
8148
  */
8133
8149
  'price_effect'?: SimpleTradeFormPriceEffectEnum;
8134
8150
  /**
8135
- * Optional canonical UUID, forwarded where the existing execution path supports it and for tastytrade futures orders. Requires the existing client-order-ID enablement; when disabled the value is ignored. Brokerage behavior on duplicates varies; SnapTrade does not enforce uniqueness. Tastytrade uses this as external-identifier for correlation and does not deduplicate submissions.
8151
+ * Optional canonical UUID, forwarded where the existing execution path supports it and for tastytrade and Webull US futures orders. Requires the existing client-order-ID enablement; when disabled the value is ignored. Brokerage behavior on duplicates varies; SnapTrade does not enforce uniqueness. Tastytrade uses this as external-identifier for correlation and does not deduplicate submissions. For Webull US futures, SnapTrade converts the supplied UUID (or its generated order UUID) to lowercase 32-character hexadecimal without hyphens. The original supplied UUID remains in SnapTrade\'s trade audit; the converted value is returned as brokerage_order_id for subsequent order reads.
8136
8152
  * @type {string}
8137
8153
  * @memberof SimpleTradeForm
8138
8154
  */
@@ -8954,7 +8970,7 @@ declare const AccountInformationApiAxiosParamCreator: (configuration?: Configura
8954
8970
  */
8955
8971
  getAccountDetails: (accountId: string, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8956
8972
  /**
8957
- * Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. `stock`, `adr`, `etf`, `mutualfund`, and `crypto` positions may include `tax_lots` when tax lot data is enabled for the account. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
8973
+ * Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. Security positions (`stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`) may include `tax_lots` when tax lot data is enabled for the account; derivative, CFD, tokenized asset, and cash positions never do. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
8958
8974
  * @summary List all account positions
8959
8975
  * @param {string} accountId
8960
8976
  * @param {string} [userId]
@@ -9108,7 +9124,7 @@ declare const AccountInformationApiFp: <TAuth extends AuthMode>(configuration?:
9108
9124
  */
9109
9125
  getAccountDetails(...args: AccountInformationApiGetAccountDetailsArgs<TAuth>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<ConnectionAccount, unknown>>>;
9110
9126
  /**
9111
- * Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. `stock`, `adr`, `etf`, `mutualfund`, and `crypto` positions may include `tax_lots` when tax lot data is enabled for the account. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
9127
+ * Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. Security positions (`stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`) may include `tax_lots` when tax lot data is enabled for the account; derivative, CFD, tokenized asset, and cash positions never do. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
9112
9128
  * @summary List all account positions
9113
9129
  * @param {AccountInformationApiGetAllAccountPositionsRequest<TAuth>} requestParameters Request parameters.
9114
9130
  * @param {*} [options] Override http request option.
@@ -9237,7 +9253,7 @@ declare const AccountInformationApiFactory: <TAuth extends AuthMode>(configurati
9237
9253
  */
9238
9254
  getAccountDetails(...args: AccountInformationApiGetAccountDetailsArgs<TAuth>): Promise<AxiosResponse<ConnectionAccount, unknown>>;
9239
9255
  /**
9240
- * Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. `stock`, `adr`, `etf`, `mutualfund`, and `crypto` positions may include `tax_lots` when tax lot data is enabled for the account. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
9256
+ * Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. Security positions (`stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`) may include `tax_lots` when tax lot data is enabled for the account; derivative, CFD, tokenized asset, and cash positions never do. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
9241
9257
  * @summary List all account positions
9242
9258
  * @param {AccountInformationApiGetAllAccountPositionsRequest<TAuth>} requestParameters Request parameters.
9243
9259
  * @param {*} [options] Override http request option.
@@ -9378,9 +9394,14 @@ type AccountInformationApiGetAccountActivitiespersonalApiKeyRequest = AccountInf
9378
9394
  readonly userId?: never;
9379
9395
  readonly userSecret?: never;
9380
9396
  };
9397
+ type AccountInformationApiGetAccountActivitiesoauthRequest = AccountInformationApiGetAccountActivitiesBaseRequest & {
9398
+ readonly userId?: never;
9399
+ readonly userSecret?: never;
9400
+ };
9381
9401
  type AccountInformationApiGetAccountActivitiesRequestByAuthMode = {
9382
9402
  "commercialApiKey": AccountInformationApiGetAccountActivitiescommercialApiKeyRequest;
9383
9403
  "personalApiKey": AccountInformationApiGetAccountActivitiespersonalApiKeyRequest;
9404
+ "oauth": AccountInformationApiGetAccountActivitiesoauthRequest;
9384
9405
  };
9385
9406
  type AccountInformationApiGetAccountActivitiesRequest<TAuth extends AuthMode> = AccountInformationApiGetAccountActivitiesRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetAccountActivitiesRequestByAuthMode];
9386
9407
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9405,9 +9426,14 @@ type AccountInformationApiGetAccountBalanceHistorypersonalApiKeyRequest = Accoun
9405
9426
  readonly userId?: never;
9406
9427
  readonly userSecret?: never;
9407
9428
  };
9429
+ type AccountInformationApiGetAccountBalanceHistoryoauthRequest = AccountInformationApiGetAccountBalanceHistoryBaseRequest & {
9430
+ readonly userId?: never;
9431
+ readonly userSecret?: never;
9432
+ };
9408
9433
  type AccountInformationApiGetAccountBalanceHistoryRequestByAuthMode = {
9409
9434
  "commercialApiKey": AccountInformationApiGetAccountBalanceHistorycommercialApiKeyRequest;
9410
9435
  "personalApiKey": AccountInformationApiGetAccountBalanceHistorypersonalApiKeyRequest;
9436
+ "oauth": AccountInformationApiGetAccountBalanceHistoryoauthRequest;
9411
9437
  };
9412
9438
  type AccountInformationApiGetAccountBalanceHistoryRequest<TAuth extends AuthMode> = AccountInformationApiGetAccountBalanceHistoryRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetAccountBalanceHistoryRequestByAuthMode];
9413
9439
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9459,9 +9485,14 @@ type AccountInformationApiGetAccountDetailspersonalApiKeyRequest = AccountInform
9459
9485
  readonly userId?: never;
9460
9486
  readonly userSecret?: never;
9461
9487
  };
9488
+ type AccountInformationApiGetAccountDetailsoauthRequest = AccountInformationApiGetAccountDetailsBaseRequest & {
9489
+ readonly userId?: never;
9490
+ readonly userSecret?: never;
9491
+ };
9462
9492
  type AccountInformationApiGetAccountDetailsRequestByAuthMode = {
9463
9493
  "commercialApiKey": AccountInformationApiGetAccountDetailscommercialApiKeyRequest;
9464
9494
  "personalApiKey": AccountInformationApiGetAccountDetailspersonalApiKeyRequest;
9495
+ "oauth": AccountInformationApiGetAccountDetailsoauthRequest;
9465
9496
  };
9466
9497
  type AccountInformationApiGetAccountDetailsRequest<TAuth extends AuthMode> = AccountInformationApiGetAccountDetailsRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetAccountDetailsRequestByAuthMode];
9467
9498
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9486,9 +9517,14 @@ type AccountInformationApiGetAllAccountPositionspersonalApiKeyRequest = AccountI
9486
9517
  readonly userId?: never;
9487
9518
  readonly userSecret?: never;
9488
9519
  };
9520
+ type AccountInformationApiGetAllAccountPositionsoauthRequest = AccountInformationApiGetAllAccountPositionsBaseRequest & {
9521
+ readonly userId?: never;
9522
+ readonly userSecret?: never;
9523
+ };
9489
9524
  type AccountInformationApiGetAllAccountPositionsRequestByAuthMode = {
9490
9525
  "commercialApiKey": AccountInformationApiGetAllAccountPositionscommercialApiKeyRequest;
9491
9526
  "personalApiKey": AccountInformationApiGetAllAccountPositionspersonalApiKeyRequest;
9527
+ "oauth": AccountInformationApiGetAllAccountPositionsoauthRequest;
9492
9528
  };
9493
9529
  type AccountInformationApiGetAllAccountPositionsRequest<TAuth extends AuthMode> = AccountInformationApiGetAllAccountPositionsRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetAllAccountPositionsRequestByAuthMode];
9494
9530
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9513,9 +9549,14 @@ type AccountInformationApiGetUserAccountBalancepersonalApiKeyRequest = AccountIn
9513
9549
  readonly userId?: never;
9514
9550
  readonly userSecret?: never;
9515
9551
  };
9552
+ type AccountInformationApiGetUserAccountBalanceoauthRequest = AccountInformationApiGetUserAccountBalanceBaseRequest & {
9553
+ readonly userId?: never;
9554
+ readonly userSecret?: never;
9555
+ };
9516
9556
  type AccountInformationApiGetUserAccountBalanceRequestByAuthMode = {
9517
9557
  "commercialApiKey": AccountInformationApiGetUserAccountBalancecommercialApiKeyRequest;
9518
9558
  "personalApiKey": AccountInformationApiGetUserAccountBalancepersonalApiKeyRequest;
9559
+ "oauth": AccountInformationApiGetUserAccountBalanceoauthRequest;
9519
9560
  };
9520
9561
  type AccountInformationApiGetUserAccountBalanceRequest<TAuth extends AuthMode> = AccountInformationApiGetUserAccountBalanceRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetUserAccountBalanceRequestByAuthMode];
9521
9562
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9540,9 +9581,14 @@ type AccountInformationApiGetUserAccountDetailspersonalApiKeyRequest = AccountIn
9540
9581
  readonly userId?: never;
9541
9582
  readonly userSecret?: never;
9542
9583
  };
9584
+ type AccountInformationApiGetUserAccountDetailsoauthRequest = AccountInformationApiGetUserAccountDetailsBaseRequest & {
9585
+ readonly userId?: never;
9586
+ readonly userSecret?: never;
9587
+ };
9543
9588
  type AccountInformationApiGetUserAccountDetailsRequestByAuthMode = {
9544
9589
  "commercialApiKey": AccountInformationApiGetUserAccountDetailscommercialApiKeyRequest;
9545
9590
  "personalApiKey": AccountInformationApiGetUserAccountDetailspersonalApiKeyRequest;
9591
+ "oauth": AccountInformationApiGetUserAccountDetailsoauthRequest;
9546
9592
  };
9547
9593
  type AccountInformationApiGetUserAccountDetailsRequest<TAuth extends AuthMode> = AccountInformationApiGetUserAccountDetailsRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetUserAccountDetailsRequestByAuthMode];
9548
9594
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9567,9 +9613,14 @@ type AccountInformationApiGetUserAccountOrderDetailpersonalApiKeyRequest = Accou
9567
9613
  readonly userId?: never;
9568
9614
  readonly userSecret?: never;
9569
9615
  };
9616
+ type AccountInformationApiGetUserAccountOrderDetailoauthRequest = AccountInformationApiGetUserAccountOrderDetailBaseRequest & {
9617
+ readonly userId?: never;
9618
+ readonly userSecret?: never;
9619
+ };
9570
9620
  type AccountInformationApiGetUserAccountOrderDetailRequestByAuthMode = {
9571
9621
  "commercialApiKey": AccountInformationApiGetUserAccountOrderDetailcommercialApiKeyRequest;
9572
9622
  "personalApiKey": AccountInformationApiGetUserAccountOrderDetailpersonalApiKeyRequest;
9623
+ "oauth": AccountInformationApiGetUserAccountOrderDetailoauthRequest;
9573
9624
  };
9574
9625
  type AccountInformationApiGetUserAccountOrderDetailRequest<TAuth extends AuthMode> = AccountInformationApiGetUserAccountOrderDetailRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetUserAccountOrderDetailRequestByAuthMode];
9575
9626
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9606,9 +9657,14 @@ type AccountInformationApiGetUserAccountOrderspersonalApiKeyRequest = AccountInf
9606
9657
  readonly userId?: never;
9607
9658
  readonly userSecret?: never;
9608
9659
  };
9660
+ type AccountInformationApiGetUserAccountOrdersoauthRequest = AccountInformationApiGetUserAccountOrdersBaseRequest & {
9661
+ readonly userId?: never;
9662
+ readonly userSecret?: never;
9663
+ };
9609
9664
  type AccountInformationApiGetUserAccountOrdersRequestByAuthMode = {
9610
9665
  "commercialApiKey": AccountInformationApiGetUserAccountOrderscommercialApiKeyRequest;
9611
9666
  "personalApiKey": AccountInformationApiGetUserAccountOrderspersonalApiKeyRequest;
9667
+ "oauth": AccountInformationApiGetUserAccountOrdersoauthRequest;
9612
9668
  };
9613
9669
  type AccountInformationApiGetUserAccountOrdersRequest<TAuth extends AuthMode> = AccountInformationApiGetUserAccountOrdersRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetUserAccountOrdersRequestByAuthMode];
9614
9670
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9639,9 +9695,14 @@ type AccountInformationApiGetUserAccountRecentOrderspersonalApiKeyRequest = Acco
9639
9695
  readonly userId?: never;
9640
9696
  readonly userSecret?: never;
9641
9697
  };
9698
+ type AccountInformationApiGetUserAccountRecentOrdersoauthRequest = AccountInformationApiGetUserAccountRecentOrdersBaseRequest & {
9699
+ readonly userId?: never;
9700
+ readonly userSecret?: never;
9701
+ };
9642
9702
  type AccountInformationApiGetUserAccountRecentOrdersRequestByAuthMode = {
9643
9703
  "commercialApiKey": AccountInformationApiGetUserAccountRecentOrderscommercialApiKeyRequest;
9644
9704
  "personalApiKey": AccountInformationApiGetUserAccountRecentOrderspersonalApiKeyRequest;
9705
+ "oauth": AccountInformationApiGetUserAccountRecentOrdersoauthRequest;
9645
9706
  };
9646
9707
  type AccountInformationApiGetUserAccountRecentOrdersRequest<TAuth extends AuthMode> = AccountInformationApiGetUserAccountRecentOrdersRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetUserAccountRecentOrdersRequestByAuthMode];
9647
9708
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9699,9 +9760,14 @@ type AccountInformationApiGetUserHoldingspersonalApiKeyRequest = AccountInformat
9699
9760
  readonly userId?: never;
9700
9761
  readonly userSecret?: never;
9701
9762
  };
9763
+ type AccountInformationApiGetUserHoldingsoauthRequest = AccountInformationApiGetUserHoldingsBaseRequest & {
9764
+ readonly userId?: never;
9765
+ readonly userSecret?: never;
9766
+ };
9702
9767
  type AccountInformationApiGetUserHoldingsRequestByAuthMode = {
9703
9768
  "commercialApiKey": AccountInformationApiGetUserHoldingscommercialApiKeyRequest;
9704
9769
  "personalApiKey": AccountInformationApiGetUserHoldingspersonalApiKeyRequest;
9770
+ "oauth": AccountInformationApiGetUserHoldingsoauthRequest;
9705
9771
  };
9706
9772
  type AccountInformationApiGetUserHoldingsRequest<TAuth extends AuthMode> = AccountInformationApiGetUserHoldingsRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetUserHoldingsRequestByAuthMode];
9707
9773
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9719,13 +9785,18 @@ type AccountInformationApiListAllUserAccountspersonalApiKeyRequest = AccountInfo
9719
9785
  readonly userId?: never;
9720
9786
  readonly userSecret?: never;
9721
9787
  };
9788
+ type AccountInformationApiListAllUserAccountsoauthRequest = AccountInformationApiListAllUserAccountsBaseRequest & {
9789
+ readonly userId?: never;
9790
+ readonly userSecret?: never;
9791
+ };
9722
9792
  type AccountInformationApiListAllUserAccountsRequestByAuthMode = {
9723
9793
  "commercialApiKey": AccountInformationApiListAllUserAccountscommercialApiKeyRequest;
9724
9794
  "personalApiKey": AccountInformationApiListAllUserAccountspersonalApiKeyRequest;
9795
+ "oauth": AccountInformationApiListAllUserAccountsoauthRequest;
9725
9796
  };
9726
9797
  type AccountInformationApiListAllUserAccountsRequest<TAuth extends AuthMode> = AccountInformationApiListAllUserAccountsRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiListAllUserAccountsRequestByAuthMode];
9727
9798
  /** Request argument optionality depends on the selected authentication mode. */
9728
- type AccountInformationApiListAllUserAccountsArgs<TAuth extends AuthMode> = TAuth["mode"] extends "personalApiKey" ? [requestParameters?: AccountInformationApiListAllUserAccountsRequest<TAuth>, options?: AxiosRequestConfig] : [requestParameters: AccountInformationApiListAllUserAccountsRequest<TAuth>, options?: AxiosRequestConfig];
9799
+ type AccountInformationApiListAllUserAccountsArgs<TAuth extends AuthMode> = TAuth["mode"] extends "personalApiKey" | "oauth" ? [requestParameters?: AccountInformationApiListAllUserAccountsRequest<TAuth>, options?: AxiosRequestConfig] : [requestParameters: AccountInformationApiListAllUserAccountsRequest<TAuth>, options?: AxiosRequestConfig];
9729
9800
  /**
9730
9801
  * Request parameters for listUserAccounts operation in AccountInformationApi.
9731
9802
  * @export
@@ -9739,13 +9810,18 @@ type AccountInformationApiListUserAccountspersonalApiKeyRequest = AccountInforma
9739
9810
  readonly userId?: never;
9740
9811
  readonly userSecret?: never;
9741
9812
  };
9813
+ type AccountInformationApiListUserAccountsoauthRequest = AccountInformationApiListUserAccountsBaseRequest & {
9814
+ readonly userId?: never;
9815
+ readonly userSecret?: never;
9816
+ };
9742
9817
  type AccountInformationApiListUserAccountsRequestByAuthMode = {
9743
9818
  "commercialApiKey": AccountInformationApiListUserAccountscommercialApiKeyRequest;
9744
9819
  "personalApiKey": AccountInformationApiListUserAccountspersonalApiKeyRequest;
9820
+ "oauth": AccountInformationApiListUserAccountsoauthRequest;
9745
9821
  };
9746
9822
  type AccountInformationApiListUserAccountsRequest<TAuth extends AuthMode> = AccountInformationApiListUserAccountsRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiListUserAccountsRequestByAuthMode];
9747
9823
  /** Request argument optionality depends on the selected authentication mode. */
9748
- type AccountInformationApiListUserAccountsArgs<TAuth extends AuthMode> = TAuth["mode"] extends "personalApiKey" ? [requestParameters?: AccountInformationApiListUserAccountsRequest<TAuth>, options?: AxiosRequestConfig] : [requestParameters: AccountInformationApiListUserAccountsRequest<TAuth>, options?: AxiosRequestConfig];
9824
+ type AccountInformationApiListUserAccountsArgs<TAuth extends AuthMode> = TAuth["mode"] extends "personalApiKey" | "oauth" ? [requestParameters?: AccountInformationApiListUserAccountsRequest<TAuth>, options?: AxiosRequestConfig] : [requestParameters: AccountInformationApiListUserAccountsRequest<TAuth>, options?: AxiosRequestConfig];
9749
9825
  /**
9750
9826
  * Request parameters for updateUserAccount operation in AccountInformationApi.
9751
9827
  * @export
@@ -9766,9 +9842,14 @@ type AccountInformationApiUpdateUserAccountpersonalApiKeyRequest = AccountInform
9766
9842
  readonly userId?: never;
9767
9843
  readonly userSecret?: never;
9768
9844
  };
9845
+ type AccountInformationApiUpdateUserAccountoauthRequest = AccountInformationApiUpdateUserAccountBaseRequest & {
9846
+ readonly userId?: never;
9847
+ readonly userSecret?: never;
9848
+ };
9769
9849
  type AccountInformationApiUpdateUserAccountRequestByAuthMode = {
9770
9850
  "commercialApiKey": AccountInformationApiUpdateUserAccountcommercialApiKeyRequest;
9771
9851
  "personalApiKey": AccountInformationApiUpdateUserAccountpersonalApiKeyRequest;
9852
+ "oauth": AccountInformationApiUpdateUserAccountoauthRequest;
9772
9853
  };
9773
9854
  type AccountInformationApiUpdateUserAccountRequest<TAuth extends AuthMode> = AccountInformationApiUpdateUserAccountRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiUpdateUserAccountRequestByAuthMode];
9774
9855
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9817,7 +9898,7 @@ declare class AccountInformationApiGenerated<TAuth extends AuthMode> extends Bas
9817
9898
  */
9818
9899
  getAccountDetails(...args: AccountInformationApiGetAccountDetailsArgs<TAuth>): Promise<AxiosResponse<ConnectionAccount, unknown, {}, any>>;
9819
9900
  /**
9820
- * Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. `stock`, `adr`, `etf`, `mutualfund`, and `crypto` positions may include `tax_lots` when tax lot data is enabled for the account. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
9901
+ * Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. Security positions (`stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`) may include `tax_lots` when tax lot data is enabled for the account; derivative, CFD, tokenized asset, and cash positions never do. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
9821
9902
  * @summary List all account positions
9822
9903
  * @param {AccountInformationApiGetAllAccountPositionsRequest<TAuth>} requestParameters Request parameters.
9823
9904
  * @param {*} [options] Override http request option.
@@ -10148,13 +10229,18 @@ type AuthenticationApiLoginSnapTradeUserpersonalApiKeyRequest = AuthenticationAp
10148
10229
  readonly userId?: never;
10149
10230
  readonly userSecret?: never;
10150
10231
  };
10232
+ type AuthenticationApiLoginSnapTradeUseroauthRequest = AuthenticationApiLoginSnapTradeUserBaseRequest & {
10233
+ readonly userId?: never;
10234
+ readonly userSecret?: never;
10235
+ };
10151
10236
  type AuthenticationApiLoginSnapTradeUserRequestByAuthMode = {
10152
10237
  "commercialApiKey": AuthenticationApiLoginSnapTradeUsercommercialApiKeyRequest;
10153
10238
  "personalApiKey": AuthenticationApiLoginSnapTradeUserpersonalApiKeyRequest;
10239
+ "oauth": AuthenticationApiLoginSnapTradeUseroauthRequest;
10154
10240
  };
10155
10241
  type AuthenticationApiLoginSnapTradeUserRequest<TAuth extends AuthMode> = AuthenticationApiLoginSnapTradeUserRequestByAuthMode[TAuth["mode"] & keyof AuthenticationApiLoginSnapTradeUserRequestByAuthMode];
10156
10242
  /** Request argument optionality depends on the selected authentication mode. */
10157
- type AuthenticationApiLoginSnapTradeUserArgs<TAuth extends AuthMode> = TAuth["mode"] extends "personalApiKey" ? [requestParameters?: AuthenticationApiLoginSnapTradeUserRequest<TAuth>, options?: AxiosRequestConfig] : [requestParameters: AuthenticationApiLoginSnapTradeUserRequest<TAuth>, options?: AxiosRequestConfig];
10243
+ type AuthenticationApiLoginSnapTradeUserArgs<TAuth extends AuthMode> = TAuth["mode"] extends "personalApiKey" | "oauth" ? [requestParameters?: AuthenticationApiLoginSnapTradeUserRequest<TAuth>, options?: AxiosRequestConfig] : [requestParameters: AuthenticationApiLoginSnapTradeUserRequest<TAuth>, options?: AxiosRequestConfig];
10158
10244
  /**
10159
10245
  * Request parameters for registerSnapTradeUser operation in AuthenticationApi.
10160
10246
  * @export
@@ -10535,9 +10621,14 @@ type ConnectionsApiDetailBrokerageAuthorizationpersonalApiKeyRequest = Connectio
10535
10621
  readonly userId?: never;
10536
10622
  readonly userSecret?: never;
10537
10623
  };
10624
+ type ConnectionsApiDetailBrokerageAuthorizationoauthRequest = ConnectionsApiDetailBrokerageAuthorizationBaseRequest & {
10625
+ readonly userId?: never;
10626
+ readonly userSecret?: never;
10627
+ };
10538
10628
  type ConnectionsApiDetailBrokerageAuthorizationRequestByAuthMode = {
10539
10629
  "commercialApiKey": ConnectionsApiDetailBrokerageAuthorizationcommercialApiKeyRequest;
10540
10630
  "personalApiKey": ConnectionsApiDetailBrokerageAuthorizationpersonalApiKeyRequest;
10631
+ "oauth": ConnectionsApiDetailBrokerageAuthorizationoauthRequest;
10541
10632
  };
10542
10633
  type ConnectionsApiDetailBrokerageAuthorizationRequest<TAuth extends AuthMode> = ConnectionsApiDetailBrokerageAuthorizationRequestByAuthMode[TAuth["mode"] & keyof ConnectionsApiDetailBrokerageAuthorizationRequestByAuthMode];
10543
10634
  /** Request argument optionality depends on the selected authentication mode. */
@@ -10562,9 +10653,14 @@ type ConnectionsApiDisableBrokerageAuthorizationpersonalApiKeyRequest = Connecti
10562
10653
  readonly userId?: never;
10563
10654
  readonly userSecret?: never;
10564
10655
  };
10656
+ type ConnectionsApiDisableBrokerageAuthorizationoauthRequest = ConnectionsApiDisableBrokerageAuthorizationBaseRequest & {
10657
+ readonly userId?: never;
10658
+ readonly userSecret?: never;
10659
+ };
10565
10660
  type ConnectionsApiDisableBrokerageAuthorizationRequestByAuthMode = {
10566
10661
  "commercialApiKey": ConnectionsApiDisableBrokerageAuthorizationcommercialApiKeyRequest;
10567
10662
  "personalApiKey": ConnectionsApiDisableBrokerageAuthorizationpersonalApiKeyRequest;
10663
+ "oauth": ConnectionsApiDisableBrokerageAuthorizationoauthRequest;
10568
10664
  };
10569
10665
  type ConnectionsApiDisableBrokerageAuthorizationRequest<TAuth extends AuthMode> = ConnectionsApiDisableBrokerageAuthorizationRequestByAuthMode[TAuth["mode"] & keyof ConnectionsApiDisableBrokerageAuthorizationRequestByAuthMode];
10570
10666
  /** Request argument optionality depends on the selected authentication mode. */
@@ -10589,9 +10685,14 @@ type ConnectionsApiListBrokerageAuthorizationAccountspersonalApiKeyRequest = Con
10589
10685
  readonly userId?: never;
10590
10686
  readonly userSecret?: never;
10591
10687
  };
10688
+ type ConnectionsApiListBrokerageAuthorizationAccountsoauthRequest = ConnectionsApiListBrokerageAuthorizationAccountsBaseRequest & {
10689
+ readonly userId?: never;
10690
+ readonly userSecret?: never;
10691
+ };
10592
10692
  type ConnectionsApiListBrokerageAuthorizationAccountsRequestByAuthMode = {
10593
10693
  "commercialApiKey": ConnectionsApiListBrokerageAuthorizationAccountscommercialApiKeyRequest;
10594
10694
  "personalApiKey": ConnectionsApiListBrokerageAuthorizationAccountspersonalApiKeyRequest;
10695
+ "oauth": ConnectionsApiListBrokerageAuthorizationAccountsoauthRequest;
10595
10696
  };
10596
10697
  type ConnectionsApiListBrokerageAuthorizationAccountsRequest<TAuth extends AuthMode> = ConnectionsApiListBrokerageAuthorizationAccountsRequestByAuthMode[TAuth["mode"] & keyof ConnectionsApiListBrokerageAuthorizationAccountsRequestByAuthMode];
10597
10698
  /** Request argument optionality depends on the selected authentication mode. */
@@ -10609,13 +10710,18 @@ type ConnectionsApiListBrokerageAuthorizationspersonalApiKeyRequest = Connection
10609
10710
  readonly userId?: never;
10610
10711
  readonly userSecret?: never;
10611
10712
  };
10713
+ type ConnectionsApiListBrokerageAuthorizationsoauthRequest = ConnectionsApiListBrokerageAuthorizationsBaseRequest & {
10714
+ readonly userId?: never;
10715
+ readonly userSecret?: never;
10716
+ };
10612
10717
  type ConnectionsApiListBrokerageAuthorizationsRequestByAuthMode = {
10613
10718
  "commercialApiKey": ConnectionsApiListBrokerageAuthorizationscommercialApiKeyRequest;
10614
10719
  "personalApiKey": ConnectionsApiListBrokerageAuthorizationspersonalApiKeyRequest;
10720
+ "oauth": ConnectionsApiListBrokerageAuthorizationsoauthRequest;
10615
10721
  };
10616
10722
  type ConnectionsApiListBrokerageAuthorizationsRequest<TAuth extends AuthMode> = ConnectionsApiListBrokerageAuthorizationsRequestByAuthMode[TAuth["mode"] & keyof ConnectionsApiListBrokerageAuthorizationsRequestByAuthMode];
10617
10723
  /** Request argument optionality depends on the selected authentication mode. */
10618
- type ConnectionsApiListBrokerageAuthorizationsArgs<TAuth extends AuthMode> = TAuth["mode"] extends "personalApiKey" ? [requestParameters?: ConnectionsApiListBrokerageAuthorizationsRequest<TAuth>, options?: AxiosRequestConfig] : [requestParameters: ConnectionsApiListBrokerageAuthorizationsRequest<TAuth>, options?: AxiosRequestConfig];
10724
+ type ConnectionsApiListBrokerageAuthorizationsArgs<TAuth extends AuthMode> = TAuth["mode"] extends "personalApiKey" | "oauth" ? [requestParameters?: ConnectionsApiListBrokerageAuthorizationsRequest<TAuth>, options?: AxiosRequestConfig] : [requestParameters: ConnectionsApiListBrokerageAuthorizationsRequest<TAuth>, options?: AxiosRequestConfig];
10619
10725
  /**
10620
10726
  * Request parameters for listConnectionAccounts operation in ConnectionsApi.
10621
10727
  * @export
@@ -10636,9 +10742,14 @@ type ConnectionsApiListConnectionAccountspersonalApiKeyRequest = ConnectionsApiL
10636
10742
  readonly userId?: never;
10637
10743
  readonly userSecret?: never;
10638
10744
  };
10745
+ type ConnectionsApiListConnectionAccountsoauthRequest = ConnectionsApiListConnectionAccountsBaseRequest & {
10746
+ readonly userId?: never;
10747
+ readonly userSecret?: never;
10748
+ };
10639
10749
  type ConnectionsApiListConnectionAccountsRequestByAuthMode = {
10640
10750
  "commercialApiKey": ConnectionsApiListConnectionAccountscommercialApiKeyRequest;
10641
10751
  "personalApiKey": ConnectionsApiListConnectionAccountspersonalApiKeyRequest;
10752
+ "oauth": ConnectionsApiListConnectionAccountsoauthRequest;
10642
10753
  };
10643
10754
  type ConnectionsApiListConnectionAccountsRequest<TAuth extends AuthMode> = ConnectionsApiListConnectionAccountsRequestByAuthMode[TAuth["mode"] & keyof ConnectionsApiListConnectionAccountsRequestByAuthMode];
10644
10755
  /** Request argument optionality depends on the selected authentication mode. */
@@ -10663,9 +10774,14 @@ type ConnectionsApiRefreshBrokerageAuthorizationpersonalApiKeyRequest = Connecti
10663
10774
  readonly userId?: never;
10664
10775
  readonly userSecret?: never;
10665
10776
  };
10777
+ type ConnectionsApiRefreshBrokerageAuthorizationoauthRequest = ConnectionsApiRefreshBrokerageAuthorizationBaseRequest & {
10778
+ readonly userId?: never;
10779
+ readonly userSecret?: never;
10780
+ };
10666
10781
  type ConnectionsApiRefreshBrokerageAuthorizationRequestByAuthMode = {
10667
10782
  "commercialApiKey": ConnectionsApiRefreshBrokerageAuthorizationcommercialApiKeyRequest;
10668
10783
  "personalApiKey": ConnectionsApiRefreshBrokerageAuthorizationpersonalApiKeyRequest;
10784
+ "oauth": ConnectionsApiRefreshBrokerageAuthorizationoauthRequest;
10669
10785
  };
10670
10786
  type ConnectionsApiRefreshBrokerageAuthorizationRequest<TAuth extends AuthMode> = ConnectionsApiRefreshBrokerageAuthorizationRequestByAuthMode[TAuth["mode"] & keyof ConnectionsApiRefreshBrokerageAuthorizationRequestByAuthMode];
10671
10787
  /** Request argument optionality depends on the selected authentication mode. */
@@ -10723,9 +10839,14 @@ type ConnectionsApiSyncBrokerageAuthorizationTransactionspersonalApiKeyRequest =
10723
10839
  readonly userId?: never;
10724
10840
  readonly userSecret?: never;
10725
10841
  };
10842
+ type ConnectionsApiSyncBrokerageAuthorizationTransactionsoauthRequest = ConnectionsApiSyncBrokerageAuthorizationTransactionsBaseRequest & {
10843
+ readonly userId?: never;
10844
+ readonly userSecret?: never;
10845
+ };
10726
10846
  type ConnectionsApiSyncBrokerageAuthorizationTransactionsRequestByAuthMode = {
10727
10847
  "commercialApiKey": ConnectionsApiSyncBrokerageAuthorizationTransactionscommercialApiKeyRequest;
10728
10848
  "personalApiKey": ConnectionsApiSyncBrokerageAuthorizationTransactionspersonalApiKeyRequest;
10849
+ "oauth": ConnectionsApiSyncBrokerageAuthorizationTransactionsoauthRequest;
10729
10850
  };
10730
10851
  type ConnectionsApiSyncBrokerageAuthorizationTransactionsRequest<TAuth extends AuthMode> = ConnectionsApiSyncBrokerageAuthorizationTransactionsRequestByAuthMode[TAuth["mode"] & keyof ConnectionsApiSyncBrokerageAuthorizationTransactionsRequestByAuthMode];
10731
10852
  /** Request argument optionality depends on the selected authentication mode. */
@@ -10901,7 +11022,7 @@ declare const ExperimentalEndpointsApiAxiosParamCreator: (configuration?: Config
10901
11022
  */
10902
11023
  listSubscriptions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
10903
11024
  /**
10904
- * **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase. Equity and equity-option orders use the existing brokerage trading capabilities. Futures and future options are currently supported only on tastytrade. Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or the exact tastytrade BrokerageInstrument ticker for futures and future options, including any spaces. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
11025
+ * **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase. Equity and equity-option orders use the existing brokerage trading capabilities. Futures are supported on tastytrade and Webull US; future options are supported only on tastytrade. Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. Webull US supports single-leg futures orders with buy or sell actions and positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day or gtc duration. Futures options, multi-leg futures, trailing stops, and Webull Canada futures trading are not supported. Webull determines contract availability, margin requirements, and valid price increments. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or brokerage-native futures symbols. For tastytrade, use the exact BrokerageInstrument ticker, including any spaces. For Webull US, use a specific unprefixed futures contract symbol such as ESZ6; slash-prefixed aliases, continuous/root-only symbols, and whitespace are not accepted. A futures symbol does not need to be present in SnapTrade\'s local instrument catalog to submit an order. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
10905
11026
  * @summary Place a simple order (beta)
10906
11027
  * @param {string} accountId The ID of the account to execute the trade on.
10907
11028
  * @param {SimpleTradeForm} simpleTradeForm
@@ -10973,7 +11094,7 @@ declare const ExperimentalEndpointsApiFp: <TAuth extends AuthMode>(configuration
10973
11094
  */
10974
11095
  listSubscriptions(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<TradeDetectionSubscription>, unknown>>>;
10975
11096
  /**
10976
- * **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase. Equity and equity-option orders use the existing brokerage trading capabilities. Futures and future options are currently supported only on tastytrade. Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or the exact tastytrade BrokerageInstrument ticker for futures and future options, including any spaces. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
11097
+ * **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase. Equity and equity-option orders use the existing brokerage trading capabilities. Futures are supported on tastytrade and Webull US; future options are supported only on tastytrade. Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. Webull US supports single-leg futures orders with buy or sell actions and positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day or gtc duration. Futures options, multi-leg futures, trailing stops, and Webull Canada futures trading are not supported. Webull determines contract availability, margin requirements, and valid price increments. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or brokerage-native futures symbols. For tastytrade, use the exact BrokerageInstrument ticker, including any spaces. For Webull US, use a specific unprefixed futures contract symbol such as ESZ6; slash-prefixed aliases, continuous/root-only symbols, and whitespace are not accepted. A futures symbol does not need to be present in SnapTrade\'s local instrument catalog to submit an order. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
10977
11098
  * @summary Place a simple order (beta)
10978
11099
  * @param {ExperimentalEndpointsApiPlaceSimpleOrderRequest<TAuth>} requestParameters Request parameters.
10979
11100
  * @param {*} [options] Override http request option.
@@ -11042,7 +11163,7 @@ declare const ExperimentalEndpointsApiFactory: <TAuth extends AuthMode>(configur
11042
11163
  */
11043
11164
  listSubscriptions(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<Array<TradeDetectionSubscription>, unknown>>;
11044
11165
  /**
11045
- * **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase. Equity and equity-option orders use the existing brokerage trading capabilities. Futures and future options are currently supported only on tastytrade. Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or the exact tastytrade BrokerageInstrument ticker for futures and future options, including any spaces. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
11166
+ * **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase. Equity and equity-option orders use the existing brokerage trading capabilities. Futures are supported on tastytrade and Webull US; future options are supported only on tastytrade. Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. Webull US supports single-leg futures orders with buy or sell actions and positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day or gtc duration. Futures options, multi-leg futures, trailing stops, and Webull Canada futures trading are not supported. Webull determines contract availability, margin requirements, and valid price increments. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or brokerage-native futures symbols. For tastytrade, use the exact BrokerageInstrument ticker, including any spaces. For Webull US, use a specific unprefixed futures contract symbol such as ESZ6; slash-prefixed aliases, continuous/root-only symbols, and whitespace are not accepted. A futures symbol does not need to be present in SnapTrade\'s local instrument catalog to submit an order. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
11046
11167
  * @summary Place a simple order (beta)
11047
11168
  * @param {ExperimentalEndpointsApiPlaceSimpleOrderRequest<TAuth>} requestParameters Request parameters.
11048
11169
  * @param {*} [options] Override http request option.
@@ -11149,9 +11270,14 @@ type ExperimentalEndpointsApiGetUserAccountOrderDetailV2personalApiKeyRequest =
11149
11270
  readonly userId?: never;
11150
11271
  readonly userSecret?: never;
11151
11272
  };
11273
+ type ExperimentalEndpointsApiGetUserAccountOrderDetailV2oauthRequest = ExperimentalEndpointsApiGetUserAccountOrderDetailV2BaseRequest & {
11274
+ readonly userId?: never;
11275
+ readonly userSecret?: never;
11276
+ };
11152
11277
  type ExperimentalEndpointsApiGetUserAccountOrderDetailV2RequestByAuthMode = {
11153
11278
  "commercialApiKey": ExperimentalEndpointsApiGetUserAccountOrderDetailV2commercialApiKeyRequest;
11154
11279
  "personalApiKey": ExperimentalEndpointsApiGetUserAccountOrderDetailV2personalApiKeyRequest;
11280
+ "oauth": ExperimentalEndpointsApiGetUserAccountOrderDetailV2oauthRequest;
11155
11281
  };
11156
11282
  type ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request<TAuth extends AuthMode> = ExperimentalEndpointsApiGetUserAccountOrderDetailV2RequestByAuthMode[TAuth["mode"] & keyof ExperimentalEndpointsApiGetUserAccountOrderDetailV2RequestByAuthMode];
11157
11283
  /** Request argument optionality depends on the selected authentication mode. */
@@ -11188,9 +11314,14 @@ type ExperimentalEndpointsApiGetUserAccountOrdersV2personalApiKeyRequest = Exper
11188
11314
  readonly userId?: never;
11189
11315
  readonly userSecret?: never;
11190
11316
  };
11317
+ type ExperimentalEndpointsApiGetUserAccountOrdersV2oauthRequest = ExperimentalEndpointsApiGetUserAccountOrdersV2BaseRequest & {
11318
+ readonly userId?: never;
11319
+ readonly userSecret?: never;
11320
+ };
11191
11321
  type ExperimentalEndpointsApiGetUserAccountOrdersV2RequestByAuthMode = {
11192
11322
  "commercialApiKey": ExperimentalEndpointsApiGetUserAccountOrdersV2commercialApiKeyRequest;
11193
11323
  "personalApiKey": ExperimentalEndpointsApiGetUserAccountOrdersV2personalApiKeyRequest;
11324
+ "oauth": ExperimentalEndpointsApiGetUserAccountOrdersV2oauthRequest;
11194
11325
  };
11195
11326
  type ExperimentalEndpointsApiGetUserAccountOrdersV2Request<TAuth extends AuthMode> = ExperimentalEndpointsApiGetUserAccountOrdersV2RequestByAuthMode[TAuth["mode"] & keyof ExperimentalEndpointsApiGetUserAccountOrdersV2RequestByAuthMode];
11196
11327
  /** Request argument optionality depends on the selected authentication mode. */
@@ -11221,9 +11352,14 @@ type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2personalApiKeyRequest =
11221
11352
  readonly userId?: never;
11222
11353
  readonly userSecret?: never;
11223
11354
  };
11355
+ type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2oauthRequest = ExperimentalEndpointsApiGetUserAccountRecentOrdersV2BaseRequest & {
11356
+ readonly userId?: never;
11357
+ readonly userSecret?: never;
11358
+ };
11224
11359
  type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2RequestByAuthMode = {
11225
11360
  "commercialApiKey": ExperimentalEndpointsApiGetUserAccountRecentOrdersV2commercialApiKeyRequest;
11226
11361
  "personalApiKey": ExperimentalEndpointsApiGetUserAccountRecentOrdersV2personalApiKeyRequest;
11362
+ "oauth": ExperimentalEndpointsApiGetUserAccountRecentOrdersV2oauthRequest;
11227
11363
  };
11228
11364
  type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request<TAuth extends AuthMode> = ExperimentalEndpointsApiGetUserAccountRecentOrdersV2RequestByAuthMode[TAuth["mode"] & keyof ExperimentalEndpointsApiGetUserAccountRecentOrdersV2RequestByAuthMode];
11229
11365
  /** Request argument optionality depends on the selected authentication mode. */
@@ -11248,9 +11384,14 @@ type ExperimentalEndpointsApiPlaceSimpleOrderpersonalApiKeyRequest = Experimenta
11248
11384
  readonly userId?: never;
11249
11385
  readonly userSecret?: never;
11250
11386
  };
11387
+ type ExperimentalEndpointsApiPlaceSimpleOrderoauthRequest = ExperimentalEndpointsApiPlaceSimpleOrderBaseRequest & {
11388
+ readonly userId?: never;
11389
+ readonly userSecret?: never;
11390
+ };
11251
11391
  type ExperimentalEndpointsApiPlaceSimpleOrderRequestByAuthMode = {
11252
11392
  "commercialApiKey": ExperimentalEndpointsApiPlaceSimpleOrdercommercialApiKeyRequest;
11253
11393
  "personalApiKey": ExperimentalEndpointsApiPlaceSimpleOrderpersonalApiKeyRequest;
11394
+ "oauth": ExperimentalEndpointsApiPlaceSimpleOrderoauthRequest;
11254
11395
  };
11255
11396
  type ExperimentalEndpointsApiPlaceSimpleOrderRequest<TAuth extends AuthMode> = ExperimentalEndpointsApiPlaceSimpleOrderRequestByAuthMode[TAuth["mode"] & keyof ExperimentalEndpointsApiPlaceSimpleOrderRequestByAuthMode];
11256
11397
  /** Request argument optionality depends on the selected authentication mode. */
@@ -11325,7 +11466,7 @@ declare class ExperimentalEndpointsApiGenerated<TAuth extends AuthMode> extends
11325
11466
  */
11326
11467
  listSubscriptions(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<TradeDetectionSubscription[], unknown, {}, any>>;
11327
11468
  /**
11328
- * **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase. Equity and equity-option orders use the existing brokerage trading capabilities. Futures and future options are currently supported only on tastytrade. Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or the exact tastytrade BrokerageInstrument ticker for futures and future options, including any spaces. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
11469
+ * **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase. Equity and equity-option orders use the existing brokerage trading capabilities. Futures are supported on tastytrade and Webull US; future options are supported only on tastytrade. Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. Webull US supports single-leg futures orders with buy or sell actions and positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day or gtc duration. Futures options, multi-leg futures, trailing stops, and Webull Canada futures trading are not supported. Webull determines contract availability, margin requirements, and valid price increments. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or brokerage-native futures symbols. For tastytrade, use the exact BrokerageInstrument ticker, including any spaces. For Webull US, use a specific unprefixed futures contract symbol such as ESZ6; slash-prefixed aliases, continuous/root-only symbols, and whitespace are not accepted. A futures symbol does not need to be present in SnapTrade\'s local instrument catalog to submit an order. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
11329
11470
  * @summary Place a simple order (beta)
11330
11471
  * @param {ExperimentalEndpointsApiPlaceSimpleOrderRequest<TAuth>} requestParameters Request parameters.
11331
11472
  * @param {*} [options] Override http request option.
@@ -11570,14 +11711,14 @@ declare const ReferenceDataApiFp: <TAuth extends AuthMode>(configuration?: Confi
11570
11711
  * @param {*} [options] Override http request option.
11571
11712
  * @throws {RequiredError}
11572
11713
  */
11573
- getPartnerInfo(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<PartnerData, unknown>>>;
11714
+ getPartnerInfo(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" | "oauth" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<PartnerData, unknown>>>;
11574
11715
  /**
11575
11716
  * Returns a list of all supported Exchanges.
11576
11717
  * @summary Get exchanges
11577
11718
  * @param {*} [options] Override http request option.
11578
11719
  * @throws {RequiredError}
11579
11720
  */
11580
- getStockExchanges(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<Exchange>, unknown>>>;
11721
+ getStockExchanges(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" | "oauth" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<Exchange>, unknown>>>;
11581
11722
  /**
11582
11723
  * Returns a list of Universal Symbol objects that match the given query. The matching takes into consideration both the ticker and the name of the symbol. Only the first 20 results are returned.
11583
11724
  * @summary Search symbols
@@ -11616,7 +11757,7 @@ declare const ReferenceDataApiFp: <TAuth extends AuthMode>(configuration?: Confi
11616
11757
  * @param {*} [options] Override http request option.
11617
11758
  * @throws {RequiredError}
11618
11759
  */
11619
- listAllBrokerages(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<Brokerage>, unknown>>>;
11760
+ listAllBrokerages(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" | "oauth" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<Brokerage>, unknown>>>;
11620
11761
  /**
11621
11762
  * Returns the public catalog of institutions SnapTrade supports and what each one supports. The response is the same for every caller and needs no authentication. To list the brokerages a specific Client ID can connect to right now, use `GET /brokerages` instead. A `null` field means the information is not documented yet, never that the institution lacks it. New fields and new enum values may be added over time, so ignore any you don\'t recognize.
11622
11763
  * @summary List institutions
@@ -11644,14 +11785,14 @@ declare const ReferenceDataApiFactory: <TAuth extends AuthMode>(configuration?:
11644
11785
  * @param {*} [options] Override http request option.
11645
11786
  * @throws {RequiredError}
11646
11787
  */
11647
- getPartnerInfo(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<PartnerData, unknown>>;
11788
+ getPartnerInfo(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" | "oauth" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<PartnerData, unknown>>;
11648
11789
  /**
11649
11790
  * Returns a list of all supported Exchanges.
11650
11791
  * @summary Get exchanges
11651
11792
  * @param {*} [options] Override http request option.
11652
11793
  * @throws {RequiredError}
11653
11794
  */
11654
- getStockExchanges(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<Array<Exchange>, unknown>>;
11795
+ getStockExchanges(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" | "oauth" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<Array<Exchange>, unknown>>;
11655
11796
  /**
11656
11797
  * Returns a list of Universal Symbol objects that match the given query. The matching takes into consideration both the ticker and the name of the symbol. Only the first 20 results are returned.
11657
11798
  * @summary Search symbols
@@ -11690,7 +11831,7 @@ declare const ReferenceDataApiFactory: <TAuth extends AuthMode>(configuration?:
11690
11831
  * @param {*} [options] Override http request option.
11691
11832
  * @throws {RequiredError}
11692
11833
  */
11693
- listAllBrokerages(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<Array<Brokerage>, unknown>>;
11834
+ listAllBrokerages(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" | "oauth" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<Array<Brokerage>, unknown>>;
11694
11835
  /**
11695
11836
  * Returns the public catalog of institutions SnapTrade supports and what each one supports. The response is the same for every caller and needs no authentication. To list the brokerages a specific Client ID can connect to right now, use `GET /brokerages` instead. A `null` field means the information is not documented yet, never that the institution lacks it. New fields and new enum values may be added over time, so ignore any you don\'t recognize.
11696
11837
  * @summary List institutions
@@ -11714,13 +11855,15 @@ declare const ReferenceDataApiFactory: <TAuth extends AuthMode>(configuration?:
11714
11855
  type ReferenceDataApiGetSymbolsBaseRequest = {} & SymbolQuery;
11715
11856
  type ReferenceDataApiGetSymbolscommercialApiKeyRequest = ReferenceDataApiGetSymbolsBaseRequest & {};
11716
11857
  type ReferenceDataApiGetSymbolspersonalApiKeyRequest = ReferenceDataApiGetSymbolsBaseRequest & {};
11858
+ type ReferenceDataApiGetSymbolsoauthRequest = ReferenceDataApiGetSymbolsBaseRequest & {};
11717
11859
  type ReferenceDataApiGetSymbolsRequestByAuthMode = {
11718
11860
  "commercialApiKey": ReferenceDataApiGetSymbolscommercialApiKeyRequest;
11719
11861
  "personalApiKey": ReferenceDataApiGetSymbolspersonalApiKeyRequest;
11862
+ "oauth": ReferenceDataApiGetSymbolsoauthRequest;
11720
11863
  };
11721
11864
  type ReferenceDataApiGetSymbolsRequest<TAuth extends AuthMode> = ReferenceDataApiGetSymbolsRequestByAuthMode[TAuth["mode"] & keyof ReferenceDataApiGetSymbolsRequestByAuthMode];
11722
11865
  /** Request argument optionality depends on the selected authentication mode. */
11723
- type ReferenceDataApiGetSymbolsArgs<TAuth extends AuthMode> = TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [requestParameters?: ReferenceDataApiGetSymbolsRequest<TAuth>, options?: AxiosRequestConfig] : [requestParameters: ReferenceDataApiGetSymbolsRequest<TAuth>, options?: AxiosRequestConfig];
11866
+ type ReferenceDataApiGetSymbolsArgs<TAuth extends AuthMode> = TAuth["mode"] extends "commercialApiKey" | "personalApiKey" | "oauth" ? [requestParameters?: ReferenceDataApiGetSymbolsRequest<TAuth>, options?: AxiosRequestConfig] : [requestParameters: ReferenceDataApiGetSymbolsRequest<TAuth>, options?: AxiosRequestConfig];
11724
11867
  /**
11725
11868
  * Request parameters for getSymbolsByTicker operation in ReferenceDataApi.
11726
11869
  * @export
@@ -11735,9 +11878,11 @@ type ReferenceDataApiGetSymbolsByTickerBaseRequest = {
11735
11878
  };
11736
11879
  type ReferenceDataApiGetSymbolsByTickercommercialApiKeyRequest = ReferenceDataApiGetSymbolsByTickerBaseRequest & {};
11737
11880
  type ReferenceDataApiGetSymbolsByTickerpersonalApiKeyRequest = ReferenceDataApiGetSymbolsByTickerBaseRequest & {};
11881
+ type ReferenceDataApiGetSymbolsByTickeroauthRequest = ReferenceDataApiGetSymbolsByTickerBaseRequest & {};
11738
11882
  type ReferenceDataApiGetSymbolsByTickerRequestByAuthMode = {
11739
11883
  "commercialApiKey": ReferenceDataApiGetSymbolsByTickercommercialApiKeyRequest;
11740
11884
  "personalApiKey": ReferenceDataApiGetSymbolsByTickerpersonalApiKeyRequest;
11885
+ "oauth": ReferenceDataApiGetSymbolsByTickeroauthRequest;
11741
11886
  };
11742
11887
  type ReferenceDataApiGetSymbolsByTickerRequest<TAuth extends AuthMode> = ReferenceDataApiGetSymbolsByTickerRequestByAuthMode[TAuth["mode"] & keyof ReferenceDataApiGetSymbolsByTickerRequestByAuthMode];
11743
11888
  /** Request argument optionality depends on the selected authentication mode. */
@@ -11777,9 +11922,11 @@ type ReferenceDataApiListAllBrokerageInstrumentsBaseRequest = {
11777
11922
  };
11778
11923
  type ReferenceDataApiListAllBrokerageInstrumentscommercialApiKeyRequest = ReferenceDataApiListAllBrokerageInstrumentsBaseRequest & {};
11779
11924
  type ReferenceDataApiListAllBrokerageInstrumentspersonalApiKeyRequest = ReferenceDataApiListAllBrokerageInstrumentsBaseRequest & {};
11925
+ type ReferenceDataApiListAllBrokerageInstrumentsoauthRequest = ReferenceDataApiListAllBrokerageInstrumentsBaseRequest & {};
11780
11926
  type ReferenceDataApiListAllBrokerageInstrumentsRequestByAuthMode = {
11781
11927
  "commercialApiKey": ReferenceDataApiListAllBrokerageInstrumentscommercialApiKeyRequest;
11782
11928
  "personalApiKey": ReferenceDataApiListAllBrokerageInstrumentspersonalApiKeyRequest;
11929
+ "oauth": ReferenceDataApiListAllBrokerageInstrumentsoauthRequest;
11783
11930
  };
11784
11931
  type ReferenceDataApiListAllBrokerageInstrumentsRequest<TAuth extends AuthMode> = ReferenceDataApiListAllBrokerageInstrumentsRequestByAuthMode[TAuth["mode"] & keyof ReferenceDataApiListAllBrokerageInstrumentsRequestByAuthMode];
11785
11932
  /** Request argument optionality depends on the selected authentication mode. */
@@ -11804,9 +11951,14 @@ type ReferenceDataApiSymbolSearchUserAccountpersonalApiKeyRequest = ReferenceDat
11804
11951
  readonly userId?: never;
11805
11952
  readonly userSecret?: never;
11806
11953
  };
11954
+ type ReferenceDataApiSymbolSearchUserAccountoauthRequest = ReferenceDataApiSymbolSearchUserAccountBaseRequest & {
11955
+ readonly userId?: never;
11956
+ readonly userSecret?: never;
11957
+ };
11807
11958
  type ReferenceDataApiSymbolSearchUserAccountRequestByAuthMode = {
11808
11959
  "commercialApiKey": ReferenceDataApiSymbolSearchUserAccountcommercialApiKeyRequest;
11809
11960
  "personalApiKey": ReferenceDataApiSymbolSearchUserAccountpersonalApiKeyRequest;
11961
+ "oauth": ReferenceDataApiSymbolSearchUserAccountoauthRequest;
11810
11962
  };
11811
11963
  type ReferenceDataApiSymbolSearchUserAccountRequest<TAuth extends AuthMode> = ReferenceDataApiSymbolSearchUserAccountRequestByAuthMode[TAuth["mode"] & keyof ReferenceDataApiSymbolSearchUserAccountRequestByAuthMode];
11812
11964
  /** Request argument optionality depends on the selected authentication mode. */
@@ -11825,7 +11977,7 @@ declare class ReferenceDataApiGenerated<TAuth extends AuthMode> extends BaseAPI<
11825
11977
  * @throws {RequiredError}
11826
11978
  * @memberof ReferenceDataApiGenerated
11827
11979
  */
11828
- getPartnerInfo(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<PartnerData, unknown, {}, any>>;
11980
+ getPartnerInfo(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" | "oauth" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<PartnerData, unknown, {}, any>>;
11829
11981
  /**
11830
11982
  * Returns a list of all supported Exchanges.
11831
11983
  * @summary Get exchanges
@@ -11833,7 +11985,7 @@ declare class ReferenceDataApiGenerated<TAuth extends AuthMode> extends BaseAPI<
11833
11985
  * @throws {RequiredError}
11834
11986
  * @memberof ReferenceDataApiGenerated
11835
11987
  */
11836
- getStockExchanges(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<Exchange[], unknown, {}, any>>;
11988
+ getStockExchanges(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" | "oauth" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<Exchange[], unknown, {}, any>>;
11837
11989
  /**
11838
11990
  * Returns a list of Universal Symbol objects that match the given query. The matching takes into consideration both the ticker and the name of the symbol. Only the first 20 results are returned.
11839
11991
  * @summary Search symbols
@@ -11877,7 +12029,7 @@ declare class ReferenceDataApiGenerated<TAuth extends AuthMode> extends BaseAPI<
11877
12029
  * @throws {RequiredError}
11878
12030
  * @memberof ReferenceDataApiGenerated
11879
12031
  */
11880
- listAllBrokerages(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<Brokerage[], unknown, {}, any>>;
12032
+ listAllBrokerages(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" | "oauth" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<Brokerage[], unknown, {}, any>>;
11881
12033
  /**
11882
12034
  * Returns the public catalog of institutions SnapTrade supports and what each one supports. The response is the same for every caller and needs no authentication. To list the brokerages a specific Client ID can connect to right now, use `GET /brokerages` instead. A `null` field means the information is not documented yet, never that the institution lacks it. New fields and new enum values may be added over time, so ignore any you don\'t recognize.
11883
12035
  * @summary List institutions
@@ -12320,9 +12472,14 @@ type TradingApiCancelOrderpersonalApiKeyRequest = TradingApiCancelOrderBaseReque
12320
12472
  readonly userId?: never;
12321
12473
  readonly userSecret?: never;
12322
12474
  };
12475
+ type TradingApiCancelOrderoauthRequest = TradingApiCancelOrderBaseRequest & {
12476
+ readonly userId?: never;
12477
+ readonly userSecret?: never;
12478
+ };
12323
12479
  type TradingApiCancelOrderRequestByAuthMode = {
12324
12480
  "commercialApiKey": TradingApiCancelOrdercommercialApiKeyRequest;
12325
12481
  "personalApiKey": TradingApiCancelOrderpersonalApiKeyRequest;
12482
+ "oauth": TradingApiCancelOrderoauthRequest;
12326
12483
  };
12327
12484
  type TradingApiCancelOrderRequest<TAuth extends AuthMode> = TradingApiCancelOrderRequestByAuthMode[TAuth["mode"] & keyof TradingApiCancelOrderRequestByAuthMode];
12328
12485
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12353,9 +12510,14 @@ type TradingApiGetCryptocurrencyPairQuotepersonalApiKeyRequest = TradingApiGetCr
12353
12510
  readonly userId?: never;
12354
12511
  readonly userSecret?: never;
12355
12512
  };
12513
+ type TradingApiGetCryptocurrencyPairQuoteoauthRequest = TradingApiGetCryptocurrencyPairQuoteBaseRequest & {
12514
+ readonly userId?: never;
12515
+ readonly userSecret?: never;
12516
+ };
12356
12517
  type TradingApiGetCryptocurrencyPairQuoteRequestByAuthMode = {
12357
12518
  "commercialApiKey": TradingApiGetCryptocurrencyPairQuotecommercialApiKeyRequest;
12358
12519
  "personalApiKey": TradingApiGetCryptocurrencyPairQuotepersonalApiKeyRequest;
12520
+ "oauth": TradingApiGetCryptocurrencyPairQuoteoauthRequest;
12359
12521
  };
12360
12522
  type TradingApiGetCryptocurrencyPairQuoteRequest<TAuth extends AuthMode> = TradingApiGetCryptocurrencyPairQuoteRequestByAuthMode[TAuth["mode"] & keyof TradingApiGetCryptocurrencyPairQuoteRequestByAuthMode];
12361
12523
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12380,9 +12542,14 @@ type TradingApiGetOptionImpactpersonalApiKeyRequest = TradingApiGetOptionImpactB
12380
12542
  readonly userId?: never;
12381
12543
  readonly userSecret?: never;
12382
12544
  };
12545
+ type TradingApiGetOptionImpactoauthRequest = TradingApiGetOptionImpactBaseRequest & {
12546
+ readonly userId?: never;
12547
+ readonly userSecret?: never;
12548
+ };
12383
12549
  type TradingApiGetOptionImpactRequestByAuthMode = {
12384
12550
  "commercialApiKey": TradingApiGetOptionImpactcommercialApiKeyRequest;
12385
12551
  "personalApiKey": TradingApiGetOptionImpactpersonalApiKeyRequest;
12552
+ "oauth": TradingApiGetOptionImpactoauthRequest;
12386
12553
  };
12387
12554
  type TradingApiGetOptionImpactRequest<TAuth extends AuthMode> = TradingApiGetOptionImpactRequestByAuthMode[TAuth["mode"] & keyof TradingApiGetOptionImpactRequestByAuthMode];
12388
12555
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12400,9 +12567,14 @@ type TradingApiGetOrderImpactpersonalApiKeyRequest = TradingApiGetOrderImpactBas
12400
12567
  readonly userId?: never;
12401
12568
  readonly userSecret?: never;
12402
12569
  };
12570
+ type TradingApiGetOrderImpactoauthRequest = TradingApiGetOrderImpactBaseRequest & {
12571
+ readonly userId?: never;
12572
+ readonly userSecret?: never;
12573
+ };
12403
12574
  type TradingApiGetOrderImpactRequestByAuthMode = {
12404
12575
  "commercialApiKey": TradingApiGetOrderImpactcommercialApiKeyRequest;
12405
12576
  "personalApiKey": TradingApiGetOrderImpactpersonalApiKeyRequest;
12577
+ "oauth": TradingApiGetOrderImpactoauthRequest;
12406
12578
  };
12407
12579
  type TradingApiGetOrderImpactRequest<TAuth extends AuthMode> = TradingApiGetOrderImpactRequestByAuthMode[TAuth["mode"] & keyof TradingApiGetOrderImpactRequestByAuthMode];
12408
12580
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12472,9 +12644,14 @@ type TradingApiGetUserAccountQuotespersonalApiKeyRequest = TradingApiGetUserAcco
12472
12644
  readonly userId?: never;
12473
12645
  readonly userSecret?: never;
12474
12646
  };
12647
+ type TradingApiGetUserAccountQuotesoauthRequest = TradingApiGetUserAccountQuotesBaseRequest & {
12648
+ readonly userId?: never;
12649
+ readonly userSecret?: never;
12650
+ };
12475
12651
  type TradingApiGetUserAccountQuotesRequestByAuthMode = {
12476
12652
  "commercialApiKey": TradingApiGetUserAccountQuotescommercialApiKeyRequest;
12477
12653
  "personalApiKey": TradingApiGetUserAccountQuotespersonalApiKeyRequest;
12654
+ "oauth": TradingApiGetUserAccountQuotesoauthRequest;
12478
12655
  };
12479
12656
  type TradingApiGetUserAccountQuotesRequest<TAuth extends AuthMode> = TradingApiGetUserAccountQuotesRequestByAuthMode[TAuth["mode"] & keyof TradingApiGetUserAccountQuotesRequestByAuthMode];
12480
12657
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12499,9 +12676,14 @@ type TradingApiPlaceComplexOrderpersonalApiKeyRequest = TradingApiPlaceComplexOr
12499
12676
  readonly userId?: never;
12500
12677
  readonly userSecret?: never;
12501
12678
  };
12679
+ type TradingApiPlaceComplexOrderoauthRequest = TradingApiPlaceComplexOrderBaseRequest & {
12680
+ readonly userId?: never;
12681
+ readonly userSecret?: never;
12682
+ };
12502
12683
  type TradingApiPlaceComplexOrderRequestByAuthMode = {
12503
12684
  "commercialApiKey": TradingApiPlaceComplexOrdercommercialApiKeyRequest;
12504
12685
  "personalApiKey": TradingApiPlaceComplexOrderpersonalApiKeyRequest;
12686
+ "oauth": TradingApiPlaceComplexOrderoauthRequest;
12505
12687
  };
12506
12688
  type TradingApiPlaceComplexOrderRequest<TAuth extends AuthMode> = TradingApiPlaceComplexOrderRequestByAuthMode[TAuth["mode"] & keyof TradingApiPlaceComplexOrderRequestByAuthMode];
12507
12689
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12526,9 +12708,14 @@ type TradingApiPlaceCryptoOrderpersonalApiKeyRequest = TradingApiPlaceCryptoOrde
12526
12708
  readonly userId?: never;
12527
12709
  readonly userSecret?: never;
12528
12710
  };
12711
+ type TradingApiPlaceCryptoOrderoauthRequest = TradingApiPlaceCryptoOrderBaseRequest & {
12712
+ readonly userId?: never;
12713
+ readonly userSecret?: never;
12714
+ };
12529
12715
  type TradingApiPlaceCryptoOrderRequestByAuthMode = {
12530
12716
  "commercialApiKey": TradingApiPlaceCryptoOrdercommercialApiKeyRequest;
12531
12717
  "personalApiKey": TradingApiPlaceCryptoOrderpersonalApiKeyRequest;
12718
+ "oauth": TradingApiPlaceCryptoOrderoauthRequest;
12532
12719
  };
12533
12720
  type TradingApiPlaceCryptoOrderRequest<TAuth extends AuthMode> = TradingApiPlaceCryptoOrderRequestByAuthMode[TAuth["mode"] & keyof TradingApiPlaceCryptoOrderRequestByAuthMode];
12534
12721
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12546,9 +12733,14 @@ type TradingApiPlaceForceOrderpersonalApiKeyRequest = TradingApiPlaceForceOrderB
12546
12733
  readonly userId?: never;
12547
12734
  readonly userSecret?: never;
12548
12735
  };
12736
+ type TradingApiPlaceForceOrderoauthRequest = TradingApiPlaceForceOrderBaseRequest & {
12737
+ readonly userId?: never;
12738
+ readonly userSecret?: never;
12739
+ };
12549
12740
  type TradingApiPlaceForceOrderRequestByAuthMode = {
12550
12741
  "commercialApiKey": TradingApiPlaceForceOrdercommercialApiKeyRequest;
12551
12742
  "personalApiKey": TradingApiPlaceForceOrderpersonalApiKeyRequest;
12743
+ "oauth": TradingApiPlaceForceOrderoauthRequest;
12552
12744
  };
12553
12745
  type TradingApiPlaceForceOrderRequest<TAuth extends AuthMode> = TradingApiPlaceForceOrderRequestByAuthMode[TAuth["mode"] & keyof TradingApiPlaceForceOrderRequestByAuthMode];
12554
12746
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12573,9 +12765,14 @@ type TradingApiPlaceMlegOrderpersonalApiKeyRequest = TradingApiPlaceMlegOrderBas
12573
12765
  readonly userId?: never;
12574
12766
  readonly userSecret?: never;
12575
12767
  };
12768
+ type TradingApiPlaceMlegOrderoauthRequest = TradingApiPlaceMlegOrderBaseRequest & {
12769
+ readonly userId?: never;
12770
+ readonly userSecret?: never;
12771
+ };
12576
12772
  type TradingApiPlaceMlegOrderRequestByAuthMode = {
12577
12773
  "commercialApiKey": TradingApiPlaceMlegOrdercommercialApiKeyRequest;
12578
12774
  "personalApiKey": TradingApiPlaceMlegOrderpersonalApiKeyRequest;
12775
+ "oauth": TradingApiPlaceMlegOrderoauthRequest;
12579
12776
  };
12580
12777
  type TradingApiPlaceMlegOrderRequest<TAuth extends AuthMode> = TradingApiPlaceMlegOrderRequestByAuthMode[TAuth["mode"] & keyof TradingApiPlaceMlegOrderRequestByAuthMode];
12581
12778
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12600,9 +12797,14 @@ type TradingApiPlaceOrderpersonalApiKeyRequest = TradingApiPlaceOrderBaseRequest
12600
12797
  readonly userId?: never;
12601
12798
  readonly userSecret?: never;
12602
12799
  };
12800
+ type TradingApiPlaceOrderoauthRequest = TradingApiPlaceOrderBaseRequest & {
12801
+ readonly userId?: never;
12802
+ readonly userSecret?: never;
12803
+ };
12603
12804
  type TradingApiPlaceOrderRequestByAuthMode = {
12604
12805
  "commercialApiKey": TradingApiPlaceOrdercommercialApiKeyRequest;
12605
12806
  "personalApiKey": TradingApiPlaceOrderpersonalApiKeyRequest;
12807
+ "oauth": TradingApiPlaceOrderoauthRequest;
12606
12808
  };
12607
12809
  type TradingApiPlaceOrderRequest<TAuth extends AuthMode> = TradingApiPlaceOrderRequestByAuthMode[TAuth["mode"] & keyof TradingApiPlaceOrderRequestByAuthMode];
12608
12810
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12627,9 +12829,14 @@ type TradingApiPreviewCryptoOrderpersonalApiKeyRequest = TradingApiPreviewCrypto
12627
12829
  readonly userId?: never;
12628
12830
  readonly userSecret?: never;
12629
12831
  };
12832
+ type TradingApiPreviewCryptoOrderoauthRequest = TradingApiPreviewCryptoOrderBaseRequest & {
12833
+ readonly userId?: never;
12834
+ readonly userSecret?: never;
12835
+ };
12630
12836
  type TradingApiPreviewCryptoOrderRequestByAuthMode = {
12631
12837
  "commercialApiKey": TradingApiPreviewCryptoOrdercommercialApiKeyRequest;
12632
12838
  "personalApiKey": TradingApiPreviewCryptoOrderpersonalApiKeyRequest;
12839
+ "oauth": TradingApiPreviewCryptoOrderoauthRequest;
12633
12840
  };
12634
12841
  type TradingApiPreviewCryptoOrderRequest<TAuth extends AuthMode> = TradingApiPreviewCryptoOrderRequestByAuthMode[TAuth["mode"] & keyof TradingApiPreviewCryptoOrderRequestByAuthMode];
12635
12842
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12654,9 +12861,14 @@ type TradingApiReplaceOrderpersonalApiKeyRequest = TradingApiReplaceOrderBaseReq
12654
12861
  readonly userId?: never;
12655
12862
  readonly userSecret?: never;
12656
12863
  };
12864
+ type TradingApiReplaceOrderoauthRequest = TradingApiReplaceOrderBaseRequest & {
12865
+ readonly userId?: never;
12866
+ readonly userSecret?: never;
12867
+ };
12657
12868
  type TradingApiReplaceOrderRequestByAuthMode = {
12658
12869
  "commercialApiKey": TradingApiReplaceOrdercommercialApiKeyRequest;
12659
12870
  "personalApiKey": TradingApiReplaceOrderpersonalApiKeyRequest;
12871
+ "oauth": TradingApiReplaceOrderoauthRequest;
12660
12872
  };
12661
12873
  type TradingApiReplaceOrderRequest<TAuth extends AuthMode> = TradingApiReplaceOrderRequestByAuthMode[TAuth["mode"] & keyof TradingApiReplaceOrderRequestByAuthMode];
12662
12874
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12693,9 +12905,14 @@ type TradingApiSearchCryptocurrencyPairInstrumentspersonalApiKeyRequest = Tradin
12693
12905
  readonly userId?: never;
12694
12906
  readonly userSecret?: never;
12695
12907
  };
12908
+ type TradingApiSearchCryptocurrencyPairInstrumentsoauthRequest = TradingApiSearchCryptocurrencyPairInstrumentsBaseRequest & {
12909
+ readonly userId?: never;
12910
+ readonly userSecret?: never;
12911
+ };
12696
12912
  type TradingApiSearchCryptocurrencyPairInstrumentsRequestByAuthMode = {
12697
12913
  "commercialApiKey": TradingApiSearchCryptocurrencyPairInstrumentscommercialApiKeyRequest;
12698
12914
  "personalApiKey": TradingApiSearchCryptocurrencyPairInstrumentspersonalApiKeyRequest;
12915
+ "oauth": TradingApiSearchCryptocurrencyPairInstrumentsoauthRequest;
12699
12916
  };
12700
12917
  type TradingApiSearchCryptocurrencyPairInstrumentsRequest<TAuth extends AuthMode> = TradingApiSearchCryptocurrencyPairInstrumentsRequestByAuthMode[TAuth["mode"] & keyof TradingApiSearchCryptocurrencyPairInstrumentsRequestByAuthMode];
12701
12918
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12904,4 +13121,43 @@ declare class SnaptradeError extends Error {
12904
13121
  declare function readableStreamToString(stream: ReadableStream): Promise<string>;
12905
13122
  declare function parseIfJson(input: unknown): object | unknown;
12906
13123
  //#endregion
12907
- export { Account, AccountBalance, AccountBalanceTotal, AccountBalancesV2Response, AccountBalancesV2ResponseBuyingPowerInner, AccountBalancesV2ResponseDataFreshness, AccountBalancesV2ResponseMargin, AccountBalancesV2ResponseNetValue, AccountHoldings, AccountHoldingsAccount, AccountInformationApi, AccountInformationApiAxiosParamCreator, AccountInformationApiFactory, AccountInformationApiFp, AccountInformationApiGenerated, type AccountInformationApiGetAccountActivitiesArgs, type AccountInformationApiGetAccountActivitiesBaseRequest, type AccountInformationApiGetAccountActivitiesRequest, type AccountInformationApiGetAccountActivitiesRequestByAuthMode, type AccountInformationApiGetAccountActivitiescommercialApiKeyRequest, type AccountInformationApiGetAccountActivitiespersonalApiKeyRequest, type AccountInformationApiGetAccountBalanceHistoryArgs, type AccountInformationApiGetAccountBalanceHistoryBaseRequest, type AccountInformationApiGetAccountBalanceHistoryRequest, type AccountInformationApiGetAccountBalanceHistoryRequestByAuthMode, type AccountInformationApiGetAccountBalanceHistorycommercialApiKeyRequest, type AccountInformationApiGetAccountBalanceHistorypersonalApiKeyRequest, type AccountInformationApiGetAccountBalancesV2Args, type AccountInformationApiGetAccountBalancesV2BaseRequest, type AccountInformationApiGetAccountBalancesV2Request, type AccountInformationApiGetAccountBalancesV2RequestByAuthMode, type AccountInformationApiGetAccountBalancesV2commercialApiKeyRequest, type AccountInformationApiGetAccountBalancesV2personalApiKeyRequest, type AccountInformationApiGetAccountDetailsArgs, type AccountInformationApiGetAccountDetailsBaseRequest, type AccountInformationApiGetAccountDetailsRequest, type AccountInformationApiGetAccountDetailsRequestByAuthMode, type AccountInformationApiGetAccountDetailscommercialApiKeyRequest, type AccountInformationApiGetAccountDetailspersonalApiKeyRequest, type AccountInformationApiGetAllAccountPositionsArgs, type AccountInformationApiGetAllAccountPositionsBaseRequest, type AccountInformationApiGetAllAccountPositionsRequest, type AccountInformationApiGetAllAccountPositionsRequestByAuthMode, type AccountInformationApiGetAllAccountPositionscommercialApiKeyRequest, type AccountInformationApiGetAllAccountPositionspersonalApiKeyRequest, type AccountInformationApiGetUserAccountBalanceArgs, type AccountInformationApiGetUserAccountBalanceBaseRequest, type AccountInformationApiGetUserAccountBalanceRequest, type AccountInformationApiGetUserAccountBalanceRequestByAuthMode, type AccountInformationApiGetUserAccountBalancecommercialApiKeyRequest, type AccountInformationApiGetUserAccountBalancepersonalApiKeyRequest, type AccountInformationApiGetUserAccountDetailsArgs, type AccountInformationApiGetUserAccountDetailsBaseRequest, type AccountInformationApiGetUserAccountDetailsRequest, type AccountInformationApiGetUserAccountDetailsRequestByAuthMode, type AccountInformationApiGetUserAccountDetailscommercialApiKeyRequest, type AccountInformationApiGetUserAccountDetailspersonalApiKeyRequest, type AccountInformationApiGetUserAccountOrderDetailArgs, type AccountInformationApiGetUserAccountOrderDetailBaseRequest, type AccountInformationApiGetUserAccountOrderDetailRequest, type AccountInformationApiGetUserAccountOrderDetailRequestByAuthMode, type AccountInformationApiGetUserAccountOrderDetailcommercialApiKeyRequest, type AccountInformationApiGetUserAccountOrderDetailpersonalApiKeyRequest, type AccountInformationApiGetUserAccountOrdersArgs, type AccountInformationApiGetUserAccountOrdersBaseRequest, type AccountInformationApiGetUserAccountOrdersRequest, type AccountInformationApiGetUserAccountOrdersRequestByAuthMode, type AccountInformationApiGetUserAccountOrderscommercialApiKeyRequest, type AccountInformationApiGetUserAccountOrderspersonalApiKeyRequest, type AccountInformationApiGetUserAccountRecentOrdersArgs, type AccountInformationApiGetUserAccountRecentOrdersBaseRequest, type AccountInformationApiGetUserAccountRecentOrdersRequest, type AccountInformationApiGetUserAccountRecentOrdersRequestByAuthMode, type AccountInformationApiGetUserAccountRecentOrderscommercialApiKeyRequest, type AccountInformationApiGetUserAccountRecentOrderspersonalApiKeyRequest, type AccountInformationApiGetUserAccountReturnRatesArgs, type AccountInformationApiGetUserAccountReturnRatesBaseRequest, type AccountInformationApiGetUserAccountReturnRatesRequest, type AccountInformationApiGetUserAccountReturnRatesRequestByAuthMode, type AccountInformationApiGetUserAccountReturnRatescommercialApiKeyRequest, type AccountInformationApiGetUserAccountReturnRatespersonalApiKeyRequest, type AccountInformationApiGetUserHoldingsArgs, type AccountInformationApiGetUserHoldingsBaseRequest, type AccountInformationApiGetUserHoldingsRequest, type AccountInformationApiGetUserHoldingsRequestByAuthMode, type AccountInformationApiGetUserHoldingscommercialApiKeyRequest, type AccountInformationApiGetUserHoldingspersonalApiKeyRequest, type AccountInformationApiListAllUserAccountsArgs, type AccountInformationApiListAllUserAccountsBaseRequest, type AccountInformationApiListAllUserAccountsRequest, type AccountInformationApiListAllUserAccountsRequestByAuthMode, type AccountInformationApiListAllUserAccountscommercialApiKeyRequest, type AccountInformationApiListAllUserAccountspersonalApiKeyRequest, type AccountInformationApiListUserAccountsArgs, type AccountInformationApiListUserAccountsBaseRequest, type AccountInformationApiListUserAccountsRequest, type AccountInformationApiListUserAccountsRequestByAuthMode, type AccountInformationApiListUserAccountscommercialApiKeyRequest, type AccountInformationApiListUserAccountspersonalApiKeyRequest, type AccountInformationApiUpdateUserAccountArgs, type AccountInformationApiUpdateUserAccountBaseRequest, type AccountInformationApiUpdateUserAccountRequest, type AccountInformationApiUpdateUserAccountRequestByAuthMode, type AccountInformationApiUpdateUserAccountcommercialApiKeyRequest, type AccountInformationApiUpdateUserAccountpersonalApiKeyRequest, AccountInformationGetUserAccountOrderDetailRequest, AccountInformationGetUserHoldings409Response, AccountOrder, AccountOrderGroup, AccountOrderGroupNullable, AccountOrderLeg, AccountOrderRecord, AccountOrderRecordLeg, AccountOrderRecordLegInstrument, AccountOrderRecordNullable, AccountOrderRecordStatus, AccountOrderRecordStatusV2, AccountOrderRecordStatusV2Nullable, AccountOrderRecordV2, AccountOrderRecordV2OrderRole, AccountOrderRecordV2OrderRoleNullable, AccountOrdersV2Response, AccountPosition, AccountSimple, AccountSyncStatus, AccountUniversalActivity, AccountValueHistoryItem, AccountValueHistoryResponse, ActionStrict, ActionStrictWithOptions, AdrInstrument, AllAccountOrdersResponse, AllAccountOrdersResponseDataFreshness, AllAccountPositionsResponse, AllAccountPositionsResponseDataFreshness, AllUserAccountsResponse, AnnuityAccount, AnnuityAccountNetValue, AnnuityAccountSyncStatus, ApiKey, ApiStatusApi, ApiStatusApiAxiosParamCreator, ApiStatusApiFactory, ApiStatusApiFp, ApiStatusApiGenerated, type AuthMode, AuthenticationApi, AuthenticationApiAxiosParamCreator, type AuthenticationApiDeleteSnapTradeUserArgs, type AuthenticationApiDeleteSnapTradeUserBaseRequest, type AuthenticationApiDeleteSnapTradeUserRequest, type AuthenticationApiDeleteSnapTradeUserRequestByAuthMode, type AuthenticationApiDeleteSnapTradeUsercommercialApiKeyRequest, AuthenticationApiFactory, AuthenticationApiFp, AuthenticationApiGenerated, type AuthenticationApiLoginSnapTradeUserArgs, type AuthenticationApiLoginSnapTradeUserBaseRequest, type AuthenticationApiLoginSnapTradeUserRequest, type AuthenticationApiLoginSnapTradeUserRequestByAuthMode, type AuthenticationApiLoginSnapTradeUsercommercialApiKeyRequest, type AuthenticationApiLoginSnapTradeUserpersonalApiKeyRequest, type AuthenticationApiRegisterSnapTradeUserArgs, type AuthenticationApiRegisterSnapTradeUserBaseRequest, type AuthenticationApiRegisterSnapTradeUserRequest, type AuthenticationApiRegisterSnapTradeUserRequestByAuthMode, type AuthenticationApiRegisterSnapTradeUsercommercialApiKeyRequest, type AuthenticationApiResetSnapTradeUserSecretArgs, type AuthenticationApiResetSnapTradeUserSecretBaseRequest, type AuthenticationApiResetSnapTradeUserSecretRequest, type AuthenticationApiResetSnapTradeUserSecretRequestByAuthMode, type AuthenticationApiResetSnapTradeUserSecretcommercialApiKeyRequest, AuthenticationLoginSnapTradeUser200Response, Balance, BalanceCurrency, BalanceV2CurrencyAmount, BalanceV2Money, Brokerage, BrokerageAuthorization, BrokerageAuthorizationDataFreshnessMode, BrokerageAuthorizationDisabledConfirmation, BrokerageAuthorizationRefreshConfirmation, BrokerageAuthorizationTransactionsSyncConfirmation, BrokerageAuthorizationTypeReadOnly, BrokerageAuthorizationTypeReadOnlyBrokerage, BrokerageInstrument, BrokerageInstrumentsResponse, BrokerageType, CancelOrderResponse, CashInstrument, CefInstrument, CfdInstrument, ChildBrokerageOrderIDs, ChildBrokerageOrderIDsNullable, CommercialApiKeyAuth, ComplexOrderLeg, ComplexOrderResponse, Configuration, ConfigurationParameters, ConfigurationParametersShared, ConnectedAssetPartnerStats, ConnectionAccount, ConnectionAccountStatus, ConnectionAccountSyncStatus, ConnectionAccountsResponse, ConnectionsApi, ConnectionsApiAxiosParamCreator, type ConnectionsApiDeleteConnectionArgs, type ConnectionsApiDeleteConnectionBaseRequest, type ConnectionsApiDeleteConnectionRequest, type ConnectionsApiDeleteConnectionRequestByAuthMode, type ConnectionsApiDeleteConnectioncommercialApiKeyRequest, type ConnectionsApiDeleteConnectionpersonalApiKeyRequest, type ConnectionsApiDetailBrokerageAuthorizationArgs, type ConnectionsApiDetailBrokerageAuthorizationBaseRequest, type ConnectionsApiDetailBrokerageAuthorizationRequest, type ConnectionsApiDetailBrokerageAuthorizationRequestByAuthMode, type ConnectionsApiDetailBrokerageAuthorizationcommercialApiKeyRequest, type ConnectionsApiDetailBrokerageAuthorizationpersonalApiKeyRequest, type ConnectionsApiDisableBrokerageAuthorizationArgs, type ConnectionsApiDisableBrokerageAuthorizationBaseRequest, type ConnectionsApiDisableBrokerageAuthorizationRequest, type ConnectionsApiDisableBrokerageAuthorizationRequestByAuthMode, type ConnectionsApiDisableBrokerageAuthorizationcommercialApiKeyRequest, type ConnectionsApiDisableBrokerageAuthorizationpersonalApiKeyRequest, ConnectionsApiFactory, ConnectionsApiFp, ConnectionsApiGenerated, type ConnectionsApiListBrokerageAuthorizationAccountsArgs, type ConnectionsApiListBrokerageAuthorizationAccountsBaseRequest, type ConnectionsApiListBrokerageAuthorizationAccountsRequest, type ConnectionsApiListBrokerageAuthorizationAccountsRequestByAuthMode, type ConnectionsApiListBrokerageAuthorizationAccountscommercialApiKeyRequest, type ConnectionsApiListBrokerageAuthorizationAccountspersonalApiKeyRequest, type ConnectionsApiListBrokerageAuthorizationsArgs, type ConnectionsApiListBrokerageAuthorizationsBaseRequest, type ConnectionsApiListBrokerageAuthorizationsRequest, type ConnectionsApiListBrokerageAuthorizationsRequestByAuthMode, type ConnectionsApiListBrokerageAuthorizationscommercialApiKeyRequest, type ConnectionsApiListBrokerageAuthorizationspersonalApiKeyRequest, type ConnectionsApiListConnectionAccountsArgs, type ConnectionsApiListConnectionAccountsBaseRequest, type ConnectionsApiListConnectionAccountsRequest, type ConnectionsApiListConnectionAccountsRequestByAuthMode, type ConnectionsApiListConnectionAccountscommercialApiKeyRequest, type ConnectionsApiListConnectionAccountspersonalApiKeyRequest, type ConnectionsApiRefreshBrokerageAuthorizationArgs, type ConnectionsApiRefreshBrokerageAuthorizationBaseRequest, type ConnectionsApiRefreshBrokerageAuthorizationRequest, type ConnectionsApiRefreshBrokerageAuthorizationRequestByAuthMode, type ConnectionsApiRefreshBrokerageAuthorizationcommercialApiKeyRequest, type ConnectionsApiRefreshBrokerageAuthorizationpersonalApiKeyRequest, type ConnectionsApiReturnRatesArgs, type ConnectionsApiReturnRatesBaseRequest, type ConnectionsApiReturnRatesRequest, type ConnectionsApiReturnRatesRequestByAuthMode, type ConnectionsApiReturnRatescommercialApiKeyRequest, type ConnectionsApiReturnRatespersonalApiKeyRequest, type ConnectionsApiSyncBrokerageAuthorizationTransactionsArgs, type ConnectionsApiSyncBrokerageAuthorizationTransactionsBaseRequest, type ConnectionsApiSyncBrokerageAuthorizationTransactionsRequest, type ConnectionsApiSyncBrokerageAuthorizationTransactionsRequestByAuthMode, type ConnectionsApiSyncBrokerageAuthorizationTransactionscommercialApiKeyRequest, type ConnectionsApiSyncBrokerageAuthorizationTransactionspersonalApiKeyRequest, CryptoInstrument, CryptoOrderForm, CryptoOrderPreview, CryptoOrderPreviewEstimatedFee, CryptoTradingInstrument, CryptocurrencyPair, CryptocurrencyPairQuote, Currency, CurrencyNullable, DeleteConnectionConfirmation, DeleteUserResponse, DepositAccount, DepositAccountNetValue, DepositAccountSyncStatus, DividendAtDate, EncryptedResponse, EncryptedResponseEncryptedMessageData, EtfInstrument, Exchange, ExchangeRatePairs, ExperimentalEndpointsApi, type ExperimentalEndpointsApiAddSubscriptionArgs, type ExperimentalEndpointsApiAddSubscriptionBaseRequest, type ExperimentalEndpointsApiAddSubscriptionRequest, type ExperimentalEndpointsApiAddSubscriptionRequestByAuthMode, type ExperimentalEndpointsApiAddSubscriptioncommercialApiKeyRequest, type ExperimentalEndpointsApiAddSubscriptionpersonalApiKeyRequest, ExperimentalEndpointsApiAxiosParamCreator, type ExperimentalEndpointsApiCancelSubscriptionArgs, type ExperimentalEndpointsApiCancelSubscriptionBaseRequest, type ExperimentalEndpointsApiCancelSubscriptionRequest, type ExperimentalEndpointsApiCancelSubscriptionRequestByAuthMode, type ExperimentalEndpointsApiCancelSubscriptioncommercialApiKeyRequest, type ExperimentalEndpointsApiCancelSubscriptionpersonalApiKeyRequest, ExperimentalEndpointsApiFactory, ExperimentalEndpointsApiFp, ExperimentalEndpointsApiGenerated, type ExperimentalEndpointsApiGetAllAccountOrdersArgs, type ExperimentalEndpointsApiGetAllAccountOrdersBaseRequest, type ExperimentalEndpointsApiGetAllAccountOrdersRequest, type ExperimentalEndpointsApiGetAllAccountOrdersRequestByAuthMode, type ExperimentalEndpointsApiGetAllAccountOrderscommercialApiKeyRequest, type ExperimentalEndpointsApiGetAllAccountOrderspersonalApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2Args, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2BaseRequest, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2RequestByAuthMode, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2commercialApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2personalApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountOrdersV2Args, type ExperimentalEndpointsApiGetUserAccountOrdersV2BaseRequest, type ExperimentalEndpointsApiGetUserAccountOrdersV2Request, type ExperimentalEndpointsApiGetUserAccountOrdersV2RequestByAuthMode, type ExperimentalEndpointsApiGetUserAccountOrdersV2commercialApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountOrdersV2personalApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Args, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2BaseRequest, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2RequestByAuthMode, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2commercialApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2personalApiKeyRequest, type ExperimentalEndpointsApiPlaceSimpleOrderArgs, type ExperimentalEndpointsApiPlaceSimpleOrderBaseRequest, type ExperimentalEndpointsApiPlaceSimpleOrderRequest, type ExperimentalEndpointsApiPlaceSimpleOrderRequestByAuthMode, type ExperimentalEndpointsApiPlaceSimpleOrdercommercialApiKeyRequest, type ExperimentalEndpointsApiPlaceSimpleOrderpersonalApiKeyRequest, FigiInstrument, FigiInstrumentNullable, FormDataLike, FutureInstrument, FutureOptionInstrument, HoldingsStatus, Institution, InstitutionConnection, InstitutionConnectionNullable, Instrument, InvestmentAccount, InvestmentAccountNetValue, LimitOrderType, LineOfCreditAccount, LineOfCreditAccountAvailableCredit, LineOfCreditAccountMinimumPaymentAmount, LineOfCreditAccountNetValue, LineOfCreditAccountSyncStatus, LoginRedirectURI, ManagementApi, ManagementApiAxiosParamCreator, ManagementApiFactory, ManagementApiFp, ManagementApiGenerated, type ManagementApiGetStatsArgs, type ManagementApiGetStatsBaseRequest, type ManagementApiGetStatsLegacyArgs, type ManagementApiGetStatsLegacyBaseRequest, type ManagementApiGetStatsLegacyRequest, type ManagementApiGetStatsLegacyRequestByAuthMode, type ManagementApiGetStatsLegacycommercialApiKeyRequest, type ManagementApiGetStatsLegacypersonalApiKeyRequest, type ManagementApiGetStatsRequest, type ManagementApiGetStatsRequestByAuthMode, type ManagementApiGetStatscommercialApiKeyRequest, type ManagementApiGetStatspersonalApiKeyRequest, ManualTrade, ManualTradeAndImpact, ManualTradeBalance, ManualTradeForm, ManualTradeFormBracket, ManualTradeFormComplex, ManualTradeFormWithOptions, ManualTradeImpact, ManualTradePlaceTimeInForceStrict, ManualTradeReplaceForm, ManualTradeSymbol, MarketOrderType, MlegActionStrict, MlegInstrumentType, MlegLeg, MlegOrderResponse, MlegOrderTypeStrict, MlegPriceEffectStrict, MlegPriceEffectStrictNullable, MlegTradeForm, MlegTradingInstrument, Model400FailedRequestResponse, Model401FailedRequestResponse, Model402BrokerageAuthAlreadyDisabledException, Model402BrokerageAuthDisabledResponse, Model403FailedRequestResponse, Model403FeatureNotEnabledResponse, Model404AccountUnavailableResponse, Model404FailedRequestResponse, Model425FailedRequestResponse, Model429TooManyRequestsResponse, Model500UnexpectedExceptionResponse, Model501NotImplementedResponse, Model503BrokerageRequestResponse, Model503CurrencyConversionUnavailableResponse, MonthlyDividends, MutualFundInstrument, NetContributions, NetDividend, NotionalValue, NotionalValueNullable, OAuthWebhookBase, OptionBrokerageSymbol, OptionChainInner, OptionChainInnerChainPerRootInner, OptionChainInnerChainPerRootInnerChainPerStrikePriceInner, OptionImpact, OptionInstrument, OptionLeg, OptionQuote, OptionQuoteGreeks, OptionStrategy, OptionStrategyLegsInner, OptionsPosition, OptionsSymbol, OptionsSymbolNullable, OrderTypeConfiguration, OrderTypeStrict, OrderUpdatedResponse, OtherInstrument, OtherOrderType, PaginatedUniversalActivity, PaginationDetails, PartnerData, PartnerStats, PastValue, PerformanceCustom, PersonalApiKeyAuth, Position, PositionCurrency, PositionSymbol, RateOfReturnObject, RateOfReturnResponse, RecentOrdersResponse, ReferenceDataApi, ReferenceDataApiAxiosParamCreator, ReferenceDataApiFactory, ReferenceDataApiFp, ReferenceDataApiGenerated, type ReferenceDataApiGetSymbolsArgs, type ReferenceDataApiGetSymbolsBaseRequest, type ReferenceDataApiGetSymbolsByTickerArgs, type ReferenceDataApiGetSymbolsByTickerBaseRequest, type ReferenceDataApiGetSymbolsByTickerRequest, type ReferenceDataApiGetSymbolsByTickerRequestByAuthMode, type ReferenceDataApiGetSymbolsByTickercommercialApiKeyRequest, type ReferenceDataApiGetSymbolsByTickerpersonalApiKeyRequest, type ReferenceDataApiGetSymbolsRequest, type ReferenceDataApiGetSymbolsRequestByAuthMode, type ReferenceDataApiGetSymbolscommercialApiKeyRequest, type ReferenceDataApiGetSymbolspersonalApiKeyRequest, type ReferenceDataApiListAllBrokerageAuthorizationTypeArgs, type ReferenceDataApiListAllBrokerageAuthorizationTypeBaseRequest, type ReferenceDataApiListAllBrokerageAuthorizationTypeRequest, type ReferenceDataApiListAllBrokerageAuthorizationTypeRequestByAuthMode, type ReferenceDataApiListAllBrokerageAuthorizationTypecommercialApiKeyRequest, type ReferenceDataApiListAllBrokerageAuthorizationTypepersonalApiKeyRequest, type ReferenceDataApiListAllBrokerageInstrumentsArgs, type ReferenceDataApiListAllBrokerageInstrumentsBaseRequest, type ReferenceDataApiListAllBrokerageInstrumentsRequest, type ReferenceDataApiListAllBrokerageInstrumentsRequestByAuthMode, type ReferenceDataApiListAllBrokerageInstrumentscommercialApiKeyRequest, type ReferenceDataApiListAllBrokerageInstrumentspersonalApiKeyRequest, type ReferenceDataApiSymbolSearchUserAccountArgs, type ReferenceDataApiSymbolSearchUserAccountBaseRequest, type ReferenceDataApiSymbolSearchUserAccountRequest, type ReferenceDataApiSymbolSearchUserAccountRequestByAuthMode, type ReferenceDataApiSymbolSearchUserAccountcommercialApiKeyRequest, type ReferenceDataApiSymbolSearchUserAccountpersonalApiKeyRequest, SecurityType, SessionEvent, SimpleOrderForm, SimpleTradeForm, SimpleTradeInstrument, SimpleTradeLeg, SimpleTradeResponse, SnapTradeHoldingsAccount, SnapTradeHoldingsTotalValue, SnapTradeLoginUserRequestBody, SnapTradeRegisterUserRequestBody, Snaptrade, SnaptradeAuth, SnaptradeError, Status, StockInstrument, StopLimitOrderType, StopLoss, StopOrderType, StrategyOrderRecord, StrategyQuotes, StrategyQuotesGreek, SubPeriodReturnRate, Symbol, SymbolCurrency, SymbolExchange, SymbolNullable, SymbolQuery, SymbolsQuotesInner, TakeProfit, TaxLot, TimeInForceStrict, TokenizedAssetInstrument, TradeDetectionAddSubscriptionRequest, TradeDetectionCancelSubscriptionRequest, TradeDetectionCancelSubscriptionResponse, TradeDetectionSubscription, TradingApi, TradingApiAxiosParamCreator, type TradingApiCancelOrderArgs, type TradingApiCancelOrderBaseRequest, type TradingApiCancelOrderRequest, type TradingApiCancelOrderRequestByAuthMode, type TradingApiCancelOrdercommercialApiKeyRequest, type TradingApiCancelOrderpersonalApiKeyRequest, TradingApiFactory, TradingApiFp, TradingApiGenerated, type TradingApiGetCryptocurrencyPairQuoteArgs, type TradingApiGetCryptocurrencyPairQuoteBaseRequest, type TradingApiGetCryptocurrencyPairQuoteRequest, type TradingApiGetCryptocurrencyPairQuoteRequestByAuthMode, type TradingApiGetCryptocurrencyPairQuotecommercialApiKeyRequest, type TradingApiGetCryptocurrencyPairQuotepersonalApiKeyRequest, type TradingApiGetOptionImpactArgs, type TradingApiGetOptionImpactBaseRequest, type TradingApiGetOptionImpactRequest, type TradingApiGetOptionImpactRequestByAuthMode, type TradingApiGetOptionImpactcommercialApiKeyRequest, type TradingApiGetOptionImpactpersonalApiKeyRequest, type TradingApiGetOrderImpactArgs, type TradingApiGetOrderImpactBaseRequest, type TradingApiGetOrderImpactRequest, type TradingApiGetOrderImpactRequestByAuthMode, type TradingApiGetOrderImpactcommercialApiKeyRequest, type TradingApiGetOrderImpactpersonalApiKeyRequest, type TradingApiGetUserAccountOptionQuotesArgs, type TradingApiGetUserAccountOptionQuotesBaseRequest, type TradingApiGetUserAccountOptionQuotesRequest, type TradingApiGetUserAccountOptionQuotesRequestByAuthMode, type TradingApiGetUserAccountOptionQuotescommercialApiKeyRequest, type TradingApiGetUserAccountOptionQuotespersonalApiKeyRequest, type TradingApiGetUserAccountQuotesArgs, type TradingApiGetUserAccountQuotesBaseRequest, type TradingApiGetUserAccountQuotesRequest, type TradingApiGetUserAccountQuotesRequestByAuthMode, type TradingApiGetUserAccountQuotescommercialApiKeyRequest, type TradingApiGetUserAccountQuotespersonalApiKeyRequest, type TradingApiPlaceComplexOrderArgs, type TradingApiPlaceComplexOrderBaseRequest, type TradingApiPlaceComplexOrderRequest, type TradingApiPlaceComplexOrderRequestByAuthMode, type TradingApiPlaceComplexOrdercommercialApiKeyRequest, type TradingApiPlaceComplexOrderpersonalApiKeyRequest, type TradingApiPlaceCryptoOrderArgs, type TradingApiPlaceCryptoOrderBaseRequest, type TradingApiPlaceCryptoOrderRequest, type TradingApiPlaceCryptoOrderRequestByAuthMode, type TradingApiPlaceCryptoOrdercommercialApiKeyRequest, type TradingApiPlaceCryptoOrderpersonalApiKeyRequest, type TradingApiPlaceForceOrderArgs, type TradingApiPlaceForceOrderBaseRequest, type TradingApiPlaceForceOrderRequest, type TradingApiPlaceForceOrderRequestByAuthMode, type TradingApiPlaceForceOrdercommercialApiKeyRequest, type TradingApiPlaceForceOrderpersonalApiKeyRequest, type TradingApiPlaceMlegOrderArgs, type TradingApiPlaceMlegOrderBaseRequest, type TradingApiPlaceMlegOrderRequest, type TradingApiPlaceMlegOrderRequestByAuthMode, type TradingApiPlaceMlegOrdercommercialApiKeyRequest, type TradingApiPlaceMlegOrderpersonalApiKeyRequest, type TradingApiPlaceOrderArgs, type TradingApiPlaceOrderBaseRequest, type TradingApiPlaceOrderRequest, type TradingApiPlaceOrderRequestByAuthMode, type TradingApiPlaceOrdercommercialApiKeyRequest, type TradingApiPlaceOrderpersonalApiKeyRequest, type TradingApiPreviewCryptoOrderArgs, type TradingApiPreviewCryptoOrderBaseRequest, type TradingApiPreviewCryptoOrderRequest, type TradingApiPreviewCryptoOrderRequestByAuthMode, type TradingApiPreviewCryptoOrdercommercialApiKeyRequest, type TradingApiPreviewCryptoOrderpersonalApiKeyRequest, type TradingApiReplaceOrderArgs, type TradingApiReplaceOrderBaseRequest, type TradingApiReplaceOrderRequest, type TradingApiReplaceOrderRequestByAuthMode, type TradingApiReplaceOrdercommercialApiKeyRequest, type TradingApiReplaceOrderpersonalApiKeyRequest, type TradingApiSearchCryptocurrencyPairInstrumentsArgs, type TradingApiSearchCryptocurrencyPairInstrumentsBaseRequest, type TradingApiSearchCryptocurrencyPairInstrumentsRequest, type TradingApiSearchCryptocurrencyPairInstrumentsRequestByAuthMode, type TradingApiSearchCryptocurrencyPairInstrumentscommercialApiKeyRequest, type TradingApiSearchCryptocurrencyPairInstrumentspersonalApiKeyRequest, TradingGetUserAccountOptionQuotes410Response, TradingInstrument, TradingSearchCryptocurrencyPairInstruments200Response, TradingSession, TrailingStop, TrailingStopLimitOrderType, TrailingStopNullable, TrailingStopOrderType, TransactionsStatus, USExchange, UnderlyingCfdInstrument, UnderlyingOptionInstrument, UnderlyingSymbol, UnderlyingSymbolExchange, UnderlyingSymbolType, UnderlyingTokenizedAssetInstrument, UniversalActivity, UniversalSymbol, UniversalSymbolNullable, UserIDandSecret, ValidatedTradeBody, parseIfJson, readableStreamToString };
13124
+ //#region oauth-device.d.ts
13125
+ interface SnaptradeOAuthDeviceOptions {
13126
+ issuer?: string;
13127
+ axios?: AxiosInstance;
13128
+ }
13129
+ interface SnaptradeDeviceAuthorization {
13130
+ deviceCode: string;
13131
+ userCode: string;
13132
+ verificationUri: string;
13133
+ verificationUriComplete?: string;
13134
+ /** Local deadline in milliseconds since the Unix epoch. */
13135
+ expiresAt: number;
13136
+ interval: number;
13137
+ }
13138
+ interface SnaptradeDeviceTokens {
13139
+ accessToken: string;
13140
+ refreshToken?: string;
13141
+ tokenType?: string;
13142
+ expiresIn?: number;
13143
+ scope?: string;
13144
+ }
13145
+ /** Explicit device login for pre-registered public clients. Tokens remain application-owned. */
13146
+ declare class SnaptradeOAuthDevice {
13147
+ private readonly issuer;
13148
+ private readonly http;
13149
+ constructor(options?: SnaptradeOAuthDeviceOptions);
13150
+ /** Display userCode and verificationUri; keep deviceCode private. Access is read-only. */
13151
+ startDeviceAuthorization(params: {
13152
+ clientId: string;
13153
+ signal?: AbortSignal;
13154
+ }): Promise<SnaptradeDeviceAuthorization>;
13155
+ /** Polls only for initial login. Does not store tokens or refresh them. */
13156
+ waitForDeviceToken(params: {
13157
+ clientId: string;
13158
+ authorization: SnaptradeDeviceAuthorization;
13159
+ signal?: AbortSignal;
13160
+ }): Promise<SnaptradeDeviceTokens>;
13161
+ }
13162
+ //#endregion
13163
+ export { AccessToken, Account, AccountBalance, AccountBalanceTotal, AccountBalancesV2Response, AccountBalancesV2ResponseBuyingPowerInner, AccountBalancesV2ResponseDataFreshness, AccountBalancesV2ResponseMargin, AccountBalancesV2ResponseNetValue, AccountHoldings, AccountHoldingsAccount, AccountInformationApi, AccountInformationApiAxiosParamCreator, AccountInformationApiFactory, AccountInformationApiFp, AccountInformationApiGenerated, type AccountInformationApiGetAccountActivitiesArgs, type AccountInformationApiGetAccountActivitiesBaseRequest, type AccountInformationApiGetAccountActivitiesRequest, type AccountInformationApiGetAccountActivitiesRequestByAuthMode, type AccountInformationApiGetAccountActivitiescommercialApiKeyRequest, type AccountInformationApiGetAccountActivitiesoauthRequest, type AccountInformationApiGetAccountActivitiespersonalApiKeyRequest, type AccountInformationApiGetAccountBalanceHistoryArgs, type AccountInformationApiGetAccountBalanceHistoryBaseRequest, type AccountInformationApiGetAccountBalanceHistoryRequest, type AccountInformationApiGetAccountBalanceHistoryRequestByAuthMode, type AccountInformationApiGetAccountBalanceHistorycommercialApiKeyRequest, type AccountInformationApiGetAccountBalanceHistoryoauthRequest, type AccountInformationApiGetAccountBalanceHistorypersonalApiKeyRequest, type AccountInformationApiGetAccountBalancesV2Args, type AccountInformationApiGetAccountBalancesV2BaseRequest, type AccountInformationApiGetAccountBalancesV2Request, type AccountInformationApiGetAccountBalancesV2RequestByAuthMode, type AccountInformationApiGetAccountBalancesV2commercialApiKeyRequest, type AccountInformationApiGetAccountBalancesV2personalApiKeyRequest, type AccountInformationApiGetAccountDetailsArgs, type AccountInformationApiGetAccountDetailsBaseRequest, type AccountInformationApiGetAccountDetailsRequest, type AccountInformationApiGetAccountDetailsRequestByAuthMode, type AccountInformationApiGetAccountDetailscommercialApiKeyRequest, type AccountInformationApiGetAccountDetailsoauthRequest, type AccountInformationApiGetAccountDetailspersonalApiKeyRequest, type AccountInformationApiGetAllAccountPositionsArgs, type AccountInformationApiGetAllAccountPositionsBaseRequest, type AccountInformationApiGetAllAccountPositionsRequest, type AccountInformationApiGetAllAccountPositionsRequestByAuthMode, type AccountInformationApiGetAllAccountPositionscommercialApiKeyRequest, type AccountInformationApiGetAllAccountPositionsoauthRequest, type AccountInformationApiGetAllAccountPositionspersonalApiKeyRequest, type AccountInformationApiGetUserAccountBalanceArgs, type AccountInformationApiGetUserAccountBalanceBaseRequest, type AccountInformationApiGetUserAccountBalanceRequest, type AccountInformationApiGetUserAccountBalanceRequestByAuthMode, type AccountInformationApiGetUserAccountBalancecommercialApiKeyRequest, type AccountInformationApiGetUserAccountBalanceoauthRequest, type AccountInformationApiGetUserAccountBalancepersonalApiKeyRequest, type AccountInformationApiGetUserAccountDetailsArgs, type AccountInformationApiGetUserAccountDetailsBaseRequest, type AccountInformationApiGetUserAccountDetailsRequest, type AccountInformationApiGetUserAccountDetailsRequestByAuthMode, type AccountInformationApiGetUserAccountDetailscommercialApiKeyRequest, type AccountInformationApiGetUserAccountDetailsoauthRequest, type AccountInformationApiGetUserAccountDetailspersonalApiKeyRequest, type AccountInformationApiGetUserAccountOrderDetailArgs, type AccountInformationApiGetUserAccountOrderDetailBaseRequest, type AccountInformationApiGetUserAccountOrderDetailRequest, type AccountInformationApiGetUserAccountOrderDetailRequestByAuthMode, type AccountInformationApiGetUserAccountOrderDetailcommercialApiKeyRequest, type AccountInformationApiGetUserAccountOrderDetailoauthRequest, type AccountInformationApiGetUserAccountOrderDetailpersonalApiKeyRequest, type AccountInformationApiGetUserAccountOrdersArgs, type AccountInformationApiGetUserAccountOrdersBaseRequest, type AccountInformationApiGetUserAccountOrdersRequest, type AccountInformationApiGetUserAccountOrdersRequestByAuthMode, type AccountInformationApiGetUserAccountOrderscommercialApiKeyRequest, type AccountInformationApiGetUserAccountOrdersoauthRequest, type AccountInformationApiGetUserAccountOrderspersonalApiKeyRequest, type AccountInformationApiGetUserAccountRecentOrdersArgs, type AccountInformationApiGetUserAccountRecentOrdersBaseRequest, type AccountInformationApiGetUserAccountRecentOrdersRequest, type AccountInformationApiGetUserAccountRecentOrdersRequestByAuthMode, type AccountInformationApiGetUserAccountRecentOrderscommercialApiKeyRequest, type AccountInformationApiGetUserAccountRecentOrdersoauthRequest, type AccountInformationApiGetUserAccountRecentOrderspersonalApiKeyRequest, type AccountInformationApiGetUserAccountReturnRatesArgs, type AccountInformationApiGetUserAccountReturnRatesBaseRequest, type AccountInformationApiGetUserAccountReturnRatesRequest, type AccountInformationApiGetUserAccountReturnRatesRequestByAuthMode, type AccountInformationApiGetUserAccountReturnRatescommercialApiKeyRequest, type AccountInformationApiGetUserAccountReturnRatespersonalApiKeyRequest, type AccountInformationApiGetUserHoldingsArgs, type AccountInformationApiGetUserHoldingsBaseRequest, type AccountInformationApiGetUserHoldingsRequest, type AccountInformationApiGetUserHoldingsRequestByAuthMode, type AccountInformationApiGetUserHoldingscommercialApiKeyRequest, type AccountInformationApiGetUserHoldingsoauthRequest, type AccountInformationApiGetUserHoldingspersonalApiKeyRequest, type AccountInformationApiListAllUserAccountsArgs, type AccountInformationApiListAllUserAccountsBaseRequest, type AccountInformationApiListAllUserAccountsRequest, type AccountInformationApiListAllUserAccountsRequestByAuthMode, type AccountInformationApiListAllUserAccountscommercialApiKeyRequest, type AccountInformationApiListAllUserAccountsoauthRequest, type AccountInformationApiListAllUserAccountspersonalApiKeyRequest, type AccountInformationApiListUserAccountsArgs, type AccountInformationApiListUserAccountsBaseRequest, type AccountInformationApiListUserAccountsRequest, type AccountInformationApiListUserAccountsRequestByAuthMode, type AccountInformationApiListUserAccountscommercialApiKeyRequest, type AccountInformationApiListUserAccountsoauthRequest, type AccountInformationApiListUserAccountspersonalApiKeyRequest, type AccountInformationApiUpdateUserAccountArgs, type AccountInformationApiUpdateUserAccountBaseRequest, type AccountInformationApiUpdateUserAccountRequest, type AccountInformationApiUpdateUserAccountRequestByAuthMode, type AccountInformationApiUpdateUserAccountcommercialApiKeyRequest, type AccountInformationApiUpdateUserAccountoauthRequest, type AccountInformationApiUpdateUserAccountpersonalApiKeyRequest, AccountInformationGetUserAccountOrderDetailRequest, AccountInformationGetUserHoldings409Response, AccountOrder, AccountOrderGroup, AccountOrderGroupNullable, AccountOrderLeg, AccountOrderRecord, AccountOrderRecordLeg, AccountOrderRecordLegInstrument, AccountOrderRecordNullable, AccountOrderRecordStatus, AccountOrderRecordStatusV2, AccountOrderRecordStatusV2Nullable, AccountOrderRecordV2, AccountOrderRecordV2OrderRole, AccountOrderRecordV2OrderRoleNullable, AccountOrdersV2Response, AccountPosition, AccountSimple, AccountSyncStatus, AccountUniversalActivity, AccountValueHistoryItem, AccountValueHistoryResponse, ActionStrict, ActionStrictWithOptions, AdrInstrument, AllAccountOrdersResponse, AllAccountOrdersResponseDataFreshness, AllAccountPositionsResponse, AllAccountPositionsResponseDataFreshness, AllUserAccountsResponse, AnnuityAccount, AnnuityAccountNetValue, AnnuityAccountSyncStatus, ApiKey, ApiStatusApi, ApiStatusApiAxiosParamCreator, ApiStatusApiFactory, ApiStatusApiFp, ApiStatusApiGenerated, type AuthMode, AuthenticationApi, AuthenticationApiAxiosParamCreator, type AuthenticationApiDeleteSnapTradeUserArgs, type AuthenticationApiDeleteSnapTradeUserBaseRequest, type AuthenticationApiDeleteSnapTradeUserRequest, type AuthenticationApiDeleteSnapTradeUserRequestByAuthMode, type AuthenticationApiDeleteSnapTradeUsercommercialApiKeyRequest, AuthenticationApiFactory, AuthenticationApiFp, AuthenticationApiGenerated, type AuthenticationApiLoginSnapTradeUserArgs, type AuthenticationApiLoginSnapTradeUserBaseRequest, type AuthenticationApiLoginSnapTradeUserRequest, type AuthenticationApiLoginSnapTradeUserRequestByAuthMode, type AuthenticationApiLoginSnapTradeUsercommercialApiKeyRequest, type AuthenticationApiLoginSnapTradeUseroauthRequest, type AuthenticationApiLoginSnapTradeUserpersonalApiKeyRequest, type AuthenticationApiRegisterSnapTradeUserArgs, type AuthenticationApiRegisterSnapTradeUserBaseRequest, type AuthenticationApiRegisterSnapTradeUserRequest, type AuthenticationApiRegisterSnapTradeUserRequestByAuthMode, type AuthenticationApiRegisterSnapTradeUsercommercialApiKeyRequest, type AuthenticationApiResetSnapTradeUserSecretArgs, type AuthenticationApiResetSnapTradeUserSecretBaseRequest, type AuthenticationApiResetSnapTradeUserSecretRequest, type AuthenticationApiResetSnapTradeUserSecretRequestByAuthMode, type AuthenticationApiResetSnapTradeUserSecretcommercialApiKeyRequest, AuthenticationLoginSnapTradeUser200Response, Balance, BalanceCurrency, BalanceV2CurrencyAmount, BalanceV2Money, Brokerage, BrokerageAuthorization, BrokerageAuthorizationDataFreshnessMode, BrokerageAuthorizationDisabledConfirmation, BrokerageAuthorizationRefreshConfirmation, BrokerageAuthorizationTransactionsSyncConfirmation, BrokerageAuthorizationTypeReadOnly, BrokerageAuthorizationTypeReadOnlyBrokerage, BrokerageInstrument, BrokerageInstrumentsResponse, BrokerageType, CancelOrderResponse, CashInstrument, CefInstrument, CfdInstrument, ChildBrokerageOrderIDs, ChildBrokerageOrderIDsNullable, CommercialApiKeyAuth, ComplexOrderLeg, ComplexOrderResponse, Configuration, ConfigurationParameters, ConfigurationParametersShared, ConnectedAssetPartnerStats, ConnectionAccount, ConnectionAccountStatus, ConnectionAccountSyncStatus, ConnectionAccountsResponse, ConnectionsApi, ConnectionsApiAxiosParamCreator, type ConnectionsApiDeleteConnectionArgs, type ConnectionsApiDeleteConnectionBaseRequest, type ConnectionsApiDeleteConnectionRequest, type ConnectionsApiDeleteConnectionRequestByAuthMode, type ConnectionsApiDeleteConnectioncommercialApiKeyRequest, type ConnectionsApiDeleteConnectionpersonalApiKeyRequest, type ConnectionsApiDetailBrokerageAuthorizationArgs, type ConnectionsApiDetailBrokerageAuthorizationBaseRequest, type ConnectionsApiDetailBrokerageAuthorizationRequest, type ConnectionsApiDetailBrokerageAuthorizationRequestByAuthMode, type ConnectionsApiDetailBrokerageAuthorizationcommercialApiKeyRequest, type ConnectionsApiDetailBrokerageAuthorizationoauthRequest, type ConnectionsApiDetailBrokerageAuthorizationpersonalApiKeyRequest, type ConnectionsApiDisableBrokerageAuthorizationArgs, type ConnectionsApiDisableBrokerageAuthorizationBaseRequest, type ConnectionsApiDisableBrokerageAuthorizationRequest, type ConnectionsApiDisableBrokerageAuthorizationRequestByAuthMode, type ConnectionsApiDisableBrokerageAuthorizationcommercialApiKeyRequest, type ConnectionsApiDisableBrokerageAuthorizationoauthRequest, type ConnectionsApiDisableBrokerageAuthorizationpersonalApiKeyRequest, ConnectionsApiFactory, ConnectionsApiFp, ConnectionsApiGenerated, type ConnectionsApiListBrokerageAuthorizationAccountsArgs, type ConnectionsApiListBrokerageAuthorizationAccountsBaseRequest, type ConnectionsApiListBrokerageAuthorizationAccountsRequest, type ConnectionsApiListBrokerageAuthorizationAccountsRequestByAuthMode, type ConnectionsApiListBrokerageAuthorizationAccountscommercialApiKeyRequest, type ConnectionsApiListBrokerageAuthorizationAccountsoauthRequest, type ConnectionsApiListBrokerageAuthorizationAccountspersonalApiKeyRequest, type ConnectionsApiListBrokerageAuthorizationsArgs, type ConnectionsApiListBrokerageAuthorizationsBaseRequest, type ConnectionsApiListBrokerageAuthorizationsRequest, type ConnectionsApiListBrokerageAuthorizationsRequestByAuthMode, type ConnectionsApiListBrokerageAuthorizationscommercialApiKeyRequest, type ConnectionsApiListBrokerageAuthorizationsoauthRequest, type ConnectionsApiListBrokerageAuthorizationspersonalApiKeyRequest, type ConnectionsApiListConnectionAccountsArgs, type ConnectionsApiListConnectionAccountsBaseRequest, type ConnectionsApiListConnectionAccountsRequest, type ConnectionsApiListConnectionAccountsRequestByAuthMode, type ConnectionsApiListConnectionAccountscommercialApiKeyRequest, type ConnectionsApiListConnectionAccountsoauthRequest, type ConnectionsApiListConnectionAccountspersonalApiKeyRequest, type ConnectionsApiRefreshBrokerageAuthorizationArgs, type ConnectionsApiRefreshBrokerageAuthorizationBaseRequest, type ConnectionsApiRefreshBrokerageAuthorizationRequest, type ConnectionsApiRefreshBrokerageAuthorizationRequestByAuthMode, type ConnectionsApiRefreshBrokerageAuthorizationcommercialApiKeyRequest, type ConnectionsApiRefreshBrokerageAuthorizationoauthRequest, type ConnectionsApiRefreshBrokerageAuthorizationpersonalApiKeyRequest, type ConnectionsApiReturnRatesArgs, type ConnectionsApiReturnRatesBaseRequest, type ConnectionsApiReturnRatesRequest, type ConnectionsApiReturnRatesRequestByAuthMode, type ConnectionsApiReturnRatescommercialApiKeyRequest, type ConnectionsApiReturnRatespersonalApiKeyRequest, type ConnectionsApiSyncBrokerageAuthorizationTransactionsArgs, type ConnectionsApiSyncBrokerageAuthorizationTransactionsBaseRequest, type ConnectionsApiSyncBrokerageAuthorizationTransactionsRequest, type ConnectionsApiSyncBrokerageAuthorizationTransactionsRequestByAuthMode, type ConnectionsApiSyncBrokerageAuthorizationTransactionscommercialApiKeyRequest, type ConnectionsApiSyncBrokerageAuthorizationTransactionsoauthRequest, type ConnectionsApiSyncBrokerageAuthorizationTransactionspersonalApiKeyRequest, CryptoInstrument, CryptoOrderForm, CryptoOrderPreview, CryptoOrderPreviewEstimatedFee, CryptoTradingInstrument, CryptocurrencyPair, CryptocurrencyPairQuote, Currency, CurrencyNullable, DeleteConnectionConfirmation, DeleteUserResponse, DepositAccount, DepositAccountNetValue, DepositAccountSyncStatus, DividendAtDate, EncryptedResponse, EncryptedResponseEncryptedMessageData, EtfInstrument, Exchange, ExchangeRatePairs, ExperimentalEndpointsApi, type ExperimentalEndpointsApiAddSubscriptionArgs, type ExperimentalEndpointsApiAddSubscriptionBaseRequest, type ExperimentalEndpointsApiAddSubscriptionRequest, type ExperimentalEndpointsApiAddSubscriptionRequestByAuthMode, type ExperimentalEndpointsApiAddSubscriptioncommercialApiKeyRequest, type ExperimentalEndpointsApiAddSubscriptionpersonalApiKeyRequest, ExperimentalEndpointsApiAxiosParamCreator, type ExperimentalEndpointsApiCancelSubscriptionArgs, type ExperimentalEndpointsApiCancelSubscriptionBaseRequest, type ExperimentalEndpointsApiCancelSubscriptionRequest, type ExperimentalEndpointsApiCancelSubscriptionRequestByAuthMode, type ExperimentalEndpointsApiCancelSubscriptioncommercialApiKeyRequest, type ExperimentalEndpointsApiCancelSubscriptionpersonalApiKeyRequest, ExperimentalEndpointsApiFactory, ExperimentalEndpointsApiFp, ExperimentalEndpointsApiGenerated, type ExperimentalEndpointsApiGetAllAccountOrdersArgs, type ExperimentalEndpointsApiGetAllAccountOrdersBaseRequest, type ExperimentalEndpointsApiGetAllAccountOrdersRequest, type ExperimentalEndpointsApiGetAllAccountOrdersRequestByAuthMode, type ExperimentalEndpointsApiGetAllAccountOrderscommercialApiKeyRequest, type ExperimentalEndpointsApiGetAllAccountOrderspersonalApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2Args, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2BaseRequest, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2RequestByAuthMode, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2commercialApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2oauthRequest, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2personalApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountOrdersV2Args, type ExperimentalEndpointsApiGetUserAccountOrdersV2BaseRequest, type ExperimentalEndpointsApiGetUserAccountOrdersV2Request, type ExperimentalEndpointsApiGetUserAccountOrdersV2RequestByAuthMode, type ExperimentalEndpointsApiGetUserAccountOrdersV2commercialApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountOrdersV2oauthRequest, type ExperimentalEndpointsApiGetUserAccountOrdersV2personalApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Args, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2BaseRequest, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2RequestByAuthMode, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2commercialApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2oauthRequest, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2personalApiKeyRequest, type ExperimentalEndpointsApiPlaceSimpleOrderArgs, type ExperimentalEndpointsApiPlaceSimpleOrderBaseRequest, type ExperimentalEndpointsApiPlaceSimpleOrderRequest, type ExperimentalEndpointsApiPlaceSimpleOrderRequestByAuthMode, type ExperimentalEndpointsApiPlaceSimpleOrdercommercialApiKeyRequest, type ExperimentalEndpointsApiPlaceSimpleOrderoauthRequest, type ExperimentalEndpointsApiPlaceSimpleOrderpersonalApiKeyRequest, FigiInstrument, FigiInstrumentNullable, FormDataLike, FutureInstrument, FutureOptionInstrument, HoldingsStatus, Institution, InstitutionConnection, InstitutionConnectionNullable, Instrument, InvestmentAccount, InvestmentAccountNetValue, LimitOrderType, LineOfCreditAccount, LineOfCreditAccountAvailableCredit, LineOfCreditAccountMinimumPaymentAmount, LineOfCreditAccountNetValue, LineOfCreditAccountSyncStatus, LoginRedirectURI, ManagementApi, ManagementApiAxiosParamCreator, ManagementApiFactory, ManagementApiFp, ManagementApiGenerated, type ManagementApiGetStatsArgs, type ManagementApiGetStatsBaseRequest, type ManagementApiGetStatsLegacyArgs, type ManagementApiGetStatsLegacyBaseRequest, type ManagementApiGetStatsLegacyRequest, type ManagementApiGetStatsLegacyRequestByAuthMode, type ManagementApiGetStatsLegacycommercialApiKeyRequest, type ManagementApiGetStatsLegacypersonalApiKeyRequest, type ManagementApiGetStatsRequest, type ManagementApiGetStatsRequestByAuthMode, type ManagementApiGetStatscommercialApiKeyRequest, type ManagementApiGetStatspersonalApiKeyRequest, ManualTrade, ManualTradeAndImpact, ManualTradeBalance, ManualTradeForm, ManualTradeFormBracket, ManualTradeFormComplex, ManualTradeFormWithOptions, ManualTradeImpact, ManualTradePlaceTimeInForceStrict, ManualTradeReplaceForm, ManualTradeSymbol, MarketOrderType, MlegActionStrict, MlegInstrumentType, MlegLeg, MlegOrderResponse, MlegOrderTypeStrict, MlegPriceEffectStrict, MlegPriceEffectStrictNullable, MlegTradeForm, MlegTradingInstrument, Model400FailedRequestResponse, Model401FailedRequestResponse, Model402BrokerageAuthAlreadyDisabledException, Model402BrokerageAuthDisabledResponse, Model403FailedRequestResponse, Model403FeatureNotEnabledResponse, Model404AccountUnavailableResponse, Model404FailedRequestResponse, Model425FailedRequestResponse, Model429TooManyRequestsResponse, Model500UnexpectedExceptionResponse, Model501NotImplementedResponse, Model503BrokerageRequestResponse, Model503CurrencyConversionUnavailableResponse, MonthlyDividends, MutualFundInstrument, NetContributions, NetDividend, NotionalValue, NotionalValueNullable, OAuthAuth, OAuthWebhookBase, OptionBrokerageSymbol, OptionChainInner, OptionChainInnerChainPerRootInner, OptionChainInnerChainPerRootInnerChainPerStrikePriceInner, OptionImpact, OptionInstrument, OptionLeg, OptionQuote, OptionQuoteGreeks, OptionStrategy, OptionStrategyLegsInner, OptionsPosition, OptionsSymbol, OptionsSymbolNullable, OrderTypeConfiguration, OrderTypeStrict, OrderUpdatedResponse, OtherInstrument, OtherOrderType, PaginatedUniversalActivity, PaginationDetails, PartnerData, PartnerStats, PastValue, PerformanceCustom, PersonalApiKeyAuth, Position, PositionCurrency, PositionSymbol, RateOfReturnObject, RateOfReturnResponse, RecentOrdersResponse, ReferenceDataApi, ReferenceDataApiAxiosParamCreator, ReferenceDataApiFactory, ReferenceDataApiFp, ReferenceDataApiGenerated, type ReferenceDataApiGetSymbolsArgs, type ReferenceDataApiGetSymbolsBaseRequest, type ReferenceDataApiGetSymbolsByTickerArgs, type ReferenceDataApiGetSymbolsByTickerBaseRequest, type ReferenceDataApiGetSymbolsByTickerRequest, type ReferenceDataApiGetSymbolsByTickerRequestByAuthMode, type ReferenceDataApiGetSymbolsByTickercommercialApiKeyRequest, type ReferenceDataApiGetSymbolsByTickeroauthRequest, type ReferenceDataApiGetSymbolsByTickerpersonalApiKeyRequest, type ReferenceDataApiGetSymbolsRequest, type ReferenceDataApiGetSymbolsRequestByAuthMode, type ReferenceDataApiGetSymbolscommercialApiKeyRequest, type ReferenceDataApiGetSymbolsoauthRequest, type ReferenceDataApiGetSymbolspersonalApiKeyRequest, type ReferenceDataApiListAllBrokerageAuthorizationTypeArgs, type ReferenceDataApiListAllBrokerageAuthorizationTypeBaseRequest, type ReferenceDataApiListAllBrokerageAuthorizationTypeRequest, type ReferenceDataApiListAllBrokerageAuthorizationTypeRequestByAuthMode, type ReferenceDataApiListAllBrokerageAuthorizationTypecommercialApiKeyRequest, type ReferenceDataApiListAllBrokerageAuthorizationTypepersonalApiKeyRequest, type ReferenceDataApiListAllBrokerageInstrumentsArgs, type ReferenceDataApiListAllBrokerageInstrumentsBaseRequest, type ReferenceDataApiListAllBrokerageInstrumentsRequest, type ReferenceDataApiListAllBrokerageInstrumentsRequestByAuthMode, type ReferenceDataApiListAllBrokerageInstrumentscommercialApiKeyRequest, type ReferenceDataApiListAllBrokerageInstrumentsoauthRequest, type ReferenceDataApiListAllBrokerageInstrumentspersonalApiKeyRequest, type ReferenceDataApiSymbolSearchUserAccountArgs, type ReferenceDataApiSymbolSearchUserAccountBaseRequest, type ReferenceDataApiSymbolSearchUserAccountRequest, type ReferenceDataApiSymbolSearchUserAccountRequestByAuthMode, type ReferenceDataApiSymbolSearchUserAccountcommercialApiKeyRequest, type ReferenceDataApiSymbolSearchUserAccountoauthRequest, type ReferenceDataApiSymbolSearchUserAccountpersonalApiKeyRequest, SecurityType, SessionEvent, SimpleOrderForm, SimpleTradeForm, SimpleTradeInstrument, SimpleTradeLeg, SimpleTradeResponse, SnapTradeHoldingsAccount, SnapTradeHoldingsTotalValue, SnapTradeLoginUserRequestBody, SnapTradeRegisterUserRequestBody, Snaptrade, SnaptradeAuth, type SnaptradeDeviceAuthorization, type SnaptradeDeviceTokens, SnaptradeError, SnaptradeOAuthDevice, type SnaptradeOAuthDeviceOptions, Status, StockInstrument, StopLimitOrderType, StopLoss, StopOrderType, StrategyOrderRecord, StrategyQuotes, StrategyQuotesGreek, SubPeriodReturnRate, Symbol, SymbolCurrency, SymbolExchange, SymbolNullable, SymbolQuery, SymbolsQuotesInner, TakeProfit, TaxLot, TimeInForceStrict, TokenizedAssetInstrument, TradeDetectionAddSubscriptionRequest, TradeDetectionCancelSubscriptionRequest, TradeDetectionCancelSubscriptionResponse, TradeDetectionSubscription, TradingApi, TradingApiAxiosParamCreator, type TradingApiCancelOrderArgs, type TradingApiCancelOrderBaseRequest, type TradingApiCancelOrderRequest, type TradingApiCancelOrderRequestByAuthMode, type TradingApiCancelOrdercommercialApiKeyRequest, type TradingApiCancelOrderoauthRequest, type TradingApiCancelOrderpersonalApiKeyRequest, TradingApiFactory, TradingApiFp, TradingApiGenerated, type TradingApiGetCryptocurrencyPairQuoteArgs, type TradingApiGetCryptocurrencyPairQuoteBaseRequest, type TradingApiGetCryptocurrencyPairQuoteRequest, type TradingApiGetCryptocurrencyPairQuoteRequestByAuthMode, type TradingApiGetCryptocurrencyPairQuotecommercialApiKeyRequest, type TradingApiGetCryptocurrencyPairQuoteoauthRequest, type TradingApiGetCryptocurrencyPairQuotepersonalApiKeyRequest, type TradingApiGetOptionImpactArgs, type TradingApiGetOptionImpactBaseRequest, type TradingApiGetOptionImpactRequest, type TradingApiGetOptionImpactRequestByAuthMode, type TradingApiGetOptionImpactcommercialApiKeyRequest, type TradingApiGetOptionImpactoauthRequest, type TradingApiGetOptionImpactpersonalApiKeyRequest, type TradingApiGetOrderImpactArgs, type TradingApiGetOrderImpactBaseRequest, type TradingApiGetOrderImpactRequest, type TradingApiGetOrderImpactRequestByAuthMode, type TradingApiGetOrderImpactcommercialApiKeyRequest, type TradingApiGetOrderImpactoauthRequest, type TradingApiGetOrderImpactpersonalApiKeyRequest, type TradingApiGetUserAccountOptionQuotesArgs, type TradingApiGetUserAccountOptionQuotesBaseRequest, type TradingApiGetUserAccountOptionQuotesRequest, type TradingApiGetUserAccountOptionQuotesRequestByAuthMode, type TradingApiGetUserAccountOptionQuotescommercialApiKeyRequest, type TradingApiGetUserAccountOptionQuotespersonalApiKeyRequest, type TradingApiGetUserAccountQuotesArgs, type TradingApiGetUserAccountQuotesBaseRequest, type TradingApiGetUserAccountQuotesRequest, type TradingApiGetUserAccountQuotesRequestByAuthMode, type TradingApiGetUserAccountQuotescommercialApiKeyRequest, type TradingApiGetUserAccountQuotesoauthRequest, type TradingApiGetUserAccountQuotespersonalApiKeyRequest, type TradingApiPlaceComplexOrderArgs, type TradingApiPlaceComplexOrderBaseRequest, type TradingApiPlaceComplexOrderRequest, type TradingApiPlaceComplexOrderRequestByAuthMode, type TradingApiPlaceComplexOrdercommercialApiKeyRequest, type TradingApiPlaceComplexOrderoauthRequest, type TradingApiPlaceComplexOrderpersonalApiKeyRequest, type TradingApiPlaceCryptoOrderArgs, type TradingApiPlaceCryptoOrderBaseRequest, type TradingApiPlaceCryptoOrderRequest, type TradingApiPlaceCryptoOrderRequestByAuthMode, type TradingApiPlaceCryptoOrdercommercialApiKeyRequest, type TradingApiPlaceCryptoOrderoauthRequest, type TradingApiPlaceCryptoOrderpersonalApiKeyRequest, type TradingApiPlaceForceOrderArgs, type TradingApiPlaceForceOrderBaseRequest, type TradingApiPlaceForceOrderRequest, type TradingApiPlaceForceOrderRequestByAuthMode, type TradingApiPlaceForceOrdercommercialApiKeyRequest, type TradingApiPlaceForceOrderoauthRequest, type TradingApiPlaceForceOrderpersonalApiKeyRequest, type TradingApiPlaceMlegOrderArgs, type TradingApiPlaceMlegOrderBaseRequest, type TradingApiPlaceMlegOrderRequest, type TradingApiPlaceMlegOrderRequestByAuthMode, type TradingApiPlaceMlegOrdercommercialApiKeyRequest, type TradingApiPlaceMlegOrderoauthRequest, type TradingApiPlaceMlegOrderpersonalApiKeyRequest, type TradingApiPlaceOrderArgs, type TradingApiPlaceOrderBaseRequest, type TradingApiPlaceOrderRequest, type TradingApiPlaceOrderRequestByAuthMode, type TradingApiPlaceOrdercommercialApiKeyRequest, type TradingApiPlaceOrderoauthRequest, type TradingApiPlaceOrderpersonalApiKeyRequest, type TradingApiPreviewCryptoOrderArgs, type TradingApiPreviewCryptoOrderBaseRequest, type TradingApiPreviewCryptoOrderRequest, type TradingApiPreviewCryptoOrderRequestByAuthMode, type TradingApiPreviewCryptoOrdercommercialApiKeyRequest, type TradingApiPreviewCryptoOrderoauthRequest, type TradingApiPreviewCryptoOrderpersonalApiKeyRequest, type TradingApiReplaceOrderArgs, type TradingApiReplaceOrderBaseRequest, type TradingApiReplaceOrderRequest, type TradingApiReplaceOrderRequestByAuthMode, type TradingApiReplaceOrdercommercialApiKeyRequest, type TradingApiReplaceOrderoauthRequest, type TradingApiReplaceOrderpersonalApiKeyRequest, type TradingApiSearchCryptocurrencyPairInstrumentsArgs, type TradingApiSearchCryptocurrencyPairInstrumentsBaseRequest, type TradingApiSearchCryptocurrencyPairInstrumentsRequest, type TradingApiSearchCryptocurrencyPairInstrumentsRequestByAuthMode, type TradingApiSearchCryptocurrencyPairInstrumentscommercialApiKeyRequest, type TradingApiSearchCryptocurrencyPairInstrumentsoauthRequest, type TradingApiSearchCryptocurrencyPairInstrumentspersonalApiKeyRequest, TradingGetUserAccountOptionQuotes410Response, TradingInstrument, TradingSearchCryptocurrencyPairInstruments200Response, TradingSession, TrailingStop, TrailingStopLimitOrderType, TrailingStopNullable, TrailingStopOrderType, TransactionsStatus, USExchange, UnderlyingCfdInstrument, UnderlyingOptionInstrument, UnderlyingSymbol, UnderlyingSymbolExchange, UnderlyingSymbolType, UnderlyingTokenizedAssetInstrument, UniversalActivity, UniversalSymbol, UniversalSymbolNullable, UserIDandSecret, ValidatedTradeBody, parseIfJson, readableStreamToString };