snaptrade-typescript-sdk 13.1.13 → 13.1.15
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 +8 -6
- package/dist/browser.umd.js +1 -1
- package/dist/index.cjs +9 -9
- package/dist/index.d.cts +38 -13
- package/dist/index.d.mts +38 -13
- package/dist/index.d.ts +38 -13
- package/dist/index.mjs +9 -9
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2224,6 +2224,29 @@ interface AdrInstrument {
|
|
|
2224
2224
|
}
|
|
2225
2225
|
type AdrInstrumentKindEnum = 'adr';
|
|
2226
2226
|
//#endregion
|
|
2227
|
+
//#region models/cash-instrument.d.ts
|
|
2228
|
+
/**
|
|
2229
|
+
* A currency traded as the instrument itself, such as the currency bought or sold by a forex order. Quantities on the leg are amounts of this currency; the order\'s `price_currency` is the currency it was priced in.
|
|
2230
|
+
* @export
|
|
2231
|
+
* @interface CashInstrument
|
|
2232
|
+
*/
|
|
2233
|
+
interface CashInstrument {
|
|
2234
|
+
[key: string]: unknown;
|
|
2235
|
+
/**
|
|
2236
|
+
* Type of security instrument.
|
|
2237
|
+
* @type {string}
|
|
2238
|
+
* @memberof CashInstrument
|
|
2239
|
+
*/
|
|
2240
|
+
'kind': CashInstrumentKindEnum;
|
|
2241
|
+
/**
|
|
2242
|
+
* ISO-4217 code of the currency.
|
|
2243
|
+
* @type {string}
|
|
2244
|
+
* @memberof CashInstrument
|
|
2245
|
+
*/
|
|
2246
|
+
'code': string;
|
|
2247
|
+
}
|
|
2248
|
+
type CashInstrumentKindEnum = 'cash';
|
|
2249
|
+
//#endregion
|
|
2227
2250
|
//#region models/cef-instrument.d.ts
|
|
2228
2251
|
/**
|
|
2229
2252
|
* Security instrument metadata for closed-end fund positions.
|
|
@@ -2959,6 +2982,8 @@ type Instrument = {
|
|
|
2959
2982
|
} & AdrInstrument | {
|
|
2960
2983
|
kind: 'bond';
|
|
2961
2984
|
} & OtherInstrument | {
|
|
2985
|
+
kind: 'cash';
|
|
2986
|
+
} & CashInstrument | {
|
|
2962
2987
|
kind: 'cef';
|
|
2963
2988
|
} & CefInstrument | {
|
|
2964
2989
|
kind: 'cfd';
|
|
@@ -3850,7 +3875,7 @@ interface AccountPosition {
|
|
|
3850
3875
|
*/
|
|
3851
3876
|
'cash_equivalent'?: boolean;
|
|
3852
3877
|
/**
|
|
3853
|
-
* 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
|
|
3878
|
+
* List of tax lots for the given position. Disabled by default; enable via the Customer Dashboard Add-ons page. When enabled, this field is included for security positions (`stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`). For these positions, an empty list means no tax lot data is available. Availability varies by brokerage and position. This field is omitted for options, futures, future options, CFDs, tokenized assets, and cash, or when the feature is disabled.
|
|
3854
3879
|
* @type {Array<TaxLot>}
|
|
3855
3880
|
* @memberof AccountPosition
|
|
3856
3881
|
*/
|
|
@@ -8026,7 +8051,7 @@ interface SimpleTradeInstrument {
|
|
|
8026
8051
|
*/
|
|
8027
8052
|
'kind': SimpleTradeInstrumentKindEnum;
|
|
8028
8053
|
/**
|
|
8029
|
-
* Equity ticker, OCC equity-option symbol, or
|
|
8054
|
+
* Equity ticker, OCC equity-option symbol, or brokerage-native futures symbol. Tastytrade future tickers begin with `/` and future-option tickers begin with `./`; preserve their spaces and punctuation. Webull US futures require a specific unprefixed contract symbol such as ESZ6, without whitespace; slash aliases and continuous/root-only symbols are not accepted. Universal symbol IDs are not accepted.
|
|
8030
8055
|
* @type {string}
|
|
8031
8056
|
* @memberof SimpleTradeInstrument
|
|
8032
8057
|
*/
|
|
@@ -8077,7 +8102,7 @@ interface SimpleTradeForm {
|
|
|
8077
8102
|
*/
|
|
8078
8103
|
'order_type': SimpleTradeFormOrderTypeEnum;
|
|
8079
8104
|
/**
|
|
8080
|
-
* 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.
|
|
8105
|
+
* Order duration, subject to brokerage and execution-path support. gtd requires expiry_date and a non-market single-leg equity/option order. Existing single-leg option routing does not support ioc. Futures and multi-leg orders do not support gtd through this endpoint. Webull US futures only support day and gtc.
|
|
8081
8106
|
* @type {string}
|
|
8082
8107
|
* @memberof SimpleTradeForm
|
|
8083
8108
|
*/
|
|
@@ -8107,7 +8132,7 @@ interface SimpleTradeForm {
|
|
|
8107
8132
|
*/
|
|
8108
8133
|
'price_effect'?: SimpleTradeFormPriceEffectEnum;
|
|
8109
8134
|
/**
|
|
8110
|
-
* 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.
|
|
8135
|
+
* Optional canonical UUID, forwarded where the existing execution path supports it and for tastytrade and Webull US futures orders. Requires the existing client-order-ID enablement; when disabled the value is ignored. Brokerage behavior on duplicates varies; SnapTrade does not enforce uniqueness. Tastytrade uses this as external-identifier for correlation and does not deduplicate submissions. For Webull US futures, SnapTrade converts the supplied UUID (or its generated order UUID) to lowercase 32-character hexadecimal without hyphens. The original supplied UUID remains in SnapTrade\'s trade audit; the converted value is returned as brokerage_order_id for subsequent order reads.
|
|
8111
8136
|
* @type {string}
|
|
8112
8137
|
* @memberof SimpleTradeForm
|
|
8113
8138
|
*/
|
|
@@ -8929,7 +8954,7 @@ declare const AccountInformationApiAxiosParamCreator: (configuration?: Configura
|
|
|
8929
8954
|
*/
|
|
8930
8955
|
getAccountDetails: (accountId: string, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8931
8956
|
/**
|
|
8932
|
-
* 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`,
|
|
8957
|
+
* Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. Security positions (`stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`) may include `tax_lots` when tax lot data is enabled for the account; derivative, CFD, tokenized asset, and cash positions never do. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
8933
8958
|
* @summary List all account positions
|
|
8934
8959
|
* @param {string} accountId
|
|
8935
8960
|
* @param {string} [userId]
|
|
@@ -9083,7 +9108,7 @@ declare const AccountInformationApiFp: <TAuth extends AuthMode>(configuration?:
|
|
|
9083
9108
|
*/
|
|
9084
9109
|
getAccountDetails(...args: AccountInformationApiGetAccountDetailsArgs<TAuth>): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<ConnectionAccount, unknown>>>;
|
|
9085
9110
|
/**
|
|
9086
|
-
* 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`,
|
|
9111
|
+
* Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. Security positions (`stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`) may include `tax_lots` when tax lot data is enabled for the account; derivative, CFD, tokenized asset, and cash positions never do. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
9087
9112
|
* @summary List all account positions
|
|
9088
9113
|
* @param {AccountInformationApiGetAllAccountPositionsRequest<TAuth>} requestParameters Request parameters.
|
|
9089
9114
|
* @param {*} [options] Override http request option.
|
|
@@ -9212,7 +9237,7 @@ declare const AccountInformationApiFactory: <TAuth extends AuthMode>(configurati
|
|
|
9212
9237
|
*/
|
|
9213
9238
|
getAccountDetails(...args: AccountInformationApiGetAccountDetailsArgs<TAuth>): Promise<AxiosResponse<ConnectionAccount, unknown>>;
|
|
9214
9239
|
/**
|
|
9215
|
-
* 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`,
|
|
9240
|
+
* Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. Security positions (`stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`) may include `tax_lots` when tax lot data is enabled for the account; derivative, CFD, tokenized asset, and cash positions never do. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
9216
9241
|
* @summary List all account positions
|
|
9217
9242
|
* @param {AccountInformationApiGetAllAccountPositionsRequest<TAuth>} requestParameters Request parameters.
|
|
9218
9243
|
* @param {*} [options] Override http request option.
|
|
@@ -9792,7 +9817,7 @@ declare class AccountInformationApiGenerated<TAuth extends AuthMode> extends Bas
|
|
|
9792
9817
|
*/
|
|
9793
9818
|
getAccountDetails(...args: AccountInformationApiGetAccountDetailsArgs<TAuth>): Promise<AxiosResponse<ConnectionAccount, unknown, {}, any>>;
|
|
9794
9819
|
/**
|
|
9795
|
-
* 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`,
|
|
9820
|
+
* Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. Security positions (`stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`) may include `tax_lots` when tax lot data is enabled for the account; derivative, CFD, tokenized asset, and cash positions never do. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
9796
9821
|
* @summary List all account positions
|
|
9797
9822
|
* @param {AccountInformationApiGetAllAccountPositionsRequest<TAuth>} requestParameters Request parameters.
|
|
9798
9823
|
* @param {*} [options] Override http request option.
|
|
@@ -10876,7 +10901,7 @@ declare const ExperimentalEndpointsApiAxiosParamCreator: (configuration?: Config
|
|
|
10876
10901
|
*/
|
|
10877
10902
|
listSubscriptions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
10878
10903
|
/**
|
|
10879
|
-
* **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
|
|
10904
|
+
* **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase. Equity and equity-option orders use the existing brokerage trading capabilities. Futures are supported on tastytrade and Webull US; future options are supported only on tastytrade. Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. Webull US supports single-leg futures orders with buy or sell actions and positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day or gtc duration. Futures options, multi-leg futures, trailing stops, and Webull Canada futures trading are not supported. Webull determines contract availability, margin requirements, and valid price increments. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or brokerage-native futures symbols. For tastytrade, use the exact BrokerageInstrument ticker, including any spaces. For Webull US, use a specific unprefixed futures contract symbol such as ESZ6; slash-prefixed aliases, continuous/root-only symbols, and whitespace are not accepted. A futures symbol does not need to be present in SnapTrade\'s local instrument catalog to submit an order. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
|
|
10880
10905
|
* @summary Place a simple order (beta)
|
|
10881
10906
|
* @param {string} accountId The ID of the account to execute the trade on.
|
|
10882
10907
|
* @param {SimpleTradeForm} simpleTradeForm
|
|
@@ -10948,7 +10973,7 @@ declare const ExperimentalEndpointsApiFp: <TAuth extends AuthMode>(configuration
|
|
|
10948
10973
|
*/
|
|
10949
10974
|
listSubscriptions(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<TradeDetectionSubscription>, unknown>>>;
|
|
10950
10975
|
/**
|
|
10951
|
-
* **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
|
|
10976
|
+
* **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase. Equity and equity-option orders use the existing brokerage trading capabilities. Futures are supported on tastytrade and Webull US; future options are supported only on tastytrade. Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. Webull US supports single-leg futures orders with buy or sell actions and positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day or gtc duration. Futures options, multi-leg futures, trailing stops, and Webull Canada futures trading are not supported. Webull determines contract availability, margin requirements, and valid price increments. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or brokerage-native futures symbols. For tastytrade, use the exact BrokerageInstrument ticker, including any spaces. For Webull US, use a specific unprefixed futures contract symbol such as ESZ6; slash-prefixed aliases, continuous/root-only symbols, and whitespace are not accepted. A futures symbol does not need to be present in SnapTrade\'s local instrument catalog to submit an order. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
|
|
10952
10977
|
* @summary Place a simple order (beta)
|
|
10953
10978
|
* @param {ExperimentalEndpointsApiPlaceSimpleOrderRequest<TAuth>} requestParameters Request parameters.
|
|
10954
10979
|
* @param {*} [options] Override http request option.
|
|
@@ -11017,7 +11042,7 @@ declare const ExperimentalEndpointsApiFactory: <TAuth extends AuthMode>(configur
|
|
|
11017
11042
|
*/
|
|
11018
11043
|
listSubscriptions(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<Array<TradeDetectionSubscription>, unknown>>;
|
|
11019
11044
|
/**
|
|
11020
|
-
* **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
|
|
11045
|
+
* **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase. Equity and equity-option orders use the existing brokerage trading capabilities. Futures are supported on tastytrade and Webull US; future options are supported only on tastytrade. Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. Webull US supports single-leg futures orders with buy or sell actions and positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day or gtc duration. Futures options, multi-leg futures, trailing stops, and Webull Canada futures trading are not supported. Webull determines contract availability, margin requirements, and valid price increments. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or brokerage-native futures symbols. For tastytrade, use the exact BrokerageInstrument ticker, including any spaces. For Webull US, use a specific unprefixed futures contract symbol such as ESZ6; slash-prefixed aliases, continuous/root-only symbols, and whitespace are not accepted. A futures symbol does not need to be present in SnapTrade\'s local instrument catalog to submit an order. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
|
|
11021
11046
|
* @summary Place a simple order (beta)
|
|
11022
11047
|
* @param {ExperimentalEndpointsApiPlaceSimpleOrderRequest<TAuth>} requestParameters Request parameters.
|
|
11023
11048
|
* @param {*} [options] Override http request option.
|
|
@@ -11300,7 +11325,7 @@ declare class ExperimentalEndpointsApiGenerated<TAuth extends AuthMode> extends
|
|
|
11300
11325
|
*/
|
|
11301
11326
|
listSubscriptions(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<AxiosResponse<TradeDetectionSubscription[], unknown, {}, any>>;
|
|
11302
11327
|
/**
|
|
11303
|
-
* **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
|
|
11328
|
+
* **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase. Equity and equity-option orders use the existing brokerage trading capabilities. Futures are supported on tastytrade and Webull US; future options are supported only on tastytrade. Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. Webull US supports single-leg futures orders with buy or sell actions and positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day or gtc duration. Futures options, multi-leg futures, trailing stops, and Webull Canada futures trading are not supported. Webull determines contract availability, margin requirements, and valid price increments. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or brokerage-native futures symbols. For tastytrade, use the exact BrokerageInstrument ticker, including any spaces. For Webull US, use a specific unprefixed futures contract symbol such as ESZ6; slash-prefixed aliases, continuous/root-only symbols, and whitespace are not accepted. A futures symbol does not need to be present in SnapTrade\'s local instrument catalog to submit an order. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
|
|
11304
11329
|
* @summary Place a simple order (beta)
|
|
11305
11330
|
* @param {ExperimentalEndpointsApiPlaceSimpleOrderRequest<TAuth>} requestParameters Request parameters.
|
|
11306
11331
|
* @param {*} [options] Override http request option.
|
|
@@ -12879,4 +12904,4 @@ declare class SnaptradeError extends Error {
|
|
|
12879
12904
|
declare function readableStreamToString(stream: ReadableStream): Promise<string>;
|
|
12880
12905
|
declare function parseIfJson(input: unknown): object | unknown;
|
|
12881
12906
|
//#endregion
|
|
12882
|
-
export { Account, AccountBalance, AccountBalanceTotal, AccountBalancesV2Response, AccountBalancesV2ResponseBuyingPowerInner, AccountBalancesV2ResponseDataFreshness, AccountBalancesV2ResponseMargin, AccountBalancesV2ResponseNetValue, AccountHoldings, AccountHoldingsAccount, AccountInformationApi, AccountInformationApiAxiosParamCreator, AccountInformationApiFactory, AccountInformationApiFp, AccountInformationApiGenerated, type AccountInformationApiGetAccountActivitiesArgs, type AccountInformationApiGetAccountActivitiesBaseRequest, type AccountInformationApiGetAccountActivitiesRequest, type AccountInformationApiGetAccountActivitiesRequestByAuthMode, type AccountInformationApiGetAccountActivitiescommercialApiKeyRequest, type AccountInformationApiGetAccountActivitiespersonalApiKeyRequest, type AccountInformationApiGetAccountBalanceHistoryArgs, type AccountInformationApiGetAccountBalanceHistoryBaseRequest, type AccountInformationApiGetAccountBalanceHistoryRequest, type AccountInformationApiGetAccountBalanceHistoryRequestByAuthMode, type AccountInformationApiGetAccountBalanceHistorycommercialApiKeyRequest, type AccountInformationApiGetAccountBalanceHistorypersonalApiKeyRequest, type AccountInformationApiGetAccountBalancesV2Args, type AccountInformationApiGetAccountBalancesV2BaseRequest, type AccountInformationApiGetAccountBalancesV2Request, type AccountInformationApiGetAccountBalancesV2RequestByAuthMode, type AccountInformationApiGetAccountBalancesV2commercialApiKeyRequest, type AccountInformationApiGetAccountBalancesV2personalApiKeyRequest, type AccountInformationApiGetAccountDetailsArgs, type AccountInformationApiGetAccountDetailsBaseRequest, type AccountInformationApiGetAccountDetailsRequest, type AccountInformationApiGetAccountDetailsRequestByAuthMode, type AccountInformationApiGetAccountDetailscommercialApiKeyRequest, type AccountInformationApiGetAccountDetailspersonalApiKeyRequest, type AccountInformationApiGetAllAccountPositionsArgs, type AccountInformationApiGetAllAccountPositionsBaseRequest, type AccountInformationApiGetAllAccountPositionsRequest, type AccountInformationApiGetAllAccountPositionsRequestByAuthMode, type AccountInformationApiGetAllAccountPositionscommercialApiKeyRequest, type AccountInformationApiGetAllAccountPositionspersonalApiKeyRequest, type AccountInformationApiGetUserAccountBalanceArgs, type AccountInformationApiGetUserAccountBalanceBaseRequest, type AccountInformationApiGetUserAccountBalanceRequest, type AccountInformationApiGetUserAccountBalanceRequestByAuthMode, type AccountInformationApiGetUserAccountBalancecommercialApiKeyRequest, type AccountInformationApiGetUserAccountBalancepersonalApiKeyRequest, type AccountInformationApiGetUserAccountDetailsArgs, type AccountInformationApiGetUserAccountDetailsBaseRequest, type AccountInformationApiGetUserAccountDetailsRequest, type AccountInformationApiGetUserAccountDetailsRequestByAuthMode, type AccountInformationApiGetUserAccountDetailscommercialApiKeyRequest, type AccountInformationApiGetUserAccountDetailspersonalApiKeyRequest, type AccountInformationApiGetUserAccountOrderDetailArgs, type AccountInformationApiGetUserAccountOrderDetailBaseRequest, type AccountInformationApiGetUserAccountOrderDetailRequest, type AccountInformationApiGetUserAccountOrderDetailRequestByAuthMode, type AccountInformationApiGetUserAccountOrderDetailcommercialApiKeyRequest, type AccountInformationApiGetUserAccountOrderDetailpersonalApiKeyRequest, type AccountInformationApiGetUserAccountOrdersArgs, type AccountInformationApiGetUserAccountOrdersBaseRequest, type AccountInformationApiGetUserAccountOrdersRequest, type AccountInformationApiGetUserAccountOrdersRequestByAuthMode, type AccountInformationApiGetUserAccountOrderscommercialApiKeyRequest, type AccountInformationApiGetUserAccountOrderspersonalApiKeyRequest, type AccountInformationApiGetUserAccountRecentOrdersArgs, type AccountInformationApiGetUserAccountRecentOrdersBaseRequest, type AccountInformationApiGetUserAccountRecentOrdersRequest, type AccountInformationApiGetUserAccountRecentOrdersRequestByAuthMode, type AccountInformationApiGetUserAccountRecentOrderscommercialApiKeyRequest, type AccountInformationApiGetUserAccountRecentOrderspersonalApiKeyRequest, type AccountInformationApiGetUserAccountReturnRatesArgs, type AccountInformationApiGetUserAccountReturnRatesBaseRequest, type AccountInformationApiGetUserAccountReturnRatesRequest, type AccountInformationApiGetUserAccountReturnRatesRequestByAuthMode, type AccountInformationApiGetUserAccountReturnRatescommercialApiKeyRequest, type AccountInformationApiGetUserAccountReturnRatespersonalApiKeyRequest, type AccountInformationApiGetUserHoldingsArgs, type AccountInformationApiGetUserHoldingsBaseRequest, type AccountInformationApiGetUserHoldingsRequest, type AccountInformationApiGetUserHoldingsRequestByAuthMode, type AccountInformationApiGetUserHoldingscommercialApiKeyRequest, type AccountInformationApiGetUserHoldingspersonalApiKeyRequest, type AccountInformationApiListAllUserAccountsArgs, type AccountInformationApiListAllUserAccountsBaseRequest, type AccountInformationApiListAllUserAccountsRequest, type AccountInformationApiListAllUserAccountsRequestByAuthMode, type AccountInformationApiListAllUserAccountscommercialApiKeyRequest, type AccountInformationApiListAllUserAccountspersonalApiKeyRequest, type AccountInformationApiListUserAccountsArgs, type AccountInformationApiListUserAccountsBaseRequest, type AccountInformationApiListUserAccountsRequest, type AccountInformationApiListUserAccountsRequestByAuthMode, type AccountInformationApiListUserAccountscommercialApiKeyRequest, type AccountInformationApiListUserAccountspersonalApiKeyRequest, type AccountInformationApiUpdateUserAccountArgs, type AccountInformationApiUpdateUserAccountBaseRequest, type AccountInformationApiUpdateUserAccountRequest, type AccountInformationApiUpdateUserAccountRequestByAuthMode, type AccountInformationApiUpdateUserAccountcommercialApiKeyRequest, type AccountInformationApiUpdateUserAccountpersonalApiKeyRequest, AccountInformationGetUserAccountOrderDetailRequest, AccountInformationGetUserHoldings409Response, AccountOrder, AccountOrderGroup, AccountOrderGroupNullable, AccountOrderLeg, AccountOrderRecord, AccountOrderRecordLeg, AccountOrderRecordLegInstrument, AccountOrderRecordNullable, AccountOrderRecordStatus, AccountOrderRecordStatusV2, AccountOrderRecordStatusV2Nullable, AccountOrderRecordV2, AccountOrderRecordV2OrderRole, AccountOrderRecordV2OrderRoleNullable, AccountOrdersV2Response, AccountPosition, AccountSimple, AccountSyncStatus, AccountUniversalActivity, AccountValueHistoryItem, AccountValueHistoryResponse, ActionStrict, ActionStrictWithOptions, AdrInstrument, AllAccountOrdersResponse, AllAccountOrdersResponseDataFreshness, AllAccountPositionsResponse, AllAccountPositionsResponseDataFreshness, AllUserAccountsResponse, AnnuityAccount, AnnuityAccountNetValue, AnnuityAccountSyncStatus, ApiKey, ApiStatusApi, ApiStatusApiAxiosParamCreator, ApiStatusApiFactory, ApiStatusApiFp, ApiStatusApiGenerated, type AuthMode, AuthenticationApi, AuthenticationApiAxiosParamCreator, type AuthenticationApiDeleteSnapTradeUserArgs, type AuthenticationApiDeleteSnapTradeUserBaseRequest, type AuthenticationApiDeleteSnapTradeUserRequest, type AuthenticationApiDeleteSnapTradeUserRequestByAuthMode, type AuthenticationApiDeleteSnapTradeUsercommercialApiKeyRequest, AuthenticationApiFactory, AuthenticationApiFp, AuthenticationApiGenerated, type AuthenticationApiLoginSnapTradeUserArgs, type AuthenticationApiLoginSnapTradeUserBaseRequest, type AuthenticationApiLoginSnapTradeUserRequest, type AuthenticationApiLoginSnapTradeUserRequestByAuthMode, type AuthenticationApiLoginSnapTradeUsercommercialApiKeyRequest, type AuthenticationApiLoginSnapTradeUserpersonalApiKeyRequest, type AuthenticationApiRegisterSnapTradeUserArgs, type AuthenticationApiRegisterSnapTradeUserBaseRequest, type AuthenticationApiRegisterSnapTradeUserRequest, type AuthenticationApiRegisterSnapTradeUserRequestByAuthMode, type AuthenticationApiRegisterSnapTradeUsercommercialApiKeyRequest, type AuthenticationApiResetSnapTradeUserSecretArgs, type AuthenticationApiResetSnapTradeUserSecretBaseRequest, type AuthenticationApiResetSnapTradeUserSecretRequest, type AuthenticationApiResetSnapTradeUserSecretRequestByAuthMode, type AuthenticationApiResetSnapTradeUserSecretcommercialApiKeyRequest, AuthenticationLoginSnapTradeUser200Response, Balance, BalanceCurrency, BalanceV2CurrencyAmount, BalanceV2Money, Brokerage, BrokerageAuthorization, BrokerageAuthorizationDataFreshnessMode, BrokerageAuthorizationDisabledConfirmation, BrokerageAuthorizationRefreshConfirmation, BrokerageAuthorizationTransactionsSyncConfirmation, BrokerageAuthorizationTypeReadOnly, BrokerageAuthorizationTypeReadOnlyBrokerage, BrokerageInstrument, BrokerageInstrumentsResponse, BrokerageType, CancelOrderResponse, CefInstrument, CfdInstrument, ChildBrokerageOrderIDs, ChildBrokerageOrderIDsNullable, CommercialApiKeyAuth, ComplexOrderLeg, ComplexOrderResponse, Configuration, ConfigurationParameters, ConfigurationParametersShared, ConnectedAssetPartnerStats, ConnectionAccount, ConnectionAccountStatus, ConnectionAccountSyncStatus, ConnectionAccountsResponse, ConnectionsApi, ConnectionsApiAxiosParamCreator, type ConnectionsApiDeleteConnectionArgs, type ConnectionsApiDeleteConnectionBaseRequest, type ConnectionsApiDeleteConnectionRequest, type ConnectionsApiDeleteConnectionRequestByAuthMode, type ConnectionsApiDeleteConnectioncommercialApiKeyRequest, type ConnectionsApiDeleteConnectionpersonalApiKeyRequest, type ConnectionsApiDetailBrokerageAuthorizationArgs, type ConnectionsApiDetailBrokerageAuthorizationBaseRequest, type ConnectionsApiDetailBrokerageAuthorizationRequest, type ConnectionsApiDetailBrokerageAuthorizationRequestByAuthMode, type ConnectionsApiDetailBrokerageAuthorizationcommercialApiKeyRequest, type ConnectionsApiDetailBrokerageAuthorizationpersonalApiKeyRequest, type ConnectionsApiDisableBrokerageAuthorizationArgs, type ConnectionsApiDisableBrokerageAuthorizationBaseRequest, type ConnectionsApiDisableBrokerageAuthorizationRequest, type ConnectionsApiDisableBrokerageAuthorizationRequestByAuthMode, type ConnectionsApiDisableBrokerageAuthorizationcommercialApiKeyRequest, type ConnectionsApiDisableBrokerageAuthorizationpersonalApiKeyRequest, ConnectionsApiFactory, ConnectionsApiFp, ConnectionsApiGenerated, type ConnectionsApiListBrokerageAuthorizationAccountsArgs, type ConnectionsApiListBrokerageAuthorizationAccountsBaseRequest, type ConnectionsApiListBrokerageAuthorizationAccountsRequest, type ConnectionsApiListBrokerageAuthorizationAccountsRequestByAuthMode, type ConnectionsApiListBrokerageAuthorizationAccountscommercialApiKeyRequest, type ConnectionsApiListBrokerageAuthorizationAccountspersonalApiKeyRequest, type ConnectionsApiListBrokerageAuthorizationsArgs, type ConnectionsApiListBrokerageAuthorizationsBaseRequest, type ConnectionsApiListBrokerageAuthorizationsRequest, type ConnectionsApiListBrokerageAuthorizationsRequestByAuthMode, type ConnectionsApiListBrokerageAuthorizationscommercialApiKeyRequest, type ConnectionsApiListBrokerageAuthorizationspersonalApiKeyRequest, type ConnectionsApiListConnectionAccountsArgs, type ConnectionsApiListConnectionAccountsBaseRequest, type ConnectionsApiListConnectionAccountsRequest, type ConnectionsApiListConnectionAccountsRequestByAuthMode, type ConnectionsApiListConnectionAccountscommercialApiKeyRequest, type ConnectionsApiListConnectionAccountspersonalApiKeyRequest, type ConnectionsApiRefreshBrokerageAuthorizationArgs, type ConnectionsApiRefreshBrokerageAuthorizationBaseRequest, type ConnectionsApiRefreshBrokerageAuthorizationRequest, type ConnectionsApiRefreshBrokerageAuthorizationRequestByAuthMode, type ConnectionsApiRefreshBrokerageAuthorizationcommercialApiKeyRequest, type ConnectionsApiRefreshBrokerageAuthorizationpersonalApiKeyRequest, type ConnectionsApiReturnRatesArgs, type ConnectionsApiReturnRatesBaseRequest, type ConnectionsApiReturnRatesRequest, type ConnectionsApiReturnRatesRequestByAuthMode, type ConnectionsApiReturnRatescommercialApiKeyRequest, type ConnectionsApiReturnRatespersonalApiKeyRequest, type ConnectionsApiSyncBrokerageAuthorizationTransactionsArgs, type ConnectionsApiSyncBrokerageAuthorizationTransactionsBaseRequest, type ConnectionsApiSyncBrokerageAuthorizationTransactionsRequest, type ConnectionsApiSyncBrokerageAuthorizationTransactionsRequestByAuthMode, type ConnectionsApiSyncBrokerageAuthorizationTransactionscommercialApiKeyRequest, type ConnectionsApiSyncBrokerageAuthorizationTransactionspersonalApiKeyRequest, CryptoInstrument, CryptoOrderForm, CryptoOrderPreview, CryptoOrderPreviewEstimatedFee, CryptoTradingInstrument, CryptocurrencyPair, CryptocurrencyPairQuote, Currency, CurrencyNullable, DeleteConnectionConfirmation, DeleteUserResponse, DepositAccount, DepositAccountNetValue, DepositAccountSyncStatus, DividendAtDate, EncryptedResponse, EncryptedResponseEncryptedMessageData, EtfInstrument, Exchange, ExchangeRatePairs, ExperimentalEndpointsApi, type ExperimentalEndpointsApiAddSubscriptionArgs, type ExperimentalEndpointsApiAddSubscriptionBaseRequest, type ExperimentalEndpointsApiAddSubscriptionRequest, type ExperimentalEndpointsApiAddSubscriptionRequestByAuthMode, type ExperimentalEndpointsApiAddSubscriptioncommercialApiKeyRequest, type ExperimentalEndpointsApiAddSubscriptionpersonalApiKeyRequest, ExperimentalEndpointsApiAxiosParamCreator, type ExperimentalEndpointsApiCancelSubscriptionArgs, type ExperimentalEndpointsApiCancelSubscriptionBaseRequest, type ExperimentalEndpointsApiCancelSubscriptionRequest, type ExperimentalEndpointsApiCancelSubscriptionRequestByAuthMode, type ExperimentalEndpointsApiCancelSubscriptioncommercialApiKeyRequest, type ExperimentalEndpointsApiCancelSubscriptionpersonalApiKeyRequest, ExperimentalEndpointsApiFactory, ExperimentalEndpointsApiFp, ExperimentalEndpointsApiGenerated, type ExperimentalEndpointsApiGetAllAccountOrdersArgs, type ExperimentalEndpointsApiGetAllAccountOrdersBaseRequest, type ExperimentalEndpointsApiGetAllAccountOrdersRequest, type ExperimentalEndpointsApiGetAllAccountOrdersRequestByAuthMode, type ExperimentalEndpointsApiGetAllAccountOrderscommercialApiKeyRequest, type ExperimentalEndpointsApiGetAllAccountOrderspersonalApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2Args, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2BaseRequest, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2RequestByAuthMode, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2commercialApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2personalApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountOrdersV2Args, type ExperimentalEndpointsApiGetUserAccountOrdersV2BaseRequest, type ExperimentalEndpointsApiGetUserAccountOrdersV2Request, type ExperimentalEndpointsApiGetUserAccountOrdersV2RequestByAuthMode, type ExperimentalEndpointsApiGetUserAccountOrdersV2commercialApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountOrdersV2personalApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Args, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2BaseRequest, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2RequestByAuthMode, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2commercialApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2personalApiKeyRequest, type ExperimentalEndpointsApiPlaceSimpleOrderArgs, type ExperimentalEndpointsApiPlaceSimpleOrderBaseRequest, type ExperimentalEndpointsApiPlaceSimpleOrderRequest, type ExperimentalEndpointsApiPlaceSimpleOrderRequestByAuthMode, type ExperimentalEndpointsApiPlaceSimpleOrdercommercialApiKeyRequest, type ExperimentalEndpointsApiPlaceSimpleOrderpersonalApiKeyRequest, FigiInstrument, FigiInstrumentNullable, FormDataLike, FutureInstrument, FutureOptionInstrument, HoldingsStatus, Institution, InstitutionConnection, InstitutionConnectionNullable, Instrument, InvestmentAccount, InvestmentAccountNetValue, LimitOrderType, LineOfCreditAccount, LineOfCreditAccountAvailableCredit, LineOfCreditAccountMinimumPaymentAmount, LineOfCreditAccountNetValue, LineOfCreditAccountSyncStatus, LoginRedirectURI, ManagementApi, ManagementApiAxiosParamCreator, ManagementApiFactory, ManagementApiFp, ManagementApiGenerated, type ManagementApiGetStatsArgs, type ManagementApiGetStatsBaseRequest, type ManagementApiGetStatsLegacyArgs, type ManagementApiGetStatsLegacyBaseRequest, type ManagementApiGetStatsLegacyRequest, type ManagementApiGetStatsLegacyRequestByAuthMode, type ManagementApiGetStatsLegacycommercialApiKeyRequest, type ManagementApiGetStatsLegacypersonalApiKeyRequest, type ManagementApiGetStatsRequest, type ManagementApiGetStatsRequestByAuthMode, type ManagementApiGetStatscommercialApiKeyRequest, type ManagementApiGetStatspersonalApiKeyRequest, ManualTrade, ManualTradeAndImpact, ManualTradeBalance, ManualTradeForm, ManualTradeFormBracket, ManualTradeFormComplex, ManualTradeFormWithOptions, ManualTradeImpact, ManualTradePlaceTimeInForceStrict, ManualTradeReplaceForm, ManualTradeSymbol, MarketOrderType, MlegActionStrict, MlegInstrumentType, MlegLeg, MlegOrderResponse, MlegOrderTypeStrict, MlegPriceEffectStrict, MlegPriceEffectStrictNullable, MlegTradeForm, MlegTradingInstrument, Model400FailedRequestResponse, Model401FailedRequestResponse, Model402BrokerageAuthAlreadyDisabledException, Model402BrokerageAuthDisabledResponse, Model403FailedRequestResponse, Model403FeatureNotEnabledResponse, Model404AccountUnavailableResponse, Model404FailedRequestResponse, Model425FailedRequestResponse, Model429TooManyRequestsResponse, Model500UnexpectedExceptionResponse, Model501NotImplementedResponse, Model503BrokerageRequestResponse, Model503CurrencyConversionUnavailableResponse, MonthlyDividends, MutualFundInstrument, NetContributions, NetDividend, NotionalValue, NotionalValueNullable, OAuthWebhookBase, OptionBrokerageSymbol, OptionChainInner, OptionChainInnerChainPerRootInner, OptionChainInnerChainPerRootInnerChainPerStrikePriceInner, OptionImpact, OptionInstrument, OptionLeg, OptionQuote, OptionQuoteGreeks, OptionStrategy, OptionStrategyLegsInner, OptionsPosition, OptionsSymbol, OptionsSymbolNullable, OrderTypeConfiguration, OrderTypeStrict, OrderUpdatedResponse, OtherInstrument, OtherOrderType, PaginatedUniversalActivity, PaginationDetails, PartnerData, PartnerStats, PastValue, PerformanceCustom, PersonalApiKeyAuth, Position, PositionCurrency, PositionSymbol, RateOfReturnObject, RateOfReturnResponse, RecentOrdersResponse, ReferenceDataApi, ReferenceDataApiAxiosParamCreator, ReferenceDataApiFactory, ReferenceDataApiFp, ReferenceDataApiGenerated, type ReferenceDataApiGetSymbolsArgs, type ReferenceDataApiGetSymbolsBaseRequest, type ReferenceDataApiGetSymbolsByTickerArgs, type ReferenceDataApiGetSymbolsByTickerBaseRequest, type ReferenceDataApiGetSymbolsByTickerRequest, type ReferenceDataApiGetSymbolsByTickerRequestByAuthMode, type ReferenceDataApiGetSymbolsByTickercommercialApiKeyRequest, type ReferenceDataApiGetSymbolsByTickerpersonalApiKeyRequest, type ReferenceDataApiGetSymbolsRequest, type ReferenceDataApiGetSymbolsRequestByAuthMode, type ReferenceDataApiGetSymbolscommercialApiKeyRequest, type ReferenceDataApiGetSymbolspersonalApiKeyRequest, type ReferenceDataApiListAllBrokerageAuthorizationTypeArgs, type ReferenceDataApiListAllBrokerageAuthorizationTypeBaseRequest, type ReferenceDataApiListAllBrokerageAuthorizationTypeRequest, type ReferenceDataApiListAllBrokerageAuthorizationTypeRequestByAuthMode, type ReferenceDataApiListAllBrokerageAuthorizationTypecommercialApiKeyRequest, type ReferenceDataApiListAllBrokerageAuthorizationTypepersonalApiKeyRequest, type ReferenceDataApiListAllBrokerageInstrumentsArgs, type ReferenceDataApiListAllBrokerageInstrumentsBaseRequest, type ReferenceDataApiListAllBrokerageInstrumentsRequest, type ReferenceDataApiListAllBrokerageInstrumentsRequestByAuthMode, type ReferenceDataApiListAllBrokerageInstrumentscommercialApiKeyRequest, type ReferenceDataApiListAllBrokerageInstrumentspersonalApiKeyRequest, type ReferenceDataApiSymbolSearchUserAccountArgs, type ReferenceDataApiSymbolSearchUserAccountBaseRequest, type ReferenceDataApiSymbolSearchUserAccountRequest, type ReferenceDataApiSymbolSearchUserAccountRequestByAuthMode, type ReferenceDataApiSymbolSearchUserAccountcommercialApiKeyRequest, type ReferenceDataApiSymbolSearchUserAccountpersonalApiKeyRequest, SecurityType, SessionEvent, SimpleOrderForm, SimpleTradeForm, SimpleTradeInstrument, SimpleTradeLeg, SimpleTradeResponse, SnapTradeHoldingsAccount, SnapTradeHoldingsTotalValue, SnapTradeLoginUserRequestBody, SnapTradeRegisterUserRequestBody, Snaptrade, SnaptradeAuth, SnaptradeError, Status, StockInstrument, StopLimitOrderType, StopLoss, StopOrderType, StrategyOrderRecord, StrategyQuotes, StrategyQuotesGreek, SubPeriodReturnRate, Symbol, SymbolCurrency, SymbolExchange, SymbolNullable, SymbolQuery, SymbolsQuotesInner, TakeProfit, TaxLot, TimeInForceStrict, TokenizedAssetInstrument, TradeDetectionAddSubscriptionRequest, TradeDetectionCancelSubscriptionRequest, TradeDetectionCancelSubscriptionResponse, TradeDetectionSubscription, TradingApi, TradingApiAxiosParamCreator, type TradingApiCancelOrderArgs, type TradingApiCancelOrderBaseRequest, type TradingApiCancelOrderRequest, type TradingApiCancelOrderRequestByAuthMode, type TradingApiCancelOrdercommercialApiKeyRequest, type TradingApiCancelOrderpersonalApiKeyRequest, TradingApiFactory, TradingApiFp, TradingApiGenerated, type TradingApiGetCryptocurrencyPairQuoteArgs, type TradingApiGetCryptocurrencyPairQuoteBaseRequest, type TradingApiGetCryptocurrencyPairQuoteRequest, type TradingApiGetCryptocurrencyPairQuoteRequestByAuthMode, type TradingApiGetCryptocurrencyPairQuotecommercialApiKeyRequest, type TradingApiGetCryptocurrencyPairQuotepersonalApiKeyRequest, type TradingApiGetOptionImpactArgs, type TradingApiGetOptionImpactBaseRequest, type TradingApiGetOptionImpactRequest, type TradingApiGetOptionImpactRequestByAuthMode, type TradingApiGetOptionImpactcommercialApiKeyRequest, type TradingApiGetOptionImpactpersonalApiKeyRequest, type TradingApiGetOrderImpactArgs, type TradingApiGetOrderImpactBaseRequest, type TradingApiGetOrderImpactRequest, type TradingApiGetOrderImpactRequestByAuthMode, type TradingApiGetOrderImpactcommercialApiKeyRequest, type TradingApiGetOrderImpactpersonalApiKeyRequest, type TradingApiGetUserAccountOptionQuotesArgs, type TradingApiGetUserAccountOptionQuotesBaseRequest, type TradingApiGetUserAccountOptionQuotesRequest, type TradingApiGetUserAccountOptionQuotesRequestByAuthMode, type TradingApiGetUserAccountOptionQuotescommercialApiKeyRequest, type TradingApiGetUserAccountOptionQuotespersonalApiKeyRequest, type TradingApiGetUserAccountQuotesArgs, type TradingApiGetUserAccountQuotesBaseRequest, type TradingApiGetUserAccountQuotesRequest, type TradingApiGetUserAccountQuotesRequestByAuthMode, type TradingApiGetUserAccountQuotescommercialApiKeyRequest, type TradingApiGetUserAccountQuotespersonalApiKeyRequest, type TradingApiPlaceComplexOrderArgs, type TradingApiPlaceComplexOrderBaseRequest, type TradingApiPlaceComplexOrderRequest, type TradingApiPlaceComplexOrderRequestByAuthMode, type TradingApiPlaceComplexOrdercommercialApiKeyRequest, type TradingApiPlaceComplexOrderpersonalApiKeyRequest, type TradingApiPlaceCryptoOrderArgs, type TradingApiPlaceCryptoOrderBaseRequest, type TradingApiPlaceCryptoOrderRequest, type TradingApiPlaceCryptoOrderRequestByAuthMode, type TradingApiPlaceCryptoOrdercommercialApiKeyRequest, type TradingApiPlaceCryptoOrderpersonalApiKeyRequest, type TradingApiPlaceForceOrderArgs, type TradingApiPlaceForceOrderBaseRequest, type TradingApiPlaceForceOrderRequest, type TradingApiPlaceForceOrderRequestByAuthMode, type TradingApiPlaceForceOrdercommercialApiKeyRequest, type TradingApiPlaceForceOrderpersonalApiKeyRequest, type TradingApiPlaceMlegOrderArgs, type TradingApiPlaceMlegOrderBaseRequest, type TradingApiPlaceMlegOrderRequest, type TradingApiPlaceMlegOrderRequestByAuthMode, type TradingApiPlaceMlegOrdercommercialApiKeyRequest, type TradingApiPlaceMlegOrderpersonalApiKeyRequest, type TradingApiPlaceOrderArgs, type TradingApiPlaceOrderBaseRequest, type TradingApiPlaceOrderRequest, type TradingApiPlaceOrderRequestByAuthMode, type TradingApiPlaceOrdercommercialApiKeyRequest, type TradingApiPlaceOrderpersonalApiKeyRequest, type TradingApiPreviewCryptoOrderArgs, type TradingApiPreviewCryptoOrderBaseRequest, type TradingApiPreviewCryptoOrderRequest, type TradingApiPreviewCryptoOrderRequestByAuthMode, type TradingApiPreviewCryptoOrdercommercialApiKeyRequest, type TradingApiPreviewCryptoOrderpersonalApiKeyRequest, type TradingApiReplaceOrderArgs, type TradingApiReplaceOrderBaseRequest, type TradingApiReplaceOrderRequest, type TradingApiReplaceOrderRequestByAuthMode, type TradingApiReplaceOrdercommercialApiKeyRequest, type TradingApiReplaceOrderpersonalApiKeyRequest, type TradingApiSearchCryptocurrencyPairInstrumentsArgs, type TradingApiSearchCryptocurrencyPairInstrumentsBaseRequest, type TradingApiSearchCryptocurrencyPairInstrumentsRequest, type TradingApiSearchCryptocurrencyPairInstrumentsRequestByAuthMode, type TradingApiSearchCryptocurrencyPairInstrumentscommercialApiKeyRequest, type TradingApiSearchCryptocurrencyPairInstrumentspersonalApiKeyRequest, TradingGetUserAccountOptionQuotes410Response, TradingInstrument, TradingSearchCryptocurrencyPairInstruments200Response, TradingSession, TrailingStop, TrailingStopLimitOrderType, TrailingStopNullable, TrailingStopOrderType, TransactionsStatus, USExchange, UnderlyingCfdInstrument, UnderlyingOptionInstrument, UnderlyingSymbol, UnderlyingSymbolExchange, UnderlyingSymbolType, UnderlyingTokenizedAssetInstrument, UniversalActivity, UniversalSymbol, UniversalSymbolNullable, UserIDandSecret, ValidatedTradeBody, parseIfJson, readableStreamToString };
|
|
12907
|
+
export { Account, AccountBalance, AccountBalanceTotal, AccountBalancesV2Response, AccountBalancesV2ResponseBuyingPowerInner, AccountBalancesV2ResponseDataFreshness, AccountBalancesV2ResponseMargin, AccountBalancesV2ResponseNetValue, AccountHoldings, AccountHoldingsAccount, AccountInformationApi, AccountInformationApiAxiosParamCreator, AccountInformationApiFactory, AccountInformationApiFp, AccountInformationApiGenerated, type AccountInformationApiGetAccountActivitiesArgs, type AccountInformationApiGetAccountActivitiesBaseRequest, type AccountInformationApiGetAccountActivitiesRequest, type AccountInformationApiGetAccountActivitiesRequestByAuthMode, type AccountInformationApiGetAccountActivitiescommercialApiKeyRequest, type AccountInformationApiGetAccountActivitiespersonalApiKeyRequest, type AccountInformationApiGetAccountBalanceHistoryArgs, type AccountInformationApiGetAccountBalanceHistoryBaseRequest, type AccountInformationApiGetAccountBalanceHistoryRequest, type AccountInformationApiGetAccountBalanceHistoryRequestByAuthMode, type AccountInformationApiGetAccountBalanceHistorycommercialApiKeyRequest, type AccountInformationApiGetAccountBalanceHistorypersonalApiKeyRequest, type AccountInformationApiGetAccountBalancesV2Args, type AccountInformationApiGetAccountBalancesV2BaseRequest, type AccountInformationApiGetAccountBalancesV2Request, type AccountInformationApiGetAccountBalancesV2RequestByAuthMode, type AccountInformationApiGetAccountBalancesV2commercialApiKeyRequest, type AccountInformationApiGetAccountBalancesV2personalApiKeyRequest, type AccountInformationApiGetAccountDetailsArgs, type AccountInformationApiGetAccountDetailsBaseRequest, type AccountInformationApiGetAccountDetailsRequest, type AccountInformationApiGetAccountDetailsRequestByAuthMode, type AccountInformationApiGetAccountDetailscommercialApiKeyRequest, type AccountInformationApiGetAccountDetailspersonalApiKeyRequest, type AccountInformationApiGetAllAccountPositionsArgs, type AccountInformationApiGetAllAccountPositionsBaseRequest, type AccountInformationApiGetAllAccountPositionsRequest, type AccountInformationApiGetAllAccountPositionsRequestByAuthMode, type AccountInformationApiGetAllAccountPositionscommercialApiKeyRequest, type AccountInformationApiGetAllAccountPositionspersonalApiKeyRequest, type AccountInformationApiGetUserAccountBalanceArgs, type AccountInformationApiGetUserAccountBalanceBaseRequest, type AccountInformationApiGetUserAccountBalanceRequest, type AccountInformationApiGetUserAccountBalanceRequestByAuthMode, type AccountInformationApiGetUserAccountBalancecommercialApiKeyRequest, type AccountInformationApiGetUserAccountBalancepersonalApiKeyRequest, type AccountInformationApiGetUserAccountDetailsArgs, type AccountInformationApiGetUserAccountDetailsBaseRequest, type AccountInformationApiGetUserAccountDetailsRequest, type AccountInformationApiGetUserAccountDetailsRequestByAuthMode, type AccountInformationApiGetUserAccountDetailscommercialApiKeyRequest, type AccountInformationApiGetUserAccountDetailspersonalApiKeyRequest, type AccountInformationApiGetUserAccountOrderDetailArgs, type AccountInformationApiGetUserAccountOrderDetailBaseRequest, type AccountInformationApiGetUserAccountOrderDetailRequest, type AccountInformationApiGetUserAccountOrderDetailRequestByAuthMode, type AccountInformationApiGetUserAccountOrderDetailcommercialApiKeyRequest, type AccountInformationApiGetUserAccountOrderDetailpersonalApiKeyRequest, type AccountInformationApiGetUserAccountOrdersArgs, type AccountInformationApiGetUserAccountOrdersBaseRequest, type AccountInformationApiGetUserAccountOrdersRequest, type AccountInformationApiGetUserAccountOrdersRequestByAuthMode, type AccountInformationApiGetUserAccountOrderscommercialApiKeyRequest, type AccountInformationApiGetUserAccountOrderspersonalApiKeyRequest, type AccountInformationApiGetUserAccountRecentOrdersArgs, type AccountInformationApiGetUserAccountRecentOrdersBaseRequest, type AccountInformationApiGetUserAccountRecentOrdersRequest, type AccountInformationApiGetUserAccountRecentOrdersRequestByAuthMode, type AccountInformationApiGetUserAccountRecentOrderscommercialApiKeyRequest, type AccountInformationApiGetUserAccountRecentOrderspersonalApiKeyRequest, type AccountInformationApiGetUserAccountReturnRatesArgs, type AccountInformationApiGetUserAccountReturnRatesBaseRequest, type AccountInformationApiGetUserAccountReturnRatesRequest, type AccountInformationApiGetUserAccountReturnRatesRequestByAuthMode, type AccountInformationApiGetUserAccountReturnRatescommercialApiKeyRequest, type AccountInformationApiGetUserAccountReturnRatespersonalApiKeyRequest, type AccountInformationApiGetUserHoldingsArgs, type AccountInformationApiGetUserHoldingsBaseRequest, type AccountInformationApiGetUserHoldingsRequest, type AccountInformationApiGetUserHoldingsRequestByAuthMode, type AccountInformationApiGetUserHoldingscommercialApiKeyRequest, type AccountInformationApiGetUserHoldingspersonalApiKeyRequest, type AccountInformationApiListAllUserAccountsArgs, type AccountInformationApiListAllUserAccountsBaseRequest, type AccountInformationApiListAllUserAccountsRequest, type AccountInformationApiListAllUserAccountsRequestByAuthMode, type AccountInformationApiListAllUserAccountscommercialApiKeyRequest, type AccountInformationApiListAllUserAccountspersonalApiKeyRequest, type AccountInformationApiListUserAccountsArgs, type AccountInformationApiListUserAccountsBaseRequest, type AccountInformationApiListUserAccountsRequest, type AccountInformationApiListUserAccountsRequestByAuthMode, type AccountInformationApiListUserAccountscommercialApiKeyRequest, type AccountInformationApiListUserAccountspersonalApiKeyRequest, type AccountInformationApiUpdateUserAccountArgs, type AccountInformationApiUpdateUserAccountBaseRequest, type AccountInformationApiUpdateUserAccountRequest, type AccountInformationApiUpdateUserAccountRequestByAuthMode, type AccountInformationApiUpdateUserAccountcommercialApiKeyRequest, type AccountInformationApiUpdateUserAccountpersonalApiKeyRequest, AccountInformationGetUserAccountOrderDetailRequest, AccountInformationGetUserHoldings409Response, AccountOrder, AccountOrderGroup, AccountOrderGroupNullable, AccountOrderLeg, AccountOrderRecord, AccountOrderRecordLeg, AccountOrderRecordLegInstrument, AccountOrderRecordNullable, AccountOrderRecordStatus, AccountOrderRecordStatusV2, AccountOrderRecordStatusV2Nullable, AccountOrderRecordV2, AccountOrderRecordV2OrderRole, AccountOrderRecordV2OrderRoleNullable, AccountOrdersV2Response, AccountPosition, AccountSimple, AccountSyncStatus, AccountUniversalActivity, AccountValueHistoryItem, AccountValueHistoryResponse, ActionStrict, ActionStrictWithOptions, AdrInstrument, AllAccountOrdersResponse, AllAccountOrdersResponseDataFreshness, AllAccountPositionsResponse, AllAccountPositionsResponseDataFreshness, AllUserAccountsResponse, AnnuityAccount, AnnuityAccountNetValue, AnnuityAccountSyncStatus, ApiKey, ApiStatusApi, ApiStatusApiAxiosParamCreator, ApiStatusApiFactory, ApiStatusApiFp, ApiStatusApiGenerated, type AuthMode, AuthenticationApi, AuthenticationApiAxiosParamCreator, type AuthenticationApiDeleteSnapTradeUserArgs, type AuthenticationApiDeleteSnapTradeUserBaseRequest, type AuthenticationApiDeleteSnapTradeUserRequest, type AuthenticationApiDeleteSnapTradeUserRequestByAuthMode, type AuthenticationApiDeleteSnapTradeUsercommercialApiKeyRequest, AuthenticationApiFactory, AuthenticationApiFp, AuthenticationApiGenerated, type AuthenticationApiLoginSnapTradeUserArgs, type AuthenticationApiLoginSnapTradeUserBaseRequest, type AuthenticationApiLoginSnapTradeUserRequest, type AuthenticationApiLoginSnapTradeUserRequestByAuthMode, type AuthenticationApiLoginSnapTradeUsercommercialApiKeyRequest, type AuthenticationApiLoginSnapTradeUserpersonalApiKeyRequest, type AuthenticationApiRegisterSnapTradeUserArgs, type AuthenticationApiRegisterSnapTradeUserBaseRequest, type AuthenticationApiRegisterSnapTradeUserRequest, type AuthenticationApiRegisterSnapTradeUserRequestByAuthMode, type AuthenticationApiRegisterSnapTradeUsercommercialApiKeyRequest, type AuthenticationApiResetSnapTradeUserSecretArgs, type AuthenticationApiResetSnapTradeUserSecretBaseRequest, type AuthenticationApiResetSnapTradeUserSecretRequest, type AuthenticationApiResetSnapTradeUserSecretRequestByAuthMode, type AuthenticationApiResetSnapTradeUserSecretcommercialApiKeyRequest, AuthenticationLoginSnapTradeUser200Response, Balance, BalanceCurrency, BalanceV2CurrencyAmount, BalanceV2Money, Brokerage, BrokerageAuthorization, BrokerageAuthorizationDataFreshnessMode, BrokerageAuthorizationDisabledConfirmation, BrokerageAuthorizationRefreshConfirmation, BrokerageAuthorizationTransactionsSyncConfirmation, BrokerageAuthorizationTypeReadOnly, BrokerageAuthorizationTypeReadOnlyBrokerage, BrokerageInstrument, BrokerageInstrumentsResponse, BrokerageType, CancelOrderResponse, CashInstrument, CefInstrument, CfdInstrument, ChildBrokerageOrderIDs, ChildBrokerageOrderIDsNullable, CommercialApiKeyAuth, ComplexOrderLeg, ComplexOrderResponse, Configuration, ConfigurationParameters, ConfigurationParametersShared, ConnectedAssetPartnerStats, ConnectionAccount, ConnectionAccountStatus, ConnectionAccountSyncStatus, ConnectionAccountsResponse, ConnectionsApi, ConnectionsApiAxiosParamCreator, type ConnectionsApiDeleteConnectionArgs, type ConnectionsApiDeleteConnectionBaseRequest, type ConnectionsApiDeleteConnectionRequest, type ConnectionsApiDeleteConnectionRequestByAuthMode, type ConnectionsApiDeleteConnectioncommercialApiKeyRequest, type ConnectionsApiDeleteConnectionpersonalApiKeyRequest, type ConnectionsApiDetailBrokerageAuthorizationArgs, type ConnectionsApiDetailBrokerageAuthorizationBaseRequest, type ConnectionsApiDetailBrokerageAuthorizationRequest, type ConnectionsApiDetailBrokerageAuthorizationRequestByAuthMode, type ConnectionsApiDetailBrokerageAuthorizationcommercialApiKeyRequest, type ConnectionsApiDetailBrokerageAuthorizationpersonalApiKeyRequest, type ConnectionsApiDisableBrokerageAuthorizationArgs, type ConnectionsApiDisableBrokerageAuthorizationBaseRequest, type ConnectionsApiDisableBrokerageAuthorizationRequest, type ConnectionsApiDisableBrokerageAuthorizationRequestByAuthMode, type ConnectionsApiDisableBrokerageAuthorizationcommercialApiKeyRequest, type ConnectionsApiDisableBrokerageAuthorizationpersonalApiKeyRequest, ConnectionsApiFactory, ConnectionsApiFp, ConnectionsApiGenerated, type ConnectionsApiListBrokerageAuthorizationAccountsArgs, type ConnectionsApiListBrokerageAuthorizationAccountsBaseRequest, type ConnectionsApiListBrokerageAuthorizationAccountsRequest, type ConnectionsApiListBrokerageAuthorizationAccountsRequestByAuthMode, type ConnectionsApiListBrokerageAuthorizationAccountscommercialApiKeyRequest, type ConnectionsApiListBrokerageAuthorizationAccountspersonalApiKeyRequest, type ConnectionsApiListBrokerageAuthorizationsArgs, type ConnectionsApiListBrokerageAuthorizationsBaseRequest, type ConnectionsApiListBrokerageAuthorizationsRequest, type ConnectionsApiListBrokerageAuthorizationsRequestByAuthMode, type ConnectionsApiListBrokerageAuthorizationscommercialApiKeyRequest, type ConnectionsApiListBrokerageAuthorizationspersonalApiKeyRequest, type ConnectionsApiListConnectionAccountsArgs, type ConnectionsApiListConnectionAccountsBaseRequest, type ConnectionsApiListConnectionAccountsRequest, type ConnectionsApiListConnectionAccountsRequestByAuthMode, type ConnectionsApiListConnectionAccountscommercialApiKeyRequest, type ConnectionsApiListConnectionAccountspersonalApiKeyRequest, type ConnectionsApiRefreshBrokerageAuthorizationArgs, type ConnectionsApiRefreshBrokerageAuthorizationBaseRequest, type ConnectionsApiRefreshBrokerageAuthorizationRequest, type ConnectionsApiRefreshBrokerageAuthorizationRequestByAuthMode, type ConnectionsApiRefreshBrokerageAuthorizationcommercialApiKeyRequest, type ConnectionsApiRefreshBrokerageAuthorizationpersonalApiKeyRequest, type ConnectionsApiReturnRatesArgs, type ConnectionsApiReturnRatesBaseRequest, type ConnectionsApiReturnRatesRequest, type ConnectionsApiReturnRatesRequestByAuthMode, type ConnectionsApiReturnRatescommercialApiKeyRequest, type ConnectionsApiReturnRatespersonalApiKeyRequest, type ConnectionsApiSyncBrokerageAuthorizationTransactionsArgs, type ConnectionsApiSyncBrokerageAuthorizationTransactionsBaseRequest, type ConnectionsApiSyncBrokerageAuthorizationTransactionsRequest, type ConnectionsApiSyncBrokerageAuthorizationTransactionsRequestByAuthMode, type ConnectionsApiSyncBrokerageAuthorizationTransactionscommercialApiKeyRequest, type ConnectionsApiSyncBrokerageAuthorizationTransactionspersonalApiKeyRequest, CryptoInstrument, CryptoOrderForm, CryptoOrderPreview, CryptoOrderPreviewEstimatedFee, CryptoTradingInstrument, CryptocurrencyPair, CryptocurrencyPairQuote, Currency, CurrencyNullable, DeleteConnectionConfirmation, DeleteUserResponse, DepositAccount, DepositAccountNetValue, DepositAccountSyncStatus, DividendAtDate, EncryptedResponse, EncryptedResponseEncryptedMessageData, EtfInstrument, Exchange, ExchangeRatePairs, ExperimentalEndpointsApi, type ExperimentalEndpointsApiAddSubscriptionArgs, type ExperimentalEndpointsApiAddSubscriptionBaseRequest, type ExperimentalEndpointsApiAddSubscriptionRequest, type ExperimentalEndpointsApiAddSubscriptionRequestByAuthMode, type ExperimentalEndpointsApiAddSubscriptioncommercialApiKeyRequest, type ExperimentalEndpointsApiAddSubscriptionpersonalApiKeyRequest, ExperimentalEndpointsApiAxiosParamCreator, type ExperimentalEndpointsApiCancelSubscriptionArgs, type ExperimentalEndpointsApiCancelSubscriptionBaseRequest, type ExperimentalEndpointsApiCancelSubscriptionRequest, type ExperimentalEndpointsApiCancelSubscriptionRequestByAuthMode, type ExperimentalEndpointsApiCancelSubscriptioncommercialApiKeyRequest, type ExperimentalEndpointsApiCancelSubscriptionpersonalApiKeyRequest, ExperimentalEndpointsApiFactory, ExperimentalEndpointsApiFp, ExperimentalEndpointsApiGenerated, type ExperimentalEndpointsApiGetAllAccountOrdersArgs, type ExperimentalEndpointsApiGetAllAccountOrdersBaseRequest, type ExperimentalEndpointsApiGetAllAccountOrdersRequest, type ExperimentalEndpointsApiGetAllAccountOrdersRequestByAuthMode, type ExperimentalEndpointsApiGetAllAccountOrderscommercialApiKeyRequest, type ExperimentalEndpointsApiGetAllAccountOrderspersonalApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2Args, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2BaseRequest, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2RequestByAuthMode, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2commercialApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountOrderDetailV2personalApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountOrdersV2Args, type ExperimentalEndpointsApiGetUserAccountOrdersV2BaseRequest, type ExperimentalEndpointsApiGetUserAccountOrdersV2Request, type ExperimentalEndpointsApiGetUserAccountOrdersV2RequestByAuthMode, type ExperimentalEndpointsApiGetUserAccountOrdersV2commercialApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountOrdersV2personalApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Args, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2BaseRequest, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2RequestByAuthMode, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2commercialApiKeyRequest, type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2personalApiKeyRequest, type ExperimentalEndpointsApiPlaceSimpleOrderArgs, type ExperimentalEndpointsApiPlaceSimpleOrderBaseRequest, type ExperimentalEndpointsApiPlaceSimpleOrderRequest, type ExperimentalEndpointsApiPlaceSimpleOrderRequestByAuthMode, type ExperimentalEndpointsApiPlaceSimpleOrdercommercialApiKeyRequest, type ExperimentalEndpointsApiPlaceSimpleOrderpersonalApiKeyRequest, FigiInstrument, FigiInstrumentNullable, FormDataLike, FutureInstrument, FutureOptionInstrument, HoldingsStatus, Institution, InstitutionConnection, InstitutionConnectionNullable, Instrument, InvestmentAccount, InvestmentAccountNetValue, LimitOrderType, LineOfCreditAccount, LineOfCreditAccountAvailableCredit, LineOfCreditAccountMinimumPaymentAmount, LineOfCreditAccountNetValue, LineOfCreditAccountSyncStatus, LoginRedirectURI, ManagementApi, ManagementApiAxiosParamCreator, ManagementApiFactory, ManagementApiFp, ManagementApiGenerated, type ManagementApiGetStatsArgs, type ManagementApiGetStatsBaseRequest, type ManagementApiGetStatsLegacyArgs, type ManagementApiGetStatsLegacyBaseRequest, type ManagementApiGetStatsLegacyRequest, type ManagementApiGetStatsLegacyRequestByAuthMode, type ManagementApiGetStatsLegacycommercialApiKeyRequest, type ManagementApiGetStatsLegacypersonalApiKeyRequest, type ManagementApiGetStatsRequest, type ManagementApiGetStatsRequestByAuthMode, type ManagementApiGetStatscommercialApiKeyRequest, type ManagementApiGetStatspersonalApiKeyRequest, ManualTrade, ManualTradeAndImpact, ManualTradeBalance, ManualTradeForm, ManualTradeFormBracket, ManualTradeFormComplex, ManualTradeFormWithOptions, ManualTradeImpact, ManualTradePlaceTimeInForceStrict, ManualTradeReplaceForm, ManualTradeSymbol, MarketOrderType, MlegActionStrict, MlegInstrumentType, MlegLeg, MlegOrderResponse, MlegOrderTypeStrict, MlegPriceEffectStrict, MlegPriceEffectStrictNullable, MlegTradeForm, MlegTradingInstrument, Model400FailedRequestResponse, Model401FailedRequestResponse, Model402BrokerageAuthAlreadyDisabledException, Model402BrokerageAuthDisabledResponse, Model403FailedRequestResponse, Model403FeatureNotEnabledResponse, Model404AccountUnavailableResponse, Model404FailedRequestResponse, Model425FailedRequestResponse, Model429TooManyRequestsResponse, Model500UnexpectedExceptionResponse, Model501NotImplementedResponse, Model503BrokerageRequestResponse, Model503CurrencyConversionUnavailableResponse, MonthlyDividends, MutualFundInstrument, NetContributions, NetDividend, NotionalValue, NotionalValueNullable, OAuthWebhookBase, OptionBrokerageSymbol, OptionChainInner, OptionChainInnerChainPerRootInner, OptionChainInnerChainPerRootInnerChainPerStrikePriceInner, OptionImpact, OptionInstrument, OptionLeg, OptionQuote, OptionQuoteGreeks, OptionStrategy, OptionStrategyLegsInner, OptionsPosition, OptionsSymbol, OptionsSymbolNullable, OrderTypeConfiguration, OrderTypeStrict, OrderUpdatedResponse, OtherInstrument, OtherOrderType, PaginatedUniversalActivity, PaginationDetails, PartnerData, PartnerStats, PastValue, PerformanceCustom, PersonalApiKeyAuth, Position, PositionCurrency, PositionSymbol, RateOfReturnObject, RateOfReturnResponse, RecentOrdersResponse, ReferenceDataApi, ReferenceDataApiAxiosParamCreator, ReferenceDataApiFactory, ReferenceDataApiFp, ReferenceDataApiGenerated, type ReferenceDataApiGetSymbolsArgs, type ReferenceDataApiGetSymbolsBaseRequest, type ReferenceDataApiGetSymbolsByTickerArgs, type ReferenceDataApiGetSymbolsByTickerBaseRequest, type ReferenceDataApiGetSymbolsByTickerRequest, type ReferenceDataApiGetSymbolsByTickerRequestByAuthMode, type ReferenceDataApiGetSymbolsByTickercommercialApiKeyRequest, type ReferenceDataApiGetSymbolsByTickerpersonalApiKeyRequest, type ReferenceDataApiGetSymbolsRequest, type ReferenceDataApiGetSymbolsRequestByAuthMode, type ReferenceDataApiGetSymbolscommercialApiKeyRequest, type ReferenceDataApiGetSymbolspersonalApiKeyRequest, type ReferenceDataApiListAllBrokerageAuthorizationTypeArgs, type ReferenceDataApiListAllBrokerageAuthorizationTypeBaseRequest, type ReferenceDataApiListAllBrokerageAuthorizationTypeRequest, type ReferenceDataApiListAllBrokerageAuthorizationTypeRequestByAuthMode, type ReferenceDataApiListAllBrokerageAuthorizationTypecommercialApiKeyRequest, type ReferenceDataApiListAllBrokerageAuthorizationTypepersonalApiKeyRequest, type ReferenceDataApiListAllBrokerageInstrumentsArgs, type ReferenceDataApiListAllBrokerageInstrumentsBaseRequest, type ReferenceDataApiListAllBrokerageInstrumentsRequest, type ReferenceDataApiListAllBrokerageInstrumentsRequestByAuthMode, type ReferenceDataApiListAllBrokerageInstrumentscommercialApiKeyRequest, type ReferenceDataApiListAllBrokerageInstrumentspersonalApiKeyRequest, type ReferenceDataApiSymbolSearchUserAccountArgs, type ReferenceDataApiSymbolSearchUserAccountBaseRequest, type ReferenceDataApiSymbolSearchUserAccountRequest, type ReferenceDataApiSymbolSearchUserAccountRequestByAuthMode, type ReferenceDataApiSymbolSearchUserAccountcommercialApiKeyRequest, type ReferenceDataApiSymbolSearchUserAccountpersonalApiKeyRequest, SecurityType, SessionEvent, SimpleOrderForm, SimpleTradeForm, SimpleTradeInstrument, SimpleTradeLeg, SimpleTradeResponse, SnapTradeHoldingsAccount, SnapTradeHoldingsTotalValue, SnapTradeLoginUserRequestBody, SnapTradeRegisterUserRequestBody, Snaptrade, SnaptradeAuth, SnaptradeError, Status, StockInstrument, StopLimitOrderType, StopLoss, StopOrderType, StrategyOrderRecord, StrategyQuotes, StrategyQuotesGreek, SubPeriodReturnRate, Symbol, SymbolCurrency, SymbolExchange, SymbolNullable, SymbolQuery, SymbolsQuotesInner, TakeProfit, TaxLot, TimeInForceStrict, TokenizedAssetInstrument, TradeDetectionAddSubscriptionRequest, TradeDetectionCancelSubscriptionRequest, TradeDetectionCancelSubscriptionResponse, TradeDetectionSubscription, TradingApi, TradingApiAxiosParamCreator, type TradingApiCancelOrderArgs, type TradingApiCancelOrderBaseRequest, type TradingApiCancelOrderRequest, type TradingApiCancelOrderRequestByAuthMode, type TradingApiCancelOrdercommercialApiKeyRequest, type TradingApiCancelOrderpersonalApiKeyRequest, TradingApiFactory, TradingApiFp, TradingApiGenerated, type TradingApiGetCryptocurrencyPairQuoteArgs, type TradingApiGetCryptocurrencyPairQuoteBaseRequest, type TradingApiGetCryptocurrencyPairQuoteRequest, type TradingApiGetCryptocurrencyPairQuoteRequestByAuthMode, type TradingApiGetCryptocurrencyPairQuotecommercialApiKeyRequest, type TradingApiGetCryptocurrencyPairQuotepersonalApiKeyRequest, type TradingApiGetOptionImpactArgs, type TradingApiGetOptionImpactBaseRequest, type TradingApiGetOptionImpactRequest, type TradingApiGetOptionImpactRequestByAuthMode, type TradingApiGetOptionImpactcommercialApiKeyRequest, type TradingApiGetOptionImpactpersonalApiKeyRequest, type TradingApiGetOrderImpactArgs, type TradingApiGetOrderImpactBaseRequest, type TradingApiGetOrderImpactRequest, type TradingApiGetOrderImpactRequestByAuthMode, type TradingApiGetOrderImpactcommercialApiKeyRequest, type TradingApiGetOrderImpactpersonalApiKeyRequest, type TradingApiGetUserAccountOptionQuotesArgs, type TradingApiGetUserAccountOptionQuotesBaseRequest, type TradingApiGetUserAccountOptionQuotesRequest, type TradingApiGetUserAccountOptionQuotesRequestByAuthMode, type TradingApiGetUserAccountOptionQuotescommercialApiKeyRequest, type TradingApiGetUserAccountOptionQuotespersonalApiKeyRequest, type TradingApiGetUserAccountQuotesArgs, type TradingApiGetUserAccountQuotesBaseRequest, type TradingApiGetUserAccountQuotesRequest, type TradingApiGetUserAccountQuotesRequestByAuthMode, type TradingApiGetUserAccountQuotescommercialApiKeyRequest, type TradingApiGetUserAccountQuotespersonalApiKeyRequest, type TradingApiPlaceComplexOrderArgs, type TradingApiPlaceComplexOrderBaseRequest, type TradingApiPlaceComplexOrderRequest, type TradingApiPlaceComplexOrderRequestByAuthMode, type TradingApiPlaceComplexOrdercommercialApiKeyRequest, type TradingApiPlaceComplexOrderpersonalApiKeyRequest, type TradingApiPlaceCryptoOrderArgs, type TradingApiPlaceCryptoOrderBaseRequest, type TradingApiPlaceCryptoOrderRequest, type TradingApiPlaceCryptoOrderRequestByAuthMode, type TradingApiPlaceCryptoOrdercommercialApiKeyRequest, type TradingApiPlaceCryptoOrderpersonalApiKeyRequest, type TradingApiPlaceForceOrderArgs, type TradingApiPlaceForceOrderBaseRequest, type TradingApiPlaceForceOrderRequest, type TradingApiPlaceForceOrderRequestByAuthMode, type TradingApiPlaceForceOrdercommercialApiKeyRequest, type TradingApiPlaceForceOrderpersonalApiKeyRequest, type TradingApiPlaceMlegOrderArgs, type TradingApiPlaceMlegOrderBaseRequest, type TradingApiPlaceMlegOrderRequest, type TradingApiPlaceMlegOrderRequestByAuthMode, type TradingApiPlaceMlegOrdercommercialApiKeyRequest, type TradingApiPlaceMlegOrderpersonalApiKeyRequest, type TradingApiPlaceOrderArgs, type TradingApiPlaceOrderBaseRequest, type TradingApiPlaceOrderRequest, type TradingApiPlaceOrderRequestByAuthMode, type TradingApiPlaceOrdercommercialApiKeyRequest, type TradingApiPlaceOrderpersonalApiKeyRequest, type TradingApiPreviewCryptoOrderArgs, type TradingApiPreviewCryptoOrderBaseRequest, type TradingApiPreviewCryptoOrderRequest, type TradingApiPreviewCryptoOrderRequestByAuthMode, type TradingApiPreviewCryptoOrdercommercialApiKeyRequest, type TradingApiPreviewCryptoOrderpersonalApiKeyRequest, type TradingApiReplaceOrderArgs, type TradingApiReplaceOrderBaseRequest, type TradingApiReplaceOrderRequest, type TradingApiReplaceOrderRequestByAuthMode, type TradingApiReplaceOrdercommercialApiKeyRequest, type TradingApiReplaceOrderpersonalApiKeyRequest, type TradingApiSearchCryptocurrencyPairInstrumentsArgs, type TradingApiSearchCryptocurrencyPairInstrumentsBaseRequest, type TradingApiSearchCryptocurrencyPairInstrumentsRequest, type TradingApiSearchCryptocurrencyPairInstrumentsRequestByAuthMode, type TradingApiSearchCryptocurrencyPairInstrumentscommercialApiKeyRequest, type TradingApiSearchCryptocurrencyPairInstrumentspersonalApiKeyRequest, TradingGetUserAccountOptionQuotes410Response, TradingInstrument, TradingSearchCryptocurrencyPairInstruments200Response, TradingSession, TrailingStop, TrailingStopLimitOrderType, TrailingStopNullable, TrailingStopOrderType, TransactionsStatus, USExchange, UnderlyingCfdInstrument, UnderlyingOptionInstrument, UnderlyingSymbol, UnderlyingSymbolExchange, UnderlyingSymbolType, UnderlyingTokenizedAssetInstrument, UniversalActivity, UniversalSymbol, UniversalSymbolNullable, UserIDandSecret, ValidatedTradeBody, parseIfJson, readableStreamToString };
|
package/dist/index.mjs
CHANGED
|
@@ -613,7 +613,7 @@ const AccountInformationApiAxiosParamCreator = function(configuration) {
|
|
|
613
613
|
};
|
|
614
614
|
},
|
|
615
615
|
/**
|
|
616
|
-
* 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`,
|
|
616
|
+
* Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. Security positions (`stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`) may include `tax_lots` when tax lot data is enabled for the account; derivative, CFD, tokenized asset, and cash positions never do. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
617
617
|
* @summary List all account positions
|
|
618
618
|
* @param {string} accountId
|
|
619
619
|
* @param {string} [userId]
|
|
@@ -1529,7 +1529,7 @@ const AccountInformationApiFp = function(configuration) {
|
|
|
1529
1529
|
});
|
|
1530
1530
|
},
|
|
1531
1531
|
/**
|
|
1532
|
-
* 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`,
|
|
1532
|
+
* Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. Security positions (`stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`) may include `tax_lots` when tax lot data is enabled for the account; derivative, CFD, tokenized asset, and cash positions never do. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
1533
1533
|
* @summary List all account positions
|
|
1534
1534
|
* @param {AccountInformationApiGetAllAccountPositionsRequest<TAuth>} requestParameters Request parameters.
|
|
1535
1535
|
* @param {*} [options] Override http request option.
|
|
@@ -1835,7 +1835,7 @@ const AccountInformationApiFactory = function(configuration, basePath, axios) {
|
|
|
1835
1835
|
return localVarFp.getAccountDetails(...args).then((request) => request(axios, basePath));
|
|
1836
1836
|
},
|
|
1837
1837
|
/**
|
|
1838
|
-
* 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`,
|
|
1838
|
+
* Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. Security positions (`stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`) may include `tax_lots` when tax lot data is enabled for the account; derivative, CFD, tokenized asset, and cash positions never do. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
1839
1839
|
* @summary List all account positions
|
|
1840
1840
|
* @param {AccountInformationApiGetAllAccountPositionsRequest<TAuth>} requestParameters Request parameters.
|
|
1841
1841
|
* @param {*} [options] Override http request option.
|
|
@@ -2001,7 +2001,7 @@ var AccountInformationApiGenerated = class extends BaseAPI {
|
|
|
2001
2001
|
return AccountInformationApiFp(this.configuration).getAccountDetails(...args).then((request) => request(this.axios, this.basePath));
|
|
2002
2002
|
}
|
|
2003
2003
|
/**
|
|
2004
|
-
* 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`,
|
|
2004
|
+
* Returns a list of all positions in the specified account. The `results` list can contain multiple instrument types in the same response, including stocks, ADRs, ETFs, mutual funds, closed-end funds, bonds, crypto, futures, option positions, future option positions, CFD positions, and tokenized asset positions. Use the `instrument.kind` discriminator to determine the schema for each position\'s `instrument`. **Beta:** future option positions (`instrument.kind: future_option`) are in beta. They are currently returned only for tastytrade and Interactive Brokers connections, and only for partners they have been enabled for — please contact the SnapTrade team to enable them. The `FutureOptionInstrument` schema may change. Positions counted in account cash balance or buying power include `cash_equivalent: true`. Security positions (`stock`, `adr`, `etf`, `mutualfund`, `cef`, `crypto`, `bond`, and `other`) may include `tax_lots` when tax lot data is enabled for the account; derivative, CFD, tokenized asset, and cash positions never do. To see which institutions support tax lot data, please see our [supported institutions doc](https://support.snaptrade.com/brokerages). If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
2005
2005
|
* @summary List all account positions
|
|
2006
2006
|
* @param {AccountInformationApiGetAllAccountPositionsRequest<TAuth>} requestParameters Request parameters.
|
|
2007
2007
|
* @param {*} [options] Override http request option.
|
|
@@ -4400,7 +4400,7 @@ const ExperimentalEndpointsApiAxiosParamCreator = function(configuration) {
|
|
|
4400
4400
|
};
|
|
4401
4401
|
},
|
|
4402
4402
|
/**
|
|
4403
|
-
* **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
|
|
4403
|
+
* **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase. Equity and equity-option orders use the existing brokerage trading capabilities. Futures are supported on tastytrade and Webull US; future options are supported only on tastytrade. Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. Webull US supports single-leg futures orders with buy or sell actions and positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day or gtc duration. Futures options, multi-leg futures, trailing stops, and Webull Canada futures trading are not supported. Webull determines contract availability, margin requirements, and valid price increments. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or brokerage-native futures symbols. For tastytrade, use the exact BrokerageInstrument ticker, including any spaces. For Webull US, use a specific unprefixed futures contract symbol such as ESZ6; slash-prefixed aliases, continuous/root-only symbols, and whitespace are not accepted. A futures symbol does not need to be present in SnapTrade\'s local instrument catalog to submit an order. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
|
|
4404
4404
|
* @summary Place a simple order (beta)
|
|
4405
4405
|
* @param {string} accountId The ID of the account to execute the trade on.
|
|
4406
4406
|
* @param {SimpleTradeForm} simpleTradeForm
|
|
@@ -4652,7 +4652,7 @@ const ExperimentalEndpointsApiFp = function(configuration) {
|
|
|
4652
4652
|
});
|
|
4653
4653
|
},
|
|
4654
4654
|
/**
|
|
4655
|
-
* **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
|
|
4655
|
+
* **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase. Equity and equity-option orders use the existing brokerage trading capabilities. Futures are supported on tastytrade and Webull US; future options are supported only on tastytrade. Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. Webull US supports single-leg futures orders with buy or sell actions and positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day or gtc duration. Futures options, multi-leg futures, trailing stops, and Webull Canada futures trading are not supported. Webull determines contract availability, margin requirements, and valid price increments. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or brokerage-native futures symbols. For tastytrade, use the exact BrokerageInstrument ticker, including any spaces. For Webull US, use a specific unprefixed futures contract symbol such as ESZ6; slash-prefixed aliases, continuous/root-only symbols, and whitespace are not accepted. A futures symbol does not need to be present in SnapTrade\'s local instrument catalog to submit an order. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
|
|
4656
4656
|
* @summary Place a simple order (beta)
|
|
4657
4657
|
* @param {ExperimentalEndpointsApiPlaceSimpleOrderRequest<TAuth>} requestParameters Request parameters.
|
|
4658
4658
|
* @param {*} [options] Override http request option.
|
|
@@ -4765,7 +4765,7 @@ const ExperimentalEndpointsApiFactory = function(configuration, basePath, axios)
|
|
|
4765
4765
|
return localVarFp.listSubscriptions(...args).then((request) => request(axios, basePath));
|
|
4766
4766
|
},
|
|
4767
4767
|
/**
|
|
4768
|
-
* **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
|
|
4768
|
+
* **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase. Equity and equity-option orders use the existing brokerage trading capabilities. Futures are supported on tastytrade and Webull US; future options are supported only on tastytrade. Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. Webull US supports single-leg futures orders with buy or sell actions and positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day or gtc duration. Futures options, multi-leg futures, trailing stops, and Webull Canada futures trading are not supported. Webull determines contract availability, margin requirements, and valid price increments. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or brokerage-native futures symbols. For tastytrade, use the exact BrokerageInstrument ticker, including any spaces. For Webull US, use a specific unprefixed futures contract symbol such as ESZ6; slash-prefixed aliases, continuous/root-only symbols, and whitespace are not accepted. A futures symbol does not need to be present in SnapTrade\'s local instrument catalog to submit an order. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
|
|
4769
4769
|
* @summary Place a simple order (beta)
|
|
4770
4770
|
* @param {ExperimentalEndpointsApiPlaceSimpleOrderRequest<TAuth>} requestParameters Request parameters.
|
|
4771
4771
|
* @param {*} [options] Override http request option.
|
|
@@ -4860,7 +4860,7 @@ var ExperimentalEndpointsApiGenerated = class extends BaseAPI {
|
|
|
4860
4860
|
return ExperimentalEndpointsApiFp(this.configuration).listSubscriptions(...args).then((request) => request(this.axios, this.basePath));
|
|
4861
4861
|
}
|
|
4862
4862
|
/**
|
|
4863
|
-
* **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
|
|
4863
|
+
* **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase. Equity and equity-option orders use the existing brokerage trading capabilities. Futures are supported on tastytrade and Webull US; future options are supported only on tastytrade. Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. Webull US supports single-leg futures orders with buy or sell actions and positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day or gtc duration. Futures options, multi-leg futures, trailing stops, and Webull Canada futures trading are not supported. Webull determines contract availability, margin requirements, and valid price increments. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or brokerage-native futures symbols. For tastytrade, use the exact BrokerageInstrument ticker, including any spaces. For Webull US, use a specific unprefixed futures contract symbol such as ESZ6; slash-prefixed aliases, continuous/root-only symbols, and whitespace are not accepted. A futures symbol does not need to be present in SnapTrade\'s local instrument catalog to submit an order. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
|
|
4864
4864
|
* @summary Place a simple order (beta)
|
|
4865
4865
|
* @param {ExperimentalEndpointsApiPlaceSimpleOrderRequest<TAuth>} requestParameters Request parameters.
|
|
4866
4866
|
* @param {*} [options] Override http request option.
|
|
@@ -8004,7 +8004,7 @@ var Configuration = class {
|
|
|
8004
8004
|
}
|
|
8005
8005
|
this.basePath = param.basePath;
|
|
8006
8006
|
this.baseOptions = param.baseOptions ?? {};
|
|
8007
|
-
this.userAgent = param.userAgent === void 0 ? "Konfig/13.1.
|
|
8007
|
+
this.userAgent = param.userAgent === void 0 ? "Konfig/13.1.15/typescript" : param.userAgent;
|
|
8008
8008
|
this.formDataCtor = param.formDataCtor;
|
|
8009
8009
|
}
|
|
8010
8010
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "snaptrade-typescript-sdk",
|
|
3
|
-
"version": "13.1.
|
|
3
|
+
"version": "13.1.15",
|
|
4
4
|
"description": "Client for SnapTrade",
|
|
5
5
|
"author": "Konfig",
|
|
6
6
|
"engines": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"axios": "1.20.0"
|
|
51
51
|
},
|
|
52
52
|
"resolutions": {
|
|
53
|
-
"follow-redirects": "^1.16.
|
|
53
|
+
"follow-redirects": "^1.16.2",
|
|
54
54
|
"semver": "^7.5.2",
|
|
55
55
|
"@babel/traverse": "^7.23.2"
|
|
56
56
|
},
|