snaptrade-typescript-sdk 13.1.15 → 13.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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
  *
@@ -2226,7 +2242,7 @@ type AdrInstrumentKindEnum = 'adr';
2226
2242
  //#endregion
2227
2243
  //#region models/cash-instrument.d.ts
2228
2244
  /**
2229
- * A currency traded as the instrument itself, such as the currency bought or sold by a forex order. Quantities on the leg are amounts of this currency; the order\'s `price_currency` is the currency it was priced in.
2245
+ * A fiat currency, identified by its ISO-4217 code.
2230
2246
  * @export
2231
2247
  * @interface CashInstrument
2232
2248
  */
@@ -3309,6 +3325,18 @@ type OrderTypeConfiguration = {
3309
3325
  kind: 'trailing_stop_limit';
3310
3326
  } & TrailingStopLimitOrderType;
3311
3327
  //#endregion
3328
+ //#region models/priced-in-instrument-nullable.d.ts
3329
+ /**
3330
+ * @type PricedInInstrumentNullable
3331
+ * The asset an order\'s prices are denominated in. Use `kind` to determine which schema is present.
3332
+ * @export
3333
+ */
3334
+ type PricedInInstrumentNullable = {
3335
+ kind: 'cash';
3336
+ } & CashInstrument | {
3337
+ kind: 'crypto';
3338
+ } & CryptoInstrument;
3339
+ //#endregion
3312
3340
  //#region models/account-order.d.ts
3313
3341
  /**
3314
3342
  * A single order. Single-leg orders have exactly one entry in `legs`; multi-leg orders (spreads, strangles, covered calls) have one entry per leg.
@@ -3348,11 +3376,11 @@ interface AccountOrder {
3348
3376
  */
3349
3377
  'expiry_date'?: string | null;
3350
3378
  /**
3351
- * ISO-4217 currency code the order prices are denominated in. For crypto pairs this is the quote asset (for example `USDC` for `ETH-USDC`).
3352
- * @type {string}
3379
+ *
3380
+ * @type {PricedInInstrumentNullable}
3353
3381
  * @memberof AccountOrder
3354
3382
  */
3355
- 'price_currency'?: string | null;
3383
+ 'priced_in'?: PricedInInstrumentNullable | null;
3356
3384
  /**
3357
3385
  * Direction of the net order price. CREDIT means cash is received, DEBIT means cash is paid, EVEN means the net price is zero, and UNKNOWN means the direction could not be determined.
3358
3386
  * @type {string}
@@ -7856,6 +7884,18 @@ interface PerformanceCustom {
7856
7884
  'detailedMode'?: boolean;
7857
7885
  }
7858
7886
  //#endregion
7887
+ //#region models/priced-in-instrument.d.ts
7888
+ /**
7889
+ * @type PricedInInstrument
7890
+ * The asset an order\'s prices are denominated in. Use `kind` to determine which schema is present.
7891
+ * @export
7892
+ */
7893
+ type PricedInInstrument = {
7894
+ kind: 'cash';
7895
+ } & CashInstrument | {
7896
+ kind: 'crypto';
7897
+ } & CryptoInstrument;
7898
+ //#endregion
7859
7899
  //#region models/rate-of-return-object.d.ts
7860
7900
  /**
7861
7901
  * Individual rate of return object with return percent and timeframe
@@ -8051,7 +8091,7 @@ interface SimpleTradeInstrument {
8051
8091
  */
8052
8092
  'kind': SimpleTradeInstrumentKindEnum;
8053
8093
  /**
8054
- * 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.
8094
+ * 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. TradeStation (live and SIM) requires a specific two-digit-year contract such as ESZ26 or @ESZ26, or a futures-option symbol such as `ESZ26 C6000`, preserving the space and any session alias. TradeStation\'s optional @ prefix for dated futures contracts is forwarded unchanged. Webull and TradeStation do not accept slash aliases or root-only continuous symbols. Universal symbol IDs are not accepted.
8055
8095
  * @type {string}
8056
8096
  * @memberof SimpleTradeInstrument
8057
8097
  */
@@ -8102,7 +8142,7 @@ interface SimpleTradeForm {
8102
8142
  */
8103
8143
  'order_type': SimpleTradeFormOrderTypeEnum;
8104
8144
  /**
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. Webull US futures only support day and gtc.
8145
+ * 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. TradeStation futures and futures options accept day, gtc, ioc, and fok, subject to the contract and route\'s supported combinations.
8106
8146
  * @type {string}
8107
8147
  * @memberof SimpleTradeForm
8108
8148
  */
@@ -8132,7 +8172,7 @@ interface SimpleTradeForm {
8132
8172
  */
8133
8173
  'price_effect'?: SimpleTradeFormPriceEffectEnum;
8134
8174
  /**
8135
- * 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.
8175
+ * Optional canonical UUID, forwarded where the existing execution path supports it and for tastytrade, Webull US, and TradeStation futures-family orders. Requires the existing client-order-ID enablement; when disabled the value is ignored. Brokerage behavior on duplicates varies. SnapTrade does not enforce uniqueness, except for requests authenticated with an OAuth access token, where a client_order_id the user has already used returns 409. 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. For TradeStation live and SIM, SnapTrade encodes the supplied UUID (or its generated order UUID) as 22-character URL-safe base64 without padding and sends it as OrderConfirmID for brokerage duplicate prevention; the response contains TradeStation\'s separate order ID.
8136
8176
  * @type {string}
8137
8177
  * @memberof SimpleTradeForm
8138
8178
  */
@@ -8668,6 +8708,34 @@ interface TradingGetUserAccountOptionQuotes410Response {
8668
8708
  'detail'?: string;
8669
8709
  }
8670
8710
  //#endregion
8711
+ //#region models/trading-place-simple-order409-response.d.ts
8712
+ /**
8713
+ *
8714
+ * @export
8715
+ * @interface TradingPlaceSimpleOrder409Response
8716
+ */
8717
+ interface TradingPlaceSimpleOrder409Response {
8718
+ [key: string]: unknown;
8719
+ /**
8720
+ *
8721
+ * @type {string}
8722
+ * @memberof TradingPlaceSimpleOrder409Response
8723
+ */
8724
+ 'detail'?: string;
8725
+ /**
8726
+ *
8727
+ * @type {number}
8728
+ * @memberof TradingPlaceSimpleOrder409Response
8729
+ */
8730
+ 'status_code'?: number;
8731
+ /**
8732
+ *
8733
+ * @type {string}
8734
+ * @memberof TradingPlaceSimpleOrder409Response
8735
+ */
8736
+ 'code'?: string;
8737
+ }
8738
+ //#endregion
8671
8739
  //#region models/trading-search-cryptocurrency-pair-instruments200-response.d.ts
8672
8740
  /**
8673
8741
  * The instruments
@@ -9378,9 +9446,14 @@ type AccountInformationApiGetAccountActivitiespersonalApiKeyRequest = AccountInf
9378
9446
  readonly userId?: never;
9379
9447
  readonly userSecret?: never;
9380
9448
  };
9449
+ type AccountInformationApiGetAccountActivitiesoauthRequest = AccountInformationApiGetAccountActivitiesBaseRequest & {
9450
+ readonly userId?: never;
9451
+ readonly userSecret?: never;
9452
+ };
9381
9453
  type AccountInformationApiGetAccountActivitiesRequestByAuthMode = {
9382
9454
  "commercialApiKey": AccountInformationApiGetAccountActivitiescommercialApiKeyRequest;
9383
9455
  "personalApiKey": AccountInformationApiGetAccountActivitiespersonalApiKeyRequest;
9456
+ "oauth": AccountInformationApiGetAccountActivitiesoauthRequest;
9384
9457
  };
9385
9458
  type AccountInformationApiGetAccountActivitiesRequest<TAuth extends AuthMode> = AccountInformationApiGetAccountActivitiesRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetAccountActivitiesRequestByAuthMode];
9386
9459
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9405,9 +9478,14 @@ type AccountInformationApiGetAccountBalanceHistorypersonalApiKeyRequest = Accoun
9405
9478
  readonly userId?: never;
9406
9479
  readonly userSecret?: never;
9407
9480
  };
9481
+ type AccountInformationApiGetAccountBalanceHistoryoauthRequest = AccountInformationApiGetAccountBalanceHistoryBaseRequest & {
9482
+ readonly userId?: never;
9483
+ readonly userSecret?: never;
9484
+ };
9408
9485
  type AccountInformationApiGetAccountBalanceHistoryRequestByAuthMode = {
9409
9486
  "commercialApiKey": AccountInformationApiGetAccountBalanceHistorycommercialApiKeyRequest;
9410
9487
  "personalApiKey": AccountInformationApiGetAccountBalanceHistorypersonalApiKeyRequest;
9488
+ "oauth": AccountInformationApiGetAccountBalanceHistoryoauthRequest;
9411
9489
  };
9412
9490
  type AccountInformationApiGetAccountBalanceHistoryRequest<TAuth extends AuthMode> = AccountInformationApiGetAccountBalanceHistoryRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetAccountBalanceHistoryRequestByAuthMode];
9413
9491
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9459,9 +9537,14 @@ type AccountInformationApiGetAccountDetailspersonalApiKeyRequest = AccountInform
9459
9537
  readonly userId?: never;
9460
9538
  readonly userSecret?: never;
9461
9539
  };
9540
+ type AccountInformationApiGetAccountDetailsoauthRequest = AccountInformationApiGetAccountDetailsBaseRequest & {
9541
+ readonly userId?: never;
9542
+ readonly userSecret?: never;
9543
+ };
9462
9544
  type AccountInformationApiGetAccountDetailsRequestByAuthMode = {
9463
9545
  "commercialApiKey": AccountInformationApiGetAccountDetailscommercialApiKeyRequest;
9464
9546
  "personalApiKey": AccountInformationApiGetAccountDetailspersonalApiKeyRequest;
9547
+ "oauth": AccountInformationApiGetAccountDetailsoauthRequest;
9465
9548
  };
9466
9549
  type AccountInformationApiGetAccountDetailsRequest<TAuth extends AuthMode> = AccountInformationApiGetAccountDetailsRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetAccountDetailsRequestByAuthMode];
9467
9550
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9486,9 +9569,14 @@ type AccountInformationApiGetAllAccountPositionspersonalApiKeyRequest = AccountI
9486
9569
  readonly userId?: never;
9487
9570
  readonly userSecret?: never;
9488
9571
  };
9572
+ type AccountInformationApiGetAllAccountPositionsoauthRequest = AccountInformationApiGetAllAccountPositionsBaseRequest & {
9573
+ readonly userId?: never;
9574
+ readonly userSecret?: never;
9575
+ };
9489
9576
  type AccountInformationApiGetAllAccountPositionsRequestByAuthMode = {
9490
9577
  "commercialApiKey": AccountInformationApiGetAllAccountPositionscommercialApiKeyRequest;
9491
9578
  "personalApiKey": AccountInformationApiGetAllAccountPositionspersonalApiKeyRequest;
9579
+ "oauth": AccountInformationApiGetAllAccountPositionsoauthRequest;
9492
9580
  };
9493
9581
  type AccountInformationApiGetAllAccountPositionsRequest<TAuth extends AuthMode> = AccountInformationApiGetAllAccountPositionsRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetAllAccountPositionsRequestByAuthMode];
9494
9582
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9513,9 +9601,14 @@ type AccountInformationApiGetUserAccountBalancepersonalApiKeyRequest = AccountIn
9513
9601
  readonly userId?: never;
9514
9602
  readonly userSecret?: never;
9515
9603
  };
9604
+ type AccountInformationApiGetUserAccountBalanceoauthRequest = AccountInformationApiGetUserAccountBalanceBaseRequest & {
9605
+ readonly userId?: never;
9606
+ readonly userSecret?: never;
9607
+ };
9516
9608
  type AccountInformationApiGetUserAccountBalanceRequestByAuthMode = {
9517
9609
  "commercialApiKey": AccountInformationApiGetUserAccountBalancecommercialApiKeyRequest;
9518
9610
  "personalApiKey": AccountInformationApiGetUserAccountBalancepersonalApiKeyRequest;
9611
+ "oauth": AccountInformationApiGetUserAccountBalanceoauthRequest;
9519
9612
  };
9520
9613
  type AccountInformationApiGetUserAccountBalanceRequest<TAuth extends AuthMode> = AccountInformationApiGetUserAccountBalanceRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetUserAccountBalanceRequestByAuthMode];
9521
9614
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9540,9 +9633,14 @@ type AccountInformationApiGetUserAccountDetailspersonalApiKeyRequest = AccountIn
9540
9633
  readonly userId?: never;
9541
9634
  readonly userSecret?: never;
9542
9635
  };
9636
+ type AccountInformationApiGetUserAccountDetailsoauthRequest = AccountInformationApiGetUserAccountDetailsBaseRequest & {
9637
+ readonly userId?: never;
9638
+ readonly userSecret?: never;
9639
+ };
9543
9640
  type AccountInformationApiGetUserAccountDetailsRequestByAuthMode = {
9544
9641
  "commercialApiKey": AccountInformationApiGetUserAccountDetailscommercialApiKeyRequest;
9545
9642
  "personalApiKey": AccountInformationApiGetUserAccountDetailspersonalApiKeyRequest;
9643
+ "oauth": AccountInformationApiGetUserAccountDetailsoauthRequest;
9546
9644
  };
9547
9645
  type AccountInformationApiGetUserAccountDetailsRequest<TAuth extends AuthMode> = AccountInformationApiGetUserAccountDetailsRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetUserAccountDetailsRequestByAuthMode];
9548
9646
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9567,9 +9665,14 @@ type AccountInformationApiGetUserAccountOrderDetailpersonalApiKeyRequest = Accou
9567
9665
  readonly userId?: never;
9568
9666
  readonly userSecret?: never;
9569
9667
  };
9668
+ type AccountInformationApiGetUserAccountOrderDetailoauthRequest = AccountInformationApiGetUserAccountOrderDetailBaseRequest & {
9669
+ readonly userId?: never;
9670
+ readonly userSecret?: never;
9671
+ };
9570
9672
  type AccountInformationApiGetUserAccountOrderDetailRequestByAuthMode = {
9571
9673
  "commercialApiKey": AccountInformationApiGetUserAccountOrderDetailcommercialApiKeyRequest;
9572
9674
  "personalApiKey": AccountInformationApiGetUserAccountOrderDetailpersonalApiKeyRequest;
9675
+ "oauth": AccountInformationApiGetUserAccountOrderDetailoauthRequest;
9573
9676
  };
9574
9677
  type AccountInformationApiGetUserAccountOrderDetailRequest<TAuth extends AuthMode> = AccountInformationApiGetUserAccountOrderDetailRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetUserAccountOrderDetailRequestByAuthMode];
9575
9678
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9606,9 +9709,14 @@ type AccountInformationApiGetUserAccountOrderspersonalApiKeyRequest = AccountInf
9606
9709
  readonly userId?: never;
9607
9710
  readonly userSecret?: never;
9608
9711
  };
9712
+ type AccountInformationApiGetUserAccountOrdersoauthRequest = AccountInformationApiGetUserAccountOrdersBaseRequest & {
9713
+ readonly userId?: never;
9714
+ readonly userSecret?: never;
9715
+ };
9609
9716
  type AccountInformationApiGetUserAccountOrdersRequestByAuthMode = {
9610
9717
  "commercialApiKey": AccountInformationApiGetUserAccountOrderscommercialApiKeyRequest;
9611
9718
  "personalApiKey": AccountInformationApiGetUserAccountOrderspersonalApiKeyRequest;
9719
+ "oauth": AccountInformationApiGetUserAccountOrdersoauthRequest;
9612
9720
  };
9613
9721
  type AccountInformationApiGetUserAccountOrdersRequest<TAuth extends AuthMode> = AccountInformationApiGetUserAccountOrdersRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetUserAccountOrdersRequestByAuthMode];
9614
9722
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9639,9 +9747,14 @@ type AccountInformationApiGetUserAccountRecentOrderspersonalApiKeyRequest = Acco
9639
9747
  readonly userId?: never;
9640
9748
  readonly userSecret?: never;
9641
9749
  };
9750
+ type AccountInformationApiGetUserAccountRecentOrdersoauthRequest = AccountInformationApiGetUserAccountRecentOrdersBaseRequest & {
9751
+ readonly userId?: never;
9752
+ readonly userSecret?: never;
9753
+ };
9642
9754
  type AccountInformationApiGetUserAccountRecentOrdersRequestByAuthMode = {
9643
9755
  "commercialApiKey": AccountInformationApiGetUserAccountRecentOrderscommercialApiKeyRequest;
9644
9756
  "personalApiKey": AccountInformationApiGetUserAccountRecentOrderspersonalApiKeyRequest;
9757
+ "oauth": AccountInformationApiGetUserAccountRecentOrdersoauthRequest;
9645
9758
  };
9646
9759
  type AccountInformationApiGetUserAccountRecentOrdersRequest<TAuth extends AuthMode> = AccountInformationApiGetUserAccountRecentOrdersRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetUserAccountRecentOrdersRequestByAuthMode];
9647
9760
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9699,9 +9812,14 @@ type AccountInformationApiGetUserHoldingspersonalApiKeyRequest = AccountInformat
9699
9812
  readonly userId?: never;
9700
9813
  readonly userSecret?: never;
9701
9814
  };
9815
+ type AccountInformationApiGetUserHoldingsoauthRequest = AccountInformationApiGetUserHoldingsBaseRequest & {
9816
+ readonly userId?: never;
9817
+ readonly userSecret?: never;
9818
+ };
9702
9819
  type AccountInformationApiGetUserHoldingsRequestByAuthMode = {
9703
9820
  "commercialApiKey": AccountInformationApiGetUserHoldingscommercialApiKeyRequest;
9704
9821
  "personalApiKey": AccountInformationApiGetUserHoldingspersonalApiKeyRequest;
9822
+ "oauth": AccountInformationApiGetUserHoldingsoauthRequest;
9705
9823
  };
9706
9824
  type AccountInformationApiGetUserHoldingsRequest<TAuth extends AuthMode> = AccountInformationApiGetUserHoldingsRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetUserHoldingsRequestByAuthMode];
9707
9825
  /** Request argument optionality depends on the selected authentication mode. */
@@ -9719,13 +9837,18 @@ type AccountInformationApiListAllUserAccountspersonalApiKeyRequest = AccountInfo
9719
9837
  readonly userId?: never;
9720
9838
  readonly userSecret?: never;
9721
9839
  };
9840
+ type AccountInformationApiListAllUserAccountsoauthRequest = AccountInformationApiListAllUserAccountsBaseRequest & {
9841
+ readonly userId?: never;
9842
+ readonly userSecret?: never;
9843
+ };
9722
9844
  type AccountInformationApiListAllUserAccountsRequestByAuthMode = {
9723
9845
  "commercialApiKey": AccountInformationApiListAllUserAccountscommercialApiKeyRequest;
9724
9846
  "personalApiKey": AccountInformationApiListAllUserAccountspersonalApiKeyRequest;
9847
+ "oauth": AccountInformationApiListAllUserAccountsoauthRequest;
9725
9848
  };
9726
9849
  type AccountInformationApiListAllUserAccountsRequest<TAuth extends AuthMode> = AccountInformationApiListAllUserAccountsRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiListAllUserAccountsRequestByAuthMode];
9727
9850
  /** 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];
9851
+ type AccountInformationApiListAllUserAccountsArgs<TAuth extends AuthMode> = TAuth["mode"] extends "personalApiKey" | "oauth" ? [requestParameters?: AccountInformationApiListAllUserAccountsRequest<TAuth>, options?: AxiosRequestConfig] : [requestParameters: AccountInformationApiListAllUserAccountsRequest<TAuth>, options?: AxiosRequestConfig];
9729
9852
  /**
9730
9853
  * Request parameters for listUserAccounts operation in AccountInformationApi.
9731
9854
  * @export
@@ -9739,13 +9862,18 @@ type AccountInformationApiListUserAccountspersonalApiKeyRequest = AccountInforma
9739
9862
  readonly userId?: never;
9740
9863
  readonly userSecret?: never;
9741
9864
  };
9865
+ type AccountInformationApiListUserAccountsoauthRequest = AccountInformationApiListUserAccountsBaseRequest & {
9866
+ readonly userId?: never;
9867
+ readonly userSecret?: never;
9868
+ };
9742
9869
  type AccountInformationApiListUserAccountsRequestByAuthMode = {
9743
9870
  "commercialApiKey": AccountInformationApiListUserAccountscommercialApiKeyRequest;
9744
9871
  "personalApiKey": AccountInformationApiListUserAccountspersonalApiKeyRequest;
9872
+ "oauth": AccountInformationApiListUserAccountsoauthRequest;
9745
9873
  };
9746
9874
  type AccountInformationApiListUserAccountsRequest<TAuth extends AuthMode> = AccountInformationApiListUserAccountsRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiListUserAccountsRequestByAuthMode];
9747
9875
  /** 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];
9876
+ type AccountInformationApiListUserAccountsArgs<TAuth extends AuthMode> = TAuth["mode"] extends "personalApiKey" | "oauth" ? [requestParameters?: AccountInformationApiListUserAccountsRequest<TAuth>, options?: AxiosRequestConfig] : [requestParameters: AccountInformationApiListUserAccountsRequest<TAuth>, options?: AxiosRequestConfig];
9749
9877
  /**
9750
9878
  * Request parameters for updateUserAccount operation in AccountInformationApi.
9751
9879
  * @export
@@ -9766,9 +9894,14 @@ type AccountInformationApiUpdateUserAccountpersonalApiKeyRequest = AccountInform
9766
9894
  readonly userId?: never;
9767
9895
  readonly userSecret?: never;
9768
9896
  };
9897
+ type AccountInformationApiUpdateUserAccountoauthRequest = AccountInformationApiUpdateUserAccountBaseRequest & {
9898
+ readonly userId?: never;
9899
+ readonly userSecret?: never;
9900
+ };
9769
9901
  type AccountInformationApiUpdateUserAccountRequestByAuthMode = {
9770
9902
  "commercialApiKey": AccountInformationApiUpdateUserAccountcommercialApiKeyRequest;
9771
9903
  "personalApiKey": AccountInformationApiUpdateUserAccountpersonalApiKeyRequest;
9904
+ "oauth": AccountInformationApiUpdateUserAccountoauthRequest;
9772
9905
  };
9773
9906
  type AccountInformationApiUpdateUserAccountRequest<TAuth extends AuthMode> = AccountInformationApiUpdateUserAccountRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiUpdateUserAccountRequestByAuthMode];
9774
9907
  /** Request argument optionality depends on the selected authentication mode. */
@@ -10148,13 +10281,18 @@ type AuthenticationApiLoginSnapTradeUserpersonalApiKeyRequest = AuthenticationAp
10148
10281
  readonly userId?: never;
10149
10282
  readonly userSecret?: never;
10150
10283
  };
10284
+ type AuthenticationApiLoginSnapTradeUseroauthRequest = AuthenticationApiLoginSnapTradeUserBaseRequest & {
10285
+ readonly userId?: never;
10286
+ readonly userSecret?: never;
10287
+ };
10151
10288
  type AuthenticationApiLoginSnapTradeUserRequestByAuthMode = {
10152
10289
  "commercialApiKey": AuthenticationApiLoginSnapTradeUsercommercialApiKeyRequest;
10153
10290
  "personalApiKey": AuthenticationApiLoginSnapTradeUserpersonalApiKeyRequest;
10291
+ "oauth": AuthenticationApiLoginSnapTradeUseroauthRequest;
10154
10292
  };
10155
10293
  type AuthenticationApiLoginSnapTradeUserRequest<TAuth extends AuthMode> = AuthenticationApiLoginSnapTradeUserRequestByAuthMode[TAuth["mode"] & keyof AuthenticationApiLoginSnapTradeUserRequestByAuthMode];
10156
10294
  /** 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];
10295
+ type AuthenticationApiLoginSnapTradeUserArgs<TAuth extends AuthMode> = TAuth["mode"] extends "personalApiKey" | "oauth" ? [requestParameters?: AuthenticationApiLoginSnapTradeUserRequest<TAuth>, options?: AxiosRequestConfig] : [requestParameters: AuthenticationApiLoginSnapTradeUserRequest<TAuth>, options?: AxiosRequestConfig];
10158
10296
  /**
10159
10297
  * Request parameters for registerSnapTradeUser operation in AuthenticationApi.
10160
10298
  * @export
@@ -10535,9 +10673,14 @@ type ConnectionsApiDetailBrokerageAuthorizationpersonalApiKeyRequest = Connectio
10535
10673
  readonly userId?: never;
10536
10674
  readonly userSecret?: never;
10537
10675
  };
10676
+ type ConnectionsApiDetailBrokerageAuthorizationoauthRequest = ConnectionsApiDetailBrokerageAuthorizationBaseRequest & {
10677
+ readonly userId?: never;
10678
+ readonly userSecret?: never;
10679
+ };
10538
10680
  type ConnectionsApiDetailBrokerageAuthorizationRequestByAuthMode = {
10539
10681
  "commercialApiKey": ConnectionsApiDetailBrokerageAuthorizationcommercialApiKeyRequest;
10540
10682
  "personalApiKey": ConnectionsApiDetailBrokerageAuthorizationpersonalApiKeyRequest;
10683
+ "oauth": ConnectionsApiDetailBrokerageAuthorizationoauthRequest;
10541
10684
  };
10542
10685
  type ConnectionsApiDetailBrokerageAuthorizationRequest<TAuth extends AuthMode> = ConnectionsApiDetailBrokerageAuthorizationRequestByAuthMode[TAuth["mode"] & keyof ConnectionsApiDetailBrokerageAuthorizationRequestByAuthMode];
10543
10686
  /** Request argument optionality depends on the selected authentication mode. */
@@ -10562,9 +10705,14 @@ type ConnectionsApiDisableBrokerageAuthorizationpersonalApiKeyRequest = Connecti
10562
10705
  readonly userId?: never;
10563
10706
  readonly userSecret?: never;
10564
10707
  };
10708
+ type ConnectionsApiDisableBrokerageAuthorizationoauthRequest = ConnectionsApiDisableBrokerageAuthorizationBaseRequest & {
10709
+ readonly userId?: never;
10710
+ readonly userSecret?: never;
10711
+ };
10565
10712
  type ConnectionsApiDisableBrokerageAuthorizationRequestByAuthMode = {
10566
10713
  "commercialApiKey": ConnectionsApiDisableBrokerageAuthorizationcommercialApiKeyRequest;
10567
10714
  "personalApiKey": ConnectionsApiDisableBrokerageAuthorizationpersonalApiKeyRequest;
10715
+ "oauth": ConnectionsApiDisableBrokerageAuthorizationoauthRequest;
10568
10716
  };
10569
10717
  type ConnectionsApiDisableBrokerageAuthorizationRequest<TAuth extends AuthMode> = ConnectionsApiDisableBrokerageAuthorizationRequestByAuthMode[TAuth["mode"] & keyof ConnectionsApiDisableBrokerageAuthorizationRequestByAuthMode];
10570
10718
  /** Request argument optionality depends on the selected authentication mode. */
@@ -10589,9 +10737,14 @@ type ConnectionsApiListBrokerageAuthorizationAccountspersonalApiKeyRequest = Con
10589
10737
  readonly userId?: never;
10590
10738
  readonly userSecret?: never;
10591
10739
  };
10740
+ type ConnectionsApiListBrokerageAuthorizationAccountsoauthRequest = ConnectionsApiListBrokerageAuthorizationAccountsBaseRequest & {
10741
+ readonly userId?: never;
10742
+ readonly userSecret?: never;
10743
+ };
10592
10744
  type ConnectionsApiListBrokerageAuthorizationAccountsRequestByAuthMode = {
10593
10745
  "commercialApiKey": ConnectionsApiListBrokerageAuthorizationAccountscommercialApiKeyRequest;
10594
10746
  "personalApiKey": ConnectionsApiListBrokerageAuthorizationAccountspersonalApiKeyRequest;
10747
+ "oauth": ConnectionsApiListBrokerageAuthorizationAccountsoauthRequest;
10595
10748
  };
10596
10749
  type ConnectionsApiListBrokerageAuthorizationAccountsRequest<TAuth extends AuthMode> = ConnectionsApiListBrokerageAuthorizationAccountsRequestByAuthMode[TAuth["mode"] & keyof ConnectionsApiListBrokerageAuthorizationAccountsRequestByAuthMode];
10597
10750
  /** Request argument optionality depends on the selected authentication mode. */
@@ -10609,13 +10762,18 @@ type ConnectionsApiListBrokerageAuthorizationspersonalApiKeyRequest = Connection
10609
10762
  readonly userId?: never;
10610
10763
  readonly userSecret?: never;
10611
10764
  };
10765
+ type ConnectionsApiListBrokerageAuthorizationsoauthRequest = ConnectionsApiListBrokerageAuthorizationsBaseRequest & {
10766
+ readonly userId?: never;
10767
+ readonly userSecret?: never;
10768
+ };
10612
10769
  type ConnectionsApiListBrokerageAuthorizationsRequestByAuthMode = {
10613
10770
  "commercialApiKey": ConnectionsApiListBrokerageAuthorizationscommercialApiKeyRequest;
10614
10771
  "personalApiKey": ConnectionsApiListBrokerageAuthorizationspersonalApiKeyRequest;
10772
+ "oauth": ConnectionsApiListBrokerageAuthorizationsoauthRequest;
10615
10773
  };
10616
10774
  type ConnectionsApiListBrokerageAuthorizationsRequest<TAuth extends AuthMode> = ConnectionsApiListBrokerageAuthorizationsRequestByAuthMode[TAuth["mode"] & keyof ConnectionsApiListBrokerageAuthorizationsRequestByAuthMode];
10617
10775
  /** 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];
10776
+ type ConnectionsApiListBrokerageAuthorizationsArgs<TAuth extends AuthMode> = TAuth["mode"] extends "personalApiKey" | "oauth" ? [requestParameters?: ConnectionsApiListBrokerageAuthorizationsRequest<TAuth>, options?: AxiosRequestConfig] : [requestParameters: ConnectionsApiListBrokerageAuthorizationsRequest<TAuth>, options?: AxiosRequestConfig];
10619
10777
  /**
10620
10778
  * Request parameters for listConnectionAccounts operation in ConnectionsApi.
10621
10779
  * @export
@@ -10636,9 +10794,14 @@ type ConnectionsApiListConnectionAccountspersonalApiKeyRequest = ConnectionsApiL
10636
10794
  readonly userId?: never;
10637
10795
  readonly userSecret?: never;
10638
10796
  };
10797
+ type ConnectionsApiListConnectionAccountsoauthRequest = ConnectionsApiListConnectionAccountsBaseRequest & {
10798
+ readonly userId?: never;
10799
+ readonly userSecret?: never;
10800
+ };
10639
10801
  type ConnectionsApiListConnectionAccountsRequestByAuthMode = {
10640
10802
  "commercialApiKey": ConnectionsApiListConnectionAccountscommercialApiKeyRequest;
10641
10803
  "personalApiKey": ConnectionsApiListConnectionAccountspersonalApiKeyRequest;
10804
+ "oauth": ConnectionsApiListConnectionAccountsoauthRequest;
10642
10805
  };
10643
10806
  type ConnectionsApiListConnectionAccountsRequest<TAuth extends AuthMode> = ConnectionsApiListConnectionAccountsRequestByAuthMode[TAuth["mode"] & keyof ConnectionsApiListConnectionAccountsRequestByAuthMode];
10644
10807
  /** Request argument optionality depends on the selected authentication mode. */
@@ -10663,9 +10826,14 @@ type ConnectionsApiRefreshBrokerageAuthorizationpersonalApiKeyRequest = Connecti
10663
10826
  readonly userId?: never;
10664
10827
  readonly userSecret?: never;
10665
10828
  };
10829
+ type ConnectionsApiRefreshBrokerageAuthorizationoauthRequest = ConnectionsApiRefreshBrokerageAuthorizationBaseRequest & {
10830
+ readonly userId?: never;
10831
+ readonly userSecret?: never;
10832
+ };
10666
10833
  type ConnectionsApiRefreshBrokerageAuthorizationRequestByAuthMode = {
10667
10834
  "commercialApiKey": ConnectionsApiRefreshBrokerageAuthorizationcommercialApiKeyRequest;
10668
10835
  "personalApiKey": ConnectionsApiRefreshBrokerageAuthorizationpersonalApiKeyRequest;
10836
+ "oauth": ConnectionsApiRefreshBrokerageAuthorizationoauthRequest;
10669
10837
  };
10670
10838
  type ConnectionsApiRefreshBrokerageAuthorizationRequest<TAuth extends AuthMode> = ConnectionsApiRefreshBrokerageAuthorizationRequestByAuthMode[TAuth["mode"] & keyof ConnectionsApiRefreshBrokerageAuthorizationRequestByAuthMode];
10671
10839
  /** Request argument optionality depends on the selected authentication mode. */
@@ -10723,9 +10891,14 @@ type ConnectionsApiSyncBrokerageAuthorizationTransactionspersonalApiKeyRequest =
10723
10891
  readonly userId?: never;
10724
10892
  readonly userSecret?: never;
10725
10893
  };
10894
+ type ConnectionsApiSyncBrokerageAuthorizationTransactionsoauthRequest = ConnectionsApiSyncBrokerageAuthorizationTransactionsBaseRequest & {
10895
+ readonly userId?: never;
10896
+ readonly userSecret?: never;
10897
+ };
10726
10898
  type ConnectionsApiSyncBrokerageAuthorizationTransactionsRequestByAuthMode = {
10727
10899
  "commercialApiKey": ConnectionsApiSyncBrokerageAuthorizationTransactionscommercialApiKeyRequest;
10728
10900
  "personalApiKey": ConnectionsApiSyncBrokerageAuthorizationTransactionspersonalApiKeyRequest;
10901
+ "oauth": ConnectionsApiSyncBrokerageAuthorizationTransactionsoauthRequest;
10729
10902
  };
10730
10903
  type ConnectionsApiSyncBrokerageAuthorizationTransactionsRequest<TAuth extends AuthMode> = ConnectionsApiSyncBrokerageAuthorizationTransactionsRequestByAuthMode[TAuth["mode"] & keyof ConnectionsApiSyncBrokerageAuthorizationTransactionsRequestByAuthMode];
10731
10904
  /** Request argument optionality depends on the selected authentication mode. */
@@ -10901,7 +11074,7 @@ declare const ExperimentalEndpointsApiAxiosParamCreator: (configuration?: Config
10901
11074
  */
10902
11075
  listSubscriptions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
10903
11076
  /**
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 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.
11077
+ * **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, Webull US, and TradeStation (live and SIM); future options are supported on tastytrade and TradeStation (live and SIM). 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. TradeStation and TradeStation SIM support single-leg futures and futures-option orders in Futures accounts, with positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day, gtc, ioc, or fok duration, subject to the contract and route\'s supported combinations. Futures use buy/sell; futures options use the open/close option actions. Multi-leg futures-family strategies are not supported. Prices are forwarded without rounding; TradeStation determines contract availability, permissions, 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. For TradeStation, use a specific two-digit-year contract such as ESZ26 or @ESZ26, or a futures-option symbol such as `ESZ26 C6000`, preserving the space and any session alias. The optional @ prefix is supported for dated futures contracts and is forwarded unchanged. Slash-prefixed aliases and root-only continuous symbols such as @ES 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
11078
  * @summary Place a simple order (beta)
10906
11079
  * @param {string} accountId The ID of the account to execute the trade on.
10907
11080
  * @param {SimpleTradeForm} simpleTradeForm
@@ -10973,7 +11146,7 @@ declare const ExperimentalEndpointsApiFp: <TAuth extends AuthMode>(configuration
10973
11146
  */
10974
11147
  listSubscriptions(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<TradeDetectionSubscription>, unknown>>>;
10975
11148
  /**
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 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.
11149
+ * **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, Webull US, and TradeStation (live and SIM); future options are supported on tastytrade and TradeStation (live and SIM). 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. TradeStation and TradeStation SIM support single-leg futures and futures-option orders in Futures accounts, with positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day, gtc, ioc, or fok duration, subject to the contract and route\'s supported combinations. Futures use buy/sell; futures options use the open/close option actions. Multi-leg futures-family strategies are not supported. Prices are forwarded without rounding; TradeStation determines contract availability, permissions, 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. For TradeStation, use a specific two-digit-year contract such as ESZ26 or @ESZ26, or a futures-option symbol such as `ESZ26 C6000`, preserving the space and any session alias. The optional @ prefix is supported for dated futures contracts and is forwarded unchanged. Slash-prefixed aliases and root-only continuous symbols such as @ES 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
11150
  * @summary Place a simple order (beta)
10978
11151
  * @param {ExperimentalEndpointsApiPlaceSimpleOrderRequest<TAuth>} requestParameters Request parameters.
10979
11152
  * @param {*} [options] Override http request option.
@@ -11042,7 +11215,7 @@ declare const ExperimentalEndpointsApiFactory: <TAuth extends AuthMode>(configur
11042
11215
  */
11043
11216
  listSubscriptions(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<Array<TradeDetectionSubscription>, unknown>>;
11044
11217
  /**
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 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.
11218
+ * **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, Webull US, and TradeStation (live and SIM); future options are supported on tastytrade and TradeStation (live and SIM). 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. TradeStation and TradeStation SIM support single-leg futures and futures-option orders in Futures accounts, with positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day, gtc, ioc, or fok duration, subject to the contract and route\'s supported combinations. Futures use buy/sell; futures options use the open/close option actions. Multi-leg futures-family strategies are not supported. Prices are forwarded without rounding; TradeStation determines contract availability, permissions, 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. For TradeStation, use a specific two-digit-year contract such as ESZ26 or @ESZ26, or a futures-option symbol such as `ESZ26 C6000`, preserving the space and any session alias. The optional @ prefix is supported for dated futures contracts and is forwarded unchanged. Slash-prefixed aliases and root-only continuous symbols such as @ES 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
11219
  * @summary Place a simple order (beta)
11047
11220
  * @param {ExperimentalEndpointsApiPlaceSimpleOrderRequest<TAuth>} requestParameters Request parameters.
11048
11221
  * @param {*} [options] Override http request option.
@@ -11149,9 +11322,14 @@ type ExperimentalEndpointsApiGetUserAccountOrderDetailV2personalApiKeyRequest =
11149
11322
  readonly userId?: never;
11150
11323
  readonly userSecret?: never;
11151
11324
  };
11325
+ type ExperimentalEndpointsApiGetUserAccountOrderDetailV2oauthRequest = ExperimentalEndpointsApiGetUserAccountOrderDetailV2BaseRequest & {
11326
+ readonly userId?: never;
11327
+ readonly userSecret?: never;
11328
+ };
11152
11329
  type ExperimentalEndpointsApiGetUserAccountOrderDetailV2RequestByAuthMode = {
11153
11330
  "commercialApiKey": ExperimentalEndpointsApiGetUserAccountOrderDetailV2commercialApiKeyRequest;
11154
11331
  "personalApiKey": ExperimentalEndpointsApiGetUserAccountOrderDetailV2personalApiKeyRequest;
11332
+ "oauth": ExperimentalEndpointsApiGetUserAccountOrderDetailV2oauthRequest;
11155
11333
  };
11156
11334
  type ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request<TAuth extends AuthMode> = ExperimentalEndpointsApiGetUserAccountOrderDetailV2RequestByAuthMode[TAuth["mode"] & keyof ExperimentalEndpointsApiGetUserAccountOrderDetailV2RequestByAuthMode];
11157
11335
  /** Request argument optionality depends on the selected authentication mode. */
@@ -11188,9 +11366,14 @@ type ExperimentalEndpointsApiGetUserAccountOrdersV2personalApiKeyRequest = Exper
11188
11366
  readonly userId?: never;
11189
11367
  readonly userSecret?: never;
11190
11368
  };
11369
+ type ExperimentalEndpointsApiGetUserAccountOrdersV2oauthRequest = ExperimentalEndpointsApiGetUserAccountOrdersV2BaseRequest & {
11370
+ readonly userId?: never;
11371
+ readonly userSecret?: never;
11372
+ };
11191
11373
  type ExperimentalEndpointsApiGetUserAccountOrdersV2RequestByAuthMode = {
11192
11374
  "commercialApiKey": ExperimentalEndpointsApiGetUserAccountOrdersV2commercialApiKeyRequest;
11193
11375
  "personalApiKey": ExperimentalEndpointsApiGetUserAccountOrdersV2personalApiKeyRequest;
11376
+ "oauth": ExperimentalEndpointsApiGetUserAccountOrdersV2oauthRequest;
11194
11377
  };
11195
11378
  type ExperimentalEndpointsApiGetUserAccountOrdersV2Request<TAuth extends AuthMode> = ExperimentalEndpointsApiGetUserAccountOrdersV2RequestByAuthMode[TAuth["mode"] & keyof ExperimentalEndpointsApiGetUserAccountOrdersV2RequestByAuthMode];
11196
11379
  /** Request argument optionality depends on the selected authentication mode. */
@@ -11221,9 +11404,14 @@ type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2personalApiKeyRequest =
11221
11404
  readonly userId?: never;
11222
11405
  readonly userSecret?: never;
11223
11406
  };
11407
+ type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2oauthRequest = ExperimentalEndpointsApiGetUserAccountRecentOrdersV2BaseRequest & {
11408
+ readonly userId?: never;
11409
+ readonly userSecret?: never;
11410
+ };
11224
11411
  type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2RequestByAuthMode = {
11225
11412
  "commercialApiKey": ExperimentalEndpointsApiGetUserAccountRecentOrdersV2commercialApiKeyRequest;
11226
11413
  "personalApiKey": ExperimentalEndpointsApiGetUserAccountRecentOrdersV2personalApiKeyRequest;
11414
+ "oauth": ExperimentalEndpointsApiGetUserAccountRecentOrdersV2oauthRequest;
11227
11415
  };
11228
11416
  type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request<TAuth extends AuthMode> = ExperimentalEndpointsApiGetUserAccountRecentOrdersV2RequestByAuthMode[TAuth["mode"] & keyof ExperimentalEndpointsApiGetUserAccountRecentOrdersV2RequestByAuthMode];
11229
11417
  /** Request argument optionality depends on the selected authentication mode. */
@@ -11248,9 +11436,14 @@ type ExperimentalEndpointsApiPlaceSimpleOrderpersonalApiKeyRequest = Experimenta
11248
11436
  readonly userId?: never;
11249
11437
  readonly userSecret?: never;
11250
11438
  };
11439
+ type ExperimentalEndpointsApiPlaceSimpleOrderoauthRequest = ExperimentalEndpointsApiPlaceSimpleOrderBaseRequest & {
11440
+ readonly userId?: never;
11441
+ readonly userSecret?: never;
11442
+ };
11251
11443
  type ExperimentalEndpointsApiPlaceSimpleOrderRequestByAuthMode = {
11252
11444
  "commercialApiKey": ExperimentalEndpointsApiPlaceSimpleOrdercommercialApiKeyRequest;
11253
11445
  "personalApiKey": ExperimentalEndpointsApiPlaceSimpleOrderpersonalApiKeyRequest;
11446
+ "oauth": ExperimentalEndpointsApiPlaceSimpleOrderoauthRequest;
11254
11447
  };
11255
11448
  type ExperimentalEndpointsApiPlaceSimpleOrderRequest<TAuth extends AuthMode> = ExperimentalEndpointsApiPlaceSimpleOrderRequestByAuthMode[TAuth["mode"] & keyof ExperimentalEndpointsApiPlaceSimpleOrderRequestByAuthMode];
11256
11449
  /** Request argument optionality depends on the selected authentication mode. */
@@ -11325,7 +11518,7 @@ declare class ExperimentalEndpointsApiGenerated<TAuth extends AuthMode> extends
11325
11518
  */
11326
11519
  listSubscriptions(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<TradeDetectionSubscription[], unknown, {}, any>>;
11327
11520
  /**
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 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.
11521
+ * **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, Webull US, and TradeStation (live and SIM); future options are supported on tastytrade and TradeStation (live and SIM). 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. TradeStation and TradeStation SIM support single-leg futures and futures-option orders in Futures accounts, with positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day, gtc, ioc, or fok duration, subject to the contract and route\'s supported combinations. Futures use buy/sell; futures options use the open/close option actions. Multi-leg futures-family strategies are not supported. Prices are forwarded without rounding; TradeStation determines contract availability, permissions, 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. For TradeStation, use a specific two-digit-year contract such as ESZ26 or @ESZ26, or a futures-option symbol such as `ESZ26 C6000`, preserving the space and any session alias. The optional @ prefix is supported for dated futures contracts and is forwarded unchanged. Slash-prefixed aliases and root-only continuous symbols such as @ES 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
11522
  * @summary Place a simple order (beta)
11330
11523
  * @param {ExperimentalEndpointsApiPlaceSimpleOrderRequest<TAuth>} requestParameters Request parameters.
11331
11524
  * @param {*} [options] Override http request option.
@@ -11570,14 +11763,14 @@ declare const ReferenceDataApiFp: <TAuth extends AuthMode>(configuration?: Confi
11570
11763
  * @param {*} [options] Override http request option.
11571
11764
  * @throws {RequiredError}
11572
11765
  */
11573
- getPartnerInfo(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<PartnerData, unknown>>>;
11766
+ getPartnerInfo(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" | "oauth" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<PartnerData, unknown>>>;
11574
11767
  /**
11575
11768
  * Returns a list of all supported Exchanges.
11576
11769
  * @summary Get exchanges
11577
11770
  * @param {*} [options] Override http request option.
11578
11771
  * @throws {RequiredError}
11579
11772
  */
11580
- getStockExchanges(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<Exchange>, unknown>>>;
11773
+ getStockExchanges(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" | "oauth" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<Exchange>, unknown>>>;
11581
11774
  /**
11582
11775
  * 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
11776
  * @summary Search symbols
@@ -11616,7 +11809,7 @@ declare const ReferenceDataApiFp: <TAuth extends AuthMode>(configuration?: Confi
11616
11809
  * @param {*} [options] Override http request option.
11617
11810
  * @throws {RequiredError}
11618
11811
  */
11619
- listAllBrokerages(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<Brokerage>, unknown>>>;
11812
+ listAllBrokerages(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" | "oauth" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<Brokerage>, unknown>>>;
11620
11813
  /**
11621
11814
  * 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
11815
  * @summary List institutions
@@ -11644,14 +11837,14 @@ declare const ReferenceDataApiFactory: <TAuth extends AuthMode>(configuration?:
11644
11837
  * @param {*} [options] Override http request option.
11645
11838
  * @throws {RequiredError}
11646
11839
  */
11647
- getPartnerInfo(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<PartnerData, unknown>>;
11840
+ getPartnerInfo(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" | "oauth" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<PartnerData, unknown>>;
11648
11841
  /**
11649
11842
  * Returns a list of all supported Exchanges.
11650
11843
  * @summary Get exchanges
11651
11844
  * @param {*} [options] Override http request option.
11652
11845
  * @throws {RequiredError}
11653
11846
  */
11654
- getStockExchanges(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<Array<Exchange>, unknown>>;
11847
+ getStockExchanges(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" | "oauth" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<Array<Exchange>, unknown>>;
11655
11848
  /**
11656
11849
  * 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
11850
  * @summary Search symbols
@@ -11690,7 +11883,7 @@ declare const ReferenceDataApiFactory: <TAuth extends AuthMode>(configuration?:
11690
11883
  * @param {*} [options] Override http request option.
11691
11884
  * @throws {RequiredError}
11692
11885
  */
11693
- listAllBrokerages(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<Array<Brokerage>, unknown>>;
11886
+ listAllBrokerages(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" | "oauth" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<Array<Brokerage>, unknown>>;
11694
11887
  /**
11695
11888
  * 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
11889
  * @summary List institutions
@@ -11714,13 +11907,15 @@ declare const ReferenceDataApiFactory: <TAuth extends AuthMode>(configuration?:
11714
11907
  type ReferenceDataApiGetSymbolsBaseRequest = {} & SymbolQuery;
11715
11908
  type ReferenceDataApiGetSymbolscommercialApiKeyRequest = ReferenceDataApiGetSymbolsBaseRequest & {};
11716
11909
  type ReferenceDataApiGetSymbolspersonalApiKeyRequest = ReferenceDataApiGetSymbolsBaseRequest & {};
11910
+ type ReferenceDataApiGetSymbolsoauthRequest = ReferenceDataApiGetSymbolsBaseRequest & {};
11717
11911
  type ReferenceDataApiGetSymbolsRequestByAuthMode = {
11718
11912
  "commercialApiKey": ReferenceDataApiGetSymbolscommercialApiKeyRequest;
11719
11913
  "personalApiKey": ReferenceDataApiGetSymbolspersonalApiKeyRequest;
11914
+ "oauth": ReferenceDataApiGetSymbolsoauthRequest;
11720
11915
  };
11721
11916
  type ReferenceDataApiGetSymbolsRequest<TAuth extends AuthMode> = ReferenceDataApiGetSymbolsRequestByAuthMode[TAuth["mode"] & keyof ReferenceDataApiGetSymbolsRequestByAuthMode];
11722
11917
  /** 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];
11918
+ type ReferenceDataApiGetSymbolsArgs<TAuth extends AuthMode> = TAuth["mode"] extends "commercialApiKey" | "personalApiKey" | "oauth" ? [requestParameters?: ReferenceDataApiGetSymbolsRequest<TAuth>, options?: AxiosRequestConfig] : [requestParameters: ReferenceDataApiGetSymbolsRequest<TAuth>, options?: AxiosRequestConfig];
11724
11919
  /**
11725
11920
  * Request parameters for getSymbolsByTicker operation in ReferenceDataApi.
11726
11921
  * @export
@@ -11735,9 +11930,11 @@ type ReferenceDataApiGetSymbolsByTickerBaseRequest = {
11735
11930
  };
11736
11931
  type ReferenceDataApiGetSymbolsByTickercommercialApiKeyRequest = ReferenceDataApiGetSymbolsByTickerBaseRequest & {};
11737
11932
  type ReferenceDataApiGetSymbolsByTickerpersonalApiKeyRequest = ReferenceDataApiGetSymbolsByTickerBaseRequest & {};
11933
+ type ReferenceDataApiGetSymbolsByTickeroauthRequest = ReferenceDataApiGetSymbolsByTickerBaseRequest & {};
11738
11934
  type ReferenceDataApiGetSymbolsByTickerRequestByAuthMode = {
11739
11935
  "commercialApiKey": ReferenceDataApiGetSymbolsByTickercommercialApiKeyRequest;
11740
11936
  "personalApiKey": ReferenceDataApiGetSymbolsByTickerpersonalApiKeyRequest;
11937
+ "oauth": ReferenceDataApiGetSymbolsByTickeroauthRequest;
11741
11938
  };
11742
11939
  type ReferenceDataApiGetSymbolsByTickerRequest<TAuth extends AuthMode> = ReferenceDataApiGetSymbolsByTickerRequestByAuthMode[TAuth["mode"] & keyof ReferenceDataApiGetSymbolsByTickerRequestByAuthMode];
11743
11940
  /** Request argument optionality depends on the selected authentication mode. */
@@ -11777,9 +11974,11 @@ type ReferenceDataApiListAllBrokerageInstrumentsBaseRequest = {
11777
11974
  };
11778
11975
  type ReferenceDataApiListAllBrokerageInstrumentscommercialApiKeyRequest = ReferenceDataApiListAllBrokerageInstrumentsBaseRequest & {};
11779
11976
  type ReferenceDataApiListAllBrokerageInstrumentspersonalApiKeyRequest = ReferenceDataApiListAllBrokerageInstrumentsBaseRequest & {};
11977
+ type ReferenceDataApiListAllBrokerageInstrumentsoauthRequest = ReferenceDataApiListAllBrokerageInstrumentsBaseRequest & {};
11780
11978
  type ReferenceDataApiListAllBrokerageInstrumentsRequestByAuthMode = {
11781
11979
  "commercialApiKey": ReferenceDataApiListAllBrokerageInstrumentscommercialApiKeyRequest;
11782
11980
  "personalApiKey": ReferenceDataApiListAllBrokerageInstrumentspersonalApiKeyRequest;
11981
+ "oauth": ReferenceDataApiListAllBrokerageInstrumentsoauthRequest;
11783
11982
  };
11784
11983
  type ReferenceDataApiListAllBrokerageInstrumentsRequest<TAuth extends AuthMode> = ReferenceDataApiListAllBrokerageInstrumentsRequestByAuthMode[TAuth["mode"] & keyof ReferenceDataApiListAllBrokerageInstrumentsRequestByAuthMode];
11785
11984
  /** Request argument optionality depends on the selected authentication mode. */
@@ -11804,9 +12003,14 @@ type ReferenceDataApiSymbolSearchUserAccountpersonalApiKeyRequest = ReferenceDat
11804
12003
  readonly userId?: never;
11805
12004
  readonly userSecret?: never;
11806
12005
  };
12006
+ type ReferenceDataApiSymbolSearchUserAccountoauthRequest = ReferenceDataApiSymbolSearchUserAccountBaseRequest & {
12007
+ readonly userId?: never;
12008
+ readonly userSecret?: never;
12009
+ };
11807
12010
  type ReferenceDataApiSymbolSearchUserAccountRequestByAuthMode = {
11808
12011
  "commercialApiKey": ReferenceDataApiSymbolSearchUserAccountcommercialApiKeyRequest;
11809
12012
  "personalApiKey": ReferenceDataApiSymbolSearchUserAccountpersonalApiKeyRequest;
12013
+ "oauth": ReferenceDataApiSymbolSearchUserAccountoauthRequest;
11810
12014
  };
11811
12015
  type ReferenceDataApiSymbolSearchUserAccountRequest<TAuth extends AuthMode> = ReferenceDataApiSymbolSearchUserAccountRequestByAuthMode[TAuth["mode"] & keyof ReferenceDataApiSymbolSearchUserAccountRequestByAuthMode];
11812
12016
  /** Request argument optionality depends on the selected authentication mode. */
@@ -11825,7 +12029,7 @@ declare class ReferenceDataApiGenerated<TAuth extends AuthMode> extends BaseAPI<
11825
12029
  * @throws {RequiredError}
11826
12030
  * @memberof ReferenceDataApiGenerated
11827
12031
  */
11828
- getPartnerInfo(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<PartnerData, unknown, {}, any>>;
12032
+ getPartnerInfo(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" | "oauth" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<PartnerData, unknown, {}, any>>;
11829
12033
  /**
11830
12034
  * Returns a list of all supported Exchanges.
11831
12035
  * @summary Get exchanges
@@ -11833,7 +12037,7 @@ declare class ReferenceDataApiGenerated<TAuth extends AuthMode> extends BaseAPI<
11833
12037
  * @throws {RequiredError}
11834
12038
  * @memberof ReferenceDataApiGenerated
11835
12039
  */
11836
- getStockExchanges(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<Exchange[], unknown, {}, any>>;
12040
+ getStockExchanges(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" | "oauth" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<Exchange[], unknown, {}, any>>;
11837
12041
  /**
11838
12042
  * 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
12043
  * @summary Search symbols
@@ -11877,7 +12081,7 @@ declare class ReferenceDataApiGenerated<TAuth extends AuthMode> extends BaseAPI<
11877
12081
  * @throws {RequiredError}
11878
12082
  * @memberof ReferenceDataApiGenerated
11879
12083
  */
11880
- listAllBrokerages(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<Brokerage[], unknown, {}, any>>;
12084
+ listAllBrokerages(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" | "oauth" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<Brokerage[], unknown, {}, any>>;
11881
12085
  /**
11882
12086
  * 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
12087
  * @summary List institutions
@@ -12320,9 +12524,14 @@ type TradingApiCancelOrderpersonalApiKeyRequest = TradingApiCancelOrderBaseReque
12320
12524
  readonly userId?: never;
12321
12525
  readonly userSecret?: never;
12322
12526
  };
12527
+ type TradingApiCancelOrderoauthRequest = TradingApiCancelOrderBaseRequest & {
12528
+ readonly userId?: never;
12529
+ readonly userSecret?: never;
12530
+ };
12323
12531
  type TradingApiCancelOrderRequestByAuthMode = {
12324
12532
  "commercialApiKey": TradingApiCancelOrdercommercialApiKeyRequest;
12325
12533
  "personalApiKey": TradingApiCancelOrderpersonalApiKeyRequest;
12534
+ "oauth": TradingApiCancelOrderoauthRequest;
12326
12535
  };
12327
12536
  type TradingApiCancelOrderRequest<TAuth extends AuthMode> = TradingApiCancelOrderRequestByAuthMode[TAuth["mode"] & keyof TradingApiCancelOrderRequestByAuthMode];
12328
12537
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12353,9 +12562,14 @@ type TradingApiGetCryptocurrencyPairQuotepersonalApiKeyRequest = TradingApiGetCr
12353
12562
  readonly userId?: never;
12354
12563
  readonly userSecret?: never;
12355
12564
  };
12565
+ type TradingApiGetCryptocurrencyPairQuoteoauthRequest = TradingApiGetCryptocurrencyPairQuoteBaseRequest & {
12566
+ readonly userId?: never;
12567
+ readonly userSecret?: never;
12568
+ };
12356
12569
  type TradingApiGetCryptocurrencyPairQuoteRequestByAuthMode = {
12357
12570
  "commercialApiKey": TradingApiGetCryptocurrencyPairQuotecommercialApiKeyRequest;
12358
12571
  "personalApiKey": TradingApiGetCryptocurrencyPairQuotepersonalApiKeyRequest;
12572
+ "oauth": TradingApiGetCryptocurrencyPairQuoteoauthRequest;
12359
12573
  };
12360
12574
  type TradingApiGetCryptocurrencyPairQuoteRequest<TAuth extends AuthMode> = TradingApiGetCryptocurrencyPairQuoteRequestByAuthMode[TAuth["mode"] & keyof TradingApiGetCryptocurrencyPairQuoteRequestByAuthMode];
12361
12575
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12380,9 +12594,14 @@ type TradingApiGetOptionImpactpersonalApiKeyRequest = TradingApiGetOptionImpactB
12380
12594
  readonly userId?: never;
12381
12595
  readonly userSecret?: never;
12382
12596
  };
12597
+ type TradingApiGetOptionImpactoauthRequest = TradingApiGetOptionImpactBaseRequest & {
12598
+ readonly userId?: never;
12599
+ readonly userSecret?: never;
12600
+ };
12383
12601
  type TradingApiGetOptionImpactRequestByAuthMode = {
12384
12602
  "commercialApiKey": TradingApiGetOptionImpactcommercialApiKeyRequest;
12385
12603
  "personalApiKey": TradingApiGetOptionImpactpersonalApiKeyRequest;
12604
+ "oauth": TradingApiGetOptionImpactoauthRequest;
12386
12605
  };
12387
12606
  type TradingApiGetOptionImpactRequest<TAuth extends AuthMode> = TradingApiGetOptionImpactRequestByAuthMode[TAuth["mode"] & keyof TradingApiGetOptionImpactRequestByAuthMode];
12388
12607
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12400,9 +12619,14 @@ type TradingApiGetOrderImpactpersonalApiKeyRequest = TradingApiGetOrderImpactBas
12400
12619
  readonly userId?: never;
12401
12620
  readonly userSecret?: never;
12402
12621
  };
12622
+ type TradingApiGetOrderImpactoauthRequest = TradingApiGetOrderImpactBaseRequest & {
12623
+ readonly userId?: never;
12624
+ readonly userSecret?: never;
12625
+ };
12403
12626
  type TradingApiGetOrderImpactRequestByAuthMode = {
12404
12627
  "commercialApiKey": TradingApiGetOrderImpactcommercialApiKeyRequest;
12405
12628
  "personalApiKey": TradingApiGetOrderImpactpersonalApiKeyRequest;
12629
+ "oauth": TradingApiGetOrderImpactoauthRequest;
12406
12630
  };
12407
12631
  type TradingApiGetOrderImpactRequest<TAuth extends AuthMode> = TradingApiGetOrderImpactRequestByAuthMode[TAuth["mode"] & keyof TradingApiGetOrderImpactRequestByAuthMode];
12408
12632
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12472,9 +12696,14 @@ type TradingApiGetUserAccountQuotespersonalApiKeyRequest = TradingApiGetUserAcco
12472
12696
  readonly userId?: never;
12473
12697
  readonly userSecret?: never;
12474
12698
  };
12699
+ type TradingApiGetUserAccountQuotesoauthRequest = TradingApiGetUserAccountQuotesBaseRequest & {
12700
+ readonly userId?: never;
12701
+ readonly userSecret?: never;
12702
+ };
12475
12703
  type TradingApiGetUserAccountQuotesRequestByAuthMode = {
12476
12704
  "commercialApiKey": TradingApiGetUserAccountQuotescommercialApiKeyRequest;
12477
12705
  "personalApiKey": TradingApiGetUserAccountQuotespersonalApiKeyRequest;
12706
+ "oauth": TradingApiGetUserAccountQuotesoauthRequest;
12478
12707
  };
12479
12708
  type TradingApiGetUserAccountQuotesRequest<TAuth extends AuthMode> = TradingApiGetUserAccountQuotesRequestByAuthMode[TAuth["mode"] & keyof TradingApiGetUserAccountQuotesRequestByAuthMode];
12480
12709
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12499,9 +12728,14 @@ type TradingApiPlaceComplexOrderpersonalApiKeyRequest = TradingApiPlaceComplexOr
12499
12728
  readonly userId?: never;
12500
12729
  readonly userSecret?: never;
12501
12730
  };
12731
+ type TradingApiPlaceComplexOrderoauthRequest = TradingApiPlaceComplexOrderBaseRequest & {
12732
+ readonly userId?: never;
12733
+ readonly userSecret?: never;
12734
+ };
12502
12735
  type TradingApiPlaceComplexOrderRequestByAuthMode = {
12503
12736
  "commercialApiKey": TradingApiPlaceComplexOrdercommercialApiKeyRequest;
12504
12737
  "personalApiKey": TradingApiPlaceComplexOrderpersonalApiKeyRequest;
12738
+ "oauth": TradingApiPlaceComplexOrderoauthRequest;
12505
12739
  };
12506
12740
  type TradingApiPlaceComplexOrderRequest<TAuth extends AuthMode> = TradingApiPlaceComplexOrderRequestByAuthMode[TAuth["mode"] & keyof TradingApiPlaceComplexOrderRequestByAuthMode];
12507
12741
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12526,9 +12760,14 @@ type TradingApiPlaceCryptoOrderpersonalApiKeyRequest = TradingApiPlaceCryptoOrde
12526
12760
  readonly userId?: never;
12527
12761
  readonly userSecret?: never;
12528
12762
  };
12763
+ type TradingApiPlaceCryptoOrderoauthRequest = TradingApiPlaceCryptoOrderBaseRequest & {
12764
+ readonly userId?: never;
12765
+ readonly userSecret?: never;
12766
+ };
12529
12767
  type TradingApiPlaceCryptoOrderRequestByAuthMode = {
12530
12768
  "commercialApiKey": TradingApiPlaceCryptoOrdercommercialApiKeyRequest;
12531
12769
  "personalApiKey": TradingApiPlaceCryptoOrderpersonalApiKeyRequest;
12770
+ "oauth": TradingApiPlaceCryptoOrderoauthRequest;
12532
12771
  };
12533
12772
  type TradingApiPlaceCryptoOrderRequest<TAuth extends AuthMode> = TradingApiPlaceCryptoOrderRequestByAuthMode[TAuth["mode"] & keyof TradingApiPlaceCryptoOrderRequestByAuthMode];
12534
12773
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12546,9 +12785,14 @@ type TradingApiPlaceForceOrderpersonalApiKeyRequest = TradingApiPlaceForceOrderB
12546
12785
  readonly userId?: never;
12547
12786
  readonly userSecret?: never;
12548
12787
  };
12788
+ type TradingApiPlaceForceOrderoauthRequest = TradingApiPlaceForceOrderBaseRequest & {
12789
+ readonly userId?: never;
12790
+ readonly userSecret?: never;
12791
+ };
12549
12792
  type TradingApiPlaceForceOrderRequestByAuthMode = {
12550
12793
  "commercialApiKey": TradingApiPlaceForceOrdercommercialApiKeyRequest;
12551
12794
  "personalApiKey": TradingApiPlaceForceOrderpersonalApiKeyRequest;
12795
+ "oauth": TradingApiPlaceForceOrderoauthRequest;
12552
12796
  };
12553
12797
  type TradingApiPlaceForceOrderRequest<TAuth extends AuthMode> = TradingApiPlaceForceOrderRequestByAuthMode[TAuth["mode"] & keyof TradingApiPlaceForceOrderRequestByAuthMode];
12554
12798
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12573,9 +12817,14 @@ type TradingApiPlaceMlegOrderpersonalApiKeyRequest = TradingApiPlaceMlegOrderBas
12573
12817
  readonly userId?: never;
12574
12818
  readonly userSecret?: never;
12575
12819
  };
12820
+ type TradingApiPlaceMlegOrderoauthRequest = TradingApiPlaceMlegOrderBaseRequest & {
12821
+ readonly userId?: never;
12822
+ readonly userSecret?: never;
12823
+ };
12576
12824
  type TradingApiPlaceMlegOrderRequestByAuthMode = {
12577
12825
  "commercialApiKey": TradingApiPlaceMlegOrdercommercialApiKeyRequest;
12578
12826
  "personalApiKey": TradingApiPlaceMlegOrderpersonalApiKeyRequest;
12827
+ "oauth": TradingApiPlaceMlegOrderoauthRequest;
12579
12828
  };
12580
12829
  type TradingApiPlaceMlegOrderRequest<TAuth extends AuthMode> = TradingApiPlaceMlegOrderRequestByAuthMode[TAuth["mode"] & keyof TradingApiPlaceMlegOrderRequestByAuthMode];
12581
12830
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12600,9 +12849,14 @@ type TradingApiPlaceOrderpersonalApiKeyRequest = TradingApiPlaceOrderBaseRequest
12600
12849
  readonly userId?: never;
12601
12850
  readonly userSecret?: never;
12602
12851
  };
12852
+ type TradingApiPlaceOrderoauthRequest = TradingApiPlaceOrderBaseRequest & {
12853
+ readonly userId?: never;
12854
+ readonly userSecret?: never;
12855
+ };
12603
12856
  type TradingApiPlaceOrderRequestByAuthMode = {
12604
12857
  "commercialApiKey": TradingApiPlaceOrdercommercialApiKeyRequest;
12605
12858
  "personalApiKey": TradingApiPlaceOrderpersonalApiKeyRequest;
12859
+ "oauth": TradingApiPlaceOrderoauthRequest;
12606
12860
  };
12607
12861
  type TradingApiPlaceOrderRequest<TAuth extends AuthMode> = TradingApiPlaceOrderRequestByAuthMode[TAuth["mode"] & keyof TradingApiPlaceOrderRequestByAuthMode];
12608
12862
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12627,9 +12881,14 @@ type TradingApiPreviewCryptoOrderpersonalApiKeyRequest = TradingApiPreviewCrypto
12627
12881
  readonly userId?: never;
12628
12882
  readonly userSecret?: never;
12629
12883
  };
12884
+ type TradingApiPreviewCryptoOrderoauthRequest = TradingApiPreviewCryptoOrderBaseRequest & {
12885
+ readonly userId?: never;
12886
+ readonly userSecret?: never;
12887
+ };
12630
12888
  type TradingApiPreviewCryptoOrderRequestByAuthMode = {
12631
12889
  "commercialApiKey": TradingApiPreviewCryptoOrdercommercialApiKeyRequest;
12632
12890
  "personalApiKey": TradingApiPreviewCryptoOrderpersonalApiKeyRequest;
12891
+ "oauth": TradingApiPreviewCryptoOrderoauthRequest;
12633
12892
  };
12634
12893
  type TradingApiPreviewCryptoOrderRequest<TAuth extends AuthMode> = TradingApiPreviewCryptoOrderRequestByAuthMode[TAuth["mode"] & keyof TradingApiPreviewCryptoOrderRequestByAuthMode];
12635
12894
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12654,9 +12913,14 @@ type TradingApiReplaceOrderpersonalApiKeyRequest = TradingApiReplaceOrderBaseReq
12654
12913
  readonly userId?: never;
12655
12914
  readonly userSecret?: never;
12656
12915
  };
12916
+ type TradingApiReplaceOrderoauthRequest = TradingApiReplaceOrderBaseRequest & {
12917
+ readonly userId?: never;
12918
+ readonly userSecret?: never;
12919
+ };
12657
12920
  type TradingApiReplaceOrderRequestByAuthMode = {
12658
12921
  "commercialApiKey": TradingApiReplaceOrdercommercialApiKeyRequest;
12659
12922
  "personalApiKey": TradingApiReplaceOrderpersonalApiKeyRequest;
12923
+ "oauth": TradingApiReplaceOrderoauthRequest;
12660
12924
  };
12661
12925
  type TradingApiReplaceOrderRequest<TAuth extends AuthMode> = TradingApiReplaceOrderRequestByAuthMode[TAuth["mode"] & keyof TradingApiReplaceOrderRequestByAuthMode];
12662
12926
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12693,9 +12957,14 @@ type TradingApiSearchCryptocurrencyPairInstrumentspersonalApiKeyRequest = Tradin
12693
12957
  readonly userId?: never;
12694
12958
  readonly userSecret?: never;
12695
12959
  };
12960
+ type TradingApiSearchCryptocurrencyPairInstrumentsoauthRequest = TradingApiSearchCryptocurrencyPairInstrumentsBaseRequest & {
12961
+ readonly userId?: never;
12962
+ readonly userSecret?: never;
12963
+ };
12696
12964
  type TradingApiSearchCryptocurrencyPairInstrumentsRequestByAuthMode = {
12697
12965
  "commercialApiKey": TradingApiSearchCryptocurrencyPairInstrumentscommercialApiKeyRequest;
12698
12966
  "personalApiKey": TradingApiSearchCryptocurrencyPairInstrumentspersonalApiKeyRequest;
12967
+ "oauth": TradingApiSearchCryptocurrencyPairInstrumentsoauthRequest;
12699
12968
  };
12700
12969
  type TradingApiSearchCryptocurrencyPairInstrumentsRequest<TAuth extends AuthMode> = TradingApiSearchCryptocurrencyPairInstrumentsRequestByAuthMode[TAuth["mode"] & keyof TradingApiSearchCryptocurrencyPairInstrumentsRequestByAuthMode];
12701
12970
  /** Request argument optionality depends on the selected authentication mode. */
@@ -12904,4 +13173,43 @@ declare class SnaptradeError extends Error {
12904
13173
  declare function readableStreamToString(stream: ReadableStream): Promise<string>;
12905
13174
  declare function parseIfJson(input: unknown): object | unknown;
12906
13175
  //#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 };
13176
+ //#region oauth-device.d.ts
13177
+ interface SnaptradeOAuthDeviceOptions {
13178
+ issuer?: string;
13179
+ axios?: AxiosInstance;
13180
+ }
13181
+ interface SnaptradeDeviceAuthorization {
13182
+ deviceCode: string;
13183
+ userCode: string;
13184
+ verificationUri: string;
13185
+ verificationUriComplete?: string;
13186
+ /** Local deadline in milliseconds since the Unix epoch. */
13187
+ expiresAt: number;
13188
+ interval: number;
13189
+ }
13190
+ interface SnaptradeDeviceTokens {
13191
+ accessToken: string;
13192
+ refreshToken?: string;
13193
+ tokenType?: string;
13194
+ expiresIn?: number;
13195
+ scope?: string;
13196
+ }
13197
+ /** Explicit device login for pre-registered public clients. Tokens remain application-owned. */
13198
+ declare class SnaptradeOAuthDevice {
13199
+ private readonly issuer;
13200
+ private readonly http;
13201
+ constructor(options?: SnaptradeOAuthDeviceOptions);
13202
+ /** Display userCode and verificationUri; keep deviceCode private. Access is read-only. */
13203
+ startDeviceAuthorization(params: {
13204
+ clientId: string;
13205
+ signal?: AbortSignal;
13206
+ }): Promise<SnaptradeDeviceAuthorization>;
13207
+ /** Polls only for initial login. Does not store tokens or refresh them. */
13208
+ waitForDeviceToken(params: {
13209
+ clientId: string;
13210
+ authorization: SnaptradeDeviceAuthorization;
13211
+ signal?: AbortSignal;
13212
+ }): Promise<SnaptradeDeviceTokens>;
13213
+ }
13214
+ //#endregion
13215
+ 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, PricedInInstrument, PricedInInstrumentNullable, 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, TradingPlaceSimpleOrder409Response, TradingSearchCryptocurrencyPairInstruments200Response, TradingSession, TrailingStop, TrailingStopLimitOrderType, TrailingStopNullable, TrailingStopOrderType, TransactionsStatus, USExchange, UnderlyingCfdInstrument, UnderlyingOptionInstrument, UnderlyingSymbol, UnderlyingSymbolExchange, UnderlyingSymbolType, UnderlyingTokenizedAssetInstrument, UniversalActivity, UniversalSymbol, UniversalSymbolNullable, UserIDandSecret, ValidatedTradeBody, parseIfJson, readableStreamToString };