snaptrade-typescript-sdk 12.2.15 → 12.2.17

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.ts CHANGED
@@ -3529,880 +3529,903 @@ interface AllAccountPositionsResponse {
3529
3529
  'data_freshness': AllAccountPositionsResponseDataFreshness;
3530
3530
  }
3531
3531
  //#endregion
3532
- //#region models/encrypted-response-encrypted-message-data.d.ts
3532
+ //#region models/deposit-account-net-value.d.ts
3533
3533
  /**
3534
- *
3534
+ * Net value of the account -- cash balance for deposit accounts. Shared across all account kinds -- negative for `line_of_credit` accounts, representing money owed. Null when unknown (e.g. a real-time fetch failed and no cached value exists).
3535
3535
  * @export
3536
- * @interface EncryptedResponseEncryptedMessageData
3536
+ * @interface DepositAccountNetValue
3537
3537
  */
3538
- interface EncryptedResponseEncryptedMessageData {
3538
+ interface DepositAccountNetValue {
3539
3539
  [key: string]: any;
3540
3540
  /**
3541
3541
  *
3542
- * @type {string}
3543
- * @memberof EncryptedResponseEncryptedMessageData
3544
- */
3545
- 'encryptedMessage'?: string;
3546
- /**
3547
- *
3548
- * @type {string}
3549
- * @memberof EncryptedResponseEncryptedMessageData
3542
+ * @type {number}
3543
+ * @memberof DepositAccountNetValue
3550
3544
  */
3551
- 'tag'?: string;
3545
+ 'amount'?: number | null;
3552
3546
  /**
3553
3547
  *
3554
3548
  * @type {string}
3555
- * @memberof EncryptedResponseEncryptedMessageData
3549
+ * @memberof DepositAccountNetValue
3556
3550
  */
3557
- 'nonce'?: string;
3551
+ 'currency'?: string | null;
3558
3552
  }
3559
3553
  //#endregion
3560
- //#region models/encrypted-response.d.ts
3554
+ //#region models/deposit-account-sync-status.d.ts
3561
3555
  /**
3562
- * This response consists of 2 different components that must be decrypted to obtain the decrypted message * Decrypting the encryptedSharedKey The encrypted shared key is a shared key that was randomly generated by SnapTrade and encrypted using the users SSH public key provided when registering the user It is needed to decrypt the message in step 2. To decrypt the shared key, the user should have access to their SSH private key stored locally in their device An example Python code on how to decrypt the shared key is shown below ``` def decrypt_rsa_message(self, encrypted_message): from Crypto.Cipher import PKCS1_OAEP from Crypto.PublicKey import RSA from base64 import b64decode f = open(\'private.pem\', \'r\') private_key = RSA.import_key(f.read()) cipher = PKCS1_OAEP.new(private_key) return cipher.decrypt(b64decode(encrypted_message.encode())).decode() ``` * Decrypting the encryptedMessageData The data meant to be returned by an endpoint can be obtained by decrypting the encrypted message An encrypted message is a message that is encrypted using AES - MODE OCB with the shared key obtained in step one An example code to decrypt the encrypted message is shown below ``` def decrypt_aes_message(self, shared_key, encrypted_message): from Crypto.Cipher import AES from base64 import b64decode encrypted_msg = b64decode(encrypted_message[\"encryptedMessage\"].encode()) tag = b64decode(encrypted_message[\"tag\"].encode()) nonce = b64decode(encrypted_message[\"nonce\"].encode()) cipher = AES.new(shared_key.encode(), AES.MODE_OCB, nonce=nonce) return cipher.decrypt_and_verify(encrypted_msg, tag).decode() ```
3556
+ * Contains status updates for the account sync process between SnapTrade and the institution, used by `DepositAccount` in `Connections_listConnectionAccounts`. Each property is optional -- an institution may not report sync status for every data type. Deposit accounts don\'t place orders or hold positions, so unlike `ConnectionAccountSyncStatus` this type has no `orders` or `positions` field. `balances` is the timestamp of the last successful sync of that data type (null if never synced).
3563
3557
  * @export
3564
- * @interface EncryptedResponse
3558
+ * @interface DepositAccountSyncStatus
3565
3559
  */
3566
- interface EncryptedResponse {
3567
- /**
3568
- *
3569
- * @type {string}
3570
- * @memberof EncryptedResponse
3571
- */
3572
- 'encryptedSharedKey'?: string;
3560
+ interface DepositAccountSyncStatus {
3561
+ [key: string]: any;
3573
3562
  /**
3574
3563
  *
3575
- * @type {EncryptedResponseEncryptedMessageData}
3576
- * @memberof EncryptedResponse
3577
- */
3578
- 'encryptedMessageData'?: EncryptedResponseEncryptedMessageData;
3579
- }
3580
- //#endregion
3581
- //#region models/login-redirect-uri.d.ts
3582
- /**
3583
- * Redirect uri upon successful login
3584
- * @export
3585
- * @interface LoginRedirectURI
3586
- */
3587
- interface LoginRedirectURI {
3588
- /**
3589
- * Connection Portal link to redirect user to connect a brokerage account.
3590
- * @type {string}
3591
- * @memberof LoginRedirectURI
3564
+ * @type {TransactionsStatus}
3565
+ * @memberof DepositAccountSyncStatus
3592
3566
  */
3593
- 'redirectURI'?: string;
3567
+ 'transactions'?: TransactionsStatus;
3594
3568
  /**
3595
- * ID to identify the connection portal session.
3569
+ * Date in ISO 8601 format or null (YYYY-MM-DD HH:MM:SS.mmmmmmTZ)
3596
3570
  * @type {string}
3597
- * @memberof LoginRedirectURI
3571
+ * @memberof DepositAccountSyncStatus
3598
3572
  */
3599
- 'sessionId'?: string;
3573
+ 'balances'?: string | null;
3600
3574
  }
3601
3575
  //#endregion
3602
- //#region models/authentication-login-snap-trade-user200-response.d.ts
3603
- /**
3604
- * @type AuthenticationLoginSnapTradeUser200Response
3605
- * @export
3606
- */
3607
- type AuthenticationLoginSnapTradeUser200Response = EncryptedResponse | LoginRedirectURI;
3608
- //#endregion
3609
- //#region models/brokerage-authorization-disabled-confirmation.d.ts
3576
+ //#region models/deposit-account.d.ts
3610
3577
  /**
3611
- * Confirmation that the connection has been disabled.
3578
+ * A deposit account (checking, savings) under a connection.
3612
3579
  * @export
3613
- * @interface BrokerageAuthorizationDisabledConfirmation
3580
+ * @interface DepositAccount
3614
3581
  */
3615
- interface BrokerageAuthorizationDisabledConfirmation {
3582
+ interface DepositAccount {
3616
3583
  [key: string]: any;
3617
3584
  /**
3618
- * Connection disabled confirmation
3585
+ * Discriminator for the account kind.
3619
3586
  * @type {string}
3620
- * @memberof BrokerageAuthorizationDisabledConfirmation
3587
+ * @memberof DepositAccount
3621
3588
  */
3622
- 'detail'?: string;
3623
- }
3624
- //#endregion
3625
- //#region models/brokerage-authorization-refresh-confirmation.d.ts
3626
- /**
3627
- * Confirmation that the syncs have been scheduled.
3628
- * @export
3629
- * @interface BrokerageAuthorizationRefreshConfirmation
3630
- */
3631
- interface BrokerageAuthorizationRefreshConfirmation {
3632
- [key: string]: any;
3589
+ 'kind': DepositAccountKindEnum;
3633
3590
  /**
3634
- * Refresh confirmation details
3591
+ * Unique identifier for the connected institution account. This is the UUID used to reference the account in SnapTrade.
3635
3592
  * @type {string}
3636
- * @memberof BrokerageAuthorizationRefreshConfirmation
3593
+ * @memberof DepositAccount
3637
3594
  */
3638
- 'detail'?: string;
3639
- }
3640
- //#endregion
3641
- //#region models/brokerage-authorization-transactions-sync-confirmation.d.ts
3642
- /**
3643
- * Confirmation that the transaction syncs have been scheduled.
3644
- * @export
3645
- * @interface BrokerageAuthorizationTransactionsSyncConfirmation
3646
- */
3647
- interface BrokerageAuthorizationTransactionsSyncConfirmation {
3648
- [key: string]: any;
3595
+ 'id': string;
3649
3596
  /**
3650
- * Transactions sync confirmation details
3597
+ * Unique identifier for the connection (brokerage_authorization_id). This is the UUID used to reference the connection in SnapTrade.
3651
3598
  * @type {string}
3652
- * @memberof BrokerageAuthorizationTransactionsSyncConfirmation
3599
+ * @memberof DepositAccount
3653
3600
  */
3654
- 'detail'?: string;
3655
- }
3656
- //#endregion
3657
- //#region models/brokerage-authorization-type-read-only-brokerage.d.ts
3658
- /**
3659
- *
3660
- * @export
3661
- * @interface BrokerageAuthorizationTypeReadOnlyBrokerage
3662
- */
3663
- interface BrokerageAuthorizationTypeReadOnlyBrokerage {
3664
- [key: string]: any;
3601
+ 'connection_id': string;
3665
3602
  /**
3666
- *
3603
+ * A display name for the account. Either assigned by the user or by the institution itself.
3667
3604
  * @type {string}
3668
- * @memberof BrokerageAuthorizationTypeReadOnlyBrokerage
3605
+ * @memberof DepositAccount
3669
3606
  */
3670
- 'id'?: string;
3607
+ 'display_name'?: string | null;
3671
3608
  /**
3672
- * Full name of the brokerage.
3609
+ * The account number assigned by the institution, masked to the last 4 characters (e.g. `****4821`).
3673
3610
  * @type {string}
3674
- * @memberof BrokerageAuthorizationTypeReadOnlyBrokerage
3611
+ * @memberof DepositAccount
3675
3612
  */
3676
- 'name'?: string;
3613
+ 'masked_account_number': string;
3677
3614
  /**
3678
- * A unique identifier for that brokerage. It is usually the name of the brokerage in capital letters and will never change.
3615
+ * A stable and unique account identifier provided by the institution. Will be set to null if not provided. When present, can be used to check if a user has connected the same institution account across multiple connections.
3679
3616
  * @type {string}
3680
- * @memberof BrokerageAuthorizationTypeReadOnlyBrokerage
3617
+ * @memberof DepositAccount
3681
3618
  */
3682
- 'slug'?: string;
3683
- }
3684
- //#endregion
3685
- //#region models/brokerage-authorization-type-read-only.d.ts
3686
- /**
3687
- *
3688
- * @export
3689
- * @interface BrokerageAuthorizationTypeReadOnly
3690
- */
3691
- interface BrokerageAuthorizationTypeReadOnly {
3692
- [key: string]: any;
3619
+ 'institution_account_id'?: string | null;
3693
3620
  /**
3694
- *
3621
+ * Unique identifier for the institution that holds the account.
3695
3622
  * @type {string}
3696
- * @memberof BrokerageAuthorizationTypeReadOnly
3623
+ * @memberof DepositAccount
3697
3624
  */
3698
- 'id'?: string;
3625
+ 'institution_id'?: string;
3699
3626
  /**
3700
- *
3627
+ * Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format indicating when the account was opened at the institution. Only populated for institutions that expose this data; `null` for all other institutions.
3701
3628
  * @type {string}
3702
- * @memberof BrokerageAuthorizationTypeReadOnly
3629
+ * @memberof DepositAccount
3703
3630
  */
3704
- 'type'?: BrokerageAuthorizationTypeReadOnlyTypeEnum;
3631
+ 'opening_date'?: string | null;
3705
3632
  /**
3706
3633
  *
3634
+ * @type {DepositAccountSyncStatus}
3635
+ * @memberof DepositAccount
3636
+ */
3637
+ 'sync_status': DepositAccountSyncStatus;
3638
+ /**
3639
+ * The account type as provided by the institution.
3707
3640
  * @type {string}
3708
- * @memberof BrokerageAuthorizationTypeReadOnly
3641
+ * @memberof DepositAccount
3709
3642
  */
3710
- 'auth_type'?: BrokerageAuthorizationTypeReadOnlyAuthTypeEnum;
3643
+ 'raw_type'?: string | null;
3711
3644
  /**
3712
3645
  *
3713
- * @type {BrokerageAuthorizationTypeReadOnlyBrokerage}
3714
- * @memberof BrokerageAuthorizationTypeReadOnly
3646
+ * @type {DepositAccountNetValue}
3647
+ * @memberof DepositAccount
3715
3648
  */
3716
- 'brokerage'?: BrokerageAuthorizationTypeReadOnlyBrokerage;
3649
+ 'net_value'?: DepositAccountNetValue | null;
3717
3650
  }
3718
- type BrokerageAuthorizationTypeReadOnlyTypeEnum = 'read' | 'trade';
3719
- type BrokerageAuthorizationTypeReadOnlyAuthTypeEnum = 'OAUTH' | 'SCRAPE' | 'UNOFFICIAL_API' | 'TOKEN';
3651
+ type DepositAccountKindEnum = 'deposit';
3720
3652
  //#endregion
3721
- //#region models/brokerage-instrument.d.ts
3653
+ //#region models/connection-account-sync-status.d.ts
3722
3654
  /**
3723
- *
3655
+ * Contains status updates for the account sync process between SnapTrade and the institution, used by `InvestmentAccount` in `Connections_listConnectionAccounts`. Each property is optional -- an institution may not report sync status for every data type. `orders`/`positions`/`balances` are the timestamp of the last successful sync of that data type (null if never synced). See `DepositAccountSyncStatus`/`LineOfCreditAccountSyncStatus` for the deposit/line-of-credit counterparts, which omit `orders`/`positions` since those account kinds don\'t place orders or hold positions.
3724
3656
  * @export
3725
- * @interface BrokerageInstrument
3657
+ * @interface ConnectionAccountSyncStatus
3726
3658
  */
3727
- interface BrokerageInstrument {
3659
+ interface ConnectionAccountSyncStatus {
3728
3660
  [key: string]: any;
3729
3661
  /**
3730
- * The instrument\'s trading symbol / ticker.
3731
- * @type {string}
3732
- * @memberof BrokerageInstrument
3662
+ *
3663
+ * @type {TransactionsStatus}
3664
+ * @memberof ConnectionAccountSyncStatus
3733
3665
  */
3734
- 'symbol': string;
3666
+ 'transactions'?: TransactionsStatus;
3735
3667
  /**
3736
- * The MIC code of the exchange where the instrument is traded.
3668
+ * Date in ISO 8601 format or null (YYYY-MM-DD HH:MM:SS.mmmmmmTZ)
3737
3669
  * @type {string}
3738
- * @memberof BrokerageInstrument
3739
- */
3740
- 'exchange_mic'?: string | null;
3741
- /**
3742
- * Whether the instrument is tradeable through the brokerage. `null` if the tradeability is unknown.
3743
- * @type {boolean}
3744
- * @memberof BrokerageInstrument
3670
+ * @memberof ConnectionAccountSyncStatus
3745
3671
  */
3746
- 'tradeable'?: boolean | null;
3672
+ 'orders'?: string | null;
3747
3673
  /**
3748
- * Whether the instrument allows fractional units. `null` if the fractionability is unknown.
3749
- * @type {boolean}
3750
- * @memberof BrokerageInstrument
3674
+ * Date in ISO 8601 format or null (YYYY-MM-DD HH:MM:SS.mmmmmmTZ)
3675
+ * @type {string}
3676
+ * @memberof ConnectionAccountSyncStatus
3751
3677
  */
3752
- 'fractionable'?: boolean | null;
3678
+ 'positions'?: string | null;
3753
3679
  /**
3754
- * The universal symbol ID of the instrument. This is the ID used to reference the instrument in SnapTrade API calls.
3680
+ * Date in ISO 8601 format or null (YYYY-MM-DD HH:MM:SS.mmmmmmTZ)
3755
3681
  * @type {string}
3756
- * @memberof BrokerageInstrument
3682
+ * @memberof ConnectionAccountSyncStatus
3757
3683
  */
3758
- 'universal_symbol_id'?: string | null;
3684
+ 'balances'?: string | null;
3759
3685
  }
3760
3686
  //#endregion
3761
- //#region models/brokerage-instruments-response.d.ts
3687
+ //#region models/investment-account-net-value.d.ts
3762
3688
  /**
3763
- *
3689
+ * Net value of the account -- total market value for investment accounts. Shared across all account kinds -- negative for `line_of_credit` accounts, representing money owed. Null when unknown (e.g. a real-time fetch failed and no cached value exists).
3764
3690
  * @export
3765
- * @interface BrokerageInstrumentsResponse
3691
+ * @interface InvestmentAccountNetValue
3766
3692
  */
3767
- interface BrokerageInstrumentsResponse {
3693
+ interface InvestmentAccountNetValue {
3768
3694
  [key: string]: any;
3769
3695
  /**
3770
3696
  *
3771
- * @type {Array<BrokerageInstrument>}
3772
- * @memberof BrokerageInstrumentsResponse
3697
+ * @type {number}
3698
+ * @memberof InvestmentAccountNetValue
3773
3699
  */
3774
- 'instruments'?: Array<BrokerageInstrument>;
3700
+ 'amount'?: number | null;
3701
+ /**
3702
+ *
3703
+ * @type {string}
3704
+ * @memberof InvestmentAccountNetValue
3705
+ */
3706
+ 'currency'?: string | null;
3775
3707
  }
3776
3708
  //#endregion
3777
- //#region models/cancel-order-response.d.ts
3709
+ //#region models/investment-account.d.ts
3778
3710
  /**
3779
- *
3711
+ * An investment account under a connection. `opening_date`, `funding_date`, and `net_value` are real-time or cached depending on the caller\'s plan -- see `Connections_listConnectionAccounts` -- and always cached on `AccountInformation_listAllUserAccounts`.
3780
3712
  * @export
3781
- * @interface CancelOrderResponse
3713
+ * @interface InvestmentAccount
3782
3714
  */
3783
- interface CancelOrderResponse {
3715
+ interface InvestmentAccount {
3784
3716
  [key: string]: any;
3785
3717
  /**
3786
- * Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
3718
+ * Discriminator for the account kind.
3787
3719
  * @type {string}
3788
- * @memberof CancelOrderResponse
3720
+ * @memberof InvestmentAccount
3789
3721
  */
3790
- 'brokerage_order_id': string;
3722
+ 'kind': InvestmentAccountKindEnum;
3791
3723
  /**
3792
- * The raw response from the brokerage.
3793
- * @type {{ [key: string]: any; }}
3794
- * @memberof CancelOrderResponse
3724
+ * Unique identifier for the connected institution account. This is the UUID used to reference the account in SnapTrade.
3725
+ * @type {string}
3726
+ * @memberof InvestmentAccount
3795
3727
  */
3796
- 'raw_response'?: {
3797
- [key: string]: any;
3798
- } | null;
3799
- }
3800
- //#endregion
3801
- //#region models/child-brokerage-order-ids.d.ts
3802
- /**
3803
- *
3804
- * @export
3805
- * @interface ChildBrokerageOrderIDs
3806
- */
3807
- interface ChildBrokerageOrderIDs {
3808
- [key: string]: any;
3728
+ 'id': string;
3809
3729
  /**
3810
- * The brokerage order ID for the take profit leg of the bracket order
3730
+ * Unique identifier for the connection (brokerage_authorization_id). This is the UUID used to reference the connection in SnapTrade.
3811
3731
  * @type {string}
3812
- * @memberof ChildBrokerageOrderIDs
3732
+ * @memberof InvestmentAccount
3813
3733
  */
3814
- 'take_profit_order_id'?: string;
3734
+ 'connection_id': string;
3815
3735
  /**
3816
- * The brokerage order ID for the stop loss leg of the bracket order
3736
+ * A display name for the account. Either assigned by the user or by the institution itself.
3817
3737
  * @type {string}
3818
- * @memberof ChildBrokerageOrderIDs
3738
+ * @memberof InvestmentAccount
3819
3739
  */
3820
- 'stop_loss_order_id'?: string;
3821
- }
3822
- //#endregion
3823
- //#region models/order-type-strict.d.ts
3824
- /**
3825
- * The type of order to place. - For `Limit` and `StopLimit` orders, the `price` field is required. - For `Stop` and `StopLimit` orders, the `stop` field is required.
3826
- * @export
3827
- * @enum {string}
3828
- */
3829
- type OrderTypeStrict = 'Limit' | 'Market' | 'StopLimit' | 'Stop';
3830
- //#endregion
3831
- //#region models/time-in-force-strict.d.ts
3832
- /**
3833
- * The Time in Force type for the order. This field indicates how long the order will remain active before it is executed or expires. Here are the supported values: - `Day` - Day. The order is valid only for the trading day on which it is placed. - `GTC` - Good Til Canceled. The order is valid until it is executed or canceled. - `FOK` - Fill Or Kill. The order must be executed in its entirety immediately or be canceled completely. - `IOC` - Immediate Or Cancel. The order must be executed immediately. Any portion of the order that cannot be filled immediately will be canceled.
3834
- * @export
3835
- * @enum {string}
3836
- */
3837
- type TimeInForceStrict = 'FOK' | 'Day' | 'GTC' | 'IOC';
3838
- //#endregion
3839
- //#region models/trading-instrument.d.ts
3840
- /**
3841
- *
3842
- * @export
3843
- * @interface TradingInstrument
3844
- */
3845
- interface TradingInstrument {
3846
- [key: string]: any;
3740
+ 'display_name'?: string | null;
3847
3741
  /**
3848
- * The instrument\'s trading ticker symbol. This currently supports stock symbols and Options symbols in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format)
3742
+ * The account number assigned by the institution, masked to the last 4 characters (e.g. `****8443`).
3849
3743
  * @type {string}
3850
- * @memberof TradingInstrument
3744
+ * @memberof InvestmentAccount
3851
3745
  */
3852
- 'symbol': string;
3746
+ 'masked_account_number': string;
3853
3747
  /**
3854
- * The instrument\'s type
3748
+ * A stable and unique account identifier provided by the institution. Will be set to null if not provided. When present, can be used to check if a user has connected the same institution account across multiple connections.
3855
3749
  * @type {string}
3856
- * @memberof TradingInstrument
3750
+ * @memberof InvestmentAccount
3857
3751
  */
3858
- 'type': TradingInstrumentTypeEnum;
3859
- }
3860
- type TradingInstrumentTypeEnum = 'EQUITY' | 'OPTION' | 'CRYPTOCURRENCY' | 'CRYPTOCURRENCY_PAIR';
3861
- //#endregion
3862
- //#region models/complex-order-leg.d.ts
3863
- /**
3864
- * A single order within a complex group. For option OCOs, each peer trades one option contract type.
3865
- * @export
3866
- * @interface ComplexOrderLeg
3867
- */
3868
- interface ComplexOrderLeg {
3869
- [key: string]: any;
3752
+ 'institution_account_id'?: string | null;
3870
3753
  /**
3871
- * The role of this leg within the complex order.
3754
+ * Unique identifier for the institution that holds the account.
3872
3755
  * @type {string}
3873
- * @memberof ComplexOrderLeg
3756
+ * @memberof InvestmentAccount
3874
3757
  */
3875
- 'order_role': ComplexOrderLegOrderRoleEnum;
3758
+ 'institution_id'?: string;
3876
3759
  /**
3877
- * The action describes the intent or side of a trade. This is either `BUY` or `SELL` for Equity symbols or `BUY_TO_OPEN`, `BUY_TO_CLOSE`, `SELL_TO_OPEN` or `SELL_TO_CLOSE` for Options.
3878
- * @type {ActionStrictWithOptions}
3879
- * @memberof ComplexOrderLeg
3760
+ * Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format indicating when the account was opened at the institution. Only populated for institutions that expose this data; `null` for all other institutions. See [supported institutions](https://support.snaptrade.com/brokerages) for the full list.
3761
+ * @type {string}
3762
+ * @memberof InvestmentAccount
3880
3763
  */
3881
- 'action': ActionStrictWithOptions;
3764
+ 'opening_date'?: string | null;
3765
+ /**
3766
+ * Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format indicating when the account was funded. Only populated for institutions that expose this data; `null` for all other institutions. See [supported institutions](https://support.snaptrade.com/brokerages) for the full list.
3767
+ * @type {string}
3768
+ * @memberof InvestmentAccount
3769
+ */
3770
+ 'funding_date'?: string | null;
3882
3771
  /**
3883
3772
  *
3884
- * @type {TradingInstrument}
3885
- * @memberof ComplexOrderLeg
3773
+ * @type {ConnectionAccountSyncStatus}
3774
+ * @memberof InvestmentAccount
3886
3775
  */
3887
- 'instrument': TradingInstrument;
3776
+ 'sync_status': ConnectionAccountSyncStatus;
3888
3777
  /**
3889
- * The type of order to place. - For `Limit` and `StopLimit` orders, the `price` field is required. - For `Stop` and `StopLimit` orders, the `stop` field is required.
3890
- * @type {OrderTypeStrict}
3891
- * @memberof ComplexOrderLeg
3778
+ * The account type as provided by the institution.
3779
+ * @type {string}
3780
+ * @memberof InvestmentAccount
3892
3781
  */
3893
- 'order_type': OrderTypeStrict;
3782
+ 'raw_type'?: string | null;
3894
3783
  /**
3895
- * A positive whole number of shares or option contracts. Option OCO peers must use the same quantity.
3896
- * @type {number}
3897
- * @memberof ComplexOrderLeg
3784
+ * Whether the institution reports the account as a cash or margin account, normalized across institutions. - `cash`: A cash account. The account cannot borrow on margin. - `margin`: A margin account, including portfolio margin accounts. Some institutions also report retirement accounts with limited margin (for example, trading before funds settle) as margin accounts. - `unknown`: The institution does not report whether the account is cash or margin. **Beta:** only returned for some institutions and partners it has been enabled for. Omitted otherwise.
3785
+ * @type {string}
3786
+ * @memberof InvestmentAccount
3898
3787
  */
3899
- 'units': number;
3788
+ 'account_type'?: InvestmentAccountAccountTypeEnum;
3900
3789
  /**
3901
- * The Time in Force type for the order. This field indicates how long the order will remain active before it is executed or expires. Here are the supported values: - `Day` - Day. The order is valid only for the trading day on which it is placed. - `GTC` - Good Til Canceled. The order is valid until it is executed or canceled. - `FOK` - Fill Or Kill. The order must be executed in its entirety immediately or be canceled completely. - `IOC` - Immediate Or Cancel. The order must be executed immediately. Any portion of the order that cannot be filled immediately will be canceled.
3902
- * @type {TimeInForceStrict}
3903
- * @memberof ComplexOrderLeg
3790
+ * Indicates whether the account is a paper (simulated) trading account.
3791
+ * @type {boolean}
3792
+ * @memberof InvestmentAccount
3904
3793
  */
3905
- 'time_in_force': TimeInForceStrict;
3794
+ 'is_paper': boolean;
3906
3795
  /**
3907
- * The limit price. Required when `order_type` is `Limit` or `StopLimit`.
3908
- * @type {number}
3909
- * @memberof ComplexOrderLeg
3796
+ *
3797
+ * @type {InvestmentAccountNetValue}
3798
+ * @memberof InvestmentAccount
3910
3799
  */
3911
- 'price'?: number | null;
3800
+ 'net_value'?: InvestmentAccountNetValue | null;
3801
+ }
3802
+ type InvestmentAccountKindEnum = 'investment';
3803
+ type InvestmentAccountAccountTypeEnum = 'cash' | 'margin' | 'unknown';
3804
+ //#endregion
3805
+ //#region models/line-of-credit-account-available-credit.d.ts
3806
+ /**
3807
+ * The remaining credit available to spend on the account (credit limit less the current balance). Omitted when no such data is available.
3808
+ * @export
3809
+ * @interface LineOfCreditAccountAvailableCredit
3810
+ */
3811
+ interface LineOfCreditAccountAvailableCredit {
3812
+ [key: string]: any;
3912
3813
  /**
3913
- * The stop trigger price. Required when `order_type` is `Stop` or `StopLimit`.
3814
+ *
3914
3815
  * @type {number}
3915
- * @memberof ComplexOrderLeg
3816
+ * @memberof LineOfCreditAccountAvailableCredit
3916
3817
  */
3917
- 'stop'?: number | null;
3818
+ 'amount'?: number | null;
3819
+ /**
3820
+ *
3821
+ * @type {string}
3822
+ * @memberof LineOfCreditAccountAvailableCredit
3823
+ */
3824
+ 'currency'?: string | null;
3918
3825
  }
3919
- type ComplexOrderLegOrderRoleEnum = 'TRIGGER' | 'CONDITIONAL' | 'PEER';
3920
3826
  //#endregion
3921
- //#region models/complex-order-response.d.ts
3827
+ //#region models/line-of-credit-account-minimum-payment-amount.d.ts
3922
3828
  /**
3923
- * Response returned after successfully placing a complex order. AccountOrderRecord rows for the legs are not created synchronously — they\'re hydrated by the next brokerage sync, and can be queried later using the returned `brokerage_group_order_id`.
3829
+ * The minimum payment due on the account\'s next statement. Omitted when no such data is available.
3924
3830
  * @export
3925
- * @interface ComplexOrderResponse
3831
+ * @interface LineOfCreditAccountMinimumPaymentAmount
3926
3832
  */
3927
- interface ComplexOrderResponse {
3833
+ interface LineOfCreditAccountMinimumPaymentAmount {
3928
3834
  [key: string]: any;
3929
3835
  /**
3930
- * The complex order type that was placed.
3931
- * @type {string}
3932
- * @memberof ComplexOrderResponse
3836
+ *
3837
+ * @type {number}
3838
+ * @memberof LineOfCreditAccountMinimumPaymentAmount
3933
3839
  */
3934
- 'type'?: ComplexOrderResponseTypeEnum;
3840
+ 'amount'?: number | null;
3935
3841
  /**
3936
- * The brokerage-assigned identifier that links all legs of this complex order together. Each leg will eventually appear as a separate AccountOrderRecord sharing this value. May be null if the brokerage does not return a group identifier.
3842
+ *
3937
3843
  * @type {string}
3938
- * @memberof ComplexOrderResponse
3844
+ * @memberof LineOfCreditAccountMinimumPaymentAmount
3939
3845
  */
3940
- 'brokerage_group_order_id'?: string | null;
3846
+ 'currency'?: string | null;
3941
3847
  }
3942
- type ComplexOrderResponseTypeEnum = 'OCO' | 'OTO' | 'OTOCO';
3943
3848
  //#endregion
3944
- //#region models/deposit-account-net-value.d.ts
3849
+ //#region models/line-of-credit-account-net-value.d.ts
3945
3850
  /**
3946
- * Net value of the account -- cash balance for deposit accounts. Shared across all account kinds -- negative for `line_of_credit` accounts, representing money owed. Null when unknown (e.g. a real-time fetch failed and no cached value exists).
3851
+ * Net value of the account -- negative, representing money owed. Shared across all account kinds. Null when unknown (e.g. a real-time fetch failed and no cached value exists).
3947
3852
  * @export
3948
- * @interface DepositAccountNetValue
3853
+ * @interface LineOfCreditAccountNetValue
3949
3854
  */
3950
- interface DepositAccountNetValue {
3855
+ interface LineOfCreditAccountNetValue {
3951
3856
  [key: string]: any;
3952
3857
  /**
3953
3858
  *
3954
3859
  * @type {number}
3955
- * @memberof DepositAccountNetValue
3860
+ * @memberof LineOfCreditAccountNetValue
3956
3861
  */
3957
3862
  'amount'?: number | null;
3958
3863
  /**
3959
3864
  *
3960
3865
  * @type {string}
3961
- * @memberof DepositAccountNetValue
3866
+ * @memberof LineOfCreditAccountNetValue
3962
3867
  */
3963
3868
  'currency'?: string | null;
3964
3869
  }
3965
3870
  //#endregion
3966
- //#region models/deposit-account-sync-status.d.ts
3871
+ //#region models/line-of-credit-account-sync-status.d.ts
3967
3872
  /**
3968
- * Contains status updates for the account sync process between SnapTrade and the institution, used by `DepositAccount` in `Connections_listConnectionAccounts`. Each property is optional -- an institution may not report sync status for every data type. Deposit accounts don\'t place orders or hold positions, so unlike `ConnectionAccountSyncStatus` this type has no `orders` or `positions` field. `balances` is the timestamp of the last successful sync of that data type (null if never synced).
3873
+ * Contains status updates for the account sync process between SnapTrade and the institution, used by `LineOfCreditAccount` in `Connections_listConnectionAccounts`. Each property is optional -- an institution may not report sync status for every data type. Line-of-credit accounts don\'t place orders or hold positions, so like `DepositAccountSyncStatus` this type has no `orders` or `positions` field. `balances` is the timestamp of the last successful sync of that data type (null if never synced).
3969
3874
  * @export
3970
- * @interface DepositAccountSyncStatus
3875
+ * @interface LineOfCreditAccountSyncStatus
3971
3876
  */
3972
- interface DepositAccountSyncStatus {
3877
+ interface LineOfCreditAccountSyncStatus {
3973
3878
  [key: string]: any;
3974
3879
  /**
3975
3880
  *
3976
3881
  * @type {TransactionsStatus}
3977
- * @memberof DepositAccountSyncStatus
3882
+ * @memberof LineOfCreditAccountSyncStatus
3978
3883
  */
3979
3884
  'transactions'?: TransactionsStatus;
3980
3885
  /**
3981
3886
  * Date in ISO 8601 format or null (YYYY-MM-DD HH:MM:SS.mmmmmmTZ)
3982
3887
  * @type {string}
3983
- * @memberof DepositAccountSyncStatus
3888
+ * @memberof LineOfCreditAccountSyncStatus
3984
3889
  */
3985
3890
  'balances'?: string | null;
3986
3891
  }
3987
3892
  //#endregion
3988
- //#region models/deposit-account.d.ts
3893
+ //#region models/line-of-credit-account.d.ts
3989
3894
  /**
3990
- * A deposit account (checking, savings) under a connection.
3895
+ * A line-of-credit account (e.g. a credit card) under a connection.
3991
3896
  * @export
3992
- * @interface DepositAccount
3897
+ * @interface LineOfCreditAccount
3993
3898
  */
3994
- interface DepositAccount {
3899
+ interface LineOfCreditAccount {
3995
3900
  [key: string]: any;
3996
3901
  /**
3997
3902
  * Discriminator for the account kind.
3998
3903
  * @type {string}
3999
- * @memberof DepositAccount
3904
+ * @memberof LineOfCreditAccount
4000
3905
  */
4001
- 'kind': DepositAccountKindEnum;
3906
+ 'kind': LineOfCreditAccountKindEnum;
4002
3907
  /**
4003
3908
  * Unique identifier for the connected institution account. This is the UUID used to reference the account in SnapTrade.
4004
3909
  * @type {string}
4005
- * @memberof DepositAccount
3910
+ * @memberof LineOfCreditAccount
4006
3911
  */
4007
3912
  'id': string;
4008
3913
  /**
4009
3914
  * Unique identifier for the connection (brokerage_authorization_id). This is the UUID used to reference the connection in SnapTrade.
4010
3915
  * @type {string}
4011
- * @memberof DepositAccount
3916
+ * @memberof LineOfCreditAccount
4012
3917
  */
4013
3918
  'connection_id': string;
4014
3919
  /**
4015
3920
  * A display name for the account. Either assigned by the user or by the institution itself.
4016
3921
  * @type {string}
4017
- * @memberof DepositAccount
3922
+ * @memberof LineOfCreditAccount
4018
3923
  */
4019
3924
  'display_name'?: string | null;
4020
3925
  /**
4021
- * The account number assigned by the institution, masked to the last 4 characters (e.g. `****4821`).
3926
+ * The account number assigned by the institution, masked to the last 4 characters (e.g. `****1881`).
4022
3927
  * @type {string}
4023
- * @memberof DepositAccount
3928
+ * @memberof LineOfCreditAccount
4024
3929
  */
4025
3930
  'masked_account_number': string;
4026
3931
  /**
4027
3932
  * A stable and unique account identifier provided by the institution. Will be set to null if not provided. When present, can be used to check if a user has connected the same institution account across multiple connections.
4028
3933
  * @type {string}
4029
- * @memberof DepositAccount
3934
+ * @memberof LineOfCreditAccount
4030
3935
  */
4031
3936
  'institution_account_id'?: string | null;
4032
3937
  /**
4033
3938
  * Unique identifier for the institution that holds the account.
4034
3939
  * @type {string}
4035
- * @memberof DepositAccount
3940
+ * @memberof LineOfCreditAccount
4036
3941
  */
4037
3942
  'institution_id'?: string;
4038
3943
  /**
4039
3944
  * Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format indicating when the account was opened at the institution. Only populated for institutions that expose this data; `null` for all other institutions.
4040
3945
  * @type {string}
4041
- * @memberof DepositAccount
3946
+ * @memberof LineOfCreditAccount
4042
3947
  */
4043
3948
  'opening_date'?: string | null;
4044
3949
  /**
4045
3950
  *
4046
- * @type {DepositAccountSyncStatus}
4047
- * @memberof DepositAccount
3951
+ * @type {LineOfCreditAccountSyncStatus}
3952
+ * @memberof LineOfCreditAccount
4048
3953
  */
4049
- 'sync_status': DepositAccountSyncStatus;
3954
+ 'sync_status': LineOfCreditAccountSyncStatus;
4050
3955
  /**
4051
3956
  * The account type as provided by the institution.
4052
3957
  * @type {string}
4053
- * @memberof DepositAccount
3958
+ * @memberof LineOfCreditAccount
3959
+ */
3960
+ 'raw_type'?: string | null;
3961
+ /**
3962
+ *
3963
+ * @type {LineOfCreditAccountNetValue}
3964
+ * @memberof LineOfCreditAccount
3965
+ */
3966
+ 'net_value'?: LineOfCreditAccountNetValue | null;
3967
+ /**
3968
+ *
3969
+ * @type {LineOfCreditAccountMinimumPaymentAmount}
3970
+ * @memberof LineOfCreditAccount
3971
+ */
3972
+ 'minimum_payment_amount'?: LineOfCreditAccountMinimumPaymentAmount | null;
3973
+ /**
3974
+ *
3975
+ * @type {LineOfCreditAccountAvailableCredit}
3976
+ * @memberof LineOfCreditAccount
3977
+ */
3978
+ 'available_credit'?: LineOfCreditAccountAvailableCredit | null;
3979
+ /**
3980
+ * The date the account\'s next payment is due, in `YYYY-MM-DD` format. Omitted when no such data is available.
3981
+ * @type {string}
3982
+ * @memberof LineOfCreditAccount
3983
+ */
3984
+ 'next_payment_date'?: string | null;
3985
+ }
3986
+ type LineOfCreditAccountKindEnum = 'line_of_credit';
3987
+ //#endregion
3988
+ //#region models/connection-account.d.ts
3989
+ /**
3990
+ * @type ConnectionAccount
3991
+ * A single account under a connection, from the `kind`-discriminated union used by `Connections_listConnectionAccounts` and `AccountInformation_listAllUserAccounts`. Use `kind` to determine which schema is present. `investment`, `deposit`, and `line_of_credit` are implemented today.
3992
+ * @export
3993
+ */
3994
+ type ConnectionAccount = {
3995
+ kind: 'deposit';
3996
+ } & DepositAccount | {
3997
+ kind: 'investment';
3998
+ } & InvestmentAccount | {
3999
+ kind: 'line_of_credit';
4000
+ } & LineOfCreditAccount;
4001
+ //#endregion
4002
+ //#region models/all-user-accounts-response.d.ts
4003
+ /**
4004
+ * Accounts across all of the user\'s connections.
4005
+ * @export
4006
+ * @interface AllUserAccountsResponse
4007
+ */
4008
+ interface AllUserAccountsResponse {
4009
+ [key: string]: any;
4010
+ /**
4011
+ * Accounts returned for the request.
4012
+ * @type {Array<ConnectionAccount>}
4013
+ * @memberof AllUserAccountsResponse
4014
+ */
4015
+ 'results': Array<ConnectionAccount>;
4016
+ }
4017
+ //#endregion
4018
+ //#region models/encrypted-response-encrypted-message-data.d.ts
4019
+ /**
4020
+ *
4021
+ * @export
4022
+ * @interface EncryptedResponseEncryptedMessageData
4023
+ */
4024
+ interface EncryptedResponseEncryptedMessageData {
4025
+ [key: string]: any;
4026
+ /**
4027
+ *
4028
+ * @type {string}
4029
+ * @memberof EncryptedResponseEncryptedMessageData
4030
+ */
4031
+ 'encryptedMessage'?: string;
4032
+ /**
4033
+ *
4034
+ * @type {string}
4035
+ * @memberof EncryptedResponseEncryptedMessageData
4036
+ */
4037
+ 'tag'?: string;
4038
+ /**
4039
+ *
4040
+ * @type {string}
4041
+ * @memberof EncryptedResponseEncryptedMessageData
4042
+ */
4043
+ 'nonce'?: string;
4044
+ }
4045
+ //#endregion
4046
+ //#region models/encrypted-response.d.ts
4047
+ /**
4048
+ * This response consists of 2 different components that must be decrypted to obtain the decrypted message * Decrypting the encryptedSharedKey The encrypted shared key is a shared key that was randomly generated by SnapTrade and encrypted using the users SSH public key provided when registering the user It is needed to decrypt the message in step 2. To decrypt the shared key, the user should have access to their SSH private key stored locally in their device An example Python code on how to decrypt the shared key is shown below ``` def decrypt_rsa_message(self, encrypted_message): from Crypto.Cipher import PKCS1_OAEP from Crypto.PublicKey import RSA from base64 import b64decode f = open(\'private.pem\', \'r\') private_key = RSA.import_key(f.read()) cipher = PKCS1_OAEP.new(private_key) return cipher.decrypt(b64decode(encrypted_message.encode())).decode() ``` * Decrypting the encryptedMessageData The data meant to be returned by an endpoint can be obtained by decrypting the encrypted message An encrypted message is a message that is encrypted using AES - MODE OCB with the shared key obtained in step one An example code to decrypt the encrypted message is shown below ``` def decrypt_aes_message(self, shared_key, encrypted_message): from Crypto.Cipher import AES from base64 import b64decode encrypted_msg = b64decode(encrypted_message[\"encryptedMessage\"].encode()) tag = b64decode(encrypted_message[\"tag\"].encode()) nonce = b64decode(encrypted_message[\"nonce\"].encode()) cipher = AES.new(shared_key.encode(), AES.MODE_OCB, nonce=nonce) return cipher.decrypt_and_verify(encrypted_msg, tag).decode() ```
4049
+ * @export
4050
+ * @interface EncryptedResponse
4051
+ */
4052
+ interface EncryptedResponse {
4053
+ /**
4054
+ *
4055
+ * @type {string}
4056
+ * @memberof EncryptedResponse
4057
+ */
4058
+ 'encryptedSharedKey'?: string;
4059
+ /**
4060
+ *
4061
+ * @type {EncryptedResponseEncryptedMessageData}
4062
+ * @memberof EncryptedResponse
4063
+ */
4064
+ 'encryptedMessageData'?: EncryptedResponseEncryptedMessageData;
4065
+ }
4066
+ //#endregion
4067
+ //#region models/login-redirect-uri.d.ts
4068
+ /**
4069
+ * Redirect uri upon successful login
4070
+ * @export
4071
+ * @interface LoginRedirectURI
4072
+ */
4073
+ interface LoginRedirectURI {
4074
+ /**
4075
+ * Connection Portal link to redirect user to connect a brokerage account.
4076
+ * @type {string}
4077
+ * @memberof LoginRedirectURI
4054
4078
  */
4055
- 'raw_type'?: string | null;
4079
+ 'redirectURI'?: string;
4056
4080
  /**
4057
- *
4058
- * @type {DepositAccountNetValue}
4059
- * @memberof DepositAccount
4081
+ * ID to identify the connection portal session.
4082
+ * @type {string}
4083
+ * @memberof LoginRedirectURI
4060
4084
  */
4061
- 'net_value'?: DepositAccountNetValue | null;
4085
+ 'sessionId'?: string;
4062
4086
  }
4063
- type DepositAccountKindEnum = 'deposit';
4064
4087
  //#endregion
4065
- //#region models/connection-account-sync-status.d.ts
4088
+ //#region models/authentication-login-snap-trade-user200-response.d.ts
4066
4089
  /**
4067
- * Contains status updates for the account sync process between SnapTrade and the institution, used by `InvestmentAccount` in `Connections_listConnectionAccounts`. Each property is optional -- an institution may not report sync status for every data type. `orders`/`positions`/`balances` are the timestamp of the last successful sync of that data type (null if never synced). See `DepositAccountSyncStatus`/`LineOfCreditAccountSyncStatus` for the deposit/line-of-credit counterparts, which omit `orders`/`positions` since those account kinds don\'t place orders or hold positions.
4090
+ * @type AuthenticationLoginSnapTradeUser200Response
4068
4091
  * @export
4069
- * @interface ConnectionAccountSyncStatus
4070
4092
  */
4071
- interface ConnectionAccountSyncStatus {
4093
+ type AuthenticationLoginSnapTradeUser200Response = EncryptedResponse | LoginRedirectURI;
4094
+ //#endregion
4095
+ //#region models/brokerage-authorization-disabled-confirmation.d.ts
4096
+ /**
4097
+ * Confirmation that the connection has been disabled.
4098
+ * @export
4099
+ * @interface BrokerageAuthorizationDisabledConfirmation
4100
+ */
4101
+ interface BrokerageAuthorizationDisabledConfirmation {
4072
4102
  [key: string]: any;
4073
4103
  /**
4074
- *
4075
- * @type {TransactionsStatus}
4076
- * @memberof ConnectionAccountSyncStatus
4077
- */
4078
- 'transactions'?: TransactionsStatus;
4079
- /**
4080
- * Date in ISO 8601 format or null (YYYY-MM-DD HH:MM:SS.mmmmmmTZ)
4081
- * @type {string}
4082
- * @memberof ConnectionAccountSyncStatus
4083
- */
4084
- 'orders'?: string | null;
4085
- /**
4086
- * Date in ISO 8601 format or null (YYYY-MM-DD HH:MM:SS.mmmmmmTZ)
4104
+ * Connection disabled confirmation
4087
4105
  * @type {string}
4088
- * @memberof ConnectionAccountSyncStatus
4106
+ * @memberof BrokerageAuthorizationDisabledConfirmation
4089
4107
  */
4090
- 'positions'?: string | null;
4108
+ 'detail'?: string;
4109
+ }
4110
+ //#endregion
4111
+ //#region models/brokerage-authorization-refresh-confirmation.d.ts
4112
+ /**
4113
+ * Confirmation that the syncs have been scheduled.
4114
+ * @export
4115
+ * @interface BrokerageAuthorizationRefreshConfirmation
4116
+ */
4117
+ interface BrokerageAuthorizationRefreshConfirmation {
4118
+ [key: string]: any;
4091
4119
  /**
4092
- * Date in ISO 8601 format or null (YYYY-MM-DD HH:MM:SS.mmmmmmTZ)
4120
+ * Refresh confirmation details
4093
4121
  * @type {string}
4094
- * @memberof ConnectionAccountSyncStatus
4122
+ * @memberof BrokerageAuthorizationRefreshConfirmation
4095
4123
  */
4096
- 'balances'?: string | null;
4124
+ 'detail'?: string;
4097
4125
  }
4098
4126
  //#endregion
4099
- //#region models/investment-account-net-value.d.ts
4127
+ //#region models/brokerage-authorization-transactions-sync-confirmation.d.ts
4100
4128
  /**
4101
- * Net value of the account -- total market value for investment accounts. Shared across all account kinds -- negative for `line_of_credit` accounts, representing money owed. Null when unknown (e.g. a real-time fetch failed and no cached value exists).
4129
+ * Confirmation that the transaction syncs have been scheduled.
4102
4130
  * @export
4103
- * @interface InvestmentAccountNetValue
4131
+ * @interface BrokerageAuthorizationTransactionsSyncConfirmation
4104
4132
  */
4105
- interface InvestmentAccountNetValue {
4133
+ interface BrokerageAuthorizationTransactionsSyncConfirmation {
4106
4134
  [key: string]: any;
4107
4135
  /**
4108
- *
4109
- * @type {number}
4110
- * @memberof InvestmentAccountNetValue
4111
- */
4112
- 'amount'?: number | null;
4113
- /**
4114
- *
4136
+ * Transactions sync confirmation details
4115
4137
  * @type {string}
4116
- * @memberof InvestmentAccountNetValue
4138
+ * @memberof BrokerageAuthorizationTransactionsSyncConfirmation
4117
4139
  */
4118
- 'currency'?: string | null;
4140
+ 'detail'?: string;
4119
4141
  }
4120
4142
  //#endregion
4121
- //#region models/investment-account.d.ts
4143
+ //#region models/brokerage-authorization-type-read-only-brokerage.d.ts
4122
4144
  /**
4123
- * An investment account under a connection. `opening_date`, `funding_date`, and `net_value` are real-time or cached depending on the caller\'s plan -- see `Connections_listConnectionAccounts`.
4145
+ *
4124
4146
  * @export
4125
- * @interface InvestmentAccount
4147
+ * @interface BrokerageAuthorizationTypeReadOnlyBrokerage
4126
4148
  */
4127
- interface InvestmentAccount {
4149
+ interface BrokerageAuthorizationTypeReadOnlyBrokerage {
4128
4150
  [key: string]: any;
4129
4151
  /**
4130
- * Discriminator for the account kind.
4152
+ *
4131
4153
  * @type {string}
4132
- * @memberof InvestmentAccount
4154
+ * @memberof BrokerageAuthorizationTypeReadOnlyBrokerage
4133
4155
  */
4134
- 'kind': InvestmentAccountKindEnum;
4156
+ 'id'?: string;
4135
4157
  /**
4136
- * Unique identifier for the connected institution account. This is the UUID used to reference the account in SnapTrade.
4158
+ * Full name of the brokerage.
4137
4159
  * @type {string}
4138
- * @memberof InvestmentAccount
4160
+ * @memberof BrokerageAuthorizationTypeReadOnlyBrokerage
4139
4161
  */
4140
- 'id': string;
4162
+ 'name'?: string;
4141
4163
  /**
4142
- * Unique identifier for the connection (brokerage_authorization_id). This is the UUID used to reference the connection in SnapTrade.
4164
+ * A unique identifier for that brokerage. It is usually the name of the brokerage in capital letters and will never change.
4143
4165
  * @type {string}
4144
- * @memberof InvestmentAccount
4166
+ * @memberof BrokerageAuthorizationTypeReadOnlyBrokerage
4145
4167
  */
4146
- 'connection_id': string;
4168
+ 'slug'?: string;
4169
+ }
4170
+ //#endregion
4171
+ //#region models/brokerage-authorization-type-read-only.d.ts
4172
+ /**
4173
+ *
4174
+ * @export
4175
+ * @interface BrokerageAuthorizationTypeReadOnly
4176
+ */
4177
+ interface BrokerageAuthorizationTypeReadOnly {
4178
+ [key: string]: any;
4147
4179
  /**
4148
- * A display name for the account. Either assigned by the user or by the institution itself.
4180
+ *
4149
4181
  * @type {string}
4150
- * @memberof InvestmentAccount
4182
+ * @memberof BrokerageAuthorizationTypeReadOnly
4151
4183
  */
4152
- 'display_name'?: string | null;
4184
+ 'id'?: string;
4153
4185
  /**
4154
- * The account number assigned by the institution, masked to the last 4 characters (e.g. `****8443`).
4186
+ *
4155
4187
  * @type {string}
4156
- * @memberof InvestmentAccount
4188
+ * @memberof BrokerageAuthorizationTypeReadOnly
4157
4189
  */
4158
- 'masked_account_number': string;
4190
+ 'type'?: BrokerageAuthorizationTypeReadOnlyTypeEnum;
4159
4191
  /**
4160
- * A stable and unique account identifier provided by the institution. Will be set to null if not provided. When present, can be used to check if a user has connected the same institution account across multiple connections.
4192
+ *
4161
4193
  * @type {string}
4162
- * @memberof InvestmentAccount
4194
+ * @memberof BrokerageAuthorizationTypeReadOnly
4163
4195
  */
4164
- 'institution_account_id'?: string | null;
4196
+ 'auth_type'?: BrokerageAuthorizationTypeReadOnlyAuthTypeEnum;
4165
4197
  /**
4166
- * Unique identifier for the institution that holds the account.
4167
- * @type {string}
4168
- * @memberof InvestmentAccount
4198
+ *
4199
+ * @type {BrokerageAuthorizationTypeReadOnlyBrokerage}
4200
+ * @memberof BrokerageAuthorizationTypeReadOnly
4169
4201
  */
4170
- 'institution_id'?: string;
4202
+ 'brokerage'?: BrokerageAuthorizationTypeReadOnlyBrokerage;
4203
+ }
4204
+ type BrokerageAuthorizationTypeReadOnlyTypeEnum = 'read' | 'trade';
4205
+ type BrokerageAuthorizationTypeReadOnlyAuthTypeEnum = 'OAUTH' | 'SCRAPE' | 'UNOFFICIAL_API' | 'TOKEN';
4206
+ //#endregion
4207
+ //#region models/brokerage-instrument.d.ts
4208
+ /**
4209
+ *
4210
+ * @export
4211
+ * @interface BrokerageInstrument
4212
+ */
4213
+ interface BrokerageInstrument {
4214
+ [key: string]: any;
4171
4215
  /**
4172
- * Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format indicating when the account was opened at the institution. Only populated for institutions that expose this data; `null` for all other institutions. See [supported institutions](https://support.snaptrade.com/brokerages) for the full list.
4216
+ * The instrument\'s trading symbol / ticker.
4173
4217
  * @type {string}
4174
- * @memberof InvestmentAccount
4218
+ * @memberof BrokerageInstrument
4175
4219
  */
4176
- 'opening_date'?: string | null;
4220
+ 'symbol': string;
4177
4221
  /**
4178
- * Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format indicating when the account was funded. Only populated for institutions that expose this data; `null` for all other institutions. See [supported institutions](https://support.snaptrade.com/brokerages) for the full list.
4222
+ * The MIC code of the exchange where the instrument is traded.
4179
4223
  * @type {string}
4180
- * @memberof InvestmentAccount
4181
- */
4182
- 'funding_date'?: string | null;
4183
- /**
4184
- *
4185
- * @type {ConnectionAccountSyncStatus}
4186
- * @memberof InvestmentAccount
4224
+ * @memberof BrokerageInstrument
4187
4225
  */
4188
- 'sync_status': ConnectionAccountSyncStatus;
4226
+ 'exchange_mic'?: string | null;
4189
4227
  /**
4190
- * The account type as provided by the institution.
4191
- * @type {string}
4192
- * @memberof InvestmentAccount
4228
+ * Whether the instrument is tradeable through the brokerage. `null` if the tradeability is unknown.
4229
+ * @type {boolean}
4230
+ * @memberof BrokerageInstrument
4193
4231
  */
4194
- 'raw_type'?: string | null;
4232
+ 'tradeable'?: boolean | null;
4195
4233
  /**
4196
- * Indicates whether the account is a paper (simulated) trading account.
4234
+ * Whether the instrument allows fractional units. `null` if the fractionability is unknown.
4197
4235
  * @type {boolean}
4198
- * @memberof InvestmentAccount
4236
+ * @memberof BrokerageInstrument
4199
4237
  */
4200
- 'is_paper': boolean;
4238
+ 'fractionable'?: boolean | null;
4201
4239
  /**
4202
- *
4203
- * @type {InvestmentAccountNetValue}
4204
- * @memberof InvestmentAccount
4240
+ * The universal symbol ID of the instrument. This is the ID used to reference the instrument in SnapTrade API calls.
4241
+ * @type {string}
4242
+ * @memberof BrokerageInstrument
4205
4243
  */
4206
- 'net_value'?: InvestmentAccountNetValue | null;
4244
+ 'universal_symbol_id'?: string | null;
4207
4245
  }
4208
- type InvestmentAccountKindEnum = 'investment';
4209
4246
  //#endregion
4210
- //#region models/line-of-credit-account-available-credit.d.ts
4247
+ //#region models/brokerage-instruments-response.d.ts
4211
4248
  /**
4212
- * The remaining credit available to spend on the account (credit limit less the current balance). Omitted when no such data is available.
4249
+ *
4213
4250
  * @export
4214
- * @interface LineOfCreditAccountAvailableCredit
4251
+ * @interface BrokerageInstrumentsResponse
4215
4252
  */
4216
- interface LineOfCreditAccountAvailableCredit {
4253
+ interface BrokerageInstrumentsResponse {
4217
4254
  [key: string]: any;
4218
4255
  /**
4219
4256
  *
4220
- * @type {number}
4221
- * @memberof LineOfCreditAccountAvailableCredit
4222
- */
4223
- 'amount'?: number | null;
4224
- /**
4225
- *
4226
- * @type {string}
4227
- * @memberof LineOfCreditAccountAvailableCredit
4257
+ * @type {Array<BrokerageInstrument>}
4258
+ * @memberof BrokerageInstrumentsResponse
4228
4259
  */
4229
- 'currency'?: string | null;
4260
+ 'instruments'?: Array<BrokerageInstrument>;
4230
4261
  }
4231
4262
  //#endregion
4232
- //#region models/line-of-credit-account-minimum-payment-amount.d.ts
4263
+ //#region models/cancel-order-response.d.ts
4233
4264
  /**
4234
- * The minimum payment due on the account\'s next statement. Omitted when no such data is available.
4265
+ *
4235
4266
  * @export
4236
- * @interface LineOfCreditAccountMinimumPaymentAmount
4267
+ * @interface CancelOrderResponse
4237
4268
  */
4238
- interface LineOfCreditAccountMinimumPaymentAmount {
4269
+ interface CancelOrderResponse {
4239
4270
  [key: string]: any;
4240
4271
  /**
4241
- *
4242
- * @type {number}
4243
- * @memberof LineOfCreditAccountMinimumPaymentAmount
4272
+ * Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
4273
+ * @type {string}
4274
+ * @memberof CancelOrderResponse
4244
4275
  */
4245
- 'amount'?: number | null;
4276
+ 'brokerage_order_id': string;
4246
4277
  /**
4247
- *
4248
- * @type {string}
4249
- * @memberof LineOfCreditAccountMinimumPaymentAmount
4278
+ * The raw response from the brokerage.
4279
+ * @type {{ [key: string]: any; }}
4280
+ * @memberof CancelOrderResponse
4250
4281
  */
4251
- 'currency'?: string | null;
4282
+ 'raw_response'?: {
4283
+ [key: string]: any;
4284
+ } | null;
4252
4285
  }
4253
4286
  //#endregion
4254
- //#region models/line-of-credit-account-net-value.d.ts
4287
+ //#region models/child-brokerage-order-ids.d.ts
4255
4288
  /**
4256
- * Net value of the account -- negative, representing money owed. Shared across all account kinds. Null when unknown (e.g. a real-time fetch failed and no cached value exists).
4289
+ *
4257
4290
  * @export
4258
- * @interface LineOfCreditAccountNetValue
4291
+ * @interface ChildBrokerageOrderIDs
4259
4292
  */
4260
- interface LineOfCreditAccountNetValue {
4293
+ interface ChildBrokerageOrderIDs {
4261
4294
  [key: string]: any;
4262
4295
  /**
4263
- *
4264
- * @type {number}
4265
- * @memberof LineOfCreditAccountNetValue
4296
+ * The brokerage order ID for the take profit leg of the bracket order
4297
+ * @type {string}
4298
+ * @memberof ChildBrokerageOrderIDs
4266
4299
  */
4267
- 'amount'?: number | null;
4300
+ 'take_profit_order_id'?: string;
4268
4301
  /**
4269
- *
4302
+ * The brokerage order ID for the stop loss leg of the bracket order
4270
4303
  * @type {string}
4271
- * @memberof LineOfCreditAccountNetValue
4304
+ * @memberof ChildBrokerageOrderIDs
4272
4305
  */
4273
- 'currency'?: string | null;
4306
+ 'stop_loss_order_id'?: string;
4274
4307
  }
4275
4308
  //#endregion
4276
- //#region models/line-of-credit-account-sync-status.d.ts
4309
+ //#region models/order-type-strict.d.ts
4277
4310
  /**
4278
- * Contains status updates for the account sync process between SnapTrade and the institution, used by `LineOfCreditAccount` in `Connections_listConnectionAccounts`. Each property is optional -- an institution may not report sync status for every data type. Line-of-credit accounts don\'t place orders or hold positions, so like `DepositAccountSyncStatus` this type has no `orders` or `positions` field. `balances` is the timestamp of the last successful sync of that data type (null if never synced).
4311
+ * The type of order to place. - For `Limit` and `StopLimit` orders, the `price` field is required. - For `Stop` and `StopLimit` orders, the `stop` field is required.
4279
4312
  * @export
4280
- * @interface LineOfCreditAccountSyncStatus
4313
+ * @enum {string}
4281
4314
  */
4282
- interface LineOfCreditAccountSyncStatus {
4315
+ type OrderTypeStrict = 'Limit' | 'Market' | 'StopLimit' | 'Stop';
4316
+ //#endregion
4317
+ //#region models/time-in-force-strict.d.ts
4318
+ /**
4319
+ * The Time in Force type for the order. This field indicates how long the order will remain active before it is executed or expires. Here are the supported values: - `Day` - Day. The order is valid only for the trading day on which it is placed. - `GTC` - Good Til Canceled. The order is valid until it is executed or canceled. - `FOK` - Fill Or Kill. The order must be executed in its entirety immediately or be canceled completely. - `IOC` - Immediate Or Cancel. The order must be executed immediately. Any portion of the order that cannot be filled immediately will be canceled.
4320
+ * @export
4321
+ * @enum {string}
4322
+ */
4323
+ type TimeInForceStrict = 'FOK' | 'Day' | 'GTC' | 'IOC';
4324
+ //#endregion
4325
+ //#region models/trading-instrument.d.ts
4326
+ /**
4327
+ *
4328
+ * @export
4329
+ * @interface TradingInstrument
4330
+ */
4331
+ interface TradingInstrument {
4283
4332
  [key: string]: any;
4284
4333
  /**
4285
- *
4286
- * @type {TransactionsStatus}
4287
- * @memberof LineOfCreditAccountSyncStatus
4334
+ * The instrument\'s trading ticker symbol. This currently supports stock symbols and Options symbols in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format)
4335
+ * @type {string}
4336
+ * @memberof TradingInstrument
4288
4337
  */
4289
- 'transactions'?: TransactionsStatus;
4338
+ 'symbol': string;
4290
4339
  /**
4291
- * Date in ISO 8601 format or null (YYYY-MM-DD HH:MM:SS.mmmmmmTZ)
4340
+ * The instrument\'s type
4292
4341
  * @type {string}
4293
- * @memberof LineOfCreditAccountSyncStatus
4342
+ * @memberof TradingInstrument
4294
4343
  */
4295
- 'balances'?: string | null;
4344
+ 'type': TradingInstrumentTypeEnum;
4296
4345
  }
4346
+ type TradingInstrumentTypeEnum = 'EQUITY' | 'OPTION' | 'CRYPTOCURRENCY' | 'CRYPTOCURRENCY_PAIR';
4297
4347
  //#endregion
4298
- //#region models/line-of-credit-account.d.ts
4348
+ //#region models/complex-order-leg.d.ts
4299
4349
  /**
4300
- * A line-of-credit account (e.g. a credit card) under a connection.
4350
+ * A single order within a complex group. For option OCOs, each peer trades one option contract type.
4301
4351
  * @export
4302
- * @interface LineOfCreditAccount
4352
+ * @interface ComplexOrderLeg
4303
4353
  */
4304
- interface LineOfCreditAccount {
4354
+ interface ComplexOrderLeg {
4305
4355
  [key: string]: any;
4306
4356
  /**
4307
- * Discriminator for the account kind.
4308
- * @type {string}
4309
- * @memberof LineOfCreditAccount
4310
- */
4311
- 'kind': LineOfCreditAccountKindEnum;
4312
- /**
4313
- * Unique identifier for the connected institution account. This is the UUID used to reference the account in SnapTrade.
4357
+ * The role of this leg within the complex order.
4314
4358
  * @type {string}
4315
- * @memberof LineOfCreditAccount
4359
+ * @memberof ComplexOrderLeg
4316
4360
  */
4317
- 'id': string;
4361
+ 'order_role': ComplexOrderLegOrderRoleEnum;
4318
4362
  /**
4319
- * Unique identifier for the connection (brokerage_authorization_id). This is the UUID used to reference the connection in SnapTrade.
4320
- * @type {string}
4321
- * @memberof LineOfCreditAccount
4363
+ * The action describes the intent or side of a trade. This is either `BUY` or `SELL` for Equity symbols or `BUY_TO_OPEN`, `BUY_TO_CLOSE`, `SELL_TO_OPEN` or `SELL_TO_CLOSE` for Options.
4364
+ * @type {ActionStrictWithOptions}
4365
+ * @memberof ComplexOrderLeg
4322
4366
  */
4323
- 'connection_id': string;
4367
+ 'action': ActionStrictWithOptions;
4324
4368
  /**
4325
- * A display name for the account. Either assigned by the user or by the institution itself.
4326
- * @type {string}
4327
- * @memberof LineOfCreditAccount
4369
+ *
4370
+ * @type {TradingInstrument}
4371
+ * @memberof ComplexOrderLeg
4328
4372
  */
4329
- 'display_name'?: string | null;
4373
+ 'instrument': TradingInstrument;
4330
4374
  /**
4331
- * The account number assigned by the institution, masked to the last 4 characters (e.g. `****1881`).
4332
- * @type {string}
4333
- * @memberof LineOfCreditAccount
4375
+ * The type of order to place. - For `Limit` and `StopLimit` orders, the `price` field is required. - For `Stop` and `StopLimit` orders, the `stop` field is required.
4376
+ * @type {OrderTypeStrict}
4377
+ * @memberof ComplexOrderLeg
4334
4378
  */
4335
- 'masked_account_number': string;
4379
+ 'order_type': OrderTypeStrict;
4336
4380
  /**
4337
- * A stable and unique account identifier provided by the institution. Will be set to null if not provided. When present, can be used to check if a user has connected the same institution account across multiple connections.
4338
- * @type {string}
4339
- * @memberof LineOfCreditAccount
4381
+ * A positive whole number of shares or option contracts. Option OCO peers must use the same quantity.
4382
+ * @type {number}
4383
+ * @memberof ComplexOrderLeg
4340
4384
  */
4341
- 'institution_account_id'?: string | null;
4385
+ 'units': number;
4342
4386
  /**
4343
- * Unique identifier for the institution that holds the account.
4344
- * @type {string}
4345
- * @memberof LineOfCreditAccount
4387
+ * The Time in Force type for the order. This field indicates how long the order will remain active before it is executed or expires. Here are the supported values: - `Day` - Day. The order is valid only for the trading day on which it is placed. - `GTC` - Good Til Canceled. The order is valid until it is executed or canceled. - `FOK` - Fill Or Kill. The order must be executed in its entirety immediately or be canceled completely. - `IOC` - Immediate Or Cancel. The order must be executed immediately. Any portion of the order that cannot be filled immediately will be canceled.
4388
+ * @type {TimeInForceStrict}
4389
+ * @memberof ComplexOrderLeg
4346
4390
  */
4347
- 'institution_id'?: string;
4391
+ 'time_in_force': TimeInForceStrict;
4348
4392
  /**
4349
- * Timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format indicating when the account was opened at the institution. Only populated for institutions that expose this data; `null` for all other institutions.
4350
- * @type {string}
4351
- * @memberof LineOfCreditAccount
4393
+ * The limit price. Required when `order_type` is `Limit` or `StopLimit`.
4394
+ * @type {number}
4395
+ * @memberof ComplexOrderLeg
4352
4396
  */
4353
- 'opening_date'?: string | null;
4397
+ 'price'?: number | null;
4354
4398
  /**
4355
- *
4356
- * @type {LineOfCreditAccountSyncStatus}
4357
- * @memberof LineOfCreditAccount
4399
+ * The stop trigger price. Required when `order_type` is `Stop` or `StopLimit`.
4400
+ * @type {number}
4401
+ * @memberof ComplexOrderLeg
4358
4402
  */
4359
- 'sync_status': LineOfCreditAccountSyncStatus;
4403
+ 'stop'?: number | null;
4404
+ }
4405
+ type ComplexOrderLegOrderRoleEnum = 'TRIGGER' | 'CONDITIONAL' | 'PEER';
4406
+ //#endregion
4407
+ //#region models/complex-order-response.d.ts
4408
+ /**
4409
+ * Response returned after successfully placing a complex order. AccountOrderRecord rows for the legs are not created synchronously — they\'re hydrated by the next brokerage sync, and can be queried later using the returned `brokerage_group_order_id`.
4410
+ * @export
4411
+ * @interface ComplexOrderResponse
4412
+ */
4413
+ interface ComplexOrderResponse {
4414
+ [key: string]: any;
4360
4415
  /**
4361
- * The account type as provided by the institution.
4416
+ * The complex order type that was placed.
4362
4417
  * @type {string}
4363
- * @memberof LineOfCreditAccount
4364
- */
4365
- 'raw_type'?: string | null;
4366
- /**
4367
- *
4368
- * @type {LineOfCreditAccountNetValue}
4369
- * @memberof LineOfCreditAccount
4370
- */
4371
- 'net_value'?: LineOfCreditAccountNetValue | null;
4372
- /**
4373
- *
4374
- * @type {LineOfCreditAccountMinimumPaymentAmount}
4375
- * @memberof LineOfCreditAccount
4376
- */
4377
- 'minimum_payment_amount'?: LineOfCreditAccountMinimumPaymentAmount | null;
4378
- /**
4379
- *
4380
- * @type {LineOfCreditAccountAvailableCredit}
4381
- * @memberof LineOfCreditAccount
4418
+ * @memberof ComplexOrderResponse
4382
4419
  */
4383
- 'available_credit'?: LineOfCreditAccountAvailableCredit | null;
4420
+ 'type'?: ComplexOrderResponseTypeEnum;
4384
4421
  /**
4385
- * The date the account\'s next payment is due, in `YYYY-MM-DD` format. Omitted when no such data is available.
4422
+ * The brokerage-assigned identifier that links all legs of this complex order together. Each leg will eventually appear as a separate AccountOrderRecord sharing this value. May be null if the brokerage does not return a group identifier.
4386
4423
  * @type {string}
4387
- * @memberof LineOfCreditAccount
4424
+ * @memberof ComplexOrderResponse
4388
4425
  */
4389
- 'next_payment_date'?: string | null;
4426
+ 'brokerage_group_order_id'?: string | null;
4390
4427
  }
4391
- type LineOfCreditAccountKindEnum = 'line_of_credit';
4392
- //#endregion
4393
- //#region models/connection-account.d.ts
4394
- /**
4395
- * @type ConnectionAccount
4396
- * A single account under a connection, from the `kind`-discriminated union used by `Connections_listConnectionAccounts`. Use `kind` to determine which schema is present. `investment`, `deposit`, and `line_of_credit` are implemented today.
4397
- * @export
4398
- */
4399
- type ConnectionAccount = {
4400
- kind: 'deposit';
4401
- } & DepositAccount | {
4402
- kind: 'investment';
4403
- } & InvestmentAccount | {
4404
- kind: 'line_of_credit';
4405
- } & LineOfCreditAccount;
4428
+ type ComplexOrderResponseTypeEnum = 'OCO' | 'OTO' | 'OTOCO';
4406
4429
  //#endregion
4407
4430
  //#region models/connection-accounts-response.d.ts
4408
4431
  /**
@@ -7374,6 +7397,22 @@ interface TradeDetectionSubscription {
7374
7397
  'check_interval_seconds': number;
7375
7398
  }
7376
7399
  //#endregion
7400
+ //#region models/trading-get-user-account-option-quotes410-response.d.ts
7401
+ /**
7402
+ *
7403
+ * @export
7404
+ * @interface TradingGetUserAccountOptionQuotes410Response
7405
+ */
7406
+ interface TradingGetUserAccountOptionQuotes410Response {
7407
+ [key: string]: any;
7408
+ /**
7409
+ *
7410
+ * @type {string}
7411
+ * @memberof TradingGetUserAccountOptionQuotes410Response
7412
+ */
7413
+ 'detail'?: string;
7414
+ }
7415
+ //#endregion
7377
7416
  //#region models/trading-search-cryptocurrency-pair-instruments200-response.d.ts
7378
7417
  /**
7379
7418
  * The instruments
@@ -9390,6 +9429,16 @@ declare const ExperimentalEndpointsApiAxiosParamCreator: (configuration?: Config
9390
9429
  * @throws {RequiredError}
9391
9430
  */
9392
9431
  cancelSubscription: (tradeDetectionCancelSubscriptionRequest: TradeDetectionCancelSubscriptionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9432
+ /**
9433
+ * Experimental and subject to change without notice. Returns the specified account for the authenticated user, using the `kind`-discriminated account shape. Use the `kind` discriminator to determine the shape of the account, which can be an investment, deposit, or line of credit account. On Pay as you Go / Real-time, this endpoint refreshes the account\'s opening date and total net value (`net_value`) live from the institution on each call, along with funding date for `investment` accounts. On Pay as you Go / Daily, this endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by institution. To force a refresh, use the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see whether your plan includes real-time data. If the connection has become disabled, it can no longer access the latest data from the institution, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
9434
+ * @summary Get account details
9435
+ * @param {string} accountId
9436
+ * @param {string} [userId]
9437
+ * @param {string} [userSecret]
9438
+ * @param {*} [options] Override http request option.
9439
+ * @throws {RequiredError}
9440
+ */
9441
+ getAccountDetails: (accountId: string, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9393
9442
  /**
9394
9443
  * Returns the detail of a single order using the brokerage order ID provided as a path parameter. The V2 order response format includes all legs of the order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
9395
9444
  * @summary Get account order detail (V2)
@@ -9424,6 +9473,15 @@ declare const ExperimentalEndpointsApiAxiosParamCreator: (configuration?: Config
9424
9473
  * @throws {RequiredError}
9425
9474
  */
9426
9475
  getUserAccountRecentOrdersV2: (accountId: string, onlyExecuted?: boolean, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9476
+ /**
9477
+ * Experimental and subject to change without notice. Returns all accounts across all connections known to SnapTrade for the authenticated user. The `results` list can contain multiple account kinds in the same response, including investment, deposit, and line of credit accounts. Use the `kind` discriminator to determine the shape for each account. This endpoint returns Daily data regardless of the customer\'s plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user\'s connections in a single call. Exact refresh timing may vary by institution. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listConnectionAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization).
9478
+ * @summary List all user accounts
9479
+ * @param {string} [userId]
9480
+ * @param {string} [userSecret]
9481
+ * @param {*} [options] Override http request option.
9482
+ * @throws {RequiredError}
9483
+ */
9484
+ listAllUserAccounts: (userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
9427
9485
  /**
9428
9486
  * Returns active Trade Detection subscriptions for your Client ID. Cancelled subscriptions are not returned.
9429
9487
  * @summary List active Trade Detection subscriptions
@@ -9453,6 +9511,14 @@ declare const ExperimentalEndpointsApiFp: <TAuth extends AuthMode>(configuration
9453
9511
  * @throws {RequiredError}
9454
9512
  */
9455
9513
  cancelSubscription(...args: ExperimentalEndpointsApiCancelSubscriptionArgs<TAuth>): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TradeDetectionCancelSubscriptionResponse>>;
9514
+ /**
9515
+ * Experimental and subject to change without notice. Returns the specified account for the authenticated user, using the `kind`-discriminated account shape. Use the `kind` discriminator to determine the shape of the account, which can be an investment, deposit, or line of credit account. On Pay as you Go / Real-time, this endpoint refreshes the account\'s opening date and total net value (`net_value`) live from the institution on each call, along with funding date for `investment` accounts. On Pay as you Go / Daily, this endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by institution. To force a refresh, use the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see whether your plan includes real-time data. If the connection has become disabled, it can no longer access the latest data from the institution, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
9516
+ * @summary Get account details
9517
+ * @param {ExperimentalEndpointsApiGetAccountDetailsRequest<TAuth>} requestParameters Request parameters.
9518
+ * @param {*} [options] Override http request option.
9519
+ * @throws {RequiredError}
9520
+ */
9521
+ getAccountDetails(...args: ExperimentalEndpointsApiGetAccountDetailsArgs<TAuth>): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConnectionAccount>>;
9456
9522
  /**
9457
9523
  * Returns the detail of a single order using the brokerage order ID provided as a path parameter. The V2 order response format includes all legs of the order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
9458
9524
  * @summary Get account order detail (V2)
@@ -9477,6 +9543,14 @@ declare const ExperimentalEndpointsApiFp: <TAuth extends AuthMode>(configuration
9477
9543
  * @throws {RequiredError}
9478
9544
  */
9479
9545
  getUserAccountRecentOrdersV2(...args: ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Args<TAuth>): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountOrdersV2Response>>;
9546
+ /**
9547
+ * Experimental and subject to change without notice. Returns all accounts across all connections known to SnapTrade for the authenticated user. The `results` list can contain multiple account kinds in the same response, including investment, deposit, and line of credit accounts. Use the `kind` discriminator to determine the shape for each account. This endpoint returns Daily data regardless of the customer\'s plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user\'s connections in a single call. Exact refresh timing may vary by institution. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listConnectionAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization).
9548
+ * @summary List all user accounts
9549
+ * @param {ExperimentalEndpointsApiListAllUserAccountsRequest<TAuth>} requestParameters Request parameters.
9550
+ * @param {*} [options] Override http request option.
9551
+ * @throws {RequiredError}
9552
+ */
9553
+ listAllUserAccounts(...args: ExperimentalEndpointsApiListAllUserAccountsArgs<TAuth>): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllUserAccountsResponse>>;
9480
9554
  /**
9481
9555
  * Returns active Trade Detection subscriptions for your Client ID. Cancelled subscriptions are not returned.
9482
9556
  * @summary List active Trade Detection subscriptions
@@ -9506,6 +9580,14 @@ declare const ExperimentalEndpointsApiFactory: <TAuth extends AuthMode>(configur
9506
9580
  * @throws {RequiredError}
9507
9581
  */
9508
9582
  cancelSubscription(...args: ExperimentalEndpointsApiCancelSubscriptionArgs<TAuth>): AxiosPromise<TradeDetectionCancelSubscriptionResponse>;
9583
+ /**
9584
+ * Experimental and subject to change without notice. Returns the specified account for the authenticated user, using the `kind`-discriminated account shape. Use the `kind` discriminator to determine the shape of the account, which can be an investment, deposit, or line of credit account. On Pay as you Go / Real-time, this endpoint refreshes the account\'s opening date and total net value (`net_value`) live from the institution on each call, along with funding date for `investment` accounts. On Pay as you Go / Daily, this endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by institution. To force a refresh, use the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see whether your plan includes real-time data. If the connection has become disabled, it can no longer access the latest data from the institution, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
9585
+ * @summary Get account details
9586
+ * @param {ExperimentalEndpointsApiGetAccountDetailsRequest<TAuth>} requestParameters Request parameters.
9587
+ * @param {*} [options] Override http request option.
9588
+ * @throws {RequiredError}
9589
+ */
9590
+ getAccountDetails(...args: ExperimentalEndpointsApiGetAccountDetailsArgs<TAuth>): AxiosPromise<ConnectionAccount>;
9509
9591
  /**
9510
9592
  * Returns the detail of a single order using the brokerage order ID provided as a path parameter. The V2 order response format includes all legs of the order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
9511
9593
  * @summary Get account order detail (V2)
@@ -9530,6 +9612,14 @@ declare const ExperimentalEndpointsApiFactory: <TAuth extends AuthMode>(configur
9530
9612
  * @throws {RequiredError}
9531
9613
  */
9532
9614
  getUserAccountRecentOrdersV2(...args: ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Args<TAuth>): AxiosPromise<AccountOrdersV2Response>;
9615
+ /**
9616
+ * Experimental and subject to change without notice. Returns all accounts across all connections known to SnapTrade for the authenticated user. The `results` list can contain multiple account kinds in the same response, including investment, deposit, and line of credit accounts. Use the `kind` discriminator to determine the shape for each account. This endpoint returns Daily data regardless of the customer\'s plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user\'s connections in a single call. Exact refresh timing may vary by institution. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listConnectionAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization).
9617
+ * @summary List all user accounts
9618
+ * @param {ExperimentalEndpointsApiListAllUserAccountsRequest<TAuth>} requestParameters Request parameters.
9619
+ * @param {*} [options] Override http request option.
9620
+ * @throws {RequiredError}
9621
+ */
9622
+ listAllUserAccounts(...args: ExperimentalEndpointsApiListAllUserAccountsArgs<TAuth>): AxiosPromise<AllUserAccountsResponse>;
9533
9623
  /**
9534
9624
  * Returns active Trade Detection subscriptions for your Client ID. Cancelled subscriptions are not returned.
9535
9625
  * @summary List active Trade Detection subscriptions
@@ -9572,6 +9662,33 @@ type ExperimentalEndpointsApiCancelSubscriptionRequestByAuthMode = {
9572
9662
  type ExperimentalEndpointsApiCancelSubscriptionRequest<TAuth extends AuthMode> = ExperimentalEndpointsApiCancelSubscriptionRequestByAuthMode[TAuth["mode"] & keyof ExperimentalEndpointsApiCancelSubscriptionRequestByAuthMode];
9573
9663
  /** Request argument optionality depends on the selected authentication mode. */
9574
9664
  type ExperimentalEndpointsApiCancelSubscriptionArgs<TAuth extends AuthMode> = TAuth["mode"] extends never ? [requestParameters?: ExperimentalEndpointsApiCancelSubscriptionRequest<TAuth>, options?: AxiosRequestConfig] : [requestParameters: ExperimentalEndpointsApiCancelSubscriptionRequest<TAuth>, options?: AxiosRequestConfig];
9665
+ /**
9666
+ * Request parameters for getAccountDetails operation in ExperimentalEndpointsApi.
9667
+ * @export
9668
+ */
9669
+ type ExperimentalEndpointsApiGetAccountDetailsBaseRequest = {
9670
+ /**
9671
+ *
9672
+ * @type {string}
9673
+ * @memberof ExperimentalEndpointsApiGetAccountDetails
9674
+ */
9675
+ readonly accountId: string;
9676
+ };
9677
+ type ExperimentalEndpointsApiGetAccountDetailscommercialApiKeyRequest = ExperimentalEndpointsApiGetAccountDetailsBaseRequest & {
9678
+ readonly userId: string;
9679
+ readonly userSecret: string;
9680
+ };
9681
+ type ExperimentalEndpointsApiGetAccountDetailspersonalApiKeyRequest = ExperimentalEndpointsApiGetAccountDetailsBaseRequest & {
9682
+ readonly userId?: never;
9683
+ readonly userSecret?: never;
9684
+ };
9685
+ type ExperimentalEndpointsApiGetAccountDetailsRequestByAuthMode = {
9686
+ "commercialApiKey": ExperimentalEndpointsApiGetAccountDetailscommercialApiKeyRequest;
9687
+ "personalApiKey": ExperimentalEndpointsApiGetAccountDetailspersonalApiKeyRequest;
9688
+ };
9689
+ type ExperimentalEndpointsApiGetAccountDetailsRequest<TAuth extends AuthMode> = ExperimentalEndpointsApiGetAccountDetailsRequestByAuthMode[TAuth["mode"] & keyof ExperimentalEndpointsApiGetAccountDetailsRequestByAuthMode];
9690
+ /** Request argument optionality depends on the selected authentication mode. */
9691
+ type ExperimentalEndpointsApiGetAccountDetailsArgs<TAuth extends AuthMode> = TAuth["mode"] extends never ? [requestParameters?: ExperimentalEndpointsApiGetAccountDetailsRequest<TAuth>, options?: AxiosRequestConfig] : [requestParameters: ExperimentalEndpointsApiGetAccountDetailsRequest<TAuth>, options?: AxiosRequestConfig];
9575
9692
  /**
9576
9693
  * Request parameters for getUserAccountOrderDetailV2 operation in ExperimentalEndpointsApi.
9577
9694
  * @export
@@ -9677,6 +9794,26 @@ type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2RequestByAuthMode = {
9677
9794
  type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request<TAuth extends AuthMode> = ExperimentalEndpointsApiGetUserAccountRecentOrdersV2RequestByAuthMode[TAuth["mode"] & keyof ExperimentalEndpointsApiGetUserAccountRecentOrdersV2RequestByAuthMode];
9678
9795
  /** Request argument optionality depends on the selected authentication mode. */
9679
9796
  type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Args<TAuth extends AuthMode> = TAuth["mode"] extends never ? [requestParameters?: ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request<TAuth>, options?: AxiosRequestConfig] : [requestParameters: ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request<TAuth>, options?: AxiosRequestConfig];
9797
+ /**
9798
+ * Request parameters for listAllUserAccounts operation in ExperimentalEndpointsApi.
9799
+ * @export
9800
+ */
9801
+ type ExperimentalEndpointsApiListAllUserAccountsBaseRequest = {};
9802
+ type ExperimentalEndpointsApiListAllUserAccountscommercialApiKeyRequest = ExperimentalEndpointsApiListAllUserAccountsBaseRequest & {
9803
+ readonly userId: string;
9804
+ readonly userSecret: string;
9805
+ };
9806
+ type ExperimentalEndpointsApiListAllUserAccountspersonalApiKeyRequest = ExperimentalEndpointsApiListAllUserAccountsBaseRequest & {
9807
+ readonly userId?: never;
9808
+ readonly userSecret?: never;
9809
+ };
9810
+ type ExperimentalEndpointsApiListAllUserAccountsRequestByAuthMode = {
9811
+ "commercialApiKey": ExperimentalEndpointsApiListAllUserAccountscommercialApiKeyRequest;
9812
+ "personalApiKey": ExperimentalEndpointsApiListAllUserAccountspersonalApiKeyRequest;
9813
+ };
9814
+ type ExperimentalEndpointsApiListAllUserAccountsRequest<TAuth extends AuthMode> = ExperimentalEndpointsApiListAllUserAccountsRequestByAuthMode[TAuth["mode"] & keyof ExperimentalEndpointsApiListAllUserAccountsRequestByAuthMode];
9815
+ /** Request argument optionality depends on the selected authentication mode. */
9816
+ type ExperimentalEndpointsApiListAllUserAccountsArgs<TAuth extends AuthMode> = TAuth["mode"] extends "personalApiKey" ? [requestParameters?: ExperimentalEndpointsApiListAllUserAccountsRequest<TAuth>, options?: AxiosRequestConfig] : [requestParameters: ExperimentalEndpointsApiListAllUserAccountsRequest<TAuth>, options?: AxiosRequestConfig];
9680
9817
  /**
9681
9818
  * ExperimentalEndpointsApiGenerated - object-oriented interface
9682
9819
  * @export
@@ -9702,6 +9839,15 @@ declare class ExperimentalEndpointsApiGenerated<TAuth extends AuthMode> extends
9702
9839
  * @memberof ExperimentalEndpointsApiGenerated
9703
9840
  */
9704
9841
  cancelSubscription(...args: ExperimentalEndpointsApiCancelSubscriptionArgs<TAuth>): Promise<_$axios.AxiosResponse<TradeDetectionCancelSubscriptionResponse, any, {}>>;
9842
+ /**
9843
+ * Experimental and subject to change without notice. Returns the specified account for the authenticated user, using the `kind`-discriminated account shape. Use the `kind` discriminator to determine the shape of the account, which can be an investment, deposit, or line of credit account. On Pay as you Go / Real-time, this endpoint refreshes the account\'s opening date and total net value (`net_value`) live from the institution on each call, along with funding date for `investment` accounts. On Pay as you Go / Daily, this endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by institution. To force a refresh, use the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see whether your plan includes real-time data. If the connection has become disabled, it can no longer access the latest data from the institution, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
9844
+ * @summary Get account details
9845
+ * @param {ExperimentalEndpointsApiGetAccountDetailsRequest<TAuth>} requestParameters Request parameters.
9846
+ * @param {*} [options] Override http request option.
9847
+ * @throws {RequiredError}
9848
+ * @memberof ExperimentalEndpointsApiGenerated
9849
+ */
9850
+ getAccountDetails(...args: ExperimentalEndpointsApiGetAccountDetailsArgs<TAuth>): Promise<_$axios.AxiosResponse<ConnectionAccount, any, {}>>;
9705
9851
  /**
9706
9852
  * Returns the detail of a single order using the brokerage order ID provided as a path parameter. The V2 order response format includes all legs of the order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
9707
9853
  * @summary Get account order detail (V2)
@@ -9729,6 +9875,15 @@ declare class ExperimentalEndpointsApiGenerated<TAuth extends AuthMode> extends
9729
9875
  * @memberof ExperimentalEndpointsApiGenerated
9730
9876
  */
9731
9877
  getUserAccountRecentOrdersV2(...args: ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Args<TAuth>): Promise<_$axios.AxiosResponse<AccountOrdersV2Response, any, {}>>;
9878
+ /**
9879
+ * Experimental and subject to change without notice. Returns all accounts across all connections known to SnapTrade for the authenticated user. The `results` list can contain multiple account kinds in the same response, including investment, deposit, and line of credit accounts. Use the `kind` discriminator to determine the shape for each account. This endpoint returns Daily data regardless of the customer\'s plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user\'s connections in a single call. Exact refresh timing may vary by institution. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listConnectionAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization).
9880
+ * @summary List all user accounts
9881
+ * @param {ExperimentalEndpointsApiListAllUserAccountsRequest<TAuth>} requestParameters Request parameters.
9882
+ * @param {*} [options] Override http request option.
9883
+ * @throws {RequiredError}
9884
+ * @memberof ExperimentalEndpointsApiGenerated
9885
+ */
9886
+ listAllUserAccounts(...args: ExperimentalEndpointsApiListAllUserAccountsArgs<TAuth>): Promise<_$axios.AxiosResponse<AllUserAccountsResponse, any, {}>>;
9732
9887
  /**
9733
9888
  * Returns active Trade Detection subscriptions for your Client ID. Cancelled subscriptions are not returned.
9734
9889
  * @summary List active Trade Detection subscriptions
@@ -10211,7 +10366,7 @@ declare const TradingApiAxiosParamCreator: (configuration?: Configuration<AuthMo
10211
10366
  */
10212
10367
  getOrderImpact: (manualTradeForm: ManualTradeForm, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
10213
10368
  /**
10214
- * Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes. **This Endpoint is deprecated and will cease to return data as of October 1, 2026**
10369
+ * **Deprecated.** This endpoint was sunset on October 1, 2026 and now always returns `410 Gone`. Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes.
10215
10370
  * @summary Get option quote
10216
10371
  * @param {string} accountId
10217
10372
  * @param {string} symbol The OCC-formatted option symbol.
@@ -10361,7 +10516,7 @@ declare const TradingApiFp: <TAuth extends AuthMode>(configuration?: Configurati
10361
10516
  */
10362
10517
  getOrderImpact(...args: TradingApiGetOrderImpactArgs<TAuth>): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManualTradeAndImpact>>;
10363
10518
  /**
10364
- * Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes. **This Endpoint is deprecated and will cease to return data as of October 1, 2026**
10519
+ * **Deprecated.** This endpoint was sunset on October 1, 2026 and now always returns `410 Gone`. Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes.
10365
10520
  * @summary Get option quote
10366
10521
  * @param {TradingApiGetUserAccountOptionQuotesRequest<TAuth>} requestParameters Request parameters.
10367
10522
  * @param {*} [options] Override http request option.
@@ -10480,7 +10635,7 @@ declare const TradingApiFactory: <TAuth extends AuthMode>(configuration?: Config
10480
10635
  */
10481
10636
  getOrderImpact(...args: TradingApiGetOrderImpactArgs<TAuth>): AxiosPromise<ManualTradeAndImpact>;
10482
10637
  /**
10483
- * Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes. **This Endpoint is deprecated and will cease to return data as of October 1, 2026**
10638
+ * **Deprecated.** This endpoint was sunset on October 1, 2026 and now always returns `410 Gone`. Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes.
10484
10639
  * @summary Get option quote
10485
10640
  * @param {TradingApiGetUserAccountOptionQuotesRequest<TAuth>} requestParameters Request parameters.
10486
10641
  * @param {*} [options] Override http request option.
@@ -11005,7 +11160,7 @@ declare class TradingApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth>
11005
11160
  */
11006
11161
  getOrderImpact(...args: TradingApiGetOrderImpactArgs<TAuth>): Promise<_$axios.AxiosResponse<ManualTradeAndImpact, any, {}>>;
11007
11162
  /**
11008
- * Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes. **This Endpoint is deprecated and will cease to return data as of October 1, 2026**
11163
+ * **Deprecated.** This endpoint was sunset on October 1, 2026 and now always returns `410 Gone`. Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes.
11009
11164
  * @summary Get option quote
11010
11165
  * @param {TradingApiGetUserAccountOptionQuotesRequest<TAuth>} requestParameters Request parameters.
11011
11166
  * @param {*} [options] Override http request option.
@@ -11164,4 +11319,4 @@ declare class SnaptradeError extends Error {
11164
11319
  declare function readableStreamToString(stream: ReadableStream): Promise<string>;
11165
11320
  declare function parseIfJson(input: unknown): object | unknown;
11166
11321
  //#endregion
11167
- export { Account, AccountBalance, AccountBalanceTotal, AccountHoldings, AccountHoldingsAccount, AccountInformationApi, AccountInformationApiAxiosParamCreator, AccountInformationApiFactory, AccountInformationApiFp, AccountInformationApiGenerated, AccountInformationApiGetAccountActivitiesArgs, AccountInformationApiGetAccountActivitiesBaseRequest, AccountInformationApiGetAccountActivitiesRequest, AccountInformationApiGetAccountActivitiesRequestByAuthMode, AccountInformationApiGetAccountActivitiescommercialApiKeyRequest, AccountInformationApiGetAccountActivitiespersonalApiKeyRequest, AccountInformationApiGetAccountBalanceHistoryArgs, AccountInformationApiGetAccountBalanceHistoryBaseRequest, AccountInformationApiGetAccountBalanceHistoryRequest, AccountInformationApiGetAccountBalanceHistoryRequestByAuthMode, AccountInformationApiGetAccountBalanceHistorycommercialApiKeyRequest, AccountInformationApiGetAccountBalanceHistorypersonalApiKeyRequest, AccountInformationApiGetAllAccountPositionsArgs, AccountInformationApiGetAllAccountPositionsBaseRequest, AccountInformationApiGetAllAccountPositionsRequest, AccountInformationApiGetAllAccountPositionsRequestByAuthMode, AccountInformationApiGetAllAccountPositionscommercialApiKeyRequest, AccountInformationApiGetAllAccountPositionspersonalApiKeyRequest, AccountInformationApiGetUserAccountBalanceArgs, AccountInformationApiGetUserAccountBalanceBaseRequest, AccountInformationApiGetUserAccountBalanceRequest, AccountInformationApiGetUserAccountBalanceRequestByAuthMode, AccountInformationApiGetUserAccountBalancecommercialApiKeyRequest, AccountInformationApiGetUserAccountBalancepersonalApiKeyRequest, AccountInformationApiGetUserAccountDetailsArgs, AccountInformationApiGetUserAccountDetailsBaseRequest, AccountInformationApiGetUserAccountDetailsRequest, AccountInformationApiGetUserAccountDetailsRequestByAuthMode, AccountInformationApiGetUserAccountDetailscommercialApiKeyRequest, AccountInformationApiGetUserAccountDetailspersonalApiKeyRequest, AccountInformationApiGetUserAccountOrderDetailArgs, AccountInformationApiGetUserAccountOrderDetailBaseRequest, AccountInformationApiGetUserAccountOrderDetailRequest, AccountInformationApiGetUserAccountOrderDetailRequestByAuthMode, AccountInformationApiGetUserAccountOrderDetailcommercialApiKeyRequest, AccountInformationApiGetUserAccountOrderDetailpersonalApiKeyRequest, AccountInformationApiGetUserAccountOrdersArgs, AccountInformationApiGetUserAccountOrdersBaseRequest, AccountInformationApiGetUserAccountOrdersRequest, AccountInformationApiGetUserAccountOrdersRequestByAuthMode, AccountInformationApiGetUserAccountOrderscommercialApiKeyRequest, AccountInformationApiGetUserAccountOrderspersonalApiKeyRequest, AccountInformationApiGetUserAccountRecentOrdersArgs, AccountInformationApiGetUserAccountRecentOrdersBaseRequest, AccountInformationApiGetUserAccountRecentOrdersRequest, AccountInformationApiGetUserAccountRecentOrdersRequestByAuthMode, AccountInformationApiGetUserAccountRecentOrderscommercialApiKeyRequest, AccountInformationApiGetUserAccountRecentOrderspersonalApiKeyRequest, AccountInformationApiGetUserAccountReturnRatesArgs, AccountInformationApiGetUserAccountReturnRatesBaseRequest, AccountInformationApiGetUserAccountReturnRatesRequest, AccountInformationApiGetUserAccountReturnRatesRequestByAuthMode, AccountInformationApiGetUserAccountReturnRatescommercialApiKeyRequest, AccountInformationApiGetUserAccountReturnRatespersonalApiKeyRequest, AccountInformationApiGetUserHoldingsArgs, AccountInformationApiGetUserHoldingsBaseRequest, AccountInformationApiGetUserHoldingsRequest, AccountInformationApiGetUserHoldingsRequestByAuthMode, AccountInformationApiGetUserHoldingscommercialApiKeyRequest, AccountInformationApiGetUserHoldingspersonalApiKeyRequest, AccountInformationApiListUserAccountsArgs, AccountInformationApiListUserAccountsBaseRequest, AccountInformationApiListUserAccountsRequest, AccountInformationApiListUserAccountsRequestByAuthMode, AccountInformationApiListUserAccountscommercialApiKeyRequest, AccountInformationApiListUserAccountspersonalApiKeyRequest, AccountInformationApiUpdateUserAccountArgs, AccountInformationApiUpdateUserAccountBaseRequest, AccountInformationApiUpdateUserAccountRequest, AccountInformationApiUpdateUserAccountRequestByAuthMode, AccountInformationApiUpdateUserAccountcommercialApiKeyRequest, AccountInformationApiUpdateUserAccountpersonalApiKeyRequest, AccountInformationGetUserAccountOrderDetailRequest, AccountOrderRecord, AccountOrderRecordLeg, AccountOrderRecordLegInstrument, AccountOrderRecordNullable, AccountOrderRecordStatus, AccountOrderRecordStatusV2, AccountOrderRecordStatusV2Nullable, AccountOrderRecordV2, AccountOrderRecordV2OrderRole, AccountOrderRecordV2OrderRoleNullable, AccountOrdersV2Response, AccountPosition, AccountSimple, AccountSyncStatus, AccountUniversalActivity, AccountValueHistoryItem, AccountValueHistoryResponse, ActionStrict, ActionStrictWithOptions, AdrInstrument, AllAccountPositionsResponse, AllAccountPositionsResponseDataFreshness, ApiKey, ApiStatusApi, ApiStatusApiAxiosParamCreator, ApiStatusApiFactory, ApiStatusApiFp, ApiStatusApiGenerated, type AuthMode, AuthenticationApi, AuthenticationApiAxiosParamCreator, AuthenticationApiDeleteSnapTradeUserArgs, AuthenticationApiDeleteSnapTradeUserBaseRequest, AuthenticationApiDeleteSnapTradeUserRequest, AuthenticationApiDeleteSnapTradeUserRequestByAuthMode, AuthenticationApiDeleteSnapTradeUsercommercialApiKeyRequest, AuthenticationApiFactory, AuthenticationApiFp, AuthenticationApiGenerated, AuthenticationApiLoginSnapTradeUserArgs, AuthenticationApiLoginSnapTradeUserBaseRequest, AuthenticationApiLoginSnapTradeUserRequest, AuthenticationApiLoginSnapTradeUserRequestByAuthMode, AuthenticationApiLoginSnapTradeUsercommercialApiKeyRequest, AuthenticationApiLoginSnapTradeUserpersonalApiKeyRequest, AuthenticationApiRegisterSnapTradeUserArgs, AuthenticationApiRegisterSnapTradeUserBaseRequest, AuthenticationApiRegisterSnapTradeUserRequest, AuthenticationApiRegisterSnapTradeUserRequestByAuthMode, AuthenticationApiRegisterSnapTradeUsercommercialApiKeyRequest, AuthenticationApiResetSnapTradeUserSecretArgs, AuthenticationApiResetSnapTradeUserSecretBaseRequest, AuthenticationApiResetSnapTradeUserSecretRequest, AuthenticationApiResetSnapTradeUserSecretRequestByAuthMode, AuthenticationApiResetSnapTradeUserSecretcommercialApiKeyRequest, AuthenticationLoginSnapTradeUser200Response, Balance, BalanceCurrency, Brokerage, BrokerageAuthorization, BrokerageAuthorizationDataFreshnessMode, BrokerageAuthorizationDisabledConfirmation, BrokerageAuthorizationRefreshConfirmation, BrokerageAuthorizationTransactionsSyncConfirmation, BrokerageAuthorizationTypeReadOnly, BrokerageAuthorizationTypeReadOnlyBrokerage, BrokerageInstrument, BrokerageInstrumentsResponse, BrokerageType, CancelOrderResponse, CefInstrument, CfdInstrument, ChildBrokerageOrderIDs, ChildBrokerageOrderIDsNullable, CommercialApiKeyAuth, ComplexOrderLeg, ComplexOrderResponse, Configuration, ConfigurationParameters, ConfigurationParametersShared, ConnectionAccount, ConnectionAccountSyncStatus, ConnectionAccountsResponse, ConnectionsApi, ConnectionsApiAxiosParamCreator, ConnectionsApiDeleteConnectionArgs, ConnectionsApiDeleteConnectionBaseRequest, ConnectionsApiDeleteConnectionRequest, ConnectionsApiDeleteConnectionRequestByAuthMode, ConnectionsApiDeleteConnectioncommercialApiKeyRequest, ConnectionsApiDeleteConnectionpersonalApiKeyRequest, ConnectionsApiDetailBrokerageAuthorizationArgs, ConnectionsApiDetailBrokerageAuthorizationBaseRequest, ConnectionsApiDetailBrokerageAuthorizationRequest, ConnectionsApiDetailBrokerageAuthorizationRequestByAuthMode, ConnectionsApiDetailBrokerageAuthorizationcommercialApiKeyRequest, ConnectionsApiDetailBrokerageAuthorizationpersonalApiKeyRequest, ConnectionsApiDisableBrokerageAuthorizationArgs, ConnectionsApiDisableBrokerageAuthorizationBaseRequest, ConnectionsApiDisableBrokerageAuthorizationRequest, ConnectionsApiDisableBrokerageAuthorizationRequestByAuthMode, ConnectionsApiDisableBrokerageAuthorizationcommercialApiKeyRequest, ConnectionsApiDisableBrokerageAuthorizationpersonalApiKeyRequest, ConnectionsApiFactory, ConnectionsApiFp, ConnectionsApiGenerated, ConnectionsApiListBrokerageAuthorizationAccountsArgs, ConnectionsApiListBrokerageAuthorizationAccountsBaseRequest, ConnectionsApiListBrokerageAuthorizationAccountsRequest, ConnectionsApiListBrokerageAuthorizationAccountsRequestByAuthMode, ConnectionsApiListBrokerageAuthorizationAccountscommercialApiKeyRequest, ConnectionsApiListBrokerageAuthorizationAccountspersonalApiKeyRequest, ConnectionsApiListBrokerageAuthorizationsArgs, ConnectionsApiListBrokerageAuthorizationsBaseRequest, ConnectionsApiListBrokerageAuthorizationsRequest, ConnectionsApiListBrokerageAuthorizationsRequestByAuthMode, ConnectionsApiListBrokerageAuthorizationscommercialApiKeyRequest, ConnectionsApiListBrokerageAuthorizationspersonalApiKeyRequest, ConnectionsApiListConnectionAccountsArgs, ConnectionsApiListConnectionAccountsBaseRequest, ConnectionsApiListConnectionAccountsRequest, ConnectionsApiListConnectionAccountsRequestByAuthMode, ConnectionsApiListConnectionAccountscommercialApiKeyRequest, ConnectionsApiListConnectionAccountspersonalApiKeyRequest, ConnectionsApiRefreshBrokerageAuthorizationArgs, ConnectionsApiRefreshBrokerageAuthorizationBaseRequest, ConnectionsApiRefreshBrokerageAuthorizationRequest, ConnectionsApiRefreshBrokerageAuthorizationRequestByAuthMode, ConnectionsApiRefreshBrokerageAuthorizationcommercialApiKeyRequest, ConnectionsApiRefreshBrokerageAuthorizationpersonalApiKeyRequest, ConnectionsApiReturnRatesArgs, ConnectionsApiReturnRatesBaseRequest, ConnectionsApiReturnRatesRequest, ConnectionsApiReturnRatesRequestByAuthMode, ConnectionsApiReturnRatescommercialApiKeyRequest, ConnectionsApiReturnRatespersonalApiKeyRequest, ConnectionsApiSyncBrokerageAuthorizationTransactionsArgs, ConnectionsApiSyncBrokerageAuthorizationTransactionsBaseRequest, ConnectionsApiSyncBrokerageAuthorizationTransactionsRequest, ConnectionsApiSyncBrokerageAuthorizationTransactionsRequestByAuthMode, ConnectionsApiSyncBrokerageAuthorizationTransactionscommercialApiKeyRequest, ConnectionsApiSyncBrokerageAuthorizationTransactionspersonalApiKeyRequest, CryptoInstrument, CryptoOrderForm, CryptoOrderPreview, CryptoOrderPreviewEstimatedFee, CryptoTradingInstrument, CryptocurrencyPair, CryptocurrencyPairQuote, Currency, CurrencyNullable, DeleteConnectionConfirmation, DeleteUserResponse, DepositAccount, DepositAccountNetValue, DepositAccountSyncStatus, DividendAtDate, EncryptedResponse, EncryptedResponseEncryptedMessageData, EtfInstrument, Exchange, ExchangeRatePairs, ExperimentalEndpointsApi, ExperimentalEndpointsApiAddSubscriptionArgs, ExperimentalEndpointsApiAddSubscriptionBaseRequest, ExperimentalEndpointsApiAddSubscriptionRequest, ExperimentalEndpointsApiAddSubscriptionRequestByAuthMode, ExperimentalEndpointsApiAddSubscriptioncommercialApiKeyRequest, ExperimentalEndpointsApiAddSubscriptionpersonalApiKeyRequest, ExperimentalEndpointsApiAxiosParamCreator, ExperimentalEndpointsApiCancelSubscriptionArgs, ExperimentalEndpointsApiCancelSubscriptionBaseRequest, ExperimentalEndpointsApiCancelSubscriptionRequest, ExperimentalEndpointsApiCancelSubscriptionRequestByAuthMode, ExperimentalEndpointsApiCancelSubscriptioncommercialApiKeyRequest, ExperimentalEndpointsApiCancelSubscriptionpersonalApiKeyRequest, ExperimentalEndpointsApiFactory, ExperimentalEndpointsApiFp, ExperimentalEndpointsApiGenerated, ExperimentalEndpointsApiGetUserAccountOrderDetailV2Args, ExperimentalEndpointsApiGetUserAccountOrderDetailV2BaseRequest, ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request, ExperimentalEndpointsApiGetUserAccountOrderDetailV2RequestByAuthMode, ExperimentalEndpointsApiGetUserAccountOrderDetailV2commercialApiKeyRequest, ExperimentalEndpointsApiGetUserAccountOrderDetailV2personalApiKeyRequest, ExperimentalEndpointsApiGetUserAccountOrdersV2Args, ExperimentalEndpointsApiGetUserAccountOrdersV2BaseRequest, ExperimentalEndpointsApiGetUserAccountOrdersV2Request, ExperimentalEndpointsApiGetUserAccountOrdersV2RequestByAuthMode, ExperimentalEndpointsApiGetUserAccountOrdersV2commercialApiKeyRequest, ExperimentalEndpointsApiGetUserAccountOrdersV2personalApiKeyRequest, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Args, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2BaseRequest, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2RequestByAuthMode, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2commercialApiKeyRequest, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2personalApiKeyRequest, FigiInstrument, FigiInstrumentNullable, FutureInstrument, FutureOptionInstrument, HoldingsStatus, Institution, InstitutionConnection, InstitutionConnectionNullable, Instrument, InvestmentAccount, InvestmentAccountNetValue, LineOfCreditAccount, LineOfCreditAccountAvailableCredit, LineOfCreditAccountMinimumPaymentAmount, LineOfCreditAccountNetValue, LineOfCreditAccountSyncStatus, LoginRedirectURI, ManualTrade, ManualTradeAndImpact, ManualTradeBalance, ManualTradeForm, ManualTradeFormBracket, ManualTradeFormComplex, ManualTradeFormWithOptions, ManualTradeImpact, ManualTradePlaceTimeInForceStrict, ManualTradeReplaceForm, ManualTradeSymbol, MlegActionStrict, MlegInstrumentType, MlegLeg, MlegOrderResponse, MlegOrderTypeStrict, MlegPriceEffectStrict, MlegPriceEffectStrictNullable, MlegTradeForm, MlegTradingInstrument, Model400FailedRequestResponse, Model401FailedRequestResponse, Model402BrokerageAuthAlreadyDisabledException, Model402BrokerageAuthDisabledResponse, Model403FailedRequestResponse, Model403FeatureNotEnabledResponse, Model404FailedRequestResponse, Model425FailedRequestResponse, Model429TooManyRequestsResponse, Model500UnexpectedExceptionResponse, Model501NotImplementedResponse, Model503BrokerageRequestResponse, MonthlyDividends, MutualFundInstrument, NetContributions, NetDividend, NotionalValue, NotionalValueNullable, OAuthWebhookBase, OptionBrokerageSymbol, OptionChainInner, OptionChainInnerChainPerRootInner, OptionChainInnerChainPerRootInnerChainPerStrikePriceInner, OptionImpact, OptionInstrument, OptionLeg, OptionQuote, OptionQuoteGreeks, OptionStrategy, OptionStrategyLegsInner, OptionsPosition, OptionsSymbol, OptionsSymbolNullable, OrderTypeStrict, OrderUpdatedResponse, OtherInstrument, PaginatedUniversalActivity, PaginationDetails, PartnerData, PastValue, PerformanceCustom, PersonalApiKeyAuth, Position, PositionCurrency, PositionSymbol, RateOfReturnObject, RateOfReturnResponse, RecentOrdersResponse, ReferenceDataApi, ReferenceDataApiAxiosParamCreator, ReferenceDataApiFactory, ReferenceDataApiFp, ReferenceDataApiGenerated, ReferenceDataApiGetSymbolsArgs, ReferenceDataApiGetSymbolsBaseRequest, ReferenceDataApiGetSymbolsByTickerArgs, ReferenceDataApiGetSymbolsByTickerBaseRequest, ReferenceDataApiGetSymbolsByTickerRequest, ReferenceDataApiGetSymbolsByTickerRequestByAuthMode, ReferenceDataApiGetSymbolsByTickercommercialApiKeyRequest, ReferenceDataApiGetSymbolsByTickerpersonalApiKeyRequest, ReferenceDataApiGetSymbolsRequest, ReferenceDataApiGetSymbolsRequestByAuthMode, ReferenceDataApiGetSymbolscommercialApiKeyRequest, ReferenceDataApiGetSymbolspersonalApiKeyRequest, ReferenceDataApiListAllBrokerageAuthorizationTypeArgs, ReferenceDataApiListAllBrokerageAuthorizationTypeBaseRequest, ReferenceDataApiListAllBrokerageAuthorizationTypeRequest, ReferenceDataApiListAllBrokerageAuthorizationTypeRequestByAuthMode, ReferenceDataApiListAllBrokerageAuthorizationTypecommercialApiKeyRequest, ReferenceDataApiListAllBrokerageAuthorizationTypepersonalApiKeyRequest, ReferenceDataApiListAllBrokerageInstrumentsArgs, ReferenceDataApiListAllBrokerageInstrumentsBaseRequest, ReferenceDataApiListAllBrokerageInstrumentsRequest, ReferenceDataApiListAllBrokerageInstrumentsRequestByAuthMode, ReferenceDataApiListAllBrokerageInstrumentscommercialApiKeyRequest, ReferenceDataApiListAllBrokerageInstrumentspersonalApiKeyRequest, ReferenceDataApiSymbolSearchUserAccountArgs, ReferenceDataApiSymbolSearchUserAccountBaseRequest, ReferenceDataApiSymbolSearchUserAccountRequest, ReferenceDataApiSymbolSearchUserAccountRequestByAuthMode, ReferenceDataApiSymbolSearchUserAccountcommercialApiKeyRequest, ReferenceDataApiSymbolSearchUserAccountpersonalApiKeyRequest, SecurityType, SessionEvent, SimpleOrderForm, SnapTradeHoldingsAccount, SnapTradeHoldingsTotalValue, SnapTradeLoginUserRequestBody, SnapTradeRegisterUserRequestBody, Snaptrade, SnaptradeAuth, SnaptradeError, Status, StockInstrument, StopLoss, StrategyOrderRecord, StrategyQuotes, StrategyQuotesGreek, SubPeriodReturnRate, Symbol, SymbolCurrency, SymbolExchange, SymbolNullable, SymbolQuery, SymbolsQuotesInner, TakeProfit, TaxLot, TimeInForceStrict, TokenizedAssetInstrument, TradeDetectionAddSubscriptionRequest, TradeDetectionCancelSubscriptionRequest, TradeDetectionCancelSubscriptionResponse, TradeDetectionSubscription, TradingApi, TradingApiAxiosParamCreator, TradingApiCancelOrderArgs, TradingApiCancelOrderBaseRequest, TradingApiCancelOrderRequest, TradingApiCancelOrderRequestByAuthMode, TradingApiCancelOrdercommercialApiKeyRequest, TradingApiCancelOrderpersonalApiKeyRequest, TradingApiFactory, TradingApiFp, TradingApiGenerated, TradingApiGetCryptocurrencyPairQuoteArgs, TradingApiGetCryptocurrencyPairQuoteBaseRequest, TradingApiGetCryptocurrencyPairQuoteRequest, TradingApiGetCryptocurrencyPairQuoteRequestByAuthMode, TradingApiGetCryptocurrencyPairQuotecommercialApiKeyRequest, TradingApiGetCryptocurrencyPairQuotepersonalApiKeyRequest, TradingApiGetOptionImpactArgs, TradingApiGetOptionImpactBaseRequest, TradingApiGetOptionImpactRequest, TradingApiGetOptionImpactRequestByAuthMode, TradingApiGetOptionImpactcommercialApiKeyRequest, TradingApiGetOptionImpactpersonalApiKeyRequest, TradingApiGetOrderImpactArgs, TradingApiGetOrderImpactBaseRequest, TradingApiGetOrderImpactRequest, TradingApiGetOrderImpactRequestByAuthMode, TradingApiGetOrderImpactcommercialApiKeyRequest, TradingApiGetOrderImpactpersonalApiKeyRequest, TradingApiGetUserAccountOptionQuotesArgs, TradingApiGetUserAccountOptionQuotesBaseRequest, TradingApiGetUserAccountOptionQuotesRequest, TradingApiGetUserAccountOptionQuotesRequestByAuthMode, TradingApiGetUserAccountOptionQuotescommercialApiKeyRequest, TradingApiGetUserAccountOptionQuotespersonalApiKeyRequest, TradingApiGetUserAccountQuotesArgs, TradingApiGetUserAccountQuotesBaseRequest, TradingApiGetUserAccountQuotesRequest, TradingApiGetUserAccountQuotesRequestByAuthMode, TradingApiGetUserAccountQuotescommercialApiKeyRequest, TradingApiGetUserAccountQuotespersonalApiKeyRequest, TradingApiPlaceComplexOrderArgs, TradingApiPlaceComplexOrderBaseRequest, TradingApiPlaceComplexOrderRequest, TradingApiPlaceComplexOrderRequestByAuthMode, TradingApiPlaceComplexOrdercommercialApiKeyRequest, TradingApiPlaceComplexOrderpersonalApiKeyRequest, TradingApiPlaceCryptoOrderArgs, TradingApiPlaceCryptoOrderBaseRequest, TradingApiPlaceCryptoOrderRequest, TradingApiPlaceCryptoOrderRequestByAuthMode, TradingApiPlaceCryptoOrdercommercialApiKeyRequest, TradingApiPlaceCryptoOrderpersonalApiKeyRequest, TradingApiPlaceForceOrderArgs, TradingApiPlaceForceOrderBaseRequest, TradingApiPlaceForceOrderRequest, TradingApiPlaceForceOrderRequestByAuthMode, TradingApiPlaceForceOrdercommercialApiKeyRequest, TradingApiPlaceForceOrderpersonalApiKeyRequest, TradingApiPlaceMlegOrderArgs, TradingApiPlaceMlegOrderBaseRequest, TradingApiPlaceMlegOrderRequest, TradingApiPlaceMlegOrderRequestByAuthMode, TradingApiPlaceMlegOrdercommercialApiKeyRequest, TradingApiPlaceMlegOrderpersonalApiKeyRequest, TradingApiPlaceOrderArgs, TradingApiPlaceOrderBaseRequest, TradingApiPlaceOrderRequest, TradingApiPlaceOrderRequestByAuthMode, TradingApiPlaceOrdercommercialApiKeyRequest, TradingApiPlaceOrderpersonalApiKeyRequest, TradingApiPreviewCryptoOrderArgs, TradingApiPreviewCryptoOrderBaseRequest, TradingApiPreviewCryptoOrderRequest, TradingApiPreviewCryptoOrderRequestByAuthMode, TradingApiPreviewCryptoOrdercommercialApiKeyRequest, TradingApiPreviewCryptoOrderpersonalApiKeyRequest, TradingApiReplaceOrderArgs, TradingApiReplaceOrderBaseRequest, TradingApiReplaceOrderRequest, TradingApiReplaceOrderRequestByAuthMode, TradingApiReplaceOrdercommercialApiKeyRequest, TradingApiReplaceOrderpersonalApiKeyRequest, TradingApiSearchCryptocurrencyPairInstrumentsArgs, TradingApiSearchCryptocurrencyPairInstrumentsBaseRequest, TradingApiSearchCryptocurrencyPairInstrumentsRequest, TradingApiSearchCryptocurrencyPairInstrumentsRequestByAuthMode, TradingApiSearchCryptocurrencyPairInstrumentscommercialApiKeyRequest, TradingApiSearchCryptocurrencyPairInstrumentspersonalApiKeyRequest, TradingInstrument, TradingSearchCryptocurrencyPairInstruments200Response, TradingSession, TrailingStop, TrailingStopNullable, TransactionsStatus, USExchange, UnderlyingCfdInstrument, UnderlyingOptionInstrument, UnderlyingSymbol, UnderlyingSymbolExchange, UnderlyingSymbolType, UnderlyingTokenizedAssetInstrument, UniversalActivity, UniversalSymbol, UniversalSymbolNullable, UserIDandSecret, ValidatedTradeBody, parseIfJson, readableStreamToString };
11322
+ export { Account, AccountBalance, AccountBalanceTotal, AccountHoldings, AccountHoldingsAccount, AccountInformationApi, AccountInformationApiAxiosParamCreator, AccountInformationApiFactory, AccountInformationApiFp, AccountInformationApiGenerated, AccountInformationApiGetAccountActivitiesArgs, AccountInformationApiGetAccountActivitiesBaseRequest, AccountInformationApiGetAccountActivitiesRequest, AccountInformationApiGetAccountActivitiesRequestByAuthMode, AccountInformationApiGetAccountActivitiescommercialApiKeyRequest, AccountInformationApiGetAccountActivitiespersonalApiKeyRequest, AccountInformationApiGetAccountBalanceHistoryArgs, AccountInformationApiGetAccountBalanceHistoryBaseRequest, AccountInformationApiGetAccountBalanceHistoryRequest, AccountInformationApiGetAccountBalanceHistoryRequestByAuthMode, AccountInformationApiGetAccountBalanceHistorycommercialApiKeyRequest, AccountInformationApiGetAccountBalanceHistorypersonalApiKeyRequest, AccountInformationApiGetAllAccountPositionsArgs, AccountInformationApiGetAllAccountPositionsBaseRequest, AccountInformationApiGetAllAccountPositionsRequest, AccountInformationApiGetAllAccountPositionsRequestByAuthMode, AccountInformationApiGetAllAccountPositionscommercialApiKeyRequest, AccountInformationApiGetAllAccountPositionspersonalApiKeyRequest, AccountInformationApiGetUserAccountBalanceArgs, AccountInformationApiGetUserAccountBalanceBaseRequest, AccountInformationApiGetUserAccountBalanceRequest, AccountInformationApiGetUserAccountBalanceRequestByAuthMode, AccountInformationApiGetUserAccountBalancecommercialApiKeyRequest, AccountInformationApiGetUserAccountBalancepersonalApiKeyRequest, AccountInformationApiGetUserAccountDetailsArgs, AccountInformationApiGetUserAccountDetailsBaseRequest, AccountInformationApiGetUserAccountDetailsRequest, AccountInformationApiGetUserAccountDetailsRequestByAuthMode, AccountInformationApiGetUserAccountDetailscommercialApiKeyRequest, AccountInformationApiGetUserAccountDetailspersonalApiKeyRequest, AccountInformationApiGetUserAccountOrderDetailArgs, AccountInformationApiGetUserAccountOrderDetailBaseRequest, AccountInformationApiGetUserAccountOrderDetailRequest, AccountInformationApiGetUserAccountOrderDetailRequestByAuthMode, AccountInformationApiGetUserAccountOrderDetailcommercialApiKeyRequest, AccountInformationApiGetUserAccountOrderDetailpersonalApiKeyRequest, AccountInformationApiGetUserAccountOrdersArgs, AccountInformationApiGetUserAccountOrdersBaseRequest, AccountInformationApiGetUserAccountOrdersRequest, AccountInformationApiGetUserAccountOrdersRequestByAuthMode, AccountInformationApiGetUserAccountOrderscommercialApiKeyRequest, AccountInformationApiGetUserAccountOrderspersonalApiKeyRequest, AccountInformationApiGetUserAccountRecentOrdersArgs, AccountInformationApiGetUserAccountRecentOrdersBaseRequest, AccountInformationApiGetUserAccountRecentOrdersRequest, AccountInformationApiGetUserAccountRecentOrdersRequestByAuthMode, AccountInformationApiGetUserAccountRecentOrderscommercialApiKeyRequest, AccountInformationApiGetUserAccountRecentOrderspersonalApiKeyRequest, AccountInformationApiGetUserAccountReturnRatesArgs, AccountInformationApiGetUserAccountReturnRatesBaseRequest, AccountInformationApiGetUserAccountReturnRatesRequest, AccountInformationApiGetUserAccountReturnRatesRequestByAuthMode, AccountInformationApiGetUserAccountReturnRatescommercialApiKeyRequest, AccountInformationApiGetUserAccountReturnRatespersonalApiKeyRequest, AccountInformationApiGetUserHoldingsArgs, AccountInformationApiGetUserHoldingsBaseRequest, AccountInformationApiGetUserHoldingsRequest, AccountInformationApiGetUserHoldingsRequestByAuthMode, AccountInformationApiGetUserHoldingscommercialApiKeyRequest, AccountInformationApiGetUserHoldingspersonalApiKeyRequest, AccountInformationApiListUserAccountsArgs, AccountInformationApiListUserAccountsBaseRequest, AccountInformationApiListUserAccountsRequest, AccountInformationApiListUserAccountsRequestByAuthMode, AccountInformationApiListUserAccountscommercialApiKeyRequest, AccountInformationApiListUserAccountspersonalApiKeyRequest, AccountInformationApiUpdateUserAccountArgs, AccountInformationApiUpdateUserAccountBaseRequest, AccountInformationApiUpdateUserAccountRequest, AccountInformationApiUpdateUserAccountRequestByAuthMode, AccountInformationApiUpdateUserAccountcommercialApiKeyRequest, AccountInformationApiUpdateUserAccountpersonalApiKeyRequest, AccountInformationGetUserAccountOrderDetailRequest, AccountOrderRecord, AccountOrderRecordLeg, AccountOrderRecordLegInstrument, AccountOrderRecordNullable, AccountOrderRecordStatus, AccountOrderRecordStatusV2, AccountOrderRecordStatusV2Nullable, AccountOrderRecordV2, AccountOrderRecordV2OrderRole, AccountOrderRecordV2OrderRoleNullable, AccountOrdersV2Response, AccountPosition, AccountSimple, AccountSyncStatus, AccountUniversalActivity, AccountValueHistoryItem, AccountValueHistoryResponse, ActionStrict, ActionStrictWithOptions, AdrInstrument, AllAccountPositionsResponse, AllAccountPositionsResponseDataFreshness, AllUserAccountsResponse, ApiKey, ApiStatusApi, ApiStatusApiAxiosParamCreator, ApiStatusApiFactory, ApiStatusApiFp, ApiStatusApiGenerated, type AuthMode, AuthenticationApi, AuthenticationApiAxiosParamCreator, AuthenticationApiDeleteSnapTradeUserArgs, AuthenticationApiDeleteSnapTradeUserBaseRequest, AuthenticationApiDeleteSnapTradeUserRequest, AuthenticationApiDeleteSnapTradeUserRequestByAuthMode, AuthenticationApiDeleteSnapTradeUsercommercialApiKeyRequest, AuthenticationApiFactory, AuthenticationApiFp, AuthenticationApiGenerated, AuthenticationApiLoginSnapTradeUserArgs, AuthenticationApiLoginSnapTradeUserBaseRequest, AuthenticationApiLoginSnapTradeUserRequest, AuthenticationApiLoginSnapTradeUserRequestByAuthMode, AuthenticationApiLoginSnapTradeUsercommercialApiKeyRequest, AuthenticationApiLoginSnapTradeUserpersonalApiKeyRequest, AuthenticationApiRegisterSnapTradeUserArgs, AuthenticationApiRegisterSnapTradeUserBaseRequest, AuthenticationApiRegisterSnapTradeUserRequest, AuthenticationApiRegisterSnapTradeUserRequestByAuthMode, AuthenticationApiRegisterSnapTradeUsercommercialApiKeyRequest, AuthenticationApiResetSnapTradeUserSecretArgs, AuthenticationApiResetSnapTradeUserSecretBaseRequest, AuthenticationApiResetSnapTradeUserSecretRequest, AuthenticationApiResetSnapTradeUserSecretRequestByAuthMode, AuthenticationApiResetSnapTradeUserSecretcommercialApiKeyRequest, AuthenticationLoginSnapTradeUser200Response, Balance, BalanceCurrency, Brokerage, BrokerageAuthorization, BrokerageAuthorizationDataFreshnessMode, BrokerageAuthorizationDisabledConfirmation, BrokerageAuthorizationRefreshConfirmation, BrokerageAuthorizationTransactionsSyncConfirmation, BrokerageAuthorizationTypeReadOnly, BrokerageAuthorizationTypeReadOnlyBrokerage, BrokerageInstrument, BrokerageInstrumentsResponse, BrokerageType, CancelOrderResponse, CefInstrument, CfdInstrument, ChildBrokerageOrderIDs, ChildBrokerageOrderIDsNullable, CommercialApiKeyAuth, ComplexOrderLeg, ComplexOrderResponse, Configuration, ConfigurationParameters, ConfigurationParametersShared, ConnectionAccount, ConnectionAccountSyncStatus, ConnectionAccountsResponse, ConnectionsApi, ConnectionsApiAxiosParamCreator, ConnectionsApiDeleteConnectionArgs, ConnectionsApiDeleteConnectionBaseRequest, ConnectionsApiDeleteConnectionRequest, ConnectionsApiDeleteConnectionRequestByAuthMode, ConnectionsApiDeleteConnectioncommercialApiKeyRequest, ConnectionsApiDeleteConnectionpersonalApiKeyRequest, ConnectionsApiDetailBrokerageAuthorizationArgs, ConnectionsApiDetailBrokerageAuthorizationBaseRequest, ConnectionsApiDetailBrokerageAuthorizationRequest, ConnectionsApiDetailBrokerageAuthorizationRequestByAuthMode, ConnectionsApiDetailBrokerageAuthorizationcommercialApiKeyRequest, ConnectionsApiDetailBrokerageAuthorizationpersonalApiKeyRequest, ConnectionsApiDisableBrokerageAuthorizationArgs, ConnectionsApiDisableBrokerageAuthorizationBaseRequest, ConnectionsApiDisableBrokerageAuthorizationRequest, ConnectionsApiDisableBrokerageAuthorizationRequestByAuthMode, ConnectionsApiDisableBrokerageAuthorizationcommercialApiKeyRequest, ConnectionsApiDisableBrokerageAuthorizationpersonalApiKeyRequest, ConnectionsApiFactory, ConnectionsApiFp, ConnectionsApiGenerated, ConnectionsApiListBrokerageAuthorizationAccountsArgs, ConnectionsApiListBrokerageAuthorizationAccountsBaseRequest, ConnectionsApiListBrokerageAuthorizationAccountsRequest, ConnectionsApiListBrokerageAuthorizationAccountsRequestByAuthMode, ConnectionsApiListBrokerageAuthorizationAccountscommercialApiKeyRequest, ConnectionsApiListBrokerageAuthorizationAccountspersonalApiKeyRequest, ConnectionsApiListBrokerageAuthorizationsArgs, ConnectionsApiListBrokerageAuthorizationsBaseRequest, ConnectionsApiListBrokerageAuthorizationsRequest, ConnectionsApiListBrokerageAuthorizationsRequestByAuthMode, ConnectionsApiListBrokerageAuthorizationscommercialApiKeyRequest, ConnectionsApiListBrokerageAuthorizationspersonalApiKeyRequest, ConnectionsApiListConnectionAccountsArgs, ConnectionsApiListConnectionAccountsBaseRequest, ConnectionsApiListConnectionAccountsRequest, ConnectionsApiListConnectionAccountsRequestByAuthMode, ConnectionsApiListConnectionAccountscommercialApiKeyRequest, ConnectionsApiListConnectionAccountspersonalApiKeyRequest, ConnectionsApiRefreshBrokerageAuthorizationArgs, ConnectionsApiRefreshBrokerageAuthorizationBaseRequest, ConnectionsApiRefreshBrokerageAuthorizationRequest, ConnectionsApiRefreshBrokerageAuthorizationRequestByAuthMode, ConnectionsApiRefreshBrokerageAuthorizationcommercialApiKeyRequest, ConnectionsApiRefreshBrokerageAuthorizationpersonalApiKeyRequest, ConnectionsApiReturnRatesArgs, ConnectionsApiReturnRatesBaseRequest, ConnectionsApiReturnRatesRequest, ConnectionsApiReturnRatesRequestByAuthMode, ConnectionsApiReturnRatescommercialApiKeyRequest, ConnectionsApiReturnRatespersonalApiKeyRequest, ConnectionsApiSyncBrokerageAuthorizationTransactionsArgs, ConnectionsApiSyncBrokerageAuthorizationTransactionsBaseRequest, ConnectionsApiSyncBrokerageAuthorizationTransactionsRequest, ConnectionsApiSyncBrokerageAuthorizationTransactionsRequestByAuthMode, ConnectionsApiSyncBrokerageAuthorizationTransactionscommercialApiKeyRequest, ConnectionsApiSyncBrokerageAuthorizationTransactionspersonalApiKeyRequest, CryptoInstrument, CryptoOrderForm, CryptoOrderPreview, CryptoOrderPreviewEstimatedFee, CryptoTradingInstrument, CryptocurrencyPair, CryptocurrencyPairQuote, Currency, CurrencyNullable, DeleteConnectionConfirmation, DeleteUserResponse, DepositAccount, DepositAccountNetValue, DepositAccountSyncStatus, DividendAtDate, EncryptedResponse, EncryptedResponseEncryptedMessageData, EtfInstrument, Exchange, ExchangeRatePairs, ExperimentalEndpointsApi, ExperimentalEndpointsApiAddSubscriptionArgs, ExperimentalEndpointsApiAddSubscriptionBaseRequest, ExperimentalEndpointsApiAddSubscriptionRequest, ExperimentalEndpointsApiAddSubscriptionRequestByAuthMode, ExperimentalEndpointsApiAddSubscriptioncommercialApiKeyRequest, ExperimentalEndpointsApiAddSubscriptionpersonalApiKeyRequest, ExperimentalEndpointsApiAxiosParamCreator, ExperimentalEndpointsApiCancelSubscriptionArgs, ExperimentalEndpointsApiCancelSubscriptionBaseRequest, ExperimentalEndpointsApiCancelSubscriptionRequest, ExperimentalEndpointsApiCancelSubscriptionRequestByAuthMode, ExperimentalEndpointsApiCancelSubscriptioncommercialApiKeyRequest, ExperimentalEndpointsApiCancelSubscriptionpersonalApiKeyRequest, ExperimentalEndpointsApiFactory, ExperimentalEndpointsApiFp, ExperimentalEndpointsApiGenerated, ExperimentalEndpointsApiGetAccountDetailsArgs, ExperimentalEndpointsApiGetAccountDetailsBaseRequest, ExperimentalEndpointsApiGetAccountDetailsRequest, ExperimentalEndpointsApiGetAccountDetailsRequestByAuthMode, ExperimentalEndpointsApiGetAccountDetailscommercialApiKeyRequest, ExperimentalEndpointsApiGetAccountDetailspersonalApiKeyRequest, ExperimentalEndpointsApiGetUserAccountOrderDetailV2Args, ExperimentalEndpointsApiGetUserAccountOrderDetailV2BaseRequest, ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request, ExperimentalEndpointsApiGetUserAccountOrderDetailV2RequestByAuthMode, ExperimentalEndpointsApiGetUserAccountOrderDetailV2commercialApiKeyRequest, ExperimentalEndpointsApiGetUserAccountOrderDetailV2personalApiKeyRequest, ExperimentalEndpointsApiGetUserAccountOrdersV2Args, ExperimentalEndpointsApiGetUserAccountOrdersV2BaseRequest, ExperimentalEndpointsApiGetUserAccountOrdersV2Request, ExperimentalEndpointsApiGetUserAccountOrdersV2RequestByAuthMode, ExperimentalEndpointsApiGetUserAccountOrdersV2commercialApiKeyRequest, ExperimentalEndpointsApiGetUserAccountOrdersV2personalApiKeyRequest, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Args, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2BaseRequest, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2RequestByAuthMode, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2commercialApiKeyRequest, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2personalApiKeyRequest, ExperimentalEndpointsApiListAllUserAccountsArgs, ExperimentalEndpointsApiListAllUserAccountsBaseRequest, ExperimentalEndpointsApiListAllUserAccountsRequest, ExperimentalEndpointsApiListAllUserAccountsRequestByAuthMode, ExperimentalEndpointsApiListAllUserAccountscommercialApiKeyRequest, ExperimentalEndpointsApiListAllUserAccountspersonalApiKeyRequest, FigiInstrument, FigiInstrumentNullable, FutureInstrument, FutureOptionInstrument, HoldingsStatus, Institution, InstitutionConnection, InstitutionConnectionNullable, Instrument, InvestmentAccount, InvestmentAccountNetValue, LineOfCreditAccount, LineOfCreditAccountAvailableCredit, LineOfCreditAccountMinimumPaymentAmount, LineOfCreditAccountNetValue, LineOfCreditAccountSyncStatus, LoginRedirectURI, ManualTrade, ManualTradeAndImpact, ManualTradeBalance, ManualTradeForm, ManualTradeFormBracket, ManualTradeFormComplex, ManualTradeFormWithOptions, ManualTradeImpact, ManualTradePlaceTimeInForceStrict, ManualTradeReplaceForm, ManualTradeSymbol, MlegActionStrict, MlegInstrumentType, MlegLeg, MlegOrderResponse, MlegOrderTypeStrict, MlegPriceEffectStrict, MlegPriceEffectStrictNullable, MlegTradeForm, MlegTradingInstrument, Model400FailedRequestResponse, Model401FailedRequestResponse, Model402BrokerageAuthAlreadyDisabledException, Model402BrokerageAuthDisabledResponse, Model403FailedRequestResponse, Model403FeatureNotEnabledResponse, Model404FailedRequestResponse, Model425FailedRequestResponse, Model429TooManyRequestsResponse, Model500UnexpectedExceptionResponse, Model501NotImplementedResponse, Model503BrokerageRequestResponse, MonthlyDividends, MutualFundInstrument, NetContributions, NetDividend, NotionalValue, NotionalValueNullable, OAuthWebhookBase, OptionBrokerageSymbol, OptionChainInner, OptionChainInnerChainPerRootInner, OptionChainInnerChainPerRootInnerChainPerStrikePriceInner, OptionImpact, OptionInstrument, OptionLeg, OptionQuote, OptionQuoteGreeks, OptionStrategy, OptionStrategyLegsInner, OptionsPosition, OptionsSymbol, OptionsSymbolNullable, OrderTypeStrict, OrderUpdatedResponse, OtherInstrument, PaginatedUniversalActivity, PaginationDetails, PartnerData, PastValue, PerformanceCustom, PersonalApiKeyAuth, Position, PositionCurrency, PositionSymbol, RateOfReturnObject, RateOfReturnResponse, RecentOrdersResponse, ReferenceDataApi, ReferenceDataApiAxiosParamCreator, ReferenceDataApiFactory, ReferenceDataApiFp, ReferenceDataApiGenerated, ReferenceDataApiGetSymbolsArgs, ReferenceDataApiGetSymbolsBaseRequest, ReferenceDataApiGetSymbolsByTickerArgs, ReferenceDataApiGetSymbolsByTickerBaseRequest, ReferenceDataApiGetSymbolsByTickerRequest, ReferenceDataApiGetSymbolsByTickerRequestByAuthMode, ReferenceDataApiGetSymbolsByTickercommercialApiKeyRequest, ReferenceDataApiGetSymbolsByTickerpersonalApiKeyRequest, ReferenceDataApiGetSymbolsRequest, ReferenceDataApiGetSymbolsRequestByAuthMode, ReferenceDataApiGetSymbolscommercialApiKeyRequest, ReferenceDataApiGetSymbolspersonalApiKeyRequest, ReferenceDataApiListAllBrokerageAuthorizationTypeArgs, ReferenceDataApiListAllBrokerageAuthorizationTypeBaseRequest, ReferenceDataApiListAllBrokerageAuthorizationTypeRequest, ReferenceDataApiListAllBrokerageAuthorizationTypeRequestByAuthMode, ReferenceDataApiListAllBrokerageAuthorizationTypecommercialApiKeyRequest, ReferenceDataApiListAllBrokerageAuthorizationTypepersonalApiKeyRequest, ReferenceDataApiListAllBrokerageInstrumentsArgs, ReferenceDataApiListAllBrokerageInstrumentsBaseRequest, ReferenceDataApiListAllBrokerageInstrumentsRequest, ReferenceDataApiListAllBrokerageInstrumentsRequestByAuthMode, ReferenceDataApiListAllBrokerageInstrumentscommercialApiKeyRequest, ReferenceDataApiListAllBrokerageInstrumentspersonalApiKeyRequest, ReferenceDataApiSymbolSearchUserAccountArgs, ReferenceDataApiSymbolSearchUserAccountBaseRequest, ReferenceDataApiSymbolSearchUserAccountRequest, ReferenceDataApiSymbolSearchUserAccountRequestByAuthMode, ReferenceDataApiSymbolSearchUserAccountcommercialApiKeyRequest, ReferenceDataApiSymbolSearchUserAccountpersonalApiKeyRequest, SecurityType, SessionEvent, SimpleOrderForm, SnapTradeHoldingsAccount, SnapTradeHoldingsTotalValue, SnapTradeLoginUserRequestBody, SnapTradeRegisterUserRequestBody, Snaptrade, SnaptradeAuth, SnaptradeError, Status, StockInstrument, StopLoss, StrategyOrderRecord, StrategyQuotes, StrategyQuotesGreek, SubPeriodReturnRate, Symbol, SymbolCurrency, SymbolExchange, SymbolNullable, SymbolQuery, SymbolsQuotesInner, TakeProfit, TaxLot, TimeInForceStrict, TokenizedAssetInstrument, TradeDetectionAddSubscriptionRequest, TradeDetectionCancelSubscriptionRequest, TradeDetectionCancelSubscriptionResponse, TradeDetectionSubscription, TradingApi, TradingApiAxiosParamCreator, TradingApiCancelOrderArgs, TradingApiCancelOrderBaseRequest, TradingApiCancelOrderRequest, TradingApiCancelOrderRequestByAuthMode, TradingApiCancelOrdercommercialApiKeyRequest, TradingApiCancelOrderpersonalApiKeyRequest, TradingApiFactory, TradingApiFp, TradingApiGenerated, TradingApiGetCryptocurrencyPairQuoteArgs, TradingApiGetCryptocurrencyPairQuoteBaseRequest, TradingApiGetCryptocurrencyPairQuoteRequest, TradingApiGetCryptocurrencyPairQuoteRequestByAuthMode, TradingApiGetCryptocurrencyPairQuotecommercialApiKeyRequest, TradingApiGetCryptocurrencyPairQuotepersonalApiKeyRequest, TradingApiGetOptionImpactArgs, TradingApiGetOptionImpactBaseRequest, TradingApiGetOptionImpactRequest, TradingApiGetOptionImpactRequestByAuthMode, TradingApiGetOptionImpactcommercialApiKeyRequest, TradingApiGetOptionImpactpersonalApiKeyRequest, TradingApiGetOrderImpactArgs, TradingApiGetOrderImpactBaseRequest, TradingApiGetOrderImpactRequest, TradingApiGetOrderImpactRequestByAuthMode, TradingApiGetOrderImpactcommercialApiKeyRequest, TradingApiGetOrderImpactpersonalApiKeyRequest, TradingApiGetUserAccountOptionQuotesArgs, TradingApiGetUserAccountOptionQuotesBaseRequest, TradingApiGetUserAccountOptionQuotesRequest, TradingApiGetUserAccountOptionQuotesRequestByAuthMode, TradingApiGetUserAccountOptionQuotescommercialApiKeyRequest, TradingApiGetUserAccountOptionQuotespersonalApiKeyRequest, TradingApiGetUserAccountQuotesArgs, TradingApiGetUserAccountQuotesBaseRequest, TradingApiGetUserAccountQuotesRequest, TradingApiGetUserAccountQuotesRequestByAuthMode, TradingApiGetUserAccountQuotescommercialApiKeyRequest, TradingApiGetUserAccountQuotespersonalApiKeyRequest, TradingApiPlaceComplexOrderArgs, TradingApiPlaceComplexOrderBaseRequest, TradingApiPlaceComplexOrderRequest, TradingApiPlaceComplexOrderRequestByAuthMode, TradingApiPlaceComplexOrdercommercialApiKeyRequest, TradingApiPlaceComplexOrderpersonalApiKeyRequest, TradingApiPlaceCryptoOrderArgs, TradingApiPlaceCryptoOrderBaseRequest, TradingApiPlaceCryptoOrderRequest, TradingApiPlaceCryptoOrderRequestByAuthMode, TradingApiPlaceCryptoOrdercommercialApiKeyRequest, TradingApiPlaceCryptoOrderpersonalApiKeyRequest, TradingApiPlaceForceOrderArgs, TradingApiPlaceForceOrderBaseRequest, TradingApiPlaceForceOrderRequest, TradingApiPlaceForceOrderRequestByAuthMode, TradingApiPlaceForceOrdercommercialApiKeyRequest, TradingApiPlaceForceOrderpersonalApiKeyRequest, TradingApiPlaceMlegOrderArgs, TradingApiPlaceMlegOrderBaseRequest, TradingApiPlaceMlegOrderRequest, TradingApiPlaceMlegOrderRequestByAuthMode, TradingApiPlaceMlegOrdercommercialApiKeyRequest, TradingApiPlaceMlegOrderpersonalApiKeyRequest, TradingApiPlaceOrderArgs, TradingApiPlaceOrderBaseRequest, TradingApiPlaceOrderRequest, TradingApiPlaceOrderRequestByAuthMode, TradingApiPlaceOrdercommercialApiKeyRequest, TradingApiPlaceOrderpersonalApiKeyRequest, TradingApiPreviewCryptoOrderArgs, TradingApiPreviewCryptoOrderBaseRequest, TradingApiPreviewCryptoOrderRequest, TradingApiPreviewCryptoOrderRequestByAuthMode, TradingApiPreviewCryptoOrdercommercialApiKeyRequest, TradingApiPreviewCryptoOrderpersonalApiKeyRequest, TradingApiReplaceOrderArgs, TradingApiReplaceOrderBaseRequest, TradingApiReplaceOrderRequest, TradingApiReplaceOrderRequestByAuthMode, TradingApiReplaceOrdercommercialApiKeyRequest, TradingApiReplaceOrderpersonalApiKeyRequest, TradingApiSearchCryptocurrencyPairInstrumentsArgs, TradingApiSearchCryptocurrencyPairInstrumentsBaseRequest, TradingApiSearchCryptocurrencyPairInstrumentsRequest, TradingApiSearchCryptocurrencyPairInstrumentsRequestByAuthMode, TradingApiSearchCryptocurrencyPairInstrumentscommercialApiKeyRequest, TradingApiSearchCryptocurrencyPairInstrumentspersonalApiKeyRequest, TradingGetUserAccountOptionQuotes410Response, TradingInstrument, TradingSearchCryptocurrencyPairInstruments200Response, TradingSession, TrailingStop, TrailingStopNullable, TransactionsStatus, USExchange, UnderlyingCfdInstrument, UnderlyingOptionInstrument, UnderlyingSymbol, UnderlyingSymbolExchange, UnderlyingSymbolType, UnderlyingTokenizedAssetInstrument, UniversalActivity, UniversalSymbol, UniversalSymbolNullable, UserIDandSecret, ValidatedTradeBody, parseIfJson, readableStreamToString };