snaptrade-typescript-sdk 12.2.17 → 12.2.19
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 +145 -1
- package/dist/browser.umd.js +10 -10
- package/dist/index.cjs +143 -9
- package/dist/index.d.cts +306 -74
- package/dist/index.d.mts +306 -74
- package/dist/index.d.ts +306 -74
- package/dist/index.mjs +143 -9
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -845,7 +845,7 @@ interface Position {
|
|
|
845
845
|
*/
|
|
846
846
|
'cash_equivalent'?: boolean | null;
|
|
847
847
|
/**
|
|
848
|
-
* List of tax lots for the given position. Disabled by default,
|
|
848
|
+
* List of tax lots for the given position. Disabled by default, enable this feature in the [Add-on page of the Customer Dashboard](https://dashboard.snaptrade.com/add-ons)
|
|
849
849
|
* @type {Array<TaxLot>}
|
|
850
850
|
* @memberof Position
|
|
851
851
|
*/
|
|
@@ -1938,6 +1938,34 @@ interface AccountInformationGetUserAccountOrderDetailRequest {
|
|
|
1938
1938
|
'brokerage_order_id': string;
|
|
1939
1939
|
}
|
|
1940
1940
|
//#endregion
|
|
1941
|
+
//#region models/account-information-get-user-holdings409-response.d.ts
|
|
1942
|
+
/**
|
|
1943
|
+
*
|
|
1944
|
+
* @export
|
|
1945
|
+
* @interface AccountInformationGetUserHoldings409Response
|
|
1946
|
+
*/
|
|
1947
|
+
interface AccountInformationGetUserHoldings409Response {
|
|
1948
|
+
[key: string]: any;
|
|
1949
|
+
/**
|
|
1950
|
+
*
|
|
1951
|
+
* @type {string}
|
|
1952
|
+
* @memberof AccountInformationGetUserHoldings409Response
|
|
1953
|
+
*/
|
|
1954
|
+
'detail'?: string;
|
|
1955
|
+
/**
|
|
1956
|
+
*
|
|
1957
|
+
* @type {number}
|
|
1958
|
+
* @memberof AccountInformationGetUserHoldings409Response
|
|
1959
|
+
*/
|
|
1960
|
+
'status_code'?: number;
|
|
1961
|
+
/**
|
|
1962
|
+
*
|
|
1963
|
+
* @type {string}
|
|
1964
|
+
* @memberof AccountInformationGetUserHoldings409Response
|
|
1965
|
+
*/
|
|
1966
|
+
'code'?: string;
|
|
1967
|
+
}
|
|
1968
|
+
//#endregion
|
|
1941
1969
|
//#region models/account-order-record-leg-instrument.d.ts
|
|
1942
1970
|
/**
|
|
1943
1971
|
* Instrument metadata for an order leg.
|
|
@@ -3208,7 +3236,7 @@ interface AccountPosition {
|
|
|
3208
3236
|
*/
|
|
3209
3237
|
'cash_equivalent'?: boolean;
|
|
3210
3238
|
/**
|
|
3211
|
-
* List of tax lots for the given position
|
|
3239
|
+
* List of tax lots for the given position. Disabled by default; enable via the Customer Dashboard Add-ons page. When enabled, this field is included only for stocks, ADRs, ETFs, mutual funds, and crypto positions. For these positions, an empty list means no tax lot data is available. Availability varies by brokerage and position. This field is omitted for all other instrument kinds or when the feature is disabled.
|
|
3212
3240
|
* @type {Array<TaxLot>}
|
|
3213
3241
|
* @memberof AccountPosition
|
|
3214
3242
|
*/
|
|
@@ -3462,7 +3490,7 @@ interface AccountValueHistoryItem {
|
|
|
3462
3490
|
interface AccountValueHistoryResponse {
|
|
3463
3491
|
[key: string]: any;
|
|
3464
3492
|
/**
|
|
3465
|
-
* List of estimated account values over time returned by the endpoint.
|
|
3493
|
+
* List of estimated account values over time returned by the endpoint. The data may contain gaps and is best used for charting trends, rather than as a complete or exact record of historical account values.
|
|
3466
3494
|
* @type {Array<AccountValueHistoryItem>}
|
|
3467
3495
|
* @memberof AccountValueHistoryResponse
|
|
3468
3496
|
*/
|
|
@@ -3785,7 +3813,7 @@ interface InvestmentAccount {
|
|
|
3785
3813
|
* @type {string}
|
|
3786
3814
|
* @memberof InvestmentAccount
|
|
3787
3815
|
*/
|
|
3788
|
-
'
|
|
3816
|
+
'cash_or_margin'?: InvestmentAccountCashOrMarginEnum;
|
|
3789
3817
|
/**
|
|
3790
3818
|
* Indicates whether the account is a paper (simulated) trading account.
|
|
3791
3819
|
* @type {boolean}
|
|
@@ -3800,7 +3828,7 @@ interface InvestmentAccount {
|
|
|
3800
3828
|
'net_value'?: InvestmentAccountNetValue | null;
|
|
3801
3829
|
}
|
|
3802
3830
|
type InvestmentAccountKindEnum = 'investment';
|
|
3803
|
-
type
|
|
3831
|
+
type InvestmentAccountCashOrMarginEnum = 'cash' | 'margin' | 'unknown';
|
|
3804
3832
|
//#endregion
|
|
3805
3833
|
//#region models/line-of-credit-account-available-credit.d.ts
|
|
3806
3834
|
/**
|
|
@@ -4898,7 +4926,7 @@ interface Institution {
|
|
|
4898
4926
|
*/
|
|
4899
4927
|
'square_logo_url': string | null;
|
|
4900
4928
|
/**
|
|
4901
|
-
* How mature the integration is. - `GENERALLY_AVAILABLE`: fully supported and validated for production use. - `BETA`: production-ready, with ongoing validation and improvements.
|
|
4929
|
+
* How mature the integration is. - `GENERALLY_AVAILABLE`: fully supported and validated for production use. - `BETA`: production-ready, with ongoing validation and improvements. - `ALPHA`: early access with limited validation. Expect issues and incomplete functionality.
|
|
4902
4930
|
* @type {string}
|
|
4903
4931
|
* @memberof Institution
|
|
4904
4932
|
*/
|
|
@@ -4916,7 +4944,7 @@ interface Institution {
|
|
|
4916
4944
|
*/
|
|
4917
4945
|
'connection': InstitutionConnectionNullable | null;
|
|
4918
4946
|
}
|
|
4919
|
-
type InstitutionReleaseStageEnum = 'GENERALLY_AVAILABLE' | 'BETA';
|
|
4947
|
+
type InstitutionReleaseStageEnum = 'GENERALLY_AVAILABLE' | 'BETA' | 'ALPHA';
|
|
4920
4948
|
type InstitutionRegionsEnum = 'US' | 'CA' | 'EUROPE' | 'AU' | 'IN';
|
|
4921
4949
|
//#endregion
|
|
4922
4950
|
//#region models/institution-connection.d.ts
|
|
@@ -6922,6 +6950,147 @@ interface SimpleOrderForm {
|
|
|
6922
6950
|
type SimpleOrderFormTypeEnum = 'MARKET' | 'LIMIT' | 'STOP_LOSS_MARKET' | 'STOP_LOSS_LIMIT' | 'TAKE_PROFIT_MARKET' | 'TAKE_PROFIT_LIMIT';
|
|
6923
6951
|
type SimpleOrderFormTimeInForceEnum = 'GTC' | 'FOK' | 'IOC' | 'GTD';
|
|
6924
6952
|
//#endregion
|
|
6953
|
+
//#region models/simple-trade-instrument.d.ts
|
|
6954
|
+
/**
|
|
6955
|
+
*
|
|
6956
|
+
* @export
|
|
6957
|
+
* @interface SimpleTradeInstrument
|
|
6958
|
+
*/
|
|
6959
|
+
interface SimpleTradeInstrument {
|
|
6960
|
+
[key: string]: any;
|
|
6961
|
+
/**
|
|
6962
|
+
*
|
|
6963
|
+
* @type {string}
|
|
6964
|
+
* @memberof SimpleTradeInstrument
|
|
6965
|
+
*/
|
|
6966
|
+
'kind': SimpleTradeInstrumentKindEnum;
|
|
6967
|
+
/**
|
|
6968
|
+
* Equity ticker, OCC equity-option symbol, or exact tastytrade BrokerageInstrument ticker for a future or future option. Future tickers begin with `/`; future-option tickers begin with `./`. Preserve spaces and punctuation. Universal symbol IDs are not accepted.
|
|
6969
|
+
* @type {string}
|
|
6970
|
+
* @memberof SimpleTradeInstrument
|
|
6971
|
+
*/
|
|
6972
|
+
'symbol': string;
|
|
6973
|
+
}
|
|
6974
|
+
type SimpleTradeInstrumentKindEnum = 'equity' | 'option' | 'future' | 'future_option';
|
|
6975
|
+
//#endregion
|
|
6976
|
+
//#region models/simple-trade-leg.d.ts
|
|
6977
|
+
/**
|
|
6978
|
+
*
|
|
6979
|
+
* @export
|
|
6980
|
+
* @interface SimpleTradeLeg
|
|
6981
|
+
*/
|
|
6982
|
+
interface SimpleTradeLeg {
|
|
6983
|
+
[key: string]: any;
|
|
6984
|
+
/**
|
|
6985
|
+
*
|
|
6986
|
+
* @type {SimpleTradeInstrument}
|
|
6987
|
+
* @memberof SimpleTradeLeg
|
|
6988
|
+
*/
|
|
6989
|
+
'instrument': SimpleTradeInstrument;
|
|
6990
|
+
/**
|
|
6991
|
+
* Equities and futures require buy or sell. Equity options and future options require buy_to_open, buy_to_close, sell_to_open, or sell_to_close.
|
|
6992
|
+
* @type {string}
|
|
6993
|
+
* @memberof SimpleTradeLeg
|
|
6994
|
+
*/
|
|
6995
|
+
'action': SimpleTradeLegActionEnum;
|
|
6996
|
+
/**
|
|
6997
|
+
* Positive shares or contracts for this leg. Required unless the order is a single-equity market order using notional_value, in which case omit or set to null. Fractional units are supported only for single-equity orders on eligible brokerages; all other legs require whole units. Quantities are absolute units per leg, not strategy ratios.
|
|
6998
|
+
* @type {string}
|
|
6999
|
+
* @memberof SimpleTradeLeg
|
|
7000
|
+
*/
|
|
7001
|
+
'units'?: string;
|
|
7002
|
+
}
|
|
7003
|
+
type SimpleTradeLegActionEnum = 'buy' | 'sell' | 'buy_to_open' | 'buy_to_close' | 'sell_to_open' | 'sell_to_close';
|
|
7004
|
+
//#endregion
|
|
7005
|
+
//#region models/simple-trade-form.d.ts
|
|
7006
|
+
/**
|
|
7007
|
+
*
|
|
7008
|
+
* @export
|
|
7009
|
+
* @interface SimpleTradeForm
|
|
7010
|
+
*/
|
|
7011
|
+
interface SimpleTradeForm {
|
|
7012
|
+
/**
|
|
7013
|
+
*
|
|
7014
|
+
* @type {string}
|
|
7015
|
+
* @memberof SimpleTradeForm
|
|
7016
|
+
*/
|
|
7017
|
+
'order_type': SimpleTradeFormOrderTypeEnum;
|
|
7018
|
+
/**
|
|
7019
|
+
* Order duration, subject to brokerage and execution-path support. gtd requires expiry_date and a non-market single-leg equity/option order. Existing single-leg option routing does not support ioc. Futures and multi-leg orders do not support gtd through this endpoint.
|
|
7020
|
+
* @type {string}
|
|
7021
|
+
* @memberof SimpleTradeForm
|
|
7022
|
+
*/
|
|
7023
|
+
'time_in_force': SimpleTradeFormTimeInForceEnum;
|
|
7024
|
+
/**
|
|
7025
|
+
* Legs of one brokerage order. Use equity/option legs or future/future_option legs, without mixing the two families. Brokerage strategy and leg-count limits apply.
|
|
7026
|
+
* @type {Array<SimpleTradeLeg>}
|
|
7027
|
+
* @memberof SimpleTradeForm
|
|
7028
|
+
*/
|
|
7029
|
+
'legs': Array<SimpleTradeLeg>;
|
|
7030
|
+
/**
|
|
7031
|
+
* Required for limit and stop_limit orders, except that multi-leg price_effect even implies zero. Must be omitted or null for market and stop orders. For multi-leg orders this is the net strategy price. Negative prices are accepted only for futures-family orders, subject to brokerage support.
|
|
7032
|
+
* @type {string}
|
|
7033
|
+
* @memberof SimpleTradeForm
|
|
7034
|
+
*/
|
|
7035
|
+
'limit_price'?: string;
|
|
7036
|
+
/**
|
|
7037
|
+
* Required for stop and stop_limit orders. Must be omitted or null for market and limit orders. Must be positive for equity/option orders; futures-family trigger prices are subject to brokerage support.
|
|
7038
|
+
* @type {string}
|
|
7039
|
+
* @memberof SimpleTradeForm
|
|
7040
|
+
*/
|
|
7041
|
+
'stop_price'?: string;
|
|
7042
|
+
/**
|
|
7043
|
+
* Only applicable to multi-leg limit and stop_limit orders. Requirements and supported values depend on the brokerage; tastytrade requires credit or debit. even implies a zero limit_price, which may be omitted and must be zero if supplied. Single-leg price effects are derived from the action.
|
|
7044
|
+
* @type {string}
|
|
7045
|
+
* @memberof SimpleTradeForm
|
|
7046
|
+
*/
|
|
7047
|
+
'price_effect'?: SimpleTradeFormPriceEffectEnum;
|
|
7048
|
+
/**
|
|
7049
|
+
* Optional canonical UUID, forwarded where the existing execution path supports it and for tastytrade futures orders. Requires the existing client-order-ID enablement; when disabled the value is ignored. Brokerage behavior on duplicates varies; SnapTrade does not enforce uniqueness. Tastytrade uses this as external-identifier for correlation and does not deduplicate submissions.
|
|
7050
|
+
* @type {string}
|
|
7051
|
+
* @memberof SimpleTradeForm
|
|
7052
|
+
*/
|
|
7053
|
+
'client_order_id'?: string;
|
|
7054
|
+
/**
|
|
7055
|
+
* ISO 8601 expiry timestamp, required for gtd and invalid with other durations. A missing timezone is treated as UTC. Supported only through existing single-leg Public and Sandbox execution paths.
|
|
7056
|
+
* @type {string}
|
|
7057
|
+
* @memberof SimpleTradeForm
|
|
7058
|
+
*/
|
|
7059
|
+
'expiry_date'?: string | null;
|
|
7060
|
+
/**
|
|
7061
|
+
* Positive order value, supported only for a single-equity market order on eligible brokerages and partners. Mutually exclusive with leg units. Omit or set units to null when supplied.
|
|
7062
|
+
* @type {string}
|
|
7063
|
+
* @memberof SimpleTradeForm
|
|
7064
|
+
*/
|
|
7065
|
+
'notional_value'?: string;
|
|
7066
|
+
/**
|
|
7067
|
+
* extended uses existing single-leg equity/option brokerage support and requires extended-hours enablement. Futures and multi-leg orders only accept regular.
|
|
7068
|
+
* @type {string}
|
|
7069
|
+
* @memberof SimpleTradeForm
|
|
7070
|
+
*/
|
|
7071
|
+
'trading_session'?: SimpleTradeFormTradingSessionEnum;
|
|
7072
|
+
}
|
|
7073
|
+
type SimpleTradeFormOrderTypeEnum = 'limit' | 'market' | 'stop' | 'stop_limit';
|
|
7074
|
+
type SimpleTradeFormTimeInForceEnum = 'day' | 'gtc' | 'gtd' | 'fok' | 'ioc';
|
|
7075
|
+
type SimpleTradeFormPriceEffectEnum = 'credit' | 'debit' | 'even';
|
|
7076
|
+
type SimpleTradeFormTradingSessionEnum = 'regular' | 'extended';
|
|
7077
|
+
//#endregion
|
|
7078
|
+
//#region models/simple-trade-response.d.ts
|
|
7079
|
+
/**
|
|
7080
|
+
*
|
|
7081
|
+
* @export
|
|
7082
|
+
* @interface SimpleTradeResponse
|
|
7083
|
+
*/
|
|
7084
|
+
interface SimpleTradeResponse {
|
|
7085
|
+
[key: string]: any;
|
|
7086
|
+
/**
|
|
7087
|
+
* The brokerage-assigned ID of the submitted order.
|
|
7088
|
+
* @type {string}
|
|
7089
|
+
* @memberof SimpleTradeResponse
|
|
7090
|
+
*/
|
|
7091
|
+
'brokerage_order_id': string;
|
|
7092
|
+
}
|
|
7093
|
+
//#endregion
|
|
6925
7094
|
//#region models/snap-trade-login-user-request-body.d.ts
|
|
6926
7095
|
/**
|
|
6927
7096
|
* Data to login a user via SnapTrade Partner
|
|
@@ -7692,7 +7861,7 @@ declare const AccountInformationApiAxiosParamCreator: (configuration?: Configura
|
|
|
7692
7861
|
*/
|
|
7693
7862
|
getAccountActivities: (accountId: string, startDate?: string | Date, endDate?: string | Date, offset?: number, limit?: number, type?: string, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7694
7863
|
/**
|
|
7695
|
-
* An experimental endpoint that returns estimated historical total account value for the specified account. Total account value is the sum of the market value of all positions and cash in the account at a given time. This endpoint is experimental, disabled by default, and has a maximum lookback of 1 year. Because the data is dynamically generated, we recommend replacing your dataset with each request as opposed to combining data from multiple requests. Enable this feature for free in the [Add-on page of the Customer Dashboard](https://dashboard.snaptrade.com/add-ons)
|
|
7864
|
+
* An experimental endpoint that returns estimated historical total account value for the specified account. Total account value is the sum of the market value of all positions and cash in the account at a given time. This endpoint is experimental, disabled by default, and has a maximum lookback of 1 year. Because the data is dynamically generated, we recommend replacing your dataset with each request as opposed to combining data from multiple requests. Enable this feature for free in the [Add-on page of the Customer Dashboard](https://dashboard.snaptrade.com/add-ons) The data may contain gaps and is best used for charting account value trends. It should not be relied on as a complete or exact record of historical account values.
|
|
7696
7865
|
* @summary List historical account total value
|
|
7697
7866
|
* @param {string} accountId
|
|
7698
7867
|
* @param {string} [userId]
|
|
@@ -7777,7 +7946,7 @@ declare const AccountInformationApiAxiosParamCreator: (configuration?: Configura
|
|
|
7777
7946
|
*/
|
|
7778
7947
|
getUserAccountReturnRates: (accountId: string, timeframes?: string, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7779
7948
|
/**
|
|
7780
|
-
* **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
7949
|
+
* **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection. Concurrent live holdings requests for the same account fail immediately with HTTP 409 and error code `1166`. Wait for the in-flight request to complete before retrying.
|
|
7781
7950
|
* @summary List account holdings
|
|
7782
7951
|
* @param {string} accountId
|
|
7783
7952
|
* @param {string} [userId]
|
|
@@ -7821,7 +7990,7 @@ declare const AccountInformationApiFp: <TAuth extends AuthMode>(configuration?:
|
|
|
7821
7990
|
*/
|
|
7822
7991
|
getAccountActivities(...args: AccountInformationApiGetAccountActivitiesArgs<TAuth>): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedUniversalActivity>>;
|
|
7823
7992
|
/**
|
|
7824
|
-
* An experimental endpoint that returns estimated historical total account value for the specified account. Total account value is the sum of the market value of all positions and cash in the account at a given time. This endpoint is experimental, disabled by default, and has a maximum lookback of 1 year. Because the data is dynamically generated, we recommend replacing your dataset with each request as opposed to combining data from multiple requests. Enable this feature for free in the [Add-on page of the Customer Dashboard](https://dashboard.snaptrade.com/add-ons)
|
|
7993
|
+
* An experimental endpoint that returns estimated historical total account value for the specified account. Total account value is the sum of the market value of all positions and cash in the account at a given time. This endpoint is experimental, disabled by default, and has a maximum lookback of 1 year. Because the data is dynamically generated, we recommend replacing your dataset with each request as opposed to combining data from multiple requests. Enable this feature for free in the [Add-on page of the Customer Dashboard](https://dashboard.snaptrade.com/add-ons) The data may contain gaps and is best used for charting account value trends. It should not be relied on as a complete or exact record of historical account values.
|
|
7825
7994
|
* @summary List historical account total value
|
|
7826
7995
|
* @param {AccountInformationApiGetAccountBalanceHistoryRequest<TAuth>} requestParameters Request parameters.
|
|
7827
7996
|
* @param {*} [options] Override http request option.
|
|
@@ -7885,7 +8054,7 @@ declare const AccountInformationApiFp: <TAuth extends AuthMode>(configuration?:
|
|
|
7885
8054
|
*/
|
|
7886
8055
|
getUserAccountReturnRates(...args: AccountInformationApiGetUserAccountReturnRatesArgs<TAuth>): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RateOfReturnResponse>>;
|
|
7887
8056
|
/**
|
|
7888
|
-
* **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
8057
|
+
* **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection. Concurrent live holdings requests for the same account fail immediately with HTTP 409 and error code `1166`. Wait for the in-flight request to complete before retrying.
|
|
7889
8058
|
* @summary List account holdings
|
|
7890
8059
|
* @param {AccountInformationApiGetUserHoldingsRequest<TAuth>} requestParameters Request parameters.
|
|
7891
8060
|
* @param {*} [options] Override http request option.
|
|
@@ -7924,7 +8093,7 @@ declare const AccountInformationApiFactory: <TAuth extends AuthMode>(configurati
|
|
|
7924
8093
|
*/
|
|
7925
8094
|
getAccountActivities(...args: AccountInformationApiGetAccountActivitiesArgs<TAuth>): AxiosPromise<PaginatedUniversalActivity>;
|
|
7926
8095
|
/**
|
|
7927
|
-
* An experimental endpoint that returns estimated historical total account value for the specified account. Total account value is the sum of the market value of all positions and cash in the account at a given time. This endpoint is experimental, disabled by default, and has a maximum lookback of 1 year. Because the data is dynamically generated, we recommend replacing your dataset with each request as opposed to combining data from multiple requests. Enable this feature for free in the [Add-on page of the Customer Dashboard](https://dashboard.snaptrade.com/add-ons)
|
|
8096
|
+
* An experimental endpoint that returns estimated historical total account value for the specified account. Total account value is the sum of the market value of all positions and cash in the account at a given time. This endpoint is experimental, disabled by default, and has a maximum lookback of 1 year. Because the data is dynamically generated, we recommend replacing your dataset with each request as opposed to combining data from multiple requests. Enable this feature for free in the [Add-on page of the Customer Dashboard](https://dashboard.snaptrade.com/add-ons) The data may contain gaps and is best used for charting account value trends. It should not be relied on as a complete or exact record of historical account values.
|
|
7928
8097
|
* @summary List historical account total value
|
|
7929
8098
|
* @param {AccountInformationApiGetAccountBalanceHistoryRequest<TAuth>} requestParameters Request parameters.
|
|
7930
8099
|
* @param {*} [options] Override http request option.
|
|
@@ -7988,7 +8157,7 @@ declare const AccountInformationApiFactory: <TAuth extends AuthMode>(configurati
|
|
|
7988
8157
|
*/
|
|
7989
8158
|
getUserAccountReturnRates(...args: AccountInformationApiGetUserAccountReturnRatesArgs<TAuth>): AxiosPromise<RateOfReturnResponse>;
|
|
7990
8159
|
/**
|
|
7991
|
-
* **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
8160
|
+
* **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection. Concurrent live holdings requests for the same account fail immediately with HTTP 409 and error code `1166`. Wait for the in-flight request to complete before retrying.
|
|
7992
8161
|
* @summary List account holdings
|
|
7993
8162
|
* @param {AccountInformationApiGetUserHoldingsRequest<TAuth>} requestParameters Request parameters.
|
|
7994
8163
|
* @param {*} [options] Override http request option.
|
|
@@ -8399,16 +8568,16 @@ declare class AccountInformationApiGenerated<TAuth extends AuthMode> extends Bas
|
|
|
8399
8568
|
* @throws {RequiredError}
|
|
8400
8569
|
* @memberof AccountInformationApiGenerated
|
|
8401
8570
|
*/
|
|
8402
|
-
getAccountActivities(...args: AccountInformationApiGetAccountActivitiesArgs<TAuth>): Promise<_$axios.AxiosResponse<PaginatedUniversalActivity, any, {}>>;
|
|
8571
|
+
getAccountActivities(...args: AccountInformationApiGetAccountActivitiesArgs<TAuth>): Promise<_$axios.AxiosResponse<PaginatedUniversalActivity, any, {}, any>>;
|
|
8403
8572
|
/**
|
|
8404
|
-
* An experimental endpoint that returns estimated historical total account value for the specified account. Total account value is the sum of the market value of all positions and cash in the account at a given time. This endpoint is experimental, disabled by default, and has a maximum lookback of 1 year. Because the data is dynamically generated, we recommend replacing your dataset with each request as opposed to combining data from multiple requests. Enable this feature for free in the [Add-on page of the Customer Dashboard](https://dashboard.snaptrade.com/add-ons)
|
|
8573
|
+
* An experimental endpoint that returns estimated historical total account value for the specified account. Total account value is the sum of the market value of all positions and cash in the account at a given time. This endpoint is experimental, disabled by default, and has a maximum lookback of 1 year. Because the data is dynamically generated, we recommend replacing your dataset with each request as opposed to combining data from multiple requests. Enable this feature for free in the [Add-on page of the Customer Dashboard](https://dashboard.snaptrade.com/add-ons) The data may contain gaps and is best used for charting account value trends. It should not be relied on as a complete or exact record of historical account values.
|
|
8405
8574
|
* @summary List historical account total value
|
|
8406
8575
|
* @param {AccountInformationApiGetAccountBalanceHistoryRequest<TAuth>} requestParameters Request parameters.
|
|
8407
8576
|
* @param {*} [options] Override http request option.
|
|
8408
8577
|
* @throws {RequiredError}
|
|
8409
8578
|
* @memberof AccountInformationApiGenerated
|
|
8410
8579
|
*/
|
|
8411
|
-
getAccountBalanceHistory(...args: AccountInformationApiGetAccountBalanceHistoryArgs<TAuth>): Promise<_$axios.AxiosResponse<AccountValueHistoryResponse, any, {}>>;
|
|
8580
|
+
getAccountBalanceHistory(...args: AccountInformationApiGetAccountBalanceHistoryArgs<TAuth>): Promise<_$axios.AxiosResponse<AccountValueHistoryResponse, any, {}, any>>;
|
|
8412
8581
|
/**
|
|
8413
8582
|
* Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. `stock`, `adr`, `etf`, `mutualfund`, and `crypto` positions may include `tax_lots` when tax lot data is enabled for the account. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
8414
8583
|
* @summary List all account positions
|
|
@@ -8417,7 +8586,7 @@ declare class AccountInformationApiGenerated<TAuth extends AuthMode> extends Bas
|
|
|
8417
8586
|
* @throws {RequiredError}
|
|
8418
8587
|
* @memberof AccountInformationApiGenerated
|
|
8419
8588
|
*/
|
|
8420
|
-
getAllAccountPositions(...args: AccountInformationApiGetAllAccountPositionsArgs<TAuth>): Promise<_$axios.AxiosResponse<AllAccountPositionsResponse, any, {}>>;
|
|
8589
|
+
getAllAccountPositions(...args: AccountInformationApiGetAllAccountPositionsArgs<TAuth>): Promise<_$axios.AxiosResponse<AllAccountPositionsResponse, any, {}, any>>;
|
|
8421
8590
|
/**
|
|
8422
8591
|
* Returns a list of balances for the account. Each element of the list has a distinct currency. Some brokerages like Questrade [allows holding multiple currencies in the same account](https://www.questrade.com/learning/questrade-basics/balances-and-reports/understanding-your-account-balances). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
8423
8592
|
* @summary List account balances
|
|
@@ -8426,7 +8595,7 @@ declare class AccountInformationApiGenerated<TAuth extends AuthMode> extends Bas
|
|
|
8426
8595
|
* @throws {RequiredError}
|
|
8427
8596
|
* @memberof AccountInformationApiGenerated
|
|
8428
8597
|
*/
|
|
8429
|
-
getUserAccountBalance(...args: AccountInformationApiGetUserAccountBalanceArgs<TAuth>): Promise<_$axios.AxiosResponse<Balance[], any, {}>>;
|
|
8598
|
+
getUserAccountBalance(...args: AccountInformationApiGetUserAccountBalanceArgs<TAuth>): Promise<_$axios.AxiosResponse<Balance[], any, {}, any>>;
|
|
8430
8599
|
/**
|
|
8431
8600
|
* Returns account detail known to SnapTrade for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
8432
8601
|
* @summary Get account detail
|
|
@@ -8435,7 +8604,7 @@ declare class AccountInformationApiGenerated<TAuth extends AuthMode> extends Bas
|
|
|
8435
8604
|
* @throws {RequiredError}
|
|
8436
8605
|
* @memberof AccountInformationApiGenerated
|
|
8437
8606
|
*/
|
|
8438
|
-
getUserAccountDetails(...args: AccountInformationApiGetUserAccountDetailsArgs<TAuth>): Promise<_$axios.AxiosResponse<Account, any, {}>>;
|
|
8607
|
+
getUserAccountDetails(...args: AccountInformationApiGetUserAccountDetailsArgs<TAuth>): Promise<_$axios.AxiosResponse<Account, any, {}, any>>;
|
|
8439
8608
|
/**
|
|
8440
8609
|
* Returns the detail of a single order using the external order ID provided in the request body. This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future. 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.
|
|
8441
8610
|
* @summary Get account order detail
|
|
@@ -8444,7 +8613,7 @@ declare class AccountInformationApiGenerated<TAuth extends AuthMode> extends Bas
|
|
|
8444
8613
|
* @throws {RequiredError}
|
|
8445
8614
|
* @memberof AccountInformationApiGenerated
|
|
8446
8615
|
*/
|
|
8447
|
-
getUserAccountOrderDetail(...args: AccountInformationApiGetUserAccountOrderDetailArgs<TAuth>): Promise<_$axios.AxiosResponse<AccountOrderRecord, any, {}>>;
|
|
8616
|
+
getUserAccountOrderDetail(...args: AccountInformationApiGetUserAccountOrderDetailArgs<TAuth>): Promise<_$axios.AxiosResponse<AccountOrderRecord, any, {}, any>>;
|
|
8448
8617
|
/**
|
|
8449
8618
|
* Returns a list of recent orders in the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
8450
8619
|
* @summary List account orders
|
|
@@ -8453,7 +8622,7 @@ declare class AccountInformationApiGenerated<TAuth extends AuthMode> extends Bas
|
|
|
8453
8622
|
* @throws {RequiredError}
|
|
8454
8623
|
* @memberof AccountInformationApiGenerated
|
|
8455
8624
|
*/
|
|
8456
|
-
getUserAccountOrders(...args: AccountInformationApiGetUserAccountOrdersArgs<TAuth>): Promise<_$axios.AxiosResponse<AccountOrderRecord[], any, {}>>;
|
|
8625
|
+
getUserAccountOrders(...args: AccountInformationApiGetUserAccountOrdersArgs<TAuth>): Promise<_$axios.AxiosResponse<AccountOrderRecord[], any, {}, any>>;
|
|
8457
8626
|
/**
|
|
8458
8627
|
* A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is always realtime, and only checks the last 24 hours By default only returns executed orders, but that can be changed by setting *only_executed* to false
|
|
8459
8628
|
* @summary List account recent orders (last 24 hours only)
|
|
@@ -8462,7 +8631,7 @@ declare class AccountInformationApiGenerated<TAuth extends AuthMode> extends Bas
|
|
|
8462
8631
|
* @throws {RequiredError}
|
|
8463
8632
|
* @memberof AccountInformationApiGenerated
|
|
8464
8633
|
*/
|
|
8465
|
-
getUserAccountRecentOrders(...args: AccountInformationApiGetUserAccountRecentOrdersArgs<TAuth>): Promise<_$axios.AxiosResponse<RecentOrdersResponse, any, {}>>;
|
|
8634
|
+
getUserAccountRecentOrders(...args: AccountInformationApiGetUserAccountRecentOrdersArgs<TAuth>): Promise<_$axios.AxiosResponse<RecentOrdersResponse, any, {}, any>>;
|
|
8466
8635
|
/**
|
|
8467
8636
|
* DEPRECATED. Returns a list of rate of return percents for a given account.
|
|
8468
8637
|
* @summary List account rate of returns
|
|
@@ -8471,9 +8640,9 @@ declare class AccountInformationApiGenerated<TAuth extends AuthMode> extends Bas
|
|
|
8471
8640
|
* @throws {RequiredError}
|
|
8472
8641
|
* @memberof AccountInformationApiGenerated
|
|
8473
8642
|
*/
|
|
8474
|
-
getUserAccountReturnRates(...args: AccountInformationApiGetUserAccountReturnRatesArgs<TAuth>): Promise<_$axios.AxiosResponse<RateOfReturnResponse, any, {}>>;
|
|
8643
|
+
getUserAccountReturnRates(...args: AccountInformationApiGetUserAccountReturnRatesArgs<TAuth>): Promise<_$axios.AxiosResponse<RateOfReturnResponse, any, {}, any>>;
|
|
8475
8644
|
/**
|
|
8476
|
-
* **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
8645
|
+
* **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection. Concurrent live holdings requests for the same account fail immediately with HTTP 409 and error code `1166`. Wait for the in-flight request to complete before retrying.
|
|
8477
8646
|
* @summary List account holdings
|
|
8478
8647
|
* @param {AccountInformationApiGetUserHoldingsRequest<TAuth>} requestParameters Request parameters.
|
|
8479
8648
|
* @param {*} [options] Override http request option.
|
|
@@ -8481,7 +8650,7 @@ declare class AccountInformationApiGenerated<TAuth extends AuthMode> extends Bas
|
|
|
8481
8650
|
* @throws {RequiredError}
|
|
8482
8651
|
* @memberof AccountInformationApiGenerated
|
|
8483
8652
|
*/
|
|
8484
|
-
getUserHoldings(...args: AccountInformationApiGetUserHoldingsArgs<TAuth>): Promise<_$axios.AxiosResponse<AccountHoldingsAccount, any, {}>>;
|
|
8653
|
+
getUserHoldings(...args: AccountInformationApiGetUserHoldingsArgs<TAuth>): Promise<_$axios.AxiosResponse<AccountHoldingsAccount, any, {}, any>>;
|
|
8485
8654
|
/**
|
|
8486
8655
|
* Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. 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 brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listBrokerageAuthorizationAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization).
|
|
8487
8656
|
* @summary List user accounts
|
|
@@ -8490,7 +8659,7 @@ declare class AccountInformationApiGenerated<TAuth extends AuthMode> extends Bas
|
|
|
8490
8659
|
* @throws {RequiredError}
|
|
8491
8660
|
* @memberof AccountInformationApiGenerated
|
|
8492
8661
|
*/
|
|
8493
|
-
listUserAccounts(...args: AccountInformationApiListUserAccountsArgs<TAuth>): Promise<_$axios.AxiosResponse<Account[], any, {}>>;
|
|
8662
|
+
listUserAccounts(...args: AccountInformationApiListUserAccountsArgs<TAuth>): Promise<_$axios.AxiosResponse<Account[], any, {}, any>>;
|
|
8494
8663
|
/**
|
|
8495
8664
|
* Updates various properties of a specified account.
|
|
8496
8665
|
* @summary Update details of an investment account
|
|
@@ -8499,7 +8668,7 @@ declare class AccountInformationApiGenerated<TAuth extends AuthMode> extends Bas
|
|
|
8499
8668
|
* @throws {RequiredError}
|
|
8500
8669
|
* @memberof AccountInformationApiGenerated
|
|
8501
8670
|
*/
|
|
8502
|
-
updateUserAccount(...args: AccountInformationApiUpdateUserAccountArgs<TAuth>): Promise<_$axios.AxiosResponse<Account[], any, {}>>;
|
|
8671
|
+
updateUserAccount(...args: AccountInformationApiUpdateUserAccountArgs<TAuth>): Promise<_$axios.AxiosResponse<Account[], any, {}, any>>;
|
|
8503
8672
|
}
|
|
8504
8673
|
//#endregion
|
|
8505
8674
|
//#region api/account-information-api.d.ts
|
|
@@ -8559,7 +8728,7 @@ declare class ApiStatusApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAut
|
|
|
8559
8728
|
* @throws {RequiredError}
|
|
8560
8729
|
* @memberof ApiStatusApiGenerated
|
|
8561
8730
|
*/
|
|
8562
|
-
check(options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<Status, any, {}>>;
|
|
8731
|
+
check(options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<Status, any, {}, any>>;
|
|
8563
8732
|
}
|
|
8564
8733
|
//#endregion
|
|
8565
8734
|
//#region api/api-status-api.d.ts
|
|
@@ -8776,7 +8945,7 @@ declare class AuthenticationApiGenerated<TAuth extends AuthMode> extends BaseAPI
|
|
|
8776
8945
|
* @throws {RequiredError}
|
|
8777
8946
|
* @memberof AuthenticationApiGenerated
|
|
8778
8947
|
*/
|
|
8779
|
-
deleteSnapTradeUser(...args: AuthenticationApiDeleteSnapTradeUserArgs<TAuth>): Promise<_$axios.AxiosResponse<DeleteUserResponse, any, {}>>;
|
|
8948
|
+
deleteSnapTradeUser(...args: AuthenticationApiDeleteSnapTradeUserArgs<TAuth>): Promise<_$axios.AxiosResponse<DeleteUserResponse, any, {}, any>>;
|
|
8780
8949
|
/**
|
|
8781
8950
|
* Returns a list of all registered user IDs. Please note that the response is not currently paginated.
|
|
8782
8951
|
* @summary List all users
|
|
@@ -8784,7 +8953,7 @@ declare class AuthenticationApiGenerated<TAuth extends AuthMode> extends BaseAPI
|
|
|
8784
8953
|
* @throws {RequiredError}
|
|
8785
8954
|
* @memberof AuthenticationApiGenerated
|
|
8786
8955
|
*/
|
|
8787
|
-
listSnapTradeUsers(...args: TAuth["mode"] extends "commercialApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<_$axios.AxiosResponse<string[], any, {}>>;
|
|
8956
|
+
listSnapTradeUsers(...args: TAuth["mode"] extends "commercialApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<_$axios.AxiosResponse<string[], any, {}, any>>;
|
|
8788
8957
|
/**
|
|
8789
8958
|
* Authenticates a SnapTrade user and returns the Connection Portal URL used for connecting brokerage accounts. Please check [this guide](/docs/implement-connection-portal) for how to integrate the Connection Portal into your app. Please note that the returned URL expires in 5 minutes.
|
|
8790
8959
|
* @summary Generate Connection Portal URL
|
|
@@ -8793,7 +8962,7 @@ declare class AuthenticationApiGenerated<TAuth extends AuthMode> extends BaseAPI
|
|
|
8793
8962
|
* @throws {RequiredError}
|
|
8794
8963
|
* @memberof AuthenticationApiGenerated
|
|
8795
8964
|
*/
|
|
8796
|
-
loginSnapTradeUser(...args: AuthenticationApiLoginSnapTradeUserArgs<TAuth>): Promise<_$axios.AxiosResponse<AuthenticationLoginSnapTradeUser200Response, any, {}>>;
|
|
8965
|
+
loginSnapTradeUser(...args: AuthenticationApiLoginSnapTradeUserArgs<TAuth>): Promise<_$axios.AxiosResponse<AuthenticationLoginSnapTradeUser200Response, any, {}, any>>;
|
|
8797
8966
|
/**
|
|
8798
8967
|
* Registers a new SnapTrade user under your Client ID. A user secret will be automatically generated for you and must be properly stored in your system. Most SnapTrade operations require a user ID and user secret to be passed in as parameters.
|
|
8799
8968
|
* @summary Register user
|
|
@@ -8802,7 +8971,7 @@ declare class AuthenticationApiGenerated<TAuth extends AuthMode> extends BaseAPI
|
|
|
8802
8971
|
* @throws {RequiredError}
|
|
8803
8972
|
* @memberof AuthenticationApiGenerated
|
|
8804
8973
|
*/
|
|
8805
|
-
registerSnapTradeUser(...args: AuthenticationApiRegisterSnapTradeUserArgs<TAuth>): Promise<_$axios.AxiosResponse<UserIDandSecret, any, {}>>;
|
|
8974
|
+
registerSnapTradeUser(...args: AuthenticationApiRegisterSnapTradeUserArgs<TAuth>): Promise<_$axios.AxiosResponse<UserIDandSecret, any, {}, any>>;
|
|
8806
8975
|
/**
|
|
8807
8976
|
* Rotates the secret for a SnapTrade user. You might use this if `userSecret` is compromised. Please note that if you call this endpoint and fail to save the new secret, you\'ll no longer be able to access any data for this user, and your only option will be to delete and recreate the user, then ask them to reconnect.
|
|
8808
8977
|
* @summary Rotate user secret
|
|
@@ -8811,7 +8980,7 @@ declare class AuthenticationApiGenerated<TAuth extends AuthMode> extends BaseAPI
|
|
|
8811
8980
|
* @throws {RequiredError}
|
|
8812
8981
|
* @memberof AuthenticationApiGenerated
|
|
8813
8982
|
*/
|
|
8814
|
-
resetSnapTradeUserSecret(...args: AuthenticationApiResetSnapTradeUserSecretArgs<TAuth>): Promise<_$axios.AxiosResponse<UserIDandSecret, any, {}>>;
|
|
8983
|
+
resetSnapTradeUserSecret(...args: AuthenticationApiResetSnapTradeUserSecretArgs<TAuth>): Promise<_$axios.AxiosResponse<UserIDandSecret, any, {}, any>>;
|
|
8815
8984
|
}
|
|
8816
8985
|
//#endregion
|
|
8817
8986
|
//#region api/authentication-api.d.ts
|
|
@@ -9327,7 +9496,7 @@ declare class ConnectionsApiGenerated<TAuth extends AuthMode> extends BaseAPI<TA
|
|
|
9327
9496
|
* @throws {RequiredError}
|
|
9328
9497
|
* @memberof ConnectionsApiGenerated
|
|
9329
9498
|
*/
|
|
9330
|
-
deleteConnection(...args: ConnectionsApiDeleteConnectionArgs<TAuth>): Promise<_$axios.AxiosResponse<DeleteConnectionConfirmation, any, {}>>;
|
|
9499
|
+
deleteConnection(...args: ConnectionsApiDeleteConnectionArgs<TAuth>): Promise<_$axios.AxiosResponse<DeleteConnectionConfirmation, any, {}, any>>;
|
|
9331
9500
|
/**
|
|
9332
9501
|
* Returns a single connection for the specified ID.
|
|
9333
9502
|
* @summary Get connection detail
|
|
@@ -9336,7 +9505,7 @@ declare class ConnectionsApiGenerated<TAuth extends AuthMode> extends BaseAPI<TA
|
|
|
9336
9505
|
* @throws {RequiredError}
|
|
9337
9506
|
* @memberof ConnectionsApiGenerated
|
|
9338
9507
|
*/
|
|
9339
|
-
detailBrokerageAuthorization(...args: ConnectionsApiDetailBrokerageAuthorizationArgs<TAuth>): Promise<_$axios.AxiosResponse<BrokerageAuthorization, any, {}>>;
|
|
9508
|
+
detailBrokerageAuthorization(...args: ConnectionsApiDetailBrokerageAuthorizationArgs<TAuth>): Promise<_$axios.AxiosResponse<BrokerageAuthorization, any, {}, any>>;
|
|
9340
9509
|
/**
|
|
9341
9510
|
* Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](/docs/webhooks#webhooks-connection_broken) for the connection. This endpoint is available on test keys. If you would like it enabled on production keys as well, please contact support as it is disabled by default.
|
|
9342
9511
|
* @summary Force disable connection
|
|
@@ -9345,7 +9514,7 @@ declare class ConnectionsApiGenerated<TAuth extends AuthMode> extends BaseAPI<TA
|
|
|
9345
9514
|
* @throws {RequiredError}
|
|
9346
9515
|
* @memberof ConnectionsApiGenerated
|
|
9347
9516
|
*/
|
|
9348
|
-
disableBrokerageAuthorization(...args: ConnectionsApiDisableBrokerageAuthorizationArgs<TAuth>): Promise<_$axios.AxiosResponse<BrokerageAuthorizationDisabledConfirmation, any, {}>>;
|
|
9517
|
+
disableBrokerageAuthorization(...args: ConnectionsApiDisableBrokerageAuthorizationArgs<TAuth>): Promise<_$axios.AxiosResponse<BrokerageAuthorizationDisabledConfirmation, any, {}, any>>;
|
|
9349
9518
|
/**
|
|
9350
9519
|
* Returns all brokerage accounts that belong to the specified connection for the authenticated user. On Pay as you Go / Real-time, this endpoint refreshes each account\'s opening date, funding date, and total value live from the brokerage on each call. 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 brokerage. 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.
|
|
9351
9520
|
* @summary List accounts for a connection
|
|
@@ -9354,7 +9523,7 @@ declare class ConnectionsApiGenerated<TAuth extends AuthMode> extends BaseAPI<TA
|
|
|
9354
9523
|
* @throws {RequiredError}
|
|
9355
9524
|
* @memberof ConnectionsApiGenerated
|
|
9356
9525
|
*/
|
|
9357
|
-
listBrokerageAuthorizationAccounts(...args: ConnectionsApiListBrokerageAuthorizationAccountsArgs<TAuth>): Promise<_$axios.AxiosResponse<Account[], any, {}>>;
|
|
9526
|
+
listBrokerageAuthorizationAccounts(...args: ConnectionsApiListBrokerageAuthorizationAccountsArgs<TAuth>): Promise<_$axios.AxiosResponse<Account[], any, {}, any>>;
|
|
9358
9527
|
/**
|
|
9359
9528
|
* Returns a list of all connections for the specified user. Note that `Connection` and `Brokerage Authorization` are interchangeable, but the term `Connection` is preferred and used in the doc for consistency. A connection is usually tied to a single login at a brokerage. A single connection can contain multiple brokerage accounts. SnapTrade performs de-duping on connections for a given user. If the user has an existing connection with the brokerage, when connecting the brokerage with the same credentials, SnapTrade will return the existing connection instead of creating a new one.
|
|
9360
9529
|
* @summary List all connections
|
|
@@ -9363,7 +9532,7 @@ declare class ConnectionsApiGenerated<TAuth extends AuthMode> extends BaseAPI<TA
|
|
|
9363
9532
|
* @throws {RequiredError}
|
|
9364
9533
|
* @memberof ConnectionsApiGenerated
|
|
9365
9534
|
*/
|
|
9366
|
-
listBrokerageAuthorizations(...args: ConnectionsApiListBrokerageAuthorizationsArgs<TAuth>): Promise<_$axios.AxiosResponse<BrokerageAuthorization[], any, {}>>;
|
|
9535
|
+
listBrokerageAuthorizations(...args: ConnectionsApiListBrokerageAuthorizationsArgs<TAuth>): Promise<_$axios.AxiosResponse<BrokerageAuthorization[], any, {}, any>>;
|
|
9367
9536
|
/**
|
|
9368
9537
|
* Returns all accounts that belong to the specified connection 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. On Pay as you Go / Real-time, this endpoint refreshes each 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.
|
|
9369
9538
|
* @summary List accounts
|
|
@@ -9372,7 +9541,7 @@ declare class ConnectionsApiGenerated<TAuth extends AuthMode> extends BaseAPI<TA
|
|
|
9372
9541
|
* @throws {RequiredError}
|
|
9373
9542
|
* @memberof ConnectionsApiGenerated
|
|
9374
9543
|
*/
|
|
9375
|
-
listConnectionAccounts(...args: ConnectionsApiListConnectionAccountsArgs<TAuth>): Promise<_$axios.AxiosResponse<ConnectionAccountsResponse, any, {}>>;
|
|
9544
|
+
listConnectionAccounts(...args: ConnectionsApiListConnectionAccountsArgs<TAuth>): Promise<_$axios.AxiosResponse<ConnectionAccountsResponse, any, {}, any>>;
|
|
9376
9545
|
/**
|
|
9377
9546
|
* Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** **Please note this endpoint is disabled for Real-time plans (Personal and Pay as you go) unless SnapTrade uses delayed data for the connection. Real-time connections do not benefit from this feature since data is refreshed when calls are made. Refer to `data_freshness_mode.snaptrade` on a connection to determine this.**
|
|
9378
9547
|
* @summary Refresh holdings for a connection
|
|
@@ -9381,7 +9550,7 @@ declare class ConnectionsApiGenerated<TAuth extends AuthMode> extends BaseAPI<TA
|
|
|
9381
9550
|
* @throws {RequiredError}
|
|
9382
9551
|
* @memberof ConnectionsApiGenerated
|
|
9383
9552
|
*/
|
|
9384
|
-
refreshBrokerageAuthorization(...args: ConnectionsApiRefreshBrokerageAuthorizationArgs<TAuth>): Promise<_$axios.AxiosResponse<BrokerageAuthorizationRefreshConfirmation, any, {}>>;
|
|
9553
|
+
refreshBrokerageAuthorization(...args: ConnectionsApiRefreshBrokerageAuthorizationArgs<TAuth>): Promise<_$axios.AxiosResponse<BrokerageAuthorizationRefreshConfirmation, any, {}, any>>;
|
|
9385
9554
|
/**
|
|
9386
9555
|
* DEPRECATED. Returns a list of rate of return percents for a given connection.
|
|
9387
9556
|
* @summary List connection rate of returns
|
|
@@ -9390,7 +9559,7 @@ declare class ConnectionsApiGenerated<TAuth extends AuthMode> extends BaseAPI<TA
|
|
|
9390
9559
|
* @throws {RequiredError}
|
|
9391
9560
|
* @memberof ConnectionsApiGenerated
|
|
9392
9561
|
*/
|
|
9393
|
-
returnRates(...args: ConnectionsApiReturnRatesArgs<TAuth>): Promise<_$axios.AxiosResponse<RateOfReturnResponse, any, {}>>;
|
|
9562
|
+
returnRates(...args: ConnectionsApiReturnRatesArgs<TAuth>): Promise<_$axios.AxiosResponse<RateOfReturnResponse, any, {}, any>>;
|
|
9394
9563
|
/**
|
|
9395
9564
|
* Trigger a transactions sync for all accounts under this connection. Updates will be queued asynchronously. Transactions are not updated intra-day, but calling this endpoint can ensure that the previous day\'s transactions have been synced. For more information on sync behaviour, see: https://docs.snaptrade.com/docs/syncing
|
|
9396
9565
|
* @summary Sync transactions for a connection
|
|
@@ -9399,7 +9568,7 @@ declare class ConnectionsApiGenerated<TAuth extends AuthMode> extends BaseAPI<TA
|
|
|
9399
9568
|
* @throws {RequiredError}
|
|
9400
9569
|
* @memberof ConnectionsApiGenerated
|
|
9401
9570
|
*/
|
|
9402
|
-
syncBrokerageAuthorizationTransactions(...args: ConnectionsApiSyncBrokerageAuthorizationTransactionsArgs<TAuth>): Promise<_$axios.AxiosResponse<BrokerageAuthorizationTransactionsSyncConfirmation, any, {}>>;
|
|
9571
|
+
syncBrokerageAuthorizationTransactions(...args: ConnectionsApiSyncBrokerageAuthorizationTransactionsArgs<TAuth>): Promise<_$axios.AxiosResponse<BrokerageAuthorizationTransactionsSyncConfirmation, any, {}, any>>;
|
|
9403
9572
|
}
|
|
9404
9573
|
//#endregion
|
|
9405
9574
|
//#region api/connections-api.d.ts
|
|
@@ -9489,6 +9658,17 @@ declare const ExperimentalEndpointsApiAxiosParamCreator: (configuration?: Config
|
|
|
9489
9658
|
* @throws {RequiredError}
|
|
9490
9659
|
*/
|
|
9491
9660
|
listSubscriptions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9661
|
+
/**
|
|
9662
|
+
* **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase. Equity and equity-option orders use the existing brokerage trading capabilities. Futures and future options are currently supported only on tastytrade. Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or the exact tastytrade BrokerageInstrument ticker for futures and future options, including any spaces. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
|
|
9663
|
+
* @summary Place a simple order (beta)
|
|
9664
|
+
* @param {string} accountId The ID of the account to execute the trade on.
|
|
9665
|
+
* @param {SimpleTradeForm} simpleTradeForm
|
|
9666
|
+
* @param {string} [userId]
|
|
9667
|
+
* @param {string} [userSecret]
|
|
9668
|
+
* @param {*} [options] Override http request option.
|
|
9669
|
+
* @throws {RequiredError}
|
|
9670
|
+
*/
|
|
9671
|
+
placeSimpleOrder: (accountId: string, simpleTradeForm: SimpleTradeForm, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9492
9672
|
};
|
|
9493
9673
|
/**
|
|
9494
9674
|
* ExperimentalEndpointsApi - functional programming interface
|
|
@@ -9558,6 +9738,14 @@ declare const ExperimentalEndpointsApiFp: <TAuth extends AuthMode>(configuration
|
|
|
9558
9738
|
* @throws {RequiredError}
|
|
9559
9739
|
*/
|
|
9560
9740
|
listSubscriptions(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TradeDetectionSubscription>>>;
|
|
9741
|
+
/**
|
|
9742
|
+
* **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase. Equity and equity-option orders use the existing brokerage trading capabilities. Futures and future options are currently supported only on tastytrade. Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or the exact tastytrade BrokerageInstrument ticker for futures and future options, including any spaces. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
|
|
9743
|
+
* @summary Place a simple order (beta)
|
|
9744
|
+
* @param {ExperimentalEndpointsApiPlaceSimpleOrderRequest<TAuth>} requestParameters Request parameters.
|
|
9745
|
+
* @param {*} [options] Override http request option.
|
|
9746
|
+
* @throws {RequiredError}
|
|
9747
|
+
*/
|
|
9748
|
+
placeSimpleOrder(...args: ExperimentalEndpointsApiPlaceSimpleOrderArgs<TAuth>): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SimpleTradeResponse>>;
|
|
9561
9749
|
};
|
|
9562
9750
|
/**
|
|
9563
9751
|
* ExperimentalEndpointsApi - factory interface
|
|
@@ -9627,6 +9815,14 @@ declare const ExperimentalEndpointsApiFactory: <TAuth extends AuthMode>(configur
|
|
|
9627
9815
|
* @throws {RequiredError}
|
|
9628
9816
|
*/
|
|
9629
9817
|
listSubscriptions(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): AxiosPromise<Array<TradeDetectionSubscription>>;
|
|
9818
|
+
/**
|
|
9819
|
+
* **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase. Equity and equity-option orders use the existing brokerage trading capabilities. Futures and future options are currently supported only on tastytrade. Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or the exact tastytrade BrokerageInstrument ticker for futures and future options, including any spaces. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
|
|
9820
|
+
* @summary Place a simple order (beta)
|
|
9821
|
+
* @param {ExperimentalEndpointsApiPlaceSimpleOrderRequest<TAuth>} requestParameters Request parameters.
|
|
9822
|
+
* @param {*} [options] Override http request option.
|
|
9823
|
+
* @throws {RequiredError}
|
|
9824
|
+
*/
|
|
9825
|
+
placeSimpleOrder(...args: ExperimentalEndpointsApiPlaceSimpleOrderArgs<TAuth>): AxiosPromise<SimpleTradeResponse>;
|
|
9630
9826
|
};
|
|
9631
9827
|
/**
|
|
9632
9828
|
* Request parameters for addSubscription operation in ExperimentalEndpointsApi.
|
|
@@ -9814,6 +10010,33 @@ type ExperimentalEndpointsApiListAllUserAccountsRequestByAuthMode = {
|
|
|
9814
10010
|
type ExperimentalEndpointsApiListAllUserAccountsRequest<TAuth extends AuthMode> = ExperimentalEndpointsApiListAllUserAccountsRequestByAuthMode[TAuth["mode"] & keyof ExperimentalEndpointsApiListAllUserAccountsRequestByAuthMode];
|
|
9815
10011
|
/** Request argument optionality depends on the selected authentication mode. */
|
|
9816
10012
|
type ExperimentalEndpointsApiListAllUserAccountsArgs<TAuth extends AuthMode> = TAuth["mode"] extends "personalApiKey" ? [requestParameters?: ExperimentalEndpointsApiListAllUserAccountsRequest<TAuth>, options?: AxiosRequestConfig] : [requestParameters: ExperimentalEndpointsApiListAllUserAccountsRequest<TAuth>, options?: AxiosRequestConfig];
|
|
10013
|
+
/**
|
|
10014
|
+
* Request parameters for placeSimpleOrder operation in ExperimentalEndpointsApi.
|
|
10015
|
+
* @export
|
|
10016
|
+
*/
|
|
10017
|
+
type ExperimentalEndpointsApiPlaceSimpleOrderBaseRequest = {
|
|
10018
|
+
/**
|
|
10019
|
+
* The ID of the account to execute the trade on.
|
|
10020
|
+
* @type {string}
|
|
10021
|
+
* @memberof ExperimentalEndpointsApiPlaceSimpleOrder
|
|
10022
|
+
*/
|
|
10023
|
+
readonly accountId: string;
|
|
10024
|
+
} & SimpleTradeForm;
|
|
10025
|
+
type ExperimentalEndpointsApiPlaceSimpleOrdercommercialApiKeyRequest = ExperimentalEndpointsApiPlaceSimpleOrderBaseRequest & {
|
|
10026
|
+
readonly userId: string;
|
|
10027
|
+
readonly userSecret: string;
|
|
10028
|
+
};
|
|
10029
|
+
type ExperimentalEndpointsApiPlaceSimpleOrderpersonalApiKeyRequest = ExperimentalEndpointsApiPlaceSimpleOrderBaseRequest & {
|
|
10030
|
+
readonly userId?: never;
|
|
10031
|
+
readonly userSecret?: never;
|
|
10032
|
+
};
|
|
10033
|
+
type ExperimentalEndpointsApiPlaceSimpleOrderRequestByAuthMode = {
|
|
10034
|
+
"commercialApiKey": ExperimentalEndpointsApiPlaceSimpleOrdercommercialApiKeyRequest;
|
|
10035
|
+
"personalApiKey": ExperimentalEndpointsApiPlaceSimpleOrderpersonalApiKeyRequest;
|
|
10036
|
+
};
|
|
10037
|
+
type ExperimentalEndpointsApiPlaceSimpleOrderRequest<TAuth extends AuthMode> = ExperimentalEndpointsApiPlaceSimpleOrderRequestByAuthMode[TAuth["mode"] & keyof ExperimentalEndpointsApiPlaceSimpleOrderRequestByAuthMode];
|
|
10038
|
+
/** Request argument optionality depends on the selected authentication mode. */
|
|
10039
|
+
type ExperimentalEndpointsApiPlaceSimpleOrderArgs<TAuth extends AuthMode> = TAuth["mode"] extends never ? [requestParameters?: ExperimentalEndpointsApiPlaceSimpleOrderRequest<TAuth>, options?: AxiosRequestConfig] : [requestParameters: ExperimentalEndpointsApiPlaceSimpleOrderRequest<TAuth>, options?: AxiosRequestConfig];
|
|
9817
10040
|
/**
|
|
9818
10041
|
* ExperimentalEndpointsApiGenerated - object-oriented interface
|
|
9819
10042
|
* @export
|
|
@@ -9829,7 +10052,7 @@ declare class ExperimentalEndpointsApiGenerated<TAuth extends AuthMode> extends
|
|
|
9829
10052
|
* @throws {RequiredError}
|
|
9830
10053
|
* @memberof ExperimentalEndpointsApiGenerated
|
|
9831
10054
|
*/
|
|
9832
|
-
addSubscription(...args: ExperimentalEndpointsApiAddSubscriptionArgs<TAuth>): Promise<_$axios.AxiosResponse<TradeDetectionSubscription, any, {}>>;
|
|
10055
|
+
addSubscription(...args: ExperimentalEndpointsApiAddSubscriptionArgs<TAuth>): Promise<_$axios.AxiosResponse<TradeDetectionSubscription, any, {}, any>>;
|
|
9833
10056
|
/**
|
|
9834
10057
|
* Cancels a Trade Detection subscription for a connected brokerage account. This endpoint requires partner signature authentication only and does not require `userId` or `userSecret`.
|
|
9835
10058
|
* @summary Cancel a Trade Detection subscription
|
|
@@ -9838,7 +10061,7 @@ declare class ExperimentalEndpointsApiGenerated<TAuth extends AuthMode> extends
|
|
|
9838
10061
|
* @throws {RequiredError}
|
|
9839
10062
|
* @memberof ExperimentalEndpointsApiGenerated
|
|
9840
10063
|
*/
|
|
9841
|
-
cancelSubscription(...args: ExperimentalEndpointsApiCancelSubscriptionArgs<TAuth>): Promise<_$axios.AxiosResponse<TradeDetectionCancelSubscriptionResponse, any, {}>>;
|
|
10064
|
+
cancelSubscription(...args: ExperimentalEndpointsApiCancelSubscriptionArgs<TAuth>): Promise<_$axios.AxiosResponse<TradeDetectionCancelSubscriptionResponse, any, {}, any>>;
|
|
9842
10065
|
/**
|
|
9843
10066
|
* 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
10067
|
* @summary Get account details
|
|
@@ -9847,7 +10070,7 @@ declare class ExperimentalEndpointsApiGenerated<TAuth extends AuthMode> extends
|
|
|
9847
10070
|
* @throws {RequiredError}
|
|
9848
10071
|
* @memberof ExperimentalEndpointsApiGenerated
|
|
9849
10072
|
*/
|
|
9850
|
-
getAccountDetails(...args: ExperimentalEndpointsApiGetAccountDetailsArgs<TAuth>): Promise<_$axios.AxiosResponse<ConnectionAccount, any, {}>>;
|
|
10073
|
+
getAccountDetails(...args: ExperimentalEndpointsApiGetAccountDetailsArgs<TAuth>): Promise<_$axios.AxiosResponse<ConnectionAccount, any, {}, any>>;
|
|
9851
10074
|
/**
|
|
9852
10075
|
* 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.
|
|
9853
10076
|
* @summary Get account order detail (V2)
|
|
@@ -9856,7 +10079,7 @@ declare class ExperimentalEndpointsApiGenerated<TAuth extends AuthMode> extends
|
|
|
9856
10079
|
* @throws {RequiredError}
|
|
9857
10080
|
* @memberof ExperimentalEndpointsApiGenerated
|
|
9858
10081
|
*/
|
|
9859
|
-
getUserAccountOrderDetailV2(...args: ExperimentalEndpointsApiGetUserAccountOrderDetailV2Args<TAuth>): Promise<_$axios.AxiosResponse<AccountOrderRecordV2, any, {}>>;
|
|
10082
|
+
getUserAccountOrderDetailV2(...args: ExperimentalEndpointsApiGetUserAccountOrderDetailV2Args<TAuth>): Promise<_$axios.AxiosResponse<AccountOrderRecordV2, any, {}, any>>;
|
|
9860
10083
|
/**
|
|
9861
10084
|
* Returns a list of recent orders in the specified account. The V2 order response format will include all legs of each order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
9862
10085
|
* @summary List account orders v2
|
|
@@ -9865,7 +10088,7 @@ declare class ExperimentalEndpointsApiGenerated<TAuth extends AuthMode> extends
|
|
|
9865
10088
|
* @throws {RequiredError}
|
|
9866
10089
|
* @memberof ExperimentalEndpointsApiGenerated
|
|
9867
10090
|
*/
|
|
9868
|
-
getUserAccountOrdersV2(...args: ExperimentalEndpointsApiGetUserAccountOrdersV2Args<TAuth>): Promise<_$axios.AxiosResponse<AccountOrdersV2Response, any, {}>>;
|
|
10091
|
+
getUserAccountOrdersV2(...args: ExperimentalEndpointsApiGetUserAccountOrdersV2Args<TAuth>): Promise<_$axios.AxiosResponse<AccountOrdersV2Response, any, {}, any>>;
|
|
9869
10092
|
/**
|
|
9870
10093
|
* A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account using the V2 order format. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders. Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days. By default only returns executed orders, but that can be changed by setting *only_executed* to false. **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
|
|
9871
10094
|
* @summary List account recent orders (V2, last 24 hours only)
|
|
@@ -9874,7 +10097,7 @@ declare class ExperimentalEndpointsApiGenerated<TAuth extends AuthMode> extends
|
|
|
9874
10097
|
* @throws {RequiredError}
|
|
9875
10098
|
* @memberof ExperimentalEndpointsApiGenerated
|
|
9876
10099
|
*/
|
|
9877
|
-
getUserAccountRecentOrdersV2(...args: ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Args<TAuth>): Promise<_$axios.AxiosResponse<AccountOrdersV2Response, any, {}>>;
|
|
10100
|
+
getUserAccountRecentOrdersV2(...args: ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Args<TAuth>): Promise<_$axios.AxiosResponse<AccountOrdersV2Response, any, {}, any>>;
|
|
9878
10101
|
/**
|
|
9879
10102
|
* 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
10103
|
* @summary List all user accounts
|
|
@@ -9883,7 +10106,7 @@ declare class ExperimentalEndpointsApiGenerated<TAuth extends AuthMode> extends
|
|
|
9883
10106
|
* @throws {RequiredError}
|
|
9884
10107
|
* @memberof ExperimentalEndpointsApiGenerated
|
|
9885
10108
|
*/
|
|
9886
|
-
listAllUserAccounts(...args: ExperimentalEndpointsApiListAllUserAccountsArgs<TAuth>): Promise<_$axios.AxiosResponse<AllUserAccountsResponse, any, {}>>;
|
|
10109
|
+
listAllUserAccounts(...args: ExperimentalEndpointsApiListAllUserAccountsArgs<TAuth>): Promise<_$axios.AxiosResponse<AllUserAccountsResponse, any, {}, any>>;
|
|
9887
10110
|
/**
|
|
9888
10111
|
* Returns active Trade Detection subscriptions for your Client ID. Cancelled subscriptions are not returned.
|
|
9889
10112
|
* @summary List active Trade Detection subscriptions
|
|
@@ -9891,7 +10114,16 @@ declare class ExperimentalEndpointsApiGenerated<TAuth extends AuthMode> extends
|
|
|
9891
10114
|
* @throws {RequiredError}
|
|
9892
10115
|
* @memberof ExperimentalEndpointsApiGenerated
|
|
9893
10116
|
*/
|
|
9894
|
-
listSubscriptions(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<_$axios.AxiosResponse<TradeDetectionSubscription[], any, {}>>;
|
|
10117
|
+
listSubscriptions(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<_$axios.AxiosResponse<TradeDetectionSubscription[], any, {}, any>>;
|
|
10118
|
+
/**
|
|
10119
|
+
* **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase. Equity and equity-option orders use the existing brokerage trading capabilities. Futures and future options are currently supported only on tastytrade. Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or the exact tastytrade BrokerageInstrument ticker for futures and future options, including any spaces. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
|
|
10120
|
+
* @summary Place a simple order (beta)
|
|
10121
|
+
* @param {ExperimentalEndpointsApiPlaceSimpleOrderRequest<TAuth>} requestParameters Request parameters.
|
|
10122
|
+
* @param {*} [options] Override http request option.
|
|
10123
|
+
* @throws {RequiredError}
|
|
10124
|
+
* @memberof ExperimentalEndpointsApiGenerated
|
|
10125
|
+
*/
|
|
10126
|
+
placeSimpleOrder(...args: ExperimentalEndpointsApiPlaceSimpleOrderArgs<TAuth>): Promise<_$axios.AxiosResponse<SimpleTradeResponse, any, {}, any>>;
|
|
9895
10127
|
}
|
|
9896
10128
|
//#endregion
|
|
9897
10129
|
//#region api/experimental-endpoints-api.d.ts
|
|
@@ -10241,7 +10473,7 @@ declare class ReferenceDataApiGenerated<TAuth extends AuthMode> extends BaseAPI<
|
|
|
10241
10473
|
* @throws {RequiredError}
|
|
10242
10474
|
* @memberof ReferenceDataApiGenerated
|
|
10243
10475
|
*/
|
|
10244
|
-
getPartnerInfo(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<_$axios.AxiosResponse<PartnerData, any, {}>>;
|
|
10476
|
+
getPartnerInfo(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<_$axios.AxiosResponse<PartnerData, any, {}, any>>;
|
|
10245
10477
|
/**
|
|
10246
10478
|
* Returns a list of all supported Exchanges.
|
|
10247
10479
|
* @summary Get exchanges
|
|
@@ -10249,7 +10481,7 @@ declare class ReferenceDataApiGenerated<TAuth extends AuthMode> extends BaseAPI<
|
|
|
10249
10481
|
* @throws {RequiredError}
|
|
10250
10482
|
* @memberof ReferenceDataApiGenerated
|
|
10251
10483
|
*/
|
|
10252
|
-
getStockExchanges(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<_$axios.AxiosResponse<Exchange[], any, {}>>;
|
|
10484
|
+
getStockExchanges(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<_$axios.AxiosResponse<Exchange[], any, {}, any>>;
|
|
10253
10485
|
/**
|
|
10254
10486
|
* Returns a list of Universal Symbol objects that match the given query. The matching takes into consideration both the ticker and the name of the symbol. Only the first 20 results are returned.
|
|
10255
10487
|
* @summary Search symbols
|
|
@@ -10258,7 +10490,7 @@ declare class ReferenceDataApiGenerated<TAuth extends AuthMode> extends BaseAPI<
|
|
|
10258
10490
|
* @throws {RequiredError}
|
|
10259
10491
|
* @memberof ReferenceDataApiGenerated
|
|
10260
10492
|
*/
|
|
10261
|
-
getSymbols(...args: ReferenceDataApiGetSymbolsArgs<TAuth>): Promise<_$axios.AxiosResponse<UniversalSymbol[], any, {}>>;
|
|
10493
|
+
getSymbols(...args: ReferenceDataApiGetSymbolsArgs<TAuth>): Promise<_$axios.AxiosResponse<UniversalSymbol[], any, {}, any>>;
|
|
10262
10494
|
/**
|
|
10263
10495
|
* Returns the Universal Symbol object specified by the ticker or the Universal Symbol ID. When a ticker is specified, the first matching result is returned. We largely follow the [Yahoo Finance ticker format](https://help.yahoo.com/kb/SLN2310.html)(click on \"Yahoo Finance Market Coverage and Data Delays\"). For example, for securities traded on the Toronto Stock Exchange, the symbol has a \'.TO\' suffix. For securities traded on NASDAQ or NYSE, the symbol does not have a suffix. Share classes and preferred series use SnapTrade\'s canonical dotted form: use `HBND.U.TO` (not Yahoo\'s `HBND-U.TO`), `FTN.PR.A.TO` (not `FTN-PA.TO`), and `ECF.PRA` (not `ECF-P-A`). Please use the ticker with the proper suffix and canonical share-class notation for the best results.
|
|
10264
10496
|
* @summary Get symbol detail
|
|
@@ -10267,7 +10499,7 @@ declare class ReferenceDataApiGenerated<TAuth extends AuthMode> extends BaseAPI<
|
|
|
10267
10499
|
* @throws {RequiredError}
|
|
10268
10500
|
* @memberof ReferenceDataApiGenerated
|
|
10269
10501
|
*/
|
|
10270
|
-
getSymbolsByTicker(...args: ReferenceDataApiGetSymbolsByTickerArgs<TAuth>): Promise<_$axios.AxiosResponse<UniversalSymbol, any, {}>>;
|
|
10502
|
+
getSymbolsByTicker(...args: ReferenceDataApiGetSymbolsByTickerArgs<TAuth>): Promise<_$axios.AxiosResponse<UniversalSymbol, any, {}, any>>;
|
|
10271
10503
|
/**
|
|
10272
10504
|
* Returns a list of all defined Brokerage authorization Type objects.
|
|
10273
10505
|
* @summary Get all brokerage authorization types
|
|
@@ -10276,7 +10508,7 @@ declare class ReferenceDataApiGenerated<TAuth extends AuthMode> extends BaseAPI<
|
|
|
10276
10508
|
* @throws {RequiredError}
|
|
10277
10509
|
* @memberof ReferenceDataApiGenerated
|
|
10278
10510
|
*/
|
|
10279
|
-
listAllBrokerageAuthorizationType(...args: ReferenceDataApiListAllBrokerageAuthorizationTypeArgs<TAuth>): Promise<_$axios.AxiosResponse<BrokerageAuthorizationTypeReadOnly[], any, {}>>;
|
|
10511
|
+
listAllBrokerageAuthorizationType(...args: ReferenceDataApiListAllBrokerageAuthorizationTypeArgs<TAuth>): Promise<_$axios.AxiosResponse<BrokerageAuthorizationTypeReadOnly[], any, {}, any>>;
|
|
10280
10512
|
/**
|
|
10281
10513
|
* Returns a list of all brokerage instruments available for a given brokerage. Not all brokerages support this. The ones that don\'t will return an empty list.
|
|
10282
10514
|
* @summary Get brokerage instruments
|
|
@@ -10285,7 +10517,7 @@ declare class ReferenceDataApiGenerated<TAuth extends AuthMode> extends BaseAPI<
|
|
|
10285
10517
|
* @throws {RequiredError}
|
|
10286
10518
|
* @memberof ReferenceDataApiGenerated
|
|
10287
10519
|
*/
|
|
10288
|
-
listAllBrokerageInstruments(...args: ReferenceDataApiListAllBrokerageInstrumentsArgs<TAuth>): Promise<_$axios.AxiosResponse<BrokerageInstrumentsResponse, any, {}>>;
|
|
10520
|
+
listAllBrokerageInstruments(...args: ReferenceDataApiListAllBrokerageInstrumentsArgs<TAuth>): Promise<_$axios.AxiosResponse<BrokerageInstrumentsResponse, any, {}, any>>;
|
|
10289
10521
|
/**
|
|
10290
10522
|
* Returns a list of all defined Brokerage objects.
|
|
10291
10523
|
* @summary Get brokerages
|
|
@@ -10293,7 +10525,7 @@ declare class ReferenceDataApiGenerated<TAuth extends AuthMode> extends BaseAPI<
|
|
|
10293
10525
|
* @throws {RequiredError}
|
|
10294
10526
|
* @memberof ReferenceDataApiGenerated
|
|
10295
10527
|
*/
|
|
10296
|
-
listAllBrokerages(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<_$axios.AxiosResponse<Brokerage[], any, {}>>;
|
|
10528
|
+
listAllBrokerages(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<_$axios.AxiosResponse<Brokerage[], any, {}, any>>;
|
|
10297
10529
|
/**
|
|
10298
10530
|
* Returns the public catalog of institutions SnapTrade supports and what each one supports. The response is the same for every caller and needs no authentication. To list the brokerages a specific Client ID can connect to right now, use `GET /brokerages` instead. A `null` field means the information is not documented yet, never that the institution lacks it. New fields and new enum values may be added over time, so ignore any you don\'t recognize.
|
|
10299
10531
|
* @summary List institutions
|
|
@@ -10301,7 +10533,7 @@ declare class ReferenceDataApiGenerated<TAuth extends AuthMode> extends BaseAPI<
|
|
|
10301
10533
|
* @throws {RequiredError}
|
|
10302
10534
|
* @memberof ReferenceDataApiGenerated
|
|
10303
10535
|
*/
|
|
10304
|
-
listInstitutions(options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<Institution[], any, {}>>;
|
|
10536
|
+
listInstitutions(options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<Institution[], any, {}, any>>;
|
|
10305
10537
|
/**
|
|
10306
10538
|
* Returns a list of Universal Symbol objects that match the given query. The matching takes into consideration both the ticker and the name of the symbol. Only the first 20 results are returned. The search results are further limited to the symbols supported by the brokerage for which the account is under.
|
|
10307
10539
|
* @summary Search account symbols
|
|
@@ -10310,7 +10542,7 @@ declare class ReferenceDataApiGenerated<TAuth extends AuthMode> extends BaseAPI<
|
|
|
10310
10542
|
* @throws {RequiredError}
|
|
10311
10543
|
* @memberof ReferenceDataApiGenerated
|
|
10312
10544
|
*/
|
|
10313
|
-
symbolSearchUserAccount(...args: ReferenceDataApiSymbolSearchUserAccountArgs<TAuth>): Promise<_$axios.AxiosResponse<UniversalSymbol[], any, {}>>;
|
|
10545
|
+
symbolSearchUserAccount(...args: ReferenceDataApiSymbolSearchUserAccountArgs<TAuth>): Promise<_$axios.AxiosResponse<UniversalSymbol[], any, {}, any>>;
|
|
10314
10546
|
}
|
|
10315
10547
|
//#endregion
|
|
10316
10548
|
//#region api/reference-data-api.d.ts
|
|
@@ -11131,7 +11363,7 @@ declare class TradingApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth>
|
|
|
11131
11363
|
* @throws {RequiredError}
|
|
11132
11364
|
* @memberof TradingApiGenerated
|
|
11133
11365
|
*/
|
|
11134
|
-
cancelOrder(...args: TradingApiCancelOrderArgs<TAuth>): Promise<_$axios.AxiosResponse<CancelOrderResponse, any, {}>>;
|
|
11366
|
+
cancelOrder(...args: TradingApiCancelOrderArgs<TAuth>): Promise<_$axios.AxiosResponse<CancelOrderResponse, any, {}, any>>;
|
|
11135
11367
|
/**
|
|
11136
11368
|
* Gets a quote for the specified account.
|
|
11137
11369
|
* @summary Get crypto pair quote
|
|
@@ -11140,7 +11372,7 @@ declare class TradingApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth>
|
|
|
11140
11372
|
* @throws {RequiredError}
|
|
11141
11373
|
* @memberof TradingApiGenerated
|
|
11142
11374
|
*/
|
|
11143
|
-
getCryptocurrencyPairQuote(...args: TradingApiGetCryptocurrencyPairQuoteArgs<TAuth>): Promise<_$axios.AxiosResponse<CryptocurrencyPairQuote, any, {}>>;
|
|
11375
|
+
getCryptocurrencyPairQuote(...args: TradingApiGetCryptocurrencyPairQuoteArgs<TAuth>): Promise<_$axios.AxiosResponse<CryptocurrencyPairQuote, any, {}, any>>;
|
|
11144
11376
|
/**
|
|
11145
11377
|
* Simulates an option order with up to 4 legs and returns the estimated cost and transaction fees without placing it. Only supported for certain enabled brokerages. Please refer to the [brokerage trading support page](https://support.snaptrade.com/brokerages) for more information on which brokerages support this endpoint.
|
|
11146
11378
|
* @summary Get option order impact
|
|
@@ -11149,7 +11381,7 @@ declare class TradingApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth>
|
|
|
11149
11381
|
* @throws {RequiredError}
|
|
11150
11382
|
* @memberof TradingApiGenerated
|
|
11151
11383
|
*/
|
|
11152
|
-
getOptionImpact(...args: TradingApiGetOptionImpactArgs<TAuth>): Promise<_$axios.AxiosResponse<OptionImpact, any, {}>>;
|
|
11384
|
+
getOptionImpact(...args: TradingApiGetOptionImpactArgs<TAuth>): Promise<_$axios.AxiosResponse<OptionImpact, any, {}, any>>;
|
|
11153
11385
|
/**
|
|
11154
11386
|
* Simulates an order and its impact on the account. This endpoint does not place the order with the brokerage. If successful, it returns a `Trade` object and the ID of the object can be used to place the order with the brokerage using the [place checked order endpoint](/reference/Trading/Trading_placeOrder). Please note that the `Trade` object returned expires after 5 minutes. Any order placed using an expired `Trade` will be rejected.
|
|
11155
11387
|
* @summary Check equity order impact
|
|
@@ -11158,7 +11390,7 @@ declare class TradingApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth>
|
|
|
11158
11390
|
* @throws {RequiredError}
|
|
11159
11391
|
* @memberof TradingApiGenerated
|
|
11160
11392
|
*/
|
|
11161
|
-
getOrderImpact(...args: TradingApiGetOrderImpactArgs<TAuth>): Promise<_$axios.AxiosResponse<ManualTradeAndImpact, any, {}>>;
|
|
11393
|
+
getOrderImpact(...args: TradingApiGetOrderImpactArgs<TAuth>): Promise<_$axios.AxiosResponse<ManualTradeAndImpact, any, {}, any>>;
|
|
11162
11394
|
/**
|
|
11163
11395
|
* **Deprecated.** This endpoint was sunset on October 1, 2026 and now always returns `410 Gone`. Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes.
|
|
11164
11396
|
* @summary Get option quote
|
|
@@ -11168,7 +11400,7 @@ declare class TradingApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth>
|
|
|
11168
11400
|
* @throws {RequiredError}
|
|
11169
11401
|
* @memberof TradingApiGenerated
|
|
11170
11402
|
*/
|
|
11171
|
-
getUserAccountOptionQuotes(...args: TradingApiGetUserAccountOptionQuotesArgs<TAuth>): Promise<_$axios.AxiosResponse<OptionQuote, any, {}>>;
|
|
11403
|
+
getUserAccountOptionQuotes(...args: TradingApiGetUserAccountOptionQuotesArgs<TAuth>): Promise<_$axios.AxiosResponse<OptionQuote, any, {}, any>>;
|
|
11172
11404
|
/**
|
|
11173
11405
|
* Returns a maximum of 10 quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. **This endpoint is not a substitute for a market data provider. Frequent polling of this endpoint may result in the disabling of your keys** This endpoint does not work for options quotes.
|
|
11174
11406
|
* @summary Get equity symbol quotes
|
|
@@ -11177,7 +11409,7 @@ declare class TradingApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth>
|
|
|
11177
11409
|
* @throws {RequiredError}
|
|
11178
11410
|
* @memberof TradingApiGenerated
|
|
11179
11411
|
*/
|
|
11180
|
-
getUserAccountQuotes(...args: TradingApiGetUserAccountQuotesArgs<TAuth>): Promise<_$axios.AxiosResponse<SymbolsQuotesInner[], any, {}>>;
|
|
11412
|
+
getUserAccountQuotes(...args: TradingApiGetUserAccountQuotesArgs<TAuth>): Promise<_$axios.AxiosResponse<SymbolsQuotesInner[], any, {}, any>>;
|
|
11181
11413
|
/**
|
|
11182
11414
|
* Places a complex conditional order (OCO, OTO, or OTOCO). Only supported on certain brokerages. Please refer to the [brokerage trading support page](https://support.snaptrade.com/brokerages) for details on which brokerages support complex orders and which types they support. - **OCO** (One Cancels the Other): Two peer orders; when one fills the other is cancelled. - **OTO** (One Triggers the Other): A trigger order that, when filled, activates a conditional order. - **OTOCO** (One Triggers a One Cancels the Other): A trigger order that, when filled, activates an OCO pair of two peer orders. Option OCO peers must trade the same OCC option symbol with the same closing action and positive whole-contract quantity. On tastytrade, option OCO supports closing an existing long or short option position with one `Limit` order and one `Stop` or `StopLimit` order. Both `PEER` orders must use `SELL_TO_CLOSE` or both must use `BUY_TO_CLOSE`, with `Day` or `GTC` time in force. Opening option OCOs are not supported. On enabled Webull US v3 accounts, option OCO supports closing an existing long option position with one `Limit` take-profit order and one `Stop` stop-loss order. Both `PEER` orders must use `SELL_TO_CLOSE`, `Day`, the same OCC option symbol, and the same positive whole-contract quantity. Webull receives these as `STOP_PROFIT` and `STOP_LOSS` orders sharing a combo ID, without a MASTER order. Opening option OCOs, `BUY_TO_CLOSE`, `StopLimit`, and other option order pairs are not supported on Webull. Equity complex-order behavior is unchanged.
|
|
11183
11415
|
* @summary Place complex order
|
|
@@ -11186,7 +11418,7 @@ declare class TradingApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth>
|
|
|
11186
11418
|
* @throws {RequiredError}
|
|
11187
11419
|
* @memberof TradingApiGenerated
|
|
11188
11420
|
*/
|
|
11189
|
-
placeComplexOrder(...args: TradingApiPlaceComplexOrderArgs<TAuth>): Promise<_$axios.AxiosResponse<ComplexOrderResponse, any, {}>>;
|
|
11421
|
+
placeComplexOrder(...args: TradingApiPlaceComplexOrderArgs<TAuth>): Promise<_$axios.AxiosResponse<ComplexOrderResponse, any, {}, any>>;
|
|
11190
11422
|
/**
|
|
11191
11423
|
* Places an order in the specified account. This endpoint does not compute the impact to the account balance from the order before submitting the order.
|
|
11192
11424
|
* @summary Place crypto order
|
|
@@ -11195,7 +11427,7 @@ declare class TradingApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth>
|
|
|
11195
11427
|
* @throws {RequiredError}
|
|
11196
11428
|
* @memberof TradingApiGenerated
|
|
11197
11429
|
*/
|
|
11198
|
-
placeCryptoOrder(...args: TradingApiPlaceCryptoOrderArgs<TAuth>): Promise<_$axios.AxiosResponse<OrderUpdatedResponse, any, {}>>;
|
|
11430
|
+
placeCryptoOrder(...args: TradingApiPlaceCryptoOrderArgs<TAuth>): Promise<_$axios.AxiosResponse<OrderUpdatedResponse, any, {}, any>>;
|
|
11199
11431
|
/**
|
|
11200
11432
|
* Places a brokerage order in the specified account. The order could be rejected by the brokerage if it is invalid or if the account does not have sufficient funds. This endpoint does not compute the impact to the account balance from the order and any potential commissions before submitting the order to the brokerage. If that is desired, you can use the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). It\'s recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
|
|
11201
11433
|
* @summary Place equity order
|
|
@@ -11204,7 +11436,7 @@ declare class TradingApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth>
|
|
|
11204
11436
|
* @throws {RequiredError}
|
|
11205
11437
|
* @memberof TradingApiGenerated
|
|
11206
11438
|
*/
|
|
11207
|
-
placeForceOrder(...args: TradingApiPlaceForceOrderArgs<TAuth>): Promise<_$axios.AxiosResponse<AccountOrderRecord, any, {}>>;
|
|
11439
|
+
placeForceOrder(...args: TradingApiPlaceForceOrderArgs<TAuth>): Promise<_$axios.AxiosResponse<AccountOrderRecord, any, {}, any>>;
|
|
11208
11440
|
/**
|
|
11209
11441
|
* Places a multi-leg option order. Only supported on certain option trading brokerages. https://support.snaptrade.com/brokerages has information on brokerage trading support
|
|
11210
11442
|
* @summary Place option order
|
|
@@ -11213,7 +11445,7 @@ declare class TradingApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth>
|
|
|
11213
11445
|
* @throws {RequiredError}
|
|
11214
11446
|
* @memberof TradingApiGenerated
|
|
11215
11447
|
*/
|
|
11216
|
-
placeMlegOrder(...args: TradingApiPlaceMlegOrderArgs<TAuth>): Promise<_$axios.AxiosResponse<MlegOrderResponse, any, {}>>;
|
|
11448
|
+
placeMlegOrder(...args: TradingApiPlaceMlegOrderArgs<TAuth>): Promise<_$axios.AxiosResponse<MlegOrderResponse, any, {}, any>>;
|
|
11217
11449
|
/**
|
|
11218
11450
|
* Places the previously checked order with the brokerage. The `tradeId` is obtained from the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). If you prefer to place the order without checking for impact first, you can use the [place order endpoint](/reference/Trading/Trading_placeForceOrder). It\'s recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
|
|
11219
11451
|
* @summary Place checked equity order
|
|
@@ -11222,7 +11454,7 @@ declare class TradingApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth>
|
|
|
11222
11454
|
* @throws {RequiredError}
|
|
11223
11455
|
* @memberof TradingApiGenerated
|
|
11224
11456
|
*/
|
|
11225
|
-
placeOrder(...args: TradingApiPlaceOrderArgs<TAuth>): Promise<_$axios.AxiosResponse<AccountOrderRecord, any, {}>>;
|
|
11457
|
+
placeOrder(...args: TradingApiPlaceOrderArgs<TAuth>): Promise<_$axios.AxiosResponse<AccountOrderRecord, any, {}, any>>;
|
|
11226
11458
|
/**
|
|
11227
11459
|
* Previews an order using the specified account.
|
|
11228
11460
|
* @summary Preview crypto order
|
|
@@ -11231,7 +11463,7 @@ declare class TradingApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth>
|
|
|
11231
11463
|
* @throws {RequiredError}
|
|
11232
11464
|
* @memberof TradingApiGenerated
|
|
11233
11465
|
*/
|
|
11234
|
-
previewCryptoOrder(...args: TradingApiPreviewCryptoOrderArgs<TAuth>): Promise<_$axios.AxiosResponse<CryptoOrderPreview, any, {}>>;
|
|
11466
|
+
previewCryptoOrder(...args: TradingApiPreviewCryptoOrderArgs<TAuth>): Promise<_$axios.AxiosResponse<CryptoOrderPreview, any, {}, any>>;
|
|
11235
11467
|
/**
|
|
11236
11468
|
* Replaces an existing pending order with a new one. The way this works is brokerage dependent, but usually involves cancelling the existing order and placing a new one. The order\'s brokerage_order_id may or may not change, be sure to use the one returned in the response going forward. Only supported on some brokerages
|
|
11237
11469
|
* @summary Replace order
|
|
@@ -11240,7 +11472,7 @@ declare class TradingApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth>
|
|
|
11240
11472
|
* @throws {RequiredError}
|
|
11241
11473
|
* @memberof TradingApiGenerated
|
|
11242
11474
|
*/
|
|
11243
|
-
replaceOrder(...args: TradingApiReplaceOrderArgs<TAuth>): Promise<_$axios.AxiosResponse<AccountOrderRecord, any, {}>>;
|
|
11475
|
+
replaceOrder(...args: TradingApiReplaceOrderArgs<TAuth>): Promise<_$axios.AxiosResponse<AccountOrderRecord, any, {}, any>>;
|
|
11244
11476
|
/**
|
|
11245
11477
|
* Searches cryptocurrency pairs instruments accessible to the specified account. Both `base` and `quote` are optional. Omit both for a full list of cryptocurrency pairs.
|
|
11246
11478
|
* @summary Get crypto pairs
|
|
@@ -11249,7 +11481,7 @@ declare class TradingApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth>
|
|
|
11249
11481
|
* @throws {RequiredError}
|
|
11250
11482
|
* @memberof TradingApiGenerated
|
|
11251
11483
|
*/
|
|
11252
|
-
searchCryptocurrencyPairInstruments(...args: TradingApiSearchCryptocurrencyPairInstrumentsArgs<TAuth>): Promise<_$axios.AxiosResponse<TradingSearchCryptocurrencyPairInstruments200Response, any, {}>>;
|
|
11484
|
+
searchCryptocurrencyPairInstruments(...args: TradingApiSearchCryptocurrencyPairInstrumentsArgs<TAuth>): Promise<_$axios.AxiosResponse<TradingSearchCryptocurrencyPairInstruments200Response, any, {}, any>>;
|
|
11253
11485
|
}
|
|
11254
11486
|
//#endregion
|
|
11255
11487
|
//#region api/trading-api.d.ts
|
|
@@ -11319,4 +11551,4 @@ declare class SnaptradeError extends Error {
|
|
|
11319
11551
|
declare function readableStreamToString(stream: ReadableStream): Promise<string>;
|
|
11320
11552
|
declare function parseIfJson(input: unknown): object | unknown;
|
|
11321
11553
|
//#endregion
|
|
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 };
|
|
11554
|
+
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, AccountInformationGetUserHoldings409Response, 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, ExperimentalEndpointsApiPlaceSimpleOrderArgs, ExperimentalEndpointsApiPlaceSimpleOrderBaseRequest, ExperimentalEndpointsApiPlaceSimpleOrderRequest, ExperimentalEndpointsApiPlaceSimpleOrderRequestByAuthMode, ExperimentalEndpointsApiPlaceSimpleOrdercommercialApiKeyRequest, ExperimentalEndpointsApiPlaceSimpleOrderpersonalApiKeyRequest, 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, SimpleTradeForm, SimpleTradeInstrument, SimpleTradeLeg, SimpleTradeResponse, 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 };
|