snaptrade-typescript-sdk 12.2.16 → 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/README.md +118 -1
- package/dist/browser.umd.js +1 -1
- package/dist/index.cjs +233 -1
- package/dist/index.d.cts +643 -511
- package/dist/index.d.mts +643 -511
- package/dist/index.d.ts +643 -511
- package/dist/index.mjs +233 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3529,887 +3529,903 @@ interface AllAccountPositionsResponse {
|
|
|
3529
3529
|
'data_freshness': AllAccountPositionsResponseDataFreshness;
|
|
3530
3530
|
}
|
|
3531
3531
|
//#endregion
|
|
3532
|
-
//#region models/
|
|
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
|
|
3536
|
+
* @interface DepositAccountNetValue
|
|
3537
3537
|
*/
|
|
3538
|
-
interface
|
|
3538
|
+
interface DepositAccountNetValue {
|
|
3539
3539
|
[key: string]: any;
|
|
3540
3540
|
/**
|
|
3541
3541
|
*
|
|
3542
|
-
* @type {
|
|
3543
|
-
* @memberof
|
|
3544
|
-
*/
|
|
3545
|
-
'encryptedMessage'?: string;
|
|
3546
|
-
/**
|
|
3547
|
-
*
|
|
3548
|
-
* @type {string}
|
|
3549
|
-
* @memberof EncryptedResponseEncryptedMessageData
|
|
3542
|
+
* @type {number}
|
|
3543
|
+
* @memberof DepositAccountNetValue
|
|
3550
3544
|
*/
|
|
3551
|
-
'
|
|
3545
|
+
'amount'?: number | null;
|
|
3552
3546
|
/**
|
|
3553
3547
|
*
|
|
3554
3548
|
* @type {string}
|
|
3555
|
-
* @memberof
|
|
3549
|
+
* @memberof DepositAccountNetValue
|
|
3556
3550
|
*/
|
|
3557
|
-
'
|
|
3551
|
+
'currency'?: string | null;
|
|
3558
3552
|
}
|
|
3559
3553
|
//#endregion
|
|
3560
|
-
//#region models/
|
|
3554
|
+
//#region models/deposit-account-sync-status.d.ts
|
|
3561
3555
|
/**
|
|
3562
|
-
*
|
|
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
|
|
3558
|
+
* @interface DepositAccountSyncStatus
|
|
3565
3559
|
*/
|
|
3566
|
-
interface
|
|
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 {
|
|
3576
|
-
* @memberof
|
|
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
|
-
'
|
|
3567
|
+
'transactions'?: TransactionsStatus;
|
|
3594
3568
|
/**
|
|
3595
|
-
*
|
|
3569
|
+
* Date in ISO 8601 format or null (YYYY-MM-DD HH:MM:SS.mmmmmmTZ)
|
|
3596
3570
|
* @type {string}
|
|
3597
|
-
* @memberof
|
|
3571
|
+
* @memberof DepositAccountSyncStatus
|
|
3598
3572
|
*/
|
|
3599
|
-
'
|
|
3573
|
+
'balances'?: string | null;
|
|
3600
3574
|
}
|
|
3601
3575
|
//#endregion
|
|
3602
|
-
//#region models/
|
|
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
|
-
*
|
|
3578
|
+
* A deposit account (checking, savings) under a connection.
|
|
3612
3579
|
* @export
|
|
3613
|
-
* @interface
|
|
3580
|
+
* @interface DepositAccount
|
|
3614
3581
|
*/
|
|
3615
|
-
interface
|
|
3582
|
+
interface DepositAccount {
|
|
3616
3583
|
[key: string]: any;
|
|
3617
3584
|
/**
|
|
3618
|
-
*
|
|
3585
|
+
* Discriminator for the account kind.
|
|
3619
3586
|
* @type {string}
|
|
3620
|
-
* @memberof
|
|
3587
|
+
* @memberof DepositAccount
|
|
3621
3588
|
*/
|
|
3622
|
-
'
|
|
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
|
-
*
|
|
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
|
|
3593
|
+
* @memberof DepositAccount
|
|
3637
3594
|
*/
|
|
3638
|
-
'
|
|
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
|
-
*
|
|
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
|
|
3599
|
+
* @memberof DepositAccount
|
|
3653
3600
|
*/
|
|
3654
|
-
'
|
|
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
|
|
3605
|
+
* @memberof DepositAccount
|
|
3669
3606
|
*/
|
|
3670
|
-
'
|
|
3607
|
+
'display_name'?: string | null;
|
|
3671
3608
|
/**
|
|
3672
|
-
*
|
|
3609
|
+
* The account number assigned by the institution, masked to the last 4 characters (e.g. `****4821`).
|
|
3673
3610
|
* @type {string}
|
|
3674
|
-
* @memberof
|
|
3611
|
+
* @memberof DepositAccount
|
|
3675
3612
|
*/
|
|
3676
|
-
'
|
|
3613
|
+
'masked_account_number': string;
|
|
3677
3614
|
/**
|
|
3678
|
-
* A unique identifier
|
|
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
|
|
3617
|
+
* @memberof DepositAccount
|
|
3681
3618
|
*/
|
|
3682
|
-
'
|
|
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
|
|
3623
|
+
* @memberof DepositAccount
|
|
3697
3624
|
*/
|
|
3698
|
-
'
|
|
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
|
|
3629
|
+
* @memberof DepositAccount
|
|
3703
3630
|
*/
|
|
3704
|
-
'
|
|
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
|
|
3641
|
+
* @memberof DepositAccount
|
|
3709
3642
|
*/
|
|
3710
|
-
'
|
|
3643
|
+
'raw_type'?: string | null;
|
|
3711
3644
|
/**
|
|
3712
3645
|
*
|
|
3713
|
-
* @type {
|
|
3714
|
-
* @memberof
|
|
3646
|
+
* @type {DepositAccountNetValue}
|
|
3647
|
+
* @memberof DepositAccount
|
|
3715
3648
|
*/
|
|
3716
|
-
'
|
|
3649
|
+
'net_value'?: DepositAccountNetValue | null;
|
|
3717
3650
|
}
|
|
3718
|
-
type
|
|
3719
|
-
type BrokerageAuthorizationTypeReadOnlyAuthTypeEnum = 'OAUTH' | 'SCRAPE' | 'UNOFFICIAL_API' | 'TOKEN';
|
|
3651
|
+
type DepositAccountKindEnum = 'deposit';
|
|
3720
3652
|
//#endregion
|
|
3721
|
-
//#region models/
|
|
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
|
|
3657
|
+
* @interface ConnectionAccountSyncStatus
|
|
3726
3658
|
*/
|
|
3727
|
-
interface
|
|
3659
|
+
interface ConnectionAccountSyncStatus {
|
|
3728
3660
|
[key: string]: any;
|
|
3729
3661
|
/**
|
|
3730
|
-
*
|
|
3731
|
-
* @type {
|
|
3732
|
-
* @memberof
|
|
3662
|
+
*
|
|
3663
|
+
* @type {TransactionsStatus}
|
|
3664
|
+
* @memberof ConnectionAccountSyncStatus
|
|
3733
3665
|
*/
|
|
3734
|
-
'
|
|
3666
|
+
'transactions'?: TransactionsStatus;
|
|
3735
3667
|
/**
|
|
3736
|
-
*
|
|
3668
|
+
* Date in ISO 8601 format or null (YYYY-MM-DD HH:MM:SS.mmmmmmTZ)
|
|
3737
3669
|
* @type {string}
|
|
3738
|
-
* @memberof
|
|
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
|
-
'
|
|
3672
|
+
'orders'?: string | null;
|
|
3747
3673
|
/**
|
|
3748
|
-
*
|
|
3749
|
-
* @type {
|
|
3750
|
-
* @memberof
|
|
3674
|
+
* Date in ISO 8601 format or null (YYYY-MM-DD HH:MM:SS.mmmmmmTZ)
|
|
3675
|
+
* @type {string}
|
|
3676
|
+
* @memberof ConnectionAccountSyncStatus
|
|
3751
3677
|
*/
|
|
3752
|
-
'
|
|
3678
|
+
'positions'?: string | null;
|
|
3753
3679
|
/**
|
|
3754
|
-
*
|
|
3680
|
+
* Date in ISO 8601 format or null (YYYY-MM-DD HH:MM:SS.mmmmmmTZ)
|
|
3755
3681
|
* @type {string}
|
|
3756
|
-
* @memberof
|
|
3682
|
+
* @memberof ConnectionAccountSyncStatus
|
|
3757
3683
|
*/
|
|
3758
|
-
'
|
|
3684
|
+
'balances'?: string | null;
|
|
3759
3685
|
}
|
|
3760
3686
|
//#endregion
|
|
3761
|
-
//#region models/
|
|
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
|
|
3691
|
+
* @interface InvestmentAccountNetValue
|
|
3766
3692
|
*/
|
|
3767
|
-
interface
|
|
3693
|
+
interface InvestmentAccountNetValue {
|
|
3768
3694
|
[key: string]: any;
|
|
3769
3695
|
/**
|
|
3770
3696
|
*
|
|
3771
|
-
* @type {
|
|
3772
|
-
* @memberof
|
|
3697
|
+
* @type {number}
|
|
3698
|
+
* @memberof InvestmentAccountNetValue
|
|
3773
3699
|
*/
|
|
3774
|
-
'
|
|
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/
|
|
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
|
|
3713
|
+
* @interface InvestmentAccount
|
|
3782
3714
|
*/
|
|
3783
|
-
interface
|
|
3715
|
+
interface InvestmentAccount {
|
|
3784
3716
|
[key: string]: any;
|
|
3785
3717
|
/**
|
|
3786
|
-
*
|
|
3718
|
+
* Discriminator for the account kind.
|
|
3787
3719
|
* @type {string}
|
|
3788
|
-
* @memberof
|
|
3720
|
+
* @memberof InvestmentAccount
|
|
3789
3721
|
*/
|
|
3790
|
-
'
|
|
3722
|
+
'kind': InvestmentAccountKindEnum;
|
|
3791
3723
|
/**
|
|
3792
|
-
*
|
|
3793
|
-
* @type {
|
|
3794
|
-
* @memberof
|
|
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
|
-
'
|
|
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
|
-
*
|
|
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
|
|
3732
|
+
* @memberof InvestmentAccount
|
|
3813
3733
|
*/
|
|
3814
|
-
'
|
|
3734
|
+
'connection_id': string;
|
|
3815
3735
|
/**
|
|
3816
|
-
*
|
|
3736
|
+
* A display name for the account. Either assigned by the user or by the institution itself.
|
|
3817
3737
|
* @type {string}
|
|
3818
|
-
* @memberof
|
|
3738
|
+
* @memberof InvestmentAccount
|
|
3819
3739
|
*/
|
|
3820
|
-
'
|
|
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
|
|
3742
|
+
* The account number assigned by the institution, masked to the last 4 characters (e.g. `****8443`).
|
|
3849
3743
|
* @type {string}
|
|
3850
|
-
* @memberof
|
|
3744
|
+
* @memberof InvestmentAccount
|
|
3851
3745
|
*/
|
|
3852
|
-
'
|
|
3746
|
+
'masked_account_number': string;
|
|
3853
3747
|
/**
|
|
3854
|
-
*
|
|
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
|
|
3750
|
+
* @memberof InvestmentAccount
|
|
3857
3751
|
*/
|
|
3858
|
-
'
|
|
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
|
-
*
|
|
3754
|
+
* Unique identifier for the institution that holds the account.
|
|
3872
3755
|
* @type {string}
|
|
3873
|
-
* @memberof
|
|
3756
|
+
* @memberof InvestmentAccount
|
|
3874
3757
|
*/
|
|
3875
|
-
'
|
|
3758
|
+
'institution_id'?: string;
|
|
3876
3759
|
/**
|
|
3877
|
-
*
|
|
3878
|
-
* @type {
|
|
3879
|
-
* @memberof
|
|
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
|
-
'
|
|
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 {
|
|
3885
|
-
* @memberof
|
|
3773
|
+
* @type {ConnectionAccountSyncStatus}
|
|
3774
|
+
* @memberof InvestmentAccount
|
|
3886
3775
|
*/
|
|
3887
|
-
'
|
|
3776
|
+
'sync_status': ConnectionAccountSyncStatus;
|
|
3888
3777
|
/**
|
|
3889
|
-
* The type
|
|
3890
|
-
* @type {
|
|
3891
|
-
* @memberof
|
|
3778
|
+
* The account type as provided by the institution.
|
|
3779
|
+
* @type {string}
|
|
3780
|
+
* @memberof InvestmentAccount
|
|
3892
3781
|
*/
|
|
3893
|
-
'
|
|
3782
|
+
'raw_type'?: string | null;
|
|
3894
3783
|
/**
|
|
3895
|
-
*
|
|
3896
|
-
* @type {
|
|
3897
|
-
* @memberof
|
|
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
|
-
'
|
|
3788
|
+
'account_type'?: InvestmentAccountAccountTypeEnum;
|
|
3900
3789
|
/**
|
|
3901
|
-
*
|
|
3902
|
-
* @type {
|
|
3903
|
-
* @memberof
|
|
3790
|
+
* Indicates whether the account is a paper (simulated) trading account.
|
|
3791
|
+
* @type {boolean}
|
|
3792
|
+
* @memberof InvestmentAccount
|
|
3904
3793
|
*/
|
|
3905
|
-
'
|
|
3794
|
+
'is_paper': boolean;
|
|
3906
3795
|
/**
|
|
3907
|
-
*
|
|
3908
|
-
* @type {
|
|
3909
|
-
* @memberof
|
|
3796
|
+
*
|
|
3797
|
+
* @type {InvestmentAccountNetValue}
|
|
3798
|
+
* @memberof InvestmentAccount
|
|
3910
3799
|
*/
|
|
3911
|
-
'
|
|
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
|
-
*
|
|
3814
|
+
*
|
|
3914
3815
|
* @type {number}
|
|
3915
|
-
* @memberof
|
|
3816
|
+
* @memberof LineOfCreditAccountAvailableCredit
|
|
3916
3817
|
*/
|
|
3917
|
-
'
|
|
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/
|
|
3827
|
+
//#region models/line-of-credit-account-minimum-payment-amount.d.ts
|
|
3922
3828
|
/**
|
|
3923
|
-
*
|
|
3829
|
+
* The minimum payment due on the account\'s next statement. Omitted when no such data is available.
|
|
3924
3830
|
* @export
|
|
3925
|
-
* @interface
|
|
3831
|
+
* @interface LineOfCreditAccountMinimumPaymentAmount
|
|
3926
3832
|
*/
|
|
3927
|
-
interface
|
|
3833
|
+
interface LineOfCreditAccountMinimumPaymentAmount {
|
|
3928
3834
|
[key: string]: any;
|
|
3929
3835
|
/**
|
|
3930
|
-
*
|
|
3931
|
-
* @type {
|
|
3932
|
-
* @memberof
|
|
3836
|
+
*
|
|
3837
|
+
* @type {number}
|
|
3838
|
+
* @memberof LineOfCreditAccountMinimumPaymentAmount
|
|
3933
3839
|
*/
|
|
3934
|
-
'
|
|
3840
|
+
'amount'?: number | null;
|
|
3935
3841
|
/**
|
|
3936
|
-
*
|
|
3842
|
+
*
|
|
3937
3843
|
* @type {string}
|
|
3938
|
-
* @memberof
|
|
3844
|
+
* @memberof LineOfCreditAccountMinimumPaymentAmount
|
|
3939
3845
|
*/
|
|
3940
|
-
'
|
|
3846
|
+
'currency'?: string | null;
|
|
3941
3847
|
}
|
|
3942
|
-
type ComplexOrderResponseTypeEnum = 'OCO' | 'OTO' | 'OTOCO';
|
|
3943
3848
|
//#endregion
|
|
3944
|
-
//#region models/
|
|
3849
|
+
//#region models/line-of-credit-account-net-value.d.ts
|
|
3945
3850
|
/**
|
|
3946
|
-
* Net value of the account --
|
|
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
|
|
3853
|
+
* @interface LineOfCreditAccountNetValue
|
|
3949
3854
|
*/
|
|
3950
|
-
interface
|
|
3855
|
+
interface LineOfCreditAccountNetValue {
|
|
3951
3856
|
[key: string]: any;
|
|
3952
3857
|
/**
|
|
3953
3858
|
*
|
|
3954
3859
|
* @type {number}
|
|
3955
|
-
* @memberof
|
|
3860
|
+
* @memberof LineOfCreditAccountNetValue
|
|
3956
3861
|
*/
|
|
3957
3862
|
'amount'?: number | null;
|
|
3958
3863
|
/**
|
|
3959
3864
|
*
|
|
3960
3865
|
* @type {string}
|
|
3961
|
-
* @memberof
|
|
3866
|
+
* @memberof LineOfCreditAccountNetValue
|
|
3962
3867
|
*/
|
|
3963
3868
|
'currency'?: string | null;
|
|
3964
3869
|
}
|
|
3965
3870
|
//#endregion
|
|
3966
|
-
//#region models/
|
|
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 `
|
|
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
|
|
3875
|
+
* @interface LineOfCreditAccountSyncStatus
|
|
3971
3876
|
*/
|
|
3972
|
-
interface
|
|
3877
|
+
interface LineOfCreditAccountSyncStatus {
|
|
3973
3878
|
[key: string]: any;
|
|
3974
3879
|
/**
|
|
3975
3880
|
*
|
|
3976
3881
|
* @type {TransactionsStatus}
|
|
3977
|
-
* @memberof
|
|
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
|
|
3888
|
+
* @memberof LineOfCreditAccountSyncStatus
|
|
3984
3889
|
*/
|
|
3985
3890
|
'balances'?: string | null;
|
|
3986
3891
|
}
|
|
3987
3892
|
//#endregion
|
|
3988
|
-
//#region models/
|
|
3893
|
+
//#region models/line-of-credit-account.d.ts
|
|
3989
3894
|
/**
|
|
3990
|
-
* A
|
|
3895
|
+
* A line-of-credit account (e.g. a credit card) under a connection.
|
|
3991
3896
|
* @export
|
|
3992
|
-
* @interface
|
|
3897
|
+
* @interface LineOfCreditAccount
|
|
3993
3898
|
*/
|
|
3994
|
-
interface
|
|
3899
|
+
interface LineOfCreditAccount {
|
|
3995
3900
|
[key: string]: any;
|
|
3996
3901
|
/**
|
|
3997
3902
|
* Discriminator for the account kind.
|
|
3998
3903
|
* @type {string}
|
|
3999
|
-
* @memberof
|
|
3904
|
+
* @memberof LineOfCreditAccount
|
|
4000
3905
|
*/
|
|
4001
|
-
'kind':
|
|
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
|
|
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
|
|
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
|
|
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. `****
|
|
3926
|
+
* The account number assigned by the institution, masked to the last 4 characters (e.g. `****1881`).
|
|
4022
3927
|
* @type {string}
|
|
4023
|
-
* @memberof
|
|
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
|
|
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
|
|
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
|
|
3946
|
+
* @memberof LineOfCreditAccount
|
|
4042
3947
|
*/
|
|
4043
3948
|
'opening_date'?: string | null;
|
|
4044
3949
|
/**
|
|
4045
3950
|
*
|
|
4046
|
-
* @type {
|
|
4047
|
-
* @memberof
|
|
3951
|
+
* @type {LineOfCreditAccountSyncStatus}
|
|
3952
|
+
* @memberof LineOfCreditAccount
|
|
4048
3953
|
*/
|
|
4049
|
-
'sync_status':
|
|
3954
|
+
'sync_status': LineOfCreditAccountSyncStatus;
|
|
4050
3955
|
/**
|
|
4051
3956
|
* The account type as provided by the institution.
|
|
4052
3957
|
* @type {string}
|
|
4053
|
-
* @memberof
|
|
3958
|
+
* @memberof LineOfCreditAccount
|
|
4054
3959
|
*/
|
|
4055
3960
|
'raw_type'?: string | null;
|
|
4056
3961
|
/**
|
|
4057
3962
|
*
|
|
4058
|
-
* @type {
|
|
4059
|
-
* @memberof
|
|
3963
|
+
* @type {LineOfCreditAccountNetValue}
|
|
3964
|
+
* @memberof LineOfCreditAccount
|
|
4060
3965
|
*/
|
|
4061
|
-
'net_value'?:
|
|
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;
|
|
4062
3985
|
}
|
|
4063
|
-
type
|
|
3986
|
+
type LineOfCreditAccountKindEnum = 'line_of_credit';
|
|
4064
3987
|
//#endregion
|
|
4065
|
-
//#region models/connection-account
|
|
3988
|
+
//#region models/connection-account.d.ts
|
|
4066
3989
|
/**
|
|
4067
|
-
*
|
|
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.
|
|
4068
3992
|
* @export
|
|
4069
|
-
* @interface ConnectionAccountSyncStatus
|
|
4070
3993
|
*/
|
|
4071
|
-
|
|
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 {
|
|
4072
4009
|
[key: string]: any;
|
|
4073
4010
|
/**
|
|
4074
|
-
*
|
|
4075
|
-
* @type {
|
|
4076
|
-
* @memberof
|
|
4011
|
+
* Accounts returned for the request.
|
|
4012
|
+
* @type {Array<ConnectionAccount>}
|
|
4013
|
+
* @memberof AllUserAccountsResponse
|
|
4077
4014
|
*/
|
|
4078
|
-
'
|
|
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;
|
|
4079
4026
|
/**
|
|
4080
|
-
*
|
|
4027
|
+
*
|
|
4081
4028
|
* @type {string}
|
|
4082
|
-
* @memberof
|
|
4029
|
+
* @memberof EncryptedResponseEncryptedMessageData
|
|
4083
4030
|
*/
|
|
4084
|
-
'
|
|
4031
|
+
'encryptedMessage'?: string;
|
|
4085
4032
|
/**
|
|
4086
|
-
*
|
|
4033
|
+
*
|
|
4087
4034
|
* @type {string}
|
|
4088
|
-
* @memberof
|
|
4035
|
+
* @memberof EncryptedResponseEncryptedMessageData
|
|
4089
4036
|
*/
|
|
4090
|
-
'
|
|
4037
|
+
'tag'?: string;
|
|
4091
4038
|
/**
|
|
4092
|
-
*
|
|
4039
|
+
*
|
|
4093
4040
|
* @type {string}
|
|
4094
|
-
* @memberof
|
|
4041
|
+
* @memberof EncryptedResponseEncryptedMessageData
|
|
4095
4042
|
*/
|
|
4096
|
-
'
|
|
4043
|
+
'nonce'?: string;
|
|
4097
4044
|
}
|
|
4098
4045
|
//#endregion
|
|
4099
|
-
//#region models/
|
|
4046
|
+
//#region models/encrypted-response.d.ts
|
|
4100
4047
|
/**
|
|
4101
|
-
*
|
|
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() ```
|
|
4102
4049
|
* @export
|
|
4103
|
-
* @interface
|
|
4050
|
+
* @interface EncryptedResponse
|
|
4104
4051
|
*/
|
|
4105
|
-
interface
|
|
4106
|
-
[key: string]: any;
|
|
4052
|
+
interface EncryptedResponse {
|
|
4107
4053
|
/**
|
|
4108
4054
|
*
|
|
4109
|
-
* @type {
|
|
4110
|
-
* @memberof
|
|
4055
|
+
* @type {string}
|
|
4056
|
+
* @memberof EncryptedResponse
|
|
4111
4057
|
*/
|
|
4112
|
-
'
|
|
4058
|
+
'encryptedSharedKey'?: string;
|
|
4113
4059
|
/**
|
|
4114
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.
|
|
4115
4076
|
* @type {string}
|
|
4116
|
-
* @memberof
|
|
4077
|
+
* @memberof LoginRedirectURI
|
|
4117
4078
|
*/
|
|
4118
|
-
'
|
|
4079
|
+
'redirectURI'?: string;
|
|
4080
|
+
/**
|
|
4081
|
+
* ID to identify the connection portal session.
|
|
4082
|
+
* @type {string}
|
|
4083
|
+
* @memberof LoginRedirectURI
|
|
4084
|
+
*/
|
|
4085
|
+
'sessionId'?: string;
|
|
4119
4086
|
}
|
|
4120
4087
|
//#endregion
|
|
4121
|
-
//#region models/
|
|
4088
|
+
//#region models/authentication-login-snap-trade-user200-response.d.ts
|
|
4122
4089
|
/**
|
|
4123
|
-
*
|
|
4090
|
+
* @type AuthenticationLoginSnapTradeUser200Response
|
|
4124
4091
|
* @export
|
|
4125
|
-
* @interface InvestmentAccount
|
|
4126
4092
|
*/
|
|
4127
|
-
|
|
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 {
|
|
4128
4102
|
[key: string]: any;
|
|
4129
4103
|
/**
|
|
4130
|
-
*
|
|
4104
|
+
* Connection disabled confirmation
|
|
4131
4105
|
* @type {string}
|
|
4132
|
-
* @memberof
|
|
4106
|
+
* @memberof BrokerageAuthorizationDisabledConfirmation
|
|
4133
4107
|
*/
|
|
4134
|
-
'
|
|
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;
|
|
4135
4119
|
/**
|
|
4136
|
-
*
|
|
4120
|
+
* Refresh confirmation details
|
|
4137
4121
|
* @type {string}
|
|
4138
|
-
* @memberof
|
|
4122
|
+
* @memberof BrokerageAuthorizationRefreshConfirmation
|
|
4139
4123
|
*/
|
|
4140
|
-
'
|
|
4124
|
+
'detail'?: string;
|
|
4125
|
+
}
|
|
4126
|
+
//#endregion
|
|
4127
|
+
//#region models/brokerage-authorization-transactions-sync-confirmation.d.ts
|
|
4128
|
+
/**
|
|
4129
|
+
* Confirmation that the transaction syncs have been scheduled.
|
|
4130
|
+
* @export
|
|
4131
|
+
* @interface BrokerageAuthorizationTransactionsSyncConfirmation
|
|
4132
|
+
*/
|
|
4133
|
+
interface BrokerageAuthorizationTransactionsSyncConfirmation {
|
|
4134
|
+
[key: string]: any;
|
|
4141
4135
|
/**
|
|
4142
|
-
*
|
|
4136
|
+
* Transactions sync confirmation details
|
|
4143
4137
|
* @type {string}
|
|
4144
|
-
* @memberof
|
|
4138
|
+
* @memberof BrokerageAuthorizationTransactionsSyncConfirmation
|
|
4145
4139
|
*/
|
|
4146
|
-
'
|
|
4140
|
+
'detail'?: string;
|
|
4141
|
+
}
|
|
4142
|
+
//#endregion
|
|
4143
|
+
//#region models/brokerage-authorization-type-read-only-brokerage.d.ts
|
|
4144
|
+
/**
|
|
4145
|
+
*
|
|
4146
|
+
* @export
|
|
4147
|
+
* @interface BrokerageAuthorizationTypeReadOnlyBrokerage
|
|
4148
|
+
*/
|
|
4149
|
+
interface BrokerageAuthorizationTypeReadOnlyBrokerage {
|
|
4150
|
+
[key: string]: any;
|
|
4147
4151
|
/**
|
|
4148
|
-
*
|
|
4152
|
+
*
|
|
4149
4153
|
* @type {string}
|
|
4150
|
-
* @memberof
|
|
4154
|
+
* @memberof BrokerageAuthorizationTypeReadOnlyBrokerage
|
|
4151
4155
|
*/
|
|
4152
|
-
'
|
|
4156
|
+
'id'?: string;
|
|
4153
4157
|
/**
|
|
4154
|
-
*
|
|
4158
|
+
* Full name of the brokerage.
|
|
4155
4159
|
* @type {string}
|
|
4156
|
-
* @memberof
|
|
4160
|
+
* @memberof BrokerageAuthorizationTypeReadOnlyBrokerage
|
|
4157
4161
|
*/
|
|
4158
|
-
'
|
|
4162
|
+
'name'?: string;
|
|
4159
4163
|
/**
|
|
4160
|
-
* A
|
|
4164
|
+
* A unique identifier for that brokerage. It is usually the name of the brokerage in capital letters and will never change.
|
|
4161
4165
|
* @type {string}
|
|
4162
|
-
* @memberof
|
|
4166
|
+
* @memberof BrokerageAuthorizationTypeReadOnlyBrokerage
|
|
4163
4167
|
*/
|
|
4164
|
-
'
|
|
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;
|
|
4165
4179
|
/**
|
|
4166
|
-
*
|
|
4180
|
+
*
|
|
4167
4181
|
* @type {string}
|
|
4168
|
-
* @memberof
|
|
4182
|
+
* @memberof BrokerageAuthorizationTypeReadOnly
|
|
4169
4183
|
*/
|
|
4170
|
-
'
|
|
4184
|
+
'id'?: string;
|
|
4171
4185
|
/**
|
|
4172
|
-
*
|
|
4186
|
+
*
|
|
4173
4187
|
* @type {string}
|
|
4174
|
-
* @memberof
|
|
4188
|
+
* @memberof BrokerageAuthorizationTypeReadOnly
|
|
4175
4189
|
*/
|
|
4176
|
-
'
|
|
4190
|
+
'type'?: BrokerageAuthorizationTypeReadOnlyTypeEnum;
|
|
4177
4191
|
/**
|
|
4178
|
-
*
|
|
4192
|
+
*
|
|
4179
4193
|
* @type {string}
|
|
4180
|
-
* @memberof
|
|
4194
|
+
* @memberof BrokerageAuthorizationTypeReadOnly
|
|
4181
4195
|
*/
|
|
4182
|
-
'
|
|
4196
|
+
'auth_type'?: BrokerageAuthorizationTypeReadOnlyAuthTypeEnum;
|
|
4183
4197
|
/**
|
|
4184
4198
|
*
|
|
4185
|
-
* @type {
|
|
4186
|
-
* @memberof
|
|
4199
|
+
* @type {BrokerageAuthorizationTypeReadOnlyBrokerage}
|
|
4200
|
+
* @memberof BrokerageAuthorizationTypeReadOnly
|
|
4187
4201
|
*/
|
|
4188
|
-
'
|
|
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;
|
|
4189
4215
|
/**
|
|
4190
|
-
* The
|
|
4216
|
+
* The instrument\'s trading symbol / ticker.
|
|
4191
4217
|
* @type {string}
|
|
4192
|
-
* @memberof
|
|
4218
|
+
* @memberof BrokerageInstrument
|
|
4193
4219
|
*/
|
|
4194
|
-
'
|
|
4220
|
+
'symbol': string;
|
|
4195
4221
|
/**
|
|
4196
|
-
*
|
|
4222
|
+
* The MIC code of the exchange where the instrument is traded.
|
|
4197
4223
|
* @type {string}
|
|
4198
|
-
* @memberof
|
|
4224
|
+
* @memberof BrokerageInstrument
|
|
4199
4225
|
*/
|
|
4200
|
-
'
|
|
4226
|
+
'exchange_mic'?: string | null;
|
|
4201
4227
|
/**
|
|
4202
|
-
*
|
|
4228
|
+
* Whether the instrument is tradeable through the brokerage. `null` if the tradeability is unknown.
|
|
4203
4229
|
* @type {boolean}
|
|
4204
|
-
* @memberof
|
|
4230
|
+
* @memberof BrokerageInstrument
|
|
4205
4231
|
*/
|
|
4206
|
-
'
|
|
4232
|
+
'tradeable'?: boolean | null;
|
|
4207
4233
|
/**
|
|
4208
|
-
*
|
|
4209
|
-
* @type {
|
|
4210
|
-
* @memberof
|
|
4234
|
+
* Whether the instrument allows fractional units. `null` if the fractionability is unknown.
|
|
4235
|
+
* @type {boolean}
|
|
4236
|
+
* @memberof BrokerageInstrument
|
|
4211
4237
|
*/
|
|
4212
|
-
'
|
|
4238
|
+
'fractionable'?: boolean | null;
|
|
4239
|
+
/**
|
|
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
|
|
4243
|
+
*/
|
|
4244
|
+
'universal_symbol_id'?: string | null;
|
|
4213
4245
|
}
|
|
4214
|
-
type InvestmentAccountKindEnum = 'investment';
|
|
4215
|
-
type InvestmentAccountAccountTypeEnum = 'cash' | 'margin' | 'unknown';
|
|
4216
4246
|
//#endregion
|
|
4217
|
-
//#region models/
|
|
4247
|
+
//#region models/brokerage-instruments-response.d.ts
|
|
4218
4248
|
/**
|
|
4219
|
-
*
|
|
4249
|
+
*
|
|
4220
4250
|
* @export
|
|
4221
|
-
* @interface
|
|
4251
|
+
* @interface BrokerageInstrumentsResponse
|
|
4222
4252
|
*/
|
|
4223
|
-
interface
|
|
4253
|
+
interface BrokerageInstrumentsResponse {
|
|
4224
4254
|
[key: string]: any;
|
|
4225
4255
|
/**
|
|
4226
4256
|
*
|
|
4227
|
-
* @type {
|
|
4228
|
-
* @memberof
|
|
4229
|
-
*/
|
|
4230
|
-
'amount'?: number | null;
|
|
4231
|
-
/**
|
|
4232
|
-
*
|
|
4233
|
-
* @type {string}
|
|
4234
|
-
* @memberof LineOfCreditAccountAvailableCredit
|
|
4257
|
+
* @type {Array<BrokerageInstrument>}
|
|
4258
|
+
* @memberof BrokerageInstrumentsResponse
|
|
4235
4259
|
*/
|
|
4236
|
-
'
|
|
4260
|
+
'instruments'?: Array<BrokerageInstrument>;
|
|
4237
4261
|
}
|
|
4238
4262
|
//#endregion
|
|
4239
|
-
//#region models/
|
|
4263
|
+
//#region models/cancel-order-response.d.ts
|
|
4240
4264
|
/**
|
|
4241
|
-
*
|
|
4265
|
+
*
|
|
4242
4266
|
* @export
|
|
4243
|
-
* @interface
|
|
4267
|
+
* @interface CancelOrderResponse
|
|
4244
4268
|
*/
|
|
4245
|
-
interface
|
|
4269
|
+
interface CancelOrderResponse {
|
|
4246
4270
|
[key: string]: any;
|
|
4247
4271
|
/**
|
|
4248
|
-
*
|
|
4249
|
-
* @type {
|
|
4250
|
-
* @memberof
|
|
4272
|
+
* Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
|
|
4273
|
+
* @type {string}
|
|
4274
|
+
* @memberof CancelOrderResponse
|
|
4251
4275
|
*/
|
|
4252
|
-
'
|
|
4276
|
+
'brokerage_order_id': string;
|
|
4253
4277
|
/**
|
|
4254
|
-
*
|
|
4255
|
-
* @type {string}
|
|
4256
|
-
* @memberof
|
|
4278
|
+
* The raw response from the brokerage.
|
|
4279
|
+
* @type {{ [key: string]: any; }}
|
|
4280
|
+
* @memberof CancelOrderResponse
|
|
4257
4281
|
*/
|
|
4258
|
-
'
|
|
4282
|
+
'raw_response'?: {
|
|
4283
|
+
[key: string]: any;
|
|
4284
|
+
} | null;
|
|
4259
4285
|
}
|
|
4260
4286
|
//#endregion
|
|
4261
|
-
//#region models/
|
|
4287
|
+
//#region models/child-brokerage-order-ids.d.ts
|
|
4262
4288
|
/**
|
|
4263
|
-
*
|
|
4289
|
+
*
|
|
4264
4290
|
* @export
|
|
4265
|
-
* @interface
|
|
4291
|
+
* @interface ChildBrokerageOrderIDs
|
|
4266
4292
|
*/
|
|
4267
|
-
interface
|
|
4293
|
+
interface ChildBrokerageOrderIDs {
|
|
4268
4294
|
[key: string]: any;
|
|
4269
4295
|
/**
|
|
4270
|
-
*
|
|
4271
|
-
* @type {
|
|
4272
|
-
* @memberof
|
|
4296
|
+
* The brokerage order ID for the take profit leg of the bracket order
|
|
4297
|
+
* @type {string}
|
|
4298
|
+
* @memberof ChildBrokerageOrderIDs
|
|
4273
4299
|
*/
|
|
4274
|
-
'
|
|
4300
|
+
'take_profit_order_id'?: string;
|
|
4275
4301
|
/**
|
|
4276
|
-
*
|
|
4302
|
+
* The brokerage order ID for the stop loss leg of the bracket order
|
|
4277
4303
|
* @type {string}
|
|
4278
|
-
* @memberof
|
|
4304
|
+
* @memberof ChildBrokerageOrderIDs
|
|
4279
4305
|
*/
|
|
4280
|
-
'
|
|
4306
|
+
'stop_loss_order_id'?: string;
|
|
4281
4307
|
}
|
|
4282
4308
|
//#endregion
|
|
4283
|
-
//#region models/
|
|
4309
|
+
//#region models/order-type-strict.d.ts
|
|
4284
4310
|
/**
|
|
4285
|
-
*
|
|
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.
|
|
4286
4312
|
* @export
|
|
4287
|
-
* @
|
|
4313
|
+
* @enum {string}
|
|
4288
4314
|
*/
|
|
4289
|
-
|
|
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 {
|
|
4290
4332
|
[key: string]: any;
|
|
4291
4333
|
/**
|
|
4292
|
-
*
|
|
4293
|
-
* @type {
|
|
4294
|
-
* @memberof
|
|
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
|
|
4295
4337
|
*/
|
|
4296
|
-
'
|
|
4338
|
+
'symbol': string;
|
|
4297
4339
|
/**
|
|
4298
|
-
*
|
|
4340
|
+
* The instrument\'s type
|
|
4299
4341
|
* @type {string}
|
|
4300
|
-
* @memberof
|
|
4342
|
+
* @memberof TradingInstrument
|
|
4301
4343
|
*/
|
|
4302
|
-
'
|
|
4344
|
+
'type': TradingInstrumentTypeEnum;
|
|
4303
4345
|
}
|
|
4346
|
+
type TradingInstrumentTypeEnum = 'EQUITY' | 'OPTION' | 'CRYPTOCURRENCY' | 'CRYPTOCURRENCY_PAIR';
|
|
4304
4347
|
//#endregion
|
|
4305
|
-
//#region models/
|
|
4348
|
+
//#region models/complex-order-leg.d.ts
|
|
4306
4349
|
/**
|
|
4307
|
-
* A
|
|
4350
|
+
* A single order within a complex group. For option OCOs, each peer trades one option contract type.
|
|
4308
4351
|
* @export
|
|
4309
|
-
* @interface
|
|
4352
|
+
* @interface ComplexOrderLeg
|
|
4310
4353
|
*/
|
|
4311
|
-
interface
|
|
4354
|
+
interface ComplexOrderLeg {
|
|
4312
4355
|
[key: string]: any;
|
|
4313
4356
|
/**
|
|
4314
|
-
*
|
|
4315
|
-
* @type {string}
|
|
4316
|
-
* @memberof LineOfCreditAccount
|
|
4317
|
-
*/
|
|
4318
|
-
'kind': LineOfCreditAccountKindEnum;
|
|
4319
|
-
/**
|
|
4320
|
-
* 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.
|
|
4321
4358
|
* @type {string}
|
|
4322
|
-
* @memberof
|
|
4359
|
+
* @memberof ComplexOrderLeg
|
|
4323
4360
|
*/
|
|
4324
|
-
'
|
|
4361
|
+
'order_role': ComplexOrderLegOrderRoleEnum;
|
|
4325
4362
|
/**
|
|
4326
|
-
*
|
|
4327
|
-
* @type {
|
|
4328
|
-
* @memberof
|
|
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
|
|
4329
4366
|
*/
|
|
4330
|
-
'
|
|
4367
|
+
'action': ActionStrictWithOptions;
|
|
4331
4368
|
/**
|
|
4332
|
-
*
|
|
4333
|
-
* @type {
|
|
4334
|
-
* @memberof
|
|
4369
|
+
*
|
|
4370
|
+
* @type {TradingInstrument}
|
|
4371
|
+
* @memberof ComplexOrderLeg
|
|
4335
4372
|
*/
|
|
4336
|
-
'
|
|
4373
|
+
'instrument': TradingInstrument;
|
|
4337
4374
|
/**
|
|
4338
|
-
* The
|
|
4339
|
-
* @type {
|
|
4340
|
-
* @memberof
|
|
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
|
|
4341
4378
|
*/
|
|
4342
|
-
'
|
|
4379
|
+
'order_type': OrderTypeStrict;
|
|
4343
4380
|
/**
|
|
4344
|
-
* A
|
|
4345
|
-
* @type {
|
|
4346
|
-
* @memberof
|
|
4381
|
+
* A positive whole number of shares or option contracts. Option OCO peers must use the same quantity.
|
|
4382
|
+
* @type {number}
|
|
4383
|
+
* @memberof ComplexOrderLeg
|
|
4347
4384
|
*/
|
|
4348
|
-
'
|
|
4385
|
+
'units': number;
|
|
4349
4386
|
/**
|
|
4350
|
-
*
|
|
4351
|
-
* @type {
|
|
4352
|
-
* @memberof
|
|
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
|
|
4353
4390
|
*/
|
|
4354
|
-
'
|
|
4391
|
+
'time_in_force': TimeInForceStrict;
|
|
4355
4392
|
/**
|
|
4356
|
-
*
|
|
4357
|
-
* @type {
|
|
4358
|
-
* @memberof
|
|
4393
|
+
* The limit price. Required when `order_type` is `Limit` or `StopLimit`.
|
|
4394
|
+
* @type {number}
|
|
4395
|
+
* @memberof ComplexOrderLeg
|
|
4359
4396
|
*/
|
|
4360
|
-
'
|
|
4397
|
+
'price'?: number | null;
|
|
4361
4398
|
/**
|
|
4362
|
-
*
|
|
4363
|
-
* @type {
|
|
4364
|
-
* @memberof
|
|
4399
|
+
* The stop trigger price. Required when `order_type` is `Stop` or `StopLimit`.
|
|
4400
|
+
* @type {number}
|
|
4401
|
+
* @memberof ComplexOrderLeg
|
|
4365
4402
|
*/
|
|
4366
|
-
'
|
|
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;
|
|
4367
4415
|
/**
|
|
4368
|
-
* The
|
|
4416
|
+
* The complex order type that was placed.
|
|
4369
4417
|
* @type {string}
|
|
4370
|
-
* @memberof
|
|
4371
|
-
*/
|
|
4372
|
-
'raw_type'?: string | null;
|
|
4373
|
-
/**
|
|
4374
|
-
*
|
|
4375
|
-
* @type {LineOfCreditAccountNetValue}
|
|
4376
|
-
* @memberof LineOfCreditAccount
|
|
4377
|
-
*/
|
|
4378
|
-
'net_value'?: LineOfCreditAccountNetValue | null;
|
|
4379
|
-
/**
|
|
4380
|
-
*
|
|
4381
|
-
* @type {LineOfCreditAccountMinimumPaymentAmount}
|
|
4382
|
-
* @memberof LineOfCreditAccount
|
|
4383
|
-
*/
|
|
4384
|
-
'minimum_payment_amount'?: LineOfCreditAccountMinimumPaymentAmount | null;
|
|
4385
|
-
/**
|
|
4386
|
-
*
|
|
4387
|
-
* @type {LineOfCreditAccountAvailableCredit}
|
|
4388
|
-
* @memberof LineOfCreditAccount
|
|
4418
|
+
* @memberof ComplexOrderResponse
|
|
4389
4419
|
*/
|
|
4390
|
-
'
|
|
4420
|
+
'type'?: ComplexOrderResponseTypeEnum;
|
|
4391
4421
|
/**
|
|
4392
|
-
* The
|
|
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.
|
|
4393
4423
|
* @type {string}
|
|
4394
|
-
* @memberof
|
|
4424
|
+
* @memberof ComplexOrderResponse
|
|
4395
4425
|
*/
|
|
4396
|
-
'
|
|
4426
|
+
'brokerage_group_order_id'?: string | null;
|
|
4397
4427
|
}
|
|
4398
|
-
type
|
|
4399
|
-
//#endregion
|
|
4400
|
-
//#region models/connection-account.d.ts
|
|
4401
|
-
/**
|
|
4402
|
-
* @type ConnectionAccount
|
|
4403
|
-
* 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.
|
|
4404
|
-
* @export
|
|
4405
|
-
*/
|
|
4406
|
-
type ConnectionAccount = {
|
|
4407
|
-
kind: 'deposit';
|
|
4408
|
-
} & DepositAccount | {
|
|
4409
|
-
kind: 'investment';
|
|
4410
|
-
} & InvestmentAccount | {
|
|
4411
|
-
kind: 'line_of_credit';
|
|
4412
|
-
} & LineOfCreditAccount;
|
|
4428
|
+
type ComplexOrderResponseTypeEnum = 'OCO' | 'OTO' | 'OTOCO';
|
|
4413
4429
|
//#endregion
|
|
4414
4430
|
//#region models/connection-accounts-response.d.ts
|
|
4415
4431
|
/**
|
|
@@ -9413,6 +9429,16 @@ declare const ExperimentalEndpointsApiAxiosParamCreator: (configuration?: Config
|
|
|
9413
9429
|
* @throws {RequiredError}
|
|
9414
9430
|
*/
|
|
9415
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>;
|
|
9416
9442
|
/**
|
|
9417
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.
|
|
9418
9444
|
* @summary Get account order detail (V2)
|
|
@@ -9447,6 +9473,15 @@ declare const ExperimentalEndpointsApiAxiosParamCreator: (configuration?: Config
|
|
|
9447
9473
|
* @throws {RequiredError}
|
|
9448
9474
|
*/
|
|
9449
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>;
|
|
9450
9485
|
/**
|
|
9451
9486
|
* Returns active Trade Detection subscriptions for your Client ID. Cancelled subscriptions are not returned.
|
|
9452
9487
|
* @summary List active Trade Detection subscriptions
|
|
@@ -9476,6 +9511,14 @@ declare const ExperimentalEndpointsApiFp: <TAuth extends AuthMode>(configuration
|
|
|
9476
9511
|
* @throws {RequiredError}
|
|
9477
9512
|
*/
|
|
9478
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>>;
|
|
9479
9522
|
/**
|
|
9480
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.
|
|
9481
9524
|
* @summary Get account order detail (V2)
|
|
@@ -9500,6 +9543,14 @@ declare const ExperimentalEndpointsApiFp: <TAuth extends AuthMode>(configuration
|
|
|
9500
9543
|
* @throws {RequiredError}
|
|
9501
9544
|
*/
|
|
9502
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>>;
|
|
9503
9554
|
/**
|
|
9504
9555
|
* Returns active Trade Detection subscriptions for your Client ID. Cancelled subscriptions are not returned.
|
|
9505
9556
|
* @summary List active Trade Detection subscriptions
|
|
@@ -9529,6 +9580,14 @@ declare const ExperimentalEndpointsApiFactory: <TAuth extends AuthMode>(configur
|
|
|
9529
9580
|
* @throws {RequiredError}
|
|
9530
9581
|
*/
|
|
9531
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>;
|
|
9532
9591
|
/**
|
|
9533
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.
|
|
9534
9593
|
* @summary Get account order detail (V2)
|
|
@@ -9553,6 +9612,14 @@ declare const ExperimentalEndpointsApiFactory: <TAuth extends AuthMode>(configur
|
|
|
9553
9612
|
* @throws {RequiredError}
|
|
9554
9613
|
*/
|
|
9555
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>;
|
|
9556
9623
|
/**
|
|
9557
9624
|
* Returns active Trade Detection subscriptions for your Client ID. Cancelled subscriptions are not returned.
|
|
9558
9625
|
* @summary List active Trade Detection subscriptions
|
|
@@ -9595,6 +9662,33 @@ type ExperimentalEndpointsApiCancelSubscriptionRequestByAuthMode = {
|
|
|
9595
9662
|
type ExperimentalEndpointsApiCancelSubscriptionRequest<TAuth extends AuthMode> = ExperimentalEndpointsApiCancelSubscriptionRequestByAuthMode[TAuth["mode"] & keyof ExperimentalEndpointsApiCancelSubscriptionRequestByAuthMode];
|
|
9596
9663
|
/** Request argument optionality depends on the selected authentication mode. */
|
|
9597
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];
|
|
9598
9692
|
/**
|
|
9599
9693
|
* Request parameters for getUserAccountOrderDetailV2 operation in ExperimentalEndpointsApi.
|
|
9600
9694
|
* @export
|
|
@@ -9700,6 +9794,26 @@ type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2RequestByAuthMode = {
|
|
|
9700
9794
|
type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request<TAuth extends AuthMode> = ExperimentalEndpointsApiGetUserAccountRecentOrdersV2RequestByAuthMode[TAuth["mode"] & keyof ExperimentalEndpointsApiGetUserAccountRecentOrdersV2RequestByAuthMode];
|
|
9701
9795
|
/** Request argument optionality depends on the selected authentication mode. */
|
|
9702
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];
|
|
9703
9817
|
/**
|
|
9704
9818
|
* ExperimentalEndpointsApiGenerated - object-oriented interface
|
|
9705
9819
|
* @export
|
|
@@ -9725,6 +9839,15 @@ declare class ExperimentalEndpointsApiGenerated<TAuth extends AuthMode> extends
|
|
|
9725
9839
|
* @memberof ExperimentalEndpointsApiGenerated
|
|
9726
9840
|
*/
|
|
9727
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, {}>>;
|
|
9728
9851
|
/**
|
|
9729
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.
|
|
9730
9853
|
* @summary Get account order detail (V2)
|
|
@@ -9752,6 +9875,15 @@ declare class ExperimentalEndpointsApiGenerated<TAuth extends AuthMode> extends
|
|
|
9752
9875
|
* @memberof ExperimentalEndpointsApiGenerated
|
|
9753
9876
|
*/
|
|
9754
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, {}>>;
|
|
9755
9887
|
/**
|
|
9756
9888
|
* Returns active Trade Detection subscriptions for your Client ID. Cancelled subscriptions are not returned.
|
|
9757
9889
|
* @summary List active Trade Detection subscriptions
|
|
@@ -11187,4 +11319,4 @@ declare class SnaptradeError extends Error {
|
|
|
11187
11319
|
declare function readableStreamToString(stream: ReadableStream): Promise<string>;
|
|
11188
11320
|
declare function parseIfJson(input: unknown): object | unknown;
|
|
11189
11321
|
//#endregion
|
|
11190
|
-
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, TradingGetUserAccountOptionQuotes410Response, 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 };
|