snaptrade-typescript-sdk 11.1.0 → 12.0.0
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 +1 -538
- package/dist/browser.umd.js +1 -1
- package/dist/index.cjs +158 -1784
- package/dist/index.d.cts +58 -898
- package/dist/index.d.mts +58 -898
- package/dist/index.d.ts +58 -898
- package/dist/index.mjs +97 -1710
- package/package.json +1 -1
- package/dist/chunk-e9Ob2GDo.mjs +0 -26
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { n as __require, r as __toESM, t as __commonJSMin } from "./chunk-e9Ob2GDo.mjs";
|
|
2
1
|
import * as _$axios from "axios";
|
|
3
2
|
import { AxiosError, AxiosInstance, AxiosPromise, AxiosRequestConfig } from "axios";
|
|
4
3
|
|
|
@@ -3973,66 +3972,6 @@ type ConnectionAccount = {
|
|
|
3973
3972
|
kind: 'investment';
|
|
3974
3973
|
} & InvestmentAccount;
|
|
3975
3974
|
//#endregion
|
|
3976
|
-
//#region models/session-event.d.ts
|
|
3977
|
-
/**
|
|
3978
|
-
*
|
|
3979
|
-
* @export
|
|
3980
|
-
* @interface SessionEvent
|
|
3981
|
-
*/
|
|
3982
|
-
interface SessionEvent {
|
|
3983
|
-
[key: string]: any;
|
|
3984
|
-
/**
|
|
3985
|
-
*
|
|
3986
|
-
* @type {string}
|
|
3987
|
-
* @memberof SessionEvent
|
|
3988
|
-
*/
|
|
3989
|
-
'id'?: string;
|
|
3990
|
-
/**
|
|
3991
|
-
*
|
|
3992
|
-
* @type {string}
|
|
3993
|
-
* @memberof SessionEvent
|
|
3994
|
-
*/
|
|
3995
|
-
'session_event_type'?: SessionEventSessionEventTypeEnum;
|
|
3996
|
-
/**
|
|
3997
|
-
*
|
|
3998
|
-
* @type {string}
|
|
3999
|
-
* @memberof SessionEvent
|
|
4000
|
-
*/
|
|
4001
|
-
'session_id'?: string;
|
|
4002
|
-
/**
|
|
4003
|
-
* SnapTrade User ID. This is chosen by the API partner and can be any string that is a) unique to the user, and b) immutable for the user. It is recommended to NOT use email addresses for this property because they are usually not immutable.
|
|
4004
|
-
* @type {string}
|
|
4005
|
-
* @memberof SessionEvent
|
|
4006
|
-
*/
|
|
4007
|
-
'user_id'?: string;
|
|
4008
|
-
/**
|
|
4009
|
-
* Time
|
|
4010
|
-
* @type {string}
|
|
4011
|
-
* @memberof SessionEvent
|
|
4012
|
-
*/
|
|
4013
|
-
'created_date'?: string;
|
|
4014
|
-
/**
|
|
4015
|
-
*
|
|
4016
|
-
* @type {number}
|
|
4017
|
-
* @memberof SessionEvent
|
|
4018
|
-
*/
|
|
4019
|
-
'brokerage_status_code'?: number | null;
|
|
4020
|
-
/**
|
|
4021
|
-
*
|
|
4022
|
-
* @type {string}
|
|
4023
|
-
* @memberof SessionEvent
|
|
4024
|
-
*/
|
|
4025
|
-
'brokerage_authorization_id'?: string;
|
|
4026
|
-
}
|
|
4027
|
-
type SessionEventSessionEventTypeEnum = 'OAUTH_REDIRECT' | 'DISCLAIMER_ACCEPTED' | 'BROKERAGE_CONNECTION_INITIATED' | 'BROKERAGE_RECONNECT_INITIATED' | 'BROKERAGE_AUTHENTICATION' | 'OAUTH_BROKERAGE_AUTHENTICATION' | 'MFA_REQUESTED' | 'MFA_SUBMITTED' | 'MFA_CHOICE_REQUESTED' | 'MFA_CHOICE_SUBMITTED' | 'CONNECTION_SUCCESSFUL' | 'CONNECTION_FAILED' | 'PARTNER_REDIRECT' | 'CONNECTION_ABORTED' | 'SESSION_STARTED';
|
|
4028
|
-
//#endregion
|
|
4029
|
-
//#region models/connections-session-events200-response-inner.d.ts
|
|
4030
|
-
/**
|
|
4031
|
-
* @type ConnectionsSessionEvents200ResponseInner
|
|
4032
|
-
* @export
|
|
4033
|
-
*/
|
|
4034
|
-
type ConnectionsSessionEvents200ResponseInner = SessionEvent;
|
|
4035
|
-
//#endregion
|
|
4036
3975
|
//#region models/crypto-trading-instrument.d.ts
|
|
4037
3976
|
/**
|
|
4038
3977
|
*
|
|
@@ -4740,6 +4679,7 @@ interface TakeProfit {
|
|
|
4740
4679
|
* @interface ManualTradeFormBracket
|
|
4741
4680
|
*/
|
|
4742
4681
|
interface ManualTradeFormBracket {
|
|
4682
|
+
[key: string]: any;
|
|
4743
4683
|
/**
|
|
4744
4684
|
* The action describes the intent or side of a trade. This is either `BUY` or `SELL` for Equity symbols or `BUY_TO_OPEN`, `BUY_TO_CLOSE`, `SELL_TO_OPEN` or `SELL_TO_CLOSE` for Options.
|
|
4745
4685
|
* @type {ActionStrictWithOptions}
|
|
@@ -6345,6 +6285,59 @@ interface RecentOrdersResponse {
|
|
|
6345
6285
|
'orders'?: Array<AccountOrderRecord>;
|
|
6346
6286
|
}
|
|
6347
6287
|
//#endregion
|
|
6288
|
+
//#region models/session-event.d.ts
|
|
6289
|
+
/**
|
|
6290
|
+
*
|
|
6291
|
+
* @export
|
|
6292
|
+
* @interface SessionEvent
|
|
6293
|
+
*/
|
|
6294
|
+
interface SessionEvent {
|
|
6295
|
+
[key: string]: any;
|
|
6296
|
+
/**
|
|
6297
|
+
*
|
|
6298
|
+
* @type {string}
|
|
6299
|
+
* @memberof SessionEvent
|
|
6300
|
+
*/
|
|
6301
|
+
'id'?: string;
|
|
6302
|
+
/**
|
|
6303
|
+
*
|
|
6304
|
+
* @type {string}
|
|
6305
|
+
* @memberof SessionEvent
|
|
6306
|
+
*/
|
|
6307
|
+
'session_event_type'?: SessionEventSessionEventTypeEnum;
|
|
6308
|
+
/**
|
|
6309
|
+
*
|
|
6310
|
+
* @type {string}
|
|
6311
|
+
* @memberof SessionEvent
|
|
6312
|
+
*/
|
|
6313
|
+
'session_id'?: string;
|
|
6314
|
+
/**
|
|
6315
|
+
* SnapTrade User ID. This is chosen by the API partner and can be any string that is a) unique to the user, and b) immutable for the user. It is recommended to NOT use email addresses for this property because they are usually not immutable.
|
|
6316
|
+
* @type {string}
|
|
6317
|
+
* @memberof SessionEvent
|
|
6318
|
+
*/
|
|
6319
|
+
'user_id'?: string;
|
|
6320
|
+
/**
|
|
6321
|
+
* Time
|
|
6322
|
+
* @type {string}
|
|
6323
|
+
* @memberof SessionEvent
|
|
6324
|
+
*/
|
|
6325
|
+
'created_date'?: string;
|
|
6326
|
+
/**
|
|
6327
|
+
*
|
|
6328
|
+
* @type {number}
|
|
6329
|
+
* @memberof SessionEvent
|
|
6330
|
+
*/
|
|
6331
|
+
'brokerage_status_code'?: number | null;
|
|
6332
|
+
/**
|
|
6333
|
+
*
|
|
6334
|
+
* @type {string}
|
|
6335
|
+
* @memberof SessionEvent
|
|
6336
|
+
*/
|
|
6337
|
+
'brokerage_authorization_id'?: string;
|
|
6338
|
+
}
|
|
6339
|
+
type SessionEventSessionEventTypeEnum = 'OAUTH_REDIRECT' | 'DISCLAIMER_ACCEPTED' | 'BROKERAGE_CONNECTION_INITIATED' | 'BROKERAGE_RECONNECT_INITIATED' | 'BROKERAGE_AUTHENTICATION' | 'OAUTH_BROKERAGE_AUTHENTICATION' | 'MFA_REQUESTED' | 'MFA_SUBMITTED' | 'MFA_CHOICE_REQUESTED' | 'MFA_CHOICE_SUBMITTED' | 'CONNECTION_SUCCESSFUL' | 'CONNECTION_FAILED' | 'PARTNER_REDIRECT' | 'CONNECTION_ABORTED' | 'SESSION_STARTED';
|
|
6340
|
+
//#endregion
|
|
6348
6341
|
//#region models/simple-order-form.d.ts
|
|
6349
6342
|
/**
|
|
6350
6343
|
*
|
|
@@ -6682,7 +6675,7 @@ interface StrategyQuotes {
|
|
|
6682
6675
|
* @export
|
|
6683
6676
|
* @interface Symbol
|
|
6684
6677
|
*/
|
|
6685
|
-
interface Symbol
|
|
6678
|
+
interface Symbol {
|
|
6686
6679
|
[key: string]: any;
|
|
6687
6680
|
/**
|
|
6688
6681
|
* Unique identifier for the symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
|
|
@@ -7178,17 +7171,6 @@ declare const AccountInformationApiAxiosParamCreator: (configuration?: Configura
|
|
|
7178
7171
|
* @throws {RequiredError}
|
|
7179
7172
|
*/
|
|
7180
7173
|
getAllAccountPositions: (accountId: string, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7181
|
-
/**
|
|
7182
|
-
* **Deprecated.** Use the account-specific holdings endpoint instead. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. List all accounts for the user, plus balances, positions, and orders for each account.
|
|
7183
|
-
* @summary List all accounts for the user, plus balances, positions, and orders for each account.
|
|
7184
|
-
* @param {string} [brokerageAuthorizations] Optional. Comma separated list of authorization IDs (only use if filtering is needed on one or more authorizations).
|
|
7185
|
-
* @param {string} [userId]
|
|
7186
|
-
* @param {string} [userSecret]
|
|
7187
|
-
* @param {*} [options] Override http request option.
|
|
7188
|
-
* @deprecated
|
|
7189
|
-
* @throws {RequiredError}
|
|
7190
|
-
*/
|
|
7191
|
-
getAllUserHoldings: (brokerageAuthorizations?: string, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7192
7174
|
/**
|
|
7193
7175
|
* Returns a list of balances for the account. Each element of the list has a distinct currency. Some brokerages like Questrade [allows holding multiple currencies in the same account](https://www.questrade.com/learning/questrade-basics/balances-and-reports/understanding-your-account-balances). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
7194
7176
|
* @summary List account balances
|
|
@@ -7232,17 +7214,6 @@ declare const AccountInformationApiAxiosParamCreator: (configuration?: Configura
|
|
|
7232
7214
|
* @throws {RequiredError}
|
|
7233
7215
|
*/
|
|
7234
7216
|
getUserAccountOrders: (accountId: string, state?: "all" | "open" | "executed", days?: number, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7235
|
-
/**
|
|
7236
|
-
* **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
7237
|
-
* @summary List account positions
|
|
7238
|
-
* @param {string} accountId
|
|
7239
|
-
* @param {string} [userId]
|
|
7240
|
-
* @param {string} [userSecret]
|
|
7241
|
-
* @param {*} [options] Override http request option.
|
|
7242
|
-
* @deprecated
|
|
7243
|
-
* @throws {RequiredError}
|
|
7244
|
-
*/
|
|
7245
|
-
getUserAccountPositions: (accountId: string, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7246
7217
|
/**
|
|
7247
7218
|
* A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is always realtime, and only checks the last 24 hours By default only returns executed orders, but that can be changed by setting *only_executed* to false
|
|
7248
7219
|
* @summary List account recent orders (last 24 hours only)
|
|
@@ -7325,15 +7296,6 @@ declare const AccountInformationApiFp: <TAuth extends AuthMode>(configuration?:
|
|
|
7325
7296
|
* @throws {RequiredError}
|
|
7326
7297
|
*/
|
|
7327
7298
|
getAllAccountPositions(requestParameters: AccountInformationApiGetAllAccountPositionsRequest<TAuth>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllAccountPositionsResponse>>;
|
|
7328
|
-
/**
|
|
7329
|
-
* **Deprecated.** Use the account-specific holdings endpoint instead. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. List all accounts for the user, plus balances, positions, and orders for each account.
|
|
7330
|
-
* @summary List all accounts for the user, plus balances, positions, and orders for each account.
|
|
7331
|
-
* @param {AccountInformationApiGetAllUserHoldingsRequest<TAuth>} requestParameters Request parameters.
|
|
7332
|
-
* @param {*} [options] Override http request option.
|
|
7333
|
-
* @deprecated
|
|
7334
|
-
* @throws {RequiredError}
|
|
7335
|
-
*/
|
|
7336
|
-
getAllUserHoldings(requestParameters?: AccountInformationApiGetAllUserHoldingsRequest<TAuth>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountHoldings>>>;
|
|
7337
7299
|
/**
|
|
7338
7300
|
* Returns a list of balances for the account. Each element of the list has a distinct currency. Some brokerages like Questrade [allows holding multiple currencies in the same account](https://www.questrade.com/learning/questrade-basics/balances-and-reports/understanding-your-account-balances). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
7339
7301
|
* @summary List account balances
|
|
@@ -7366,15 +7328,6 @@ declare const AccountInformationApiFp: <TAuth extends AuthMode>(configuration?:
|
|
|
7366
7328
|
* @throws {RequiredError}
|
|
7367
7329
|
*/
|
|
7368
7330
|
getUserAccountOrders(requestParameters: AccountInformationApiGetUserAccountOrdersRequest<TAuth>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountOrderRecord>>>;
|
|
7369
|
-
/**
|
|
7370
|
-
* **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
7371
|
-
* @summary List account positions
|
|
7372
|
-
* @param {AccountInformationApiGetUserAccountPositionsRequest<TAuth>} requestParameters Request parameters.
|
|
7373
|
-
* @param {*} [options] Override http request option.
|
|
7374
|
-
* @deprecated
|
|
7375
|
-
* @throws {RequiredError}
|
|
7376
|
-
*/
|
|
7377
|
-
getUserAccountPositions(requestParameters: AccountInformationApiGetUserAccountPositionsRequest<TAuth>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Position>>>;
|
|
7378
7331
|
/**
|
|
7379
7332
|
* A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is always realtime, and only checks the last 24 hours By default only returns executed orders, but that can be changed by setting *only_executed* to false
|
|
7380
7333
|
* @summary List account recent orders (last 24 hours only)
|
|
@@ -7446,15 +7399,6 @@ declare const AccountInformationApiFactory: <TAuth extends AuthMode>(configurati
|
|
|
7446
7399
|
* @throws {RequiredError}
|
|
7447
7400
|
*/
|
|
7448
7401
|
getAllAccountPositions(requestParameters: AccountInformationApiGetAllAccountPositionsRequest<TAuth>, options?: AxiosRequestConfig): AxiosPromise<AllAccountPositionsResponse>;
|
|
7449
|
-
/**
|
|
7450
|
-
* **Deprecated.** Use the account-specific holdings endpoint instead. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. List all accounts for the user, plus balances, positions, and orders for each account.
|
|
7451
|
-
* @summary List all accounts for the user, plus balances, positions, and orders for each account.
|
|
7452
|
-
* @param {AccountInformationApiGetAllUserHoldingsRequest<TAuth>} requestParameters Request parameters.
|
|
7453
|
-
* @param {*} [options] Override http request option.
|
|
7454
|
-
* @deprecated
|
|
7455
|
-
* @throws {RequiredError}
|
|
7456
|
-
*/
|
|
7457
|
-
getAllUserHoldings(requestParameters?: AccountInformationApiGetAllUserHoldingsRequest<TAuth>, options?: AxiosRequestConfig): AxiosPromise<Array<AccountHoldings>>;
|
|
7458
7402
|
/**
|
|
7459
7403
|
* Returns a list of balances for the account. Each element of the list has a distinct currency. Some brokerages like Questrade [allows holding multiple currencies in the same account](https://www.questrade.com/learning/questrade-basics/balances-and-reports/understanding-your-account-balances). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
7460
7404
|
* @summary List account balances
|
|
@@ -7487,15 +7431,6 @@ declare const AccountInformationApiFactory: <TAuth extends AuthMode>(configurati
|
|
|
7487
7431
|
* @throws {RequiredError}
|
|
7488
7432
|
*/
|
|
7489
7433
|
getUserAccountOrders(requestParameters: AccountInformationApiGetUserAccountOrdersRequest<TAuth>, options?: AxiosRequestConfig): AxiosPromise<Array<AccountOrderRecord>>;
|
|
7490
|
-
/**
|
|
7491
|
-
* **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
7492
|
-
* @summary List account positions
|
|
7493
|
-
* @param {AccountInformationApiGetUserAccountPositionsRequest<TAuth>} requestParameters Request parameters.
|
|
7494
|
-
* @param {*} [options] Override http request option.
|
|
7495
|
-
* @deprecated
|
|
7496
|
-
* @throws {RequiredError}
|
|
7497
|
-
*/
|
|
7498
|
-
getUserAccountPositions(requestParameters: AccountInformationApiGetUserAccountPositionsRequest<TAuth>, options?: AxiosRequestConfig): AxiosPromise<Array<Position>>;
|
|
7499
7434
|
/**
|
|
7500
7435
|
* A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is always realtime, and only checks the last 24 hours By default only returns executed orders, but that can be changed by setting *only_executed* to false
|
|
7501
7436
|
* @summary List account recent orders (last 24 hours only)
|
|
@@ -7643,31 +7578,6 @@ type AccountInformationApiGetAllAccountPositionsRequestByAuthMode = {
|
|
|
7643
7578
|
"personalApiKey": AccountInformationApiGetAllAccountPositionspersonalApiKeyRequest;
|
|
7644
7579
|
};
|
|
7645
7580
|
type AccountInformationApiGetAllAccountPositionsRequest<TAuth extends AuthMode> = AccountInformationApiGetAllAccountPositionsRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetAllAccountPositionsRequestByAuthMode];
|
|
7646
|
-
/**
|
|
7647
|
-
* Request parameters for getAllUserHoldings operation in AccountInformationApi.
|
|
7648
|
-
* @export
|
|
7649
|
-
*/
|
|
7650
|
-
type AccountInformationApiGetAllUserHoldingsBaseRequest = {
|
|
7651
|
-
/**
|
|
7652
|
-
* Optional. Comma separated list of authorization IDs (only use if filtering is needed on one or more authorizations).
|
|
7653
|
-
* @type {string}
|
|
7654
|
-
* @memberof AccountInformationApiGetAllUserHoldings
|
|
7655
|
-
*/
|
|
7656
|
-
readonly brokerageAuthorizations?: string;
|
|
7657
|
-
};
|
|
7658
|
-
type AccountInformationApiGetAllUserHoldingscommercialApiKeyRequest = AccountInformationApiGetAllUserHoldingsBaseRequest & {
|
|
7659
|
-
readonly userId: string;
|
|
7660
|
-
readonly userSecret: string;
|
|
7661
|
-
};
|
|
7662
|
-
type AccountInformationApiGetAllUserHoldingspersonalApiKeyRequest = AccountInformationApiGetAllUserHoldingsBaseRequest & {
|
|
7663
|
-
readonly userId?: never;
|
|
7664
|
-
readonly userSecret?: never;
|
|
7665
|
-
};
|
|
7666
|
-
type AccountInformationApiGetAllUserHoldingsRequestByAuthMode = {
|
|
7667
|
-
"commercialApiKey": AccountInformationApiGetAllUserHoldingscommercialApiKeyRequest;
|
|
7668
|
-
"personalApiKey": AccountInformationApiGetAllUserHoldingspersonalApiKeyRequest;
|
|
7669
|
-
};
|
|
7670
|
-
type AccountInformationApiGetAllUserHoldingsRequest<TAuth extends AuthMode> = AccountInformationApiGetAllUserHoldingsRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetAllUserHoldingsRequestByAuthMode];
|
|
7671
7581
|
/**
|
|
7672
7582
|
* Request parameters for getUserAccountBalance operation in AccountInformationApi.
|
|
7673
7583
|
* @export
|
|
@@ -7780,31 +7690,6 @@ type AccountInformationApiGetUserAccountOrdersRequestByAuthMode = {
|
|
|
7780
7690
|
"personalApiKey": AccountInformationApiGetUserAccountOrderspersonalApiKeyRequest;
|
|
7781
7691
|
};
|
|
7782
7692
|
type AccountInformationApiGetUserAccountOrdersRequest<TAuth extends AuthMode> = AccountInformationApiGetUserAccountOrdersRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetUserAccountOrdersRequestByAuthMode];
|
|
7783
|
-
/**
|
|
7784
|
-
* Request parameters for getUserAccountPositions operation in AccountInformationApi.
|
|
7785
|
-
* @export
|
|
7786
|
-
*/
|
|
7787
|
-
type AccountInformationApiGetUserAccountPositionsBaseRequest = {
|
|
7788
|
-
/**
|
|
7789
|
-
*
|
|
7790
|
-
* @type {string}
|
|
7791
|
-
* @memberof AccountInformationApiGetUserAccountPositions
|
|
7792
|
-
*/
|
|
7793
|
-
readonly accountId: string;
|
|
7794
|
-
};
|
|
7795
|
-
type AccountInformationApiGetUserAccountPositionscommercialApiKeyRequest = AccountInformationApiGetUserAccountPositionsBaseRequest & {
|
|
7796
|
-
readonly userId: string;
|
|
7797
|
-
readonly userSecret: string;
|
|
7798
|
-
};
|
|
7799
|
-
type AccountInformationApiGetUserAccountPositionspersonalApiKeyRequest = AccountInformationApiGetUserAccountPositionsBaseRequest & {
|
|
7800
|
-
readonly userId?: never;
|
|
7801
|
-
readonly userSecret?: never;
|
|
7802
|
-
};
|
|
7803
|
-
type AccountInformationApiGetUserAccountPositionsRequestByAuthMode = {
|
|
7804
|
-
"commercialApiKey": AccountInformationApiGetUserAccountPositionscommercialApiKeyRequest;
|
|
7805
|
-
"personalApiKey": AccountInformationApiGetUserAccountPositionspersonalApiKeyRequest;
|
|
7806
|
-
};
|
|
7807
|
-
type AccountInformationApiGetUserAccountPositionsRequest<TAuth extends AuthMode> = AccountInformationApiGetUserAccountPositionsRequestByAuthMode[TAuth["mode"] & keyof AccountInformationApiGetUserAccountPositionsRequestByAuthMode];
|
|
7808
7693
|
/**
|
|
7809
7694
|
* Request parameters for getUserAccountRecentOrders operation in AccountInformationApi.
|
|
7810
7695
|
* @export
|
|
@@ -7969,16 +7854,6 @@ declare class AccountInformationApiGenerated<TAuth extends AuthMode> extends Bas
|
|
|
7969
7854
|
* @memberof AccountInformationApiGenerated
|
|
7970
7855
|
*/
|
|
7971
7856
|
getAllAccountPositions(requestParameters: AccountInformationApiGetAllAccountPositionsRequest<TAuth>, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<AllAccountPositionsResponse, any, {}>>;
|
|
7972
|
-
/**
|
|
7973
|
-
* **Deprecated.** Use the account-specific holdings endpoint instead. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. List all accounts for the user, plus balances, positions, and orders for each account.
|
|
7974
|
-
* @summary List all accounts for the user, plus balances, positions, and orders for each account.
|
|
7975
|
-
* @param {AccountInformationApiGetAllUserHoldingsRequest<TAuth>} requestParameters Request parameters.
|
|
7976
|
-
* @param {*} [options] Override http request option.
|
|
7977
|
-
* @deprecated
|
|
7978
|
-
* @throws {RequiredError}
|
|
7979
|
-
* @memberof AccountInformationApiGenerated
|
|
7980
|
-
*/
|
|
7981
|
-
getAllUserHoldings(requestParameters?: AccountInformationApiGetAllUserHoldingsRequest<TAuth>, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<AccountHoldings[], any, {}>>;
|
|
7982
7857
|
/**
|
|
7983
7858
|
* Returns a list of balances for the account. Each element of the list has a distinct currency. Some brokerages like Questrade [allows holding multiple currencies in the same account](https://www.questrade.com/learning/questrade-basics/balances-and-reports/understanding-your-account-balances). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
7984
7859
|
* @summary List account balances
|
|
@@ -8015,16 +7890,6 @@ declare class AccountInformationApiGenerated<TAuth extends AuthMode> extends Bas
|
|
|
8015
7890
|
* @memberof AccountInformationApiGenerated
|
|
8016
7891
|
*/
|
|
8017
7892
|
getUserAccountOrders(requestParameters: AccountInformationApiGetUserAccountOrdersRequest<TAuth>, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<AccountOrderRecord[], any, {}>>;
|
|
8018
|
-
/**
|
|
8019
|
-
* **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
8020
|
-
* @summary List account positions
|
|
8021
|
-
* @param {AccountInformationApiGetUserAccountPositionsRequest<TAuth>} requestParameters Request parameters.
|
|
8022
|
-
* @param {*} [options] Override http request option.
|
|
8023
|
-
* @deprecated
|
|
8024
|
-
* @throws {RequiredError}
|
|
8025
|
-
* @memberof AccountInformationApiGenerated
|
|
8026
|
-
*/
|
|
8027
|
-
getUserAccountPositions(requestParameters: AccountInformationApiGetUserAccountPositionsRequest<TAuth>, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<Position[], any, {}>>;
|
|
8028
7893
|
/**
|
|
8029
7894
|
* A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is always realtime, and only checks the last 24 hours By default only returns executed orders, but that can be changed by setting *only_executed* to false
|
|
8030
7895
|
* @summary List account recent orders (last 24 hours only)
|
|
@@ -8379,6 +8244,8 @@ declare class AuthenticationApiGenerated<TAuth extends AuthMode> extends BaseAPI
|
|
|
8379
8244
|
//#endregion
|
|
8380
8245
|
//#region api/authentication-api.d.ts
|
|
8381
8246
|
declare class AuthenticationApi<TAuth extends AuthMode> extends AuthenticationApiGenerated<TAuth> {}
|
|
8247
|
+
//#endregion
|
|
8248
|
+
//#region api/connections-api-generated.d.ts
|
|
8382
8249
|
/**
|
|
8383
8250
|
* ConnectionsApi - axios parameter creator
|
|
8384
8251
|
* @export
|
|
@@ -8443,16 +8310,6 @@ declare const ConnectionsApiAxiosParamCreator: (configuration?: Configuration<Au
|
|
|
8443
8310
|
* @throws {RequiredError}
|
|
8444
8311
|
*/
|
|
8445
8312
|
refreshBrokerageAuthorization: (authorizationId: string, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8446
|
-
/**
|
|
8447
|
-
* Deletes the SnapTrade connection specified by the ID. This will also remove the accounts and holdings data associated with the connection from SnapTrade. This action is irreversible. This endpoint is synchronous, a 204 response indicates that the data has been successfully deleted.
|
|
8448
|
-
* @summary Delete connection
|
|
8449
|
-
* @param {string} authorizationId
|
|
8450
|
-
* @param {string} [userId]
|
|
8451
|
-
* @param {string} [userSecret]
|
|
8452
|
-
* @param {*} [options] Override http request option.
|
|
8453
|
-
* @throws {RequiredError}
|
|
8454
|
-
*/
|
|
8455
|
-
removeBrokerageAuthorization: (authorizationId: string, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8456
8313
|
/**
|
|
8457
8314
|
* Returns a list of rate of return percents for a given connection.
|
|
8458
8315
|
* @summary List connection rate of returns
|
|
@@ -8464,16 +8321,6 @@ declare const ConnectionsApiAxiosParamCreator: (configuration?: Configuration<Au
|
|
|
8464
8321
|
* @throws {RequiredError}
|
|
8465
8322
|
*/
|
|
8466
8323
|
returnRates: (authorizationId: string, timeframes?: string, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8467
|
-
/**
|
|
8468
|
-
* Returns a list of session events associated with a user.
|
|
8469
|
-
* @summary Get all session events for a user
|
|
8470
|
-
* @param {string} partnerClientId
|
|
8471
|
-
* @param {string} [userId] Optional comma separated list of user IDs used to filter the request on specific users
|
|
8472
|
-
* @param {string} [sessionId] Optional comma separated list of session IDs used to filter the request on specific users
|
|
8473
|
-
* @param {*} [options] Override http request option.
|
|
8474
|
-
* @throws {RequiredError}
|
|
8475
|
-
*/
|
|
8476
|
-
sessionEvents: (partnerClientId: string, userId?: string, sessionId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8477
8324
|
/**
|
|
8478
8325
|
* Trigger a transactions sync for all accounts under this connection. Updates will be queued asynchronously. Transactions are not updated intra-day, but calling this endpoint can ensure that the previous day\'s transactions have been synced. For more information on sync behaviour, see: https://docs.snaptrade.com/docs/syncing
|
|
8479
8326
|
* @summary Sync transactions for a connection
|
|
@@ -8538,14 +8385,6 @@ declare const ConnectionsApiFp: <TAuth extends AuthMode>(configuration?: Configu
|
|
|
8538
8385
|
* @throws {RequiredError}
|
|
8539
8386
|
*/
|
|
8540
8387
|
refreshBrokerageAuthorization(requestParameters: ConnectionsApiRefreshBrokerageAuthorizationRequest<TAuth>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BrokerageAuthorizationRefreshConfirmation>>;
|
|
8541
|
-
/**
|
|
8542
|
-
* Deletes the SnapTrade connection specified by the ID. This will also remove the accounts and holdings data associated with the connection from SnapTrade. This action is irreversible. This endpoint is synchronous, a 204 response indicates that the data has been successfully deleted.
|
|
8543
|
-
* @summary Delete connection
|
|
8544
|
-
* @param {ConnectionsApiRemoveBrokerageAuthorizationRequest<TAuth>} requestParameters Request parameters.
|
|
8545
|
-
* @param {*} [options] Override http request option.
|
|
8546
|
-
* @throws {RequiredError}
|
|
8547
|
-
*/
|
|
8548
|
-
removeBrokerageAuthorization(requestParameters: ConnectionsApiRemoveBrokerageAuthorizationRequest<TAuth>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
8549
8388
|
/**
|
|
8550
8389
|
* Returns a list of rate of return percents for a given connection.
|
|
8551
8390
|
* @summary List connection rate of returns
|
|
@@ -8554,14 +8393,6 @@ declare const ConnectionsApiFp: <TAuth extends AuthMode>(configuration?: Configu
|
|
|
8554
8393
|
* @throws {RequiredError}
|
|
8555
8394
|
*/
|
|
8556
8395
|
returnRates(requestParameters: ConnectionsApiReturnRatesRequest<TAuth>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RateOfReturnResponse>>;
|
|
8557
|
-
/**
|
|
8558
|
-
* Returns a list of session events associated with a user.
|
|
8559
|
-
* @summary Get all session events for a user
|
|
8560
|
-
* @param {ConnectionsApiSessionEventsRequest<TAuth>} requestParameters Request parameters.
|
|
8561
|
-
* @param {*} [options] Override http request option.
|
|
8562
|
-
* @throws {RequiredError}
|
|
8563
|
-
*/
|
|
8564
|
-
sessionEvents(requestParameters: ConnectionsApiSessionEventsRequest<TAuth>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ConnectionsSessionEvents200ResponseInner>>>;
|
|
8565
8396
|
/**
|
|
8566
8397
|
* Trigger a transactions sync for all accounts under this connection. Updates will be queued asynchronously. Transactions are not updated intra-day, but calling this endpoint can ensure that the previous day\'s transactions have been synced. For more information on sync behaviour, see: https://docs.snaptrade.com/docs/syncing
|
|
8567
8398
|
* @summary Sync transactions for a connection
|
|
@@ -8624,14 +8455,6 @@ declare const ConnectionsApiFactory: <TAuth extends AuthMode>(configuration?: Co
|
|
|
8624
8455
|
* @throws {RequiredError}
|
|
8625
8456
|
*/
|
|
8626
8457
|
refreshBrokerageAuthorization(requestParameters: ConnectionsApiRefreshBrokerageAuthorizationRequest<TAuth>, options?: AxiosRequestConfig): AxiosPromise<BrokerageAuthorizationRefreshConfirmation>;
|
|
8627
|
-
/**
|
|
8628
|
-
* Deletes the SnapTrade connection specified by the ID. This will also remove the accounts and holdings data associated with the connection from SnapTrade. This action is irreversible. This endpoint is synchronous, a 204 response indicates that the data has been successfully deleted.
|
|
8629
|
-
* @summary Delete connection
|
|
8630
|
-
* @param {ConnectionsApiRemoveBrokerageAuthorizationRequest<TAuth>} requestParameters Request parameters.
|
|
8631
|
-
* @param {*} [options] Override http request option.
|
|
8632
|
-
* @throws {RequiredError}
|
|
8633
|
-
*/
|
|
8634
|
-
removeBrokerageAuthorization(requestParameters: ConnectionsApiRemoveBrokerageAuthorizationRequest<TAuth>, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
8635
8458
|
/**
|
|
8636
8459
|
* Returns a list of rate of return percents for a given connection.
|
|
8637
8460
|
* @summary List connection rate of returns
|
|
@@ -8640,14 +8463,6 @@ declare const ConnectionsApiFactory: <TAuth extends AuthMode>(configuration?: Co
|
|
|
8640
8463
|
* @throws {RequiredError}
|
|
8641
8464
|
*/
|
|
8642
8465
|
returnRates(requestParameters: ConnectionsApiReturnRatesRequest<TAuth>, options?: AxiosRequestConfig): AxiosPromise<RateOfReturnResponse>;
|
|
8643
|
-
/**
|
|
8644
|
-
* Returns a list of session events associated with a user.
|
|
8645
|
-
* @summary Get all session events for a user
|
|
8646
|
-
* @param {ConnectionsApiSessionEventsRequest<TAuth>} requestParameters Request parameters.
|
|
8647
|
-
* @param {*} [options] Override http request option.
|
|
8648
|
-
* @throws {RequiredError}
|
|
8649
|
-
*/
|
|
8650
|
-
sessionEvents(requestParameters: ConnectionsApiSessionEventsRequest<TAuth>, options?: AxiosRequestConfig): AxiosPromise<Array<ConnectionsSessionEvents200ResponseInner>>;
|
|
8651
8466
|
/**
|
|
8652
8467
|
* Trigger a transactions sync for all accounts under this connection. Updates will be queued asynchronously. Transactions are not updated intra-day, but calling this endpoint can ensure that the previous day\'s transactions have been synced. For more information on sync behaviour, see: https://docs.snaptrade.com/docs/syncing
|
|
8653
8468
|
* @summary Sync transactions for a connection
|
|
@@ -8800,31 +8615,6 @@ type ConnectionsApiRefreshBrokerageAuthorizationRequestByAuthMode = {
|
|
|
8800
8615
|
"personalApiKey": ConnectionsApiRefreshBrokerageAuthorizationpersonalApiKeyRequest;
|
|
8801
8616
|
};
|
|
8802
8617
|
type ConnectionsApiRefreshBrokerageAuthorizationRequest<TAuth extends AuthMode> = ConnectionsApiRefreshBrokerageAuthorizationRequestByAuthMode[TAuth["mode"] & keyof ConnectionsApiRefreshBrokerageAuthorizationRequestByAuthMode];
|
|
8803
|
-
/**
|
|
8804
|
-
* Request parameters for removeBrokerageAuthorization operation in ConnectionsApi.
|
|
8805
|
-
* @export
|
|
8806
|
-
*/
|
|
8807
|
-
type ConnectionsApiRemoveBrokerageAuthorizationBaseRequest = {
|
|
8808
|
-
/**
|
|
8809
|
-
*
|
|
8810
|
-
* @type {string}
|
|
8811
|
-
* @memberof ConnectionsApiRemoveBrokerageAuthorization
|
|
8812
|
-
*/
|
|
8813
|
-
readonly authorizationId: string;
|
|
8814
|
-
};
|
|
8815
|
-
type ConnectionsApiRemoveBrokerageAuthorizationcommercialApiKeyRequest = ConnectionsApiRemoveBrokerageAuthorizationBaseRequest & {
|
|
8816
|
-
readonly userId: string;
|
|
8817
|
-
readonly userSecret: string;
|
|
8818
|
-
};
|
|
8819
|
-
type ConnectionsApiRemoveBrokerageAuthorizationpersonalApiKeyRequest = ConnectionsApiRemoveBrokerageAuthorizationBaseRequest & {
|
|
8820
|
-
readonly userId?: never;
|
|
8821
|
-
readonly userSecret?: never;
|
|
8822
|
-
};
|
|
8823
|
-
type ConnectionsApiRemoveBrokerageAuthorizationRequestByAuthMode = {
|
|
8824
|
-
"commercialApiKey": ConnectionsApiRemoveBrokerageAuthorizationcommercialApiKeyRequest;
|
|
8825
|
-
"personalApiKey": ConnectionsApiRemoveBrokerageAuthorizationpersonalApiKeyRequest;
|
|
8826
|
-
};
|
|
8827
|
-
type ConnectionsApiRemoveBrokerageAuthorizationRequest<TAuth extends AuthMode> = ConnectionsApiRemoveBrokerageAuthorizationRequestByAuthMode[TAuth["mode"] & keyof ConnectionsApiRemoveBrokerageAuthorizationRequestByAuthMode];
|
|
8828
8618
|
/**
|
|
8829
8619
|
* Request parameters for returnRates operation in ConnectionsApi.
|
|
8830
8620
|
* @export
|
|
@@ -8856,37 +8646,6 @@ type ConnectionsApiReturnRatesRequestByAuthMode = {
|
|
|
8856
8646
|
"personalApiKey": ConnectionsApiReturnRatespersonalApiKeyRequest;
|
|
8857
8647
|
};
|
|
8858
8648
|
type ConnectionsApiReturnRatesRequest<TAuth extends AuthMode> = ConnectionsApiReturnRatesRequestByAuthMode[TAuth["mode"] & keyof ConnectionsApiReturnRatesRequestByAuthMode];
|
|
8859
|
-
/**
|
|
8860
|
-
* Request parameters for sessionEvents operation in ConnectionsApi.
|
|
8861
|
-
* @export
|
|
8862
|
-
*/
|
|
8863
|
-
type ConnectionsApiSessionEventsBaseRequest = {
|
|
8864
|
-
/**
|
|
8865
|
-
*
|
|
8866
|
-
* @type {string}
|
|
8867
|
-
* @memberof ConnectionsApiSessionEvents
|
|
8868
|
-
*/
|
|
8869
|
-
readonly partnerClientId: string;
|
|
8870
|
-
/**
|
|
8871
|
-
* Optional comma separated list of user IDs used to filter the request on specific users
|
|
8872
|
-
* @type {string}
|
|
8873
|
-
* @memberof ConnectionsApiSessionEvents
|
|
8874
|
-
*/
|
|
8875
|
-
readonly userId?: string;
|
|
8876
|
-
/**
|
|
8877
|
-
* Optional comma separated list of session IDs used to filter the request on specific users
|
|
8878
|
-
* @type {string}
|
|
8879
|
-
* @memberof ConnectionsApiSessionEvents
|
|
8880
|
-
*/
|
|
8881
|
-
readonly sessionId?: string;
|
|
8882
|
-
};
|
|
8883
|
-
type ConnectionsApiSessionEventscommercialApiKeyRequest = ConnectionsApiSessionEventsBaseRequest & {};
|
|
8884
|
-
type ConnectionsApiSessionEventspersonalApiKeyRequest = ConnectionsApiSessionEventsBaseRequest & {};
|
|
8885
|
-
type ConnectionsApiSessionEventsRequestByAuthMode = {
|
|
8886
|
-
"commercialApiKey": ConnectionsApiSessionEventscommercialApiKeyRequest;
|
|
8887
|
-
"personalApiKey": ConnectionsApiSessionEventspersonalApiKeyRequest;
|
|
8888
|
-
};
|
|
8889
|
-
type ConnectionsApiSessionEventsRequest<TAuth extends AuthMode> = ConnectionsApiSessionEventsRequestByAuthMode[TAuth["mode"] & keyof ConnectionsApiSessionEventsRequestByAuthMode];
|
|
8890
8649
|
/**
|
|
8891
8650
|
* Request parameters for syncBrokerageAuthorizationTransactions operation in ConnectionsApi.
|
|
8892
8651
|
* @export
|
|
@@ -8973,15 +8732,6 @@ declare class ConnectionsApiGenerated<TAuth extends AuthMode> extends BaseAPI<TA
|
|
|
8973
8732
|
* @memberof ConnectionsApiGenerated
|
|
8974
8733
|
*/
|
|
8975
8734
|
refreshBrokerageAuthorization(requestParameters: ConnectionsApiRefreshBrokerageAuthorizationRequest<TAuth>, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<BrokerageAuthorizationRefreshConfirmation, any, {}>>;
|
|
8976
|
-
/**
|
|
8977
|
-
* Deletes the SnapTrade connection specified by the ID. This will also remove the accounts and holdings data associated with the connection from SnapTrade. This action is irreversible. This endpoint is synchronous, a 204 response indicates that the data has been successfully deleted.
|
|
8978
|
-
* @summary Delete connection
|
|
8979
|
-
* @param {ConnectionsApiRemoveBrokerageAuthorizationRequest<TAuth>} requestParameters Request parameters.
|
|
8980
|
-
* @param {*} [options] Override http request option.
|
|
8981
|
-
* @throws {RequiredError}
|
|
8982
|
-
* @memberof ConnectionsApiGenerated
|
|
8983
|
-
*/
|
|
8984
|
-
removeBrokerageAuthorization(requestParameters: ConnectionsApiRemoveBrokerageAuthorizationRequest<TAuth>, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<void, any, {}>>;
|
|
8985
8735
|
/**
|
|
8986
8736
|
* Returns a list of rate of return percents for a given connection.
|
|
8987
8737
|
* @summary List connection rate of returns
|
|
@@ -8991,15 +8741,6 @@ declare class ConnectionsApiGenerated<TAuth extends AuthMode> extends BaseAPI<TA
|
|
|
8991
8741
|
* @memberof ConnectionsApiGenerated
|
|
8992
8742
|
*/
|
|
8993
8743
|
returnRates(requestParameters: ConnectionsApiReturnRatesRequest<TAuth>, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<RateOfReturnResponse, any, {}>>;
|
|
8994
|
-
/**
|
|
8995
|
-
* Returns a list of session events associated with a user.
|
|
8996
|
-
* @summary Get all session events for a user
|
|
8997
|
-
* @param {ConnectionsApiSessionEventsRequest<TAuth>} requestParameters Request parameters.
|
|
8998
|
-
* @param {*} [options] Override http request option.
|
|
8999
|
-
* @throws {RequiredError}
|
|
9000
|
-
* @memberof ConnectionsApiGenerated
|
|
9001
|
-
*/
|
|
9002
|
-
sessionEvents(requestParameters: ConnectionsApiSessionEventsRequest<TAuth>, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<import_dist.SessionEvent[], any, {}>>;
|
|
9003
8744
|
/**
|
|
9004
8745
|
* Trigger a transactions sync for all accounts under this connection. Updates will be queued asynchronously. Transactions are not updated intra-day, but calling this endpoint can ensure that the previous day\'s transactions have been synced. For more information on sync behaviour, see: https://docs.snaptrade.com/docs/syncing
|
|
9005
8746
|
* @summary Sync transactions for a connection
|
|
@@ -9440,115 +9181,12 @@ declare class ExperimentalEndpointsApiGenerated<TAuth extends AuthMode> extends
|
|
|
9440
9181
|
//#region api/experimental-endpoints-api.d.ts
|
|
9441
9182
|
declare class ExperimentalEndpointsApi<TAuth extends AuthMode> extends ExperimentalEndpointsApiGenerated<TAuth> {}
|
|
9442
9183
|
//#endregion
|
|
9443
|
-
//#region api/options-api-generated.d.ts
|
|
9444
|
-
/**
|
|
9445
|
-
* OptionsApi - axios parameter creator
|
|
9446
|
-
* @export
|
|
9447
|
-
*/
|
|
9448
|
-
declare const OptionsApiAxiosParamCreator: (configuration?: Configuration<AuthMode>) => {
|
|
9449
|
-
/**
|
|
9450
|
-
* **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
|
|
9451
|
-
* @summary List account option positions
|
|
9452
|
-
* @param {string} accountId
|
|
9453
|
-
* @param {string} [userId]
|
|
9454
|
-
* @param {string} [userSecret]
|
|
9455
|
-
* @param {*} [options] Override http request option.
|
|
9456
|
-
* @deprecated
|
|
9457
|
-
* @throws {RequiredError}
|
|
9458
|
-
*/
|
|
9459
|
-
listOptionHoldings: (accountId: string, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9460
|
-
};
|
|
9461
|
-
/**
|
|
9462
|
-
* OptionsApi - functional programming interface
|
|
9463
|
-
* @export
|
|
9464
|
-
*/
|
|
9465
|
-
declare const OptionsApiFp: <TAuth extends AuthMode>(configuration?: Configuration<TAuth>) => {
|
|
9466
|
-
/**
|
|
9467
|
-
* **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
|
|
9468
|
-
* @summary List account option positions
|
|
9469
|
-
* @param {OptionsApiListOptionHoldingsRequest<TAuth>} requestParameters Request parameters.
|
|
9470
|
-
* @param {*} [options] Override http request option.
|
|
9471
|
-
* @deprecated
|
|
9472
|
-
* @throws {RequiredError}
|
|
9473
|
-
*/
|
|
9474
|
-
listOptionHoldings(requestParameters: OptionsApiListOptionHoldingsRequest<TAuth>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OptionsPosition>>>;
|
|
9475
|
-
};
|
|
9476
|
-
/**
|
|
9477
|
-
* OptionsApi - factory interface
|
|
9478
|
-
* @export
|
|
9479
|
-
*/
|
|
9480
|
-
declare const OptionsApiFactory: <TAuth extends AuthMode>(configuration?: Configuration<TAuth>, basePath?: string, axios?: AxiosInstance) => {
|
|
9481
|
-
/**
|
|
9482
|
-
* **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
|
|
9483
|
-
* @summary List account option positions
|
|
9484
|
-
* @param {OptionsApiListOptionHoldingsRequest<TAuth>} requestParameters Request parameters.
|
|
9485
|
-
* @param {*} [options] Override http request option.
|
|
9486
|
-
* @deprecated
|
|
9487
|
-
* @throws {RequiredError}
|
|
9488
|
-
*/
|
|
9489
|
-
listOptionHoldings(requestParameters: OptionsApiListOptionHoldingsRequest<TAuth>, options?: AxiosRequestConfig): AxiosPromise<Array<OptionsPosition>>;
|
|
9490
|
-
};
|
|
9491
|
-
/**
|
|
9492
|
-
* Request parameters for listOptionHoldings operation in OptionsApi.
|
|
9493
|
-
* @export
|
|
9494
|
-
*/
|
|
9495
|
-
type OptionsApiListOptionHoldingsBaseRequest = {
|
|
9496
|
-
/**
|
|
9497
|
-
*
|
|
9498
|
-
* @type {string}
|
|
9499
|
-
* @memberof OptionsApiListOptionHoldings
|
|
9500
|
-
*/
|
|
9501
|
-
readonly accountId: string;
|
|
9502
|
-
};
|
|
9503
|
-
type OptionsApiListOptionHoldingscommercialApiKeyRequest = OptionsApiListOptionHoldingsBaseRequest & {
|
|
9504
|
-
readonly userId: string;
|
|
9505
|
-
readonly userSecret: string;
|
|
9506
|
-
};
|
|
9507
|
-
type OptionsApiListOptionHoldingspersonalApiKeyRequest = OptionsApiListOptionHoldingsBaseRequest & {
|
|
9508
|
-
readonly userId?: never;
|
|
9509
|
-
readonly userSecret?: never;
|
|
9510
|
-
};
|
|
9511
|
-
type OptionsApiListOptionHoldingsRequestByAuthMode = {
|
|
9512
|
-
"commercialApiKey": OptionsApiListOptionHoldingscommercialApiKeyRequest;
|
|
9513
|
-
"personalApiKey": OptionsApiListOptionHoldingspersonalApiKeyRequest;
|
|
9514
|
-
};
|
|
9515
|
-
type OptionsApiListOptionHoldingsRequest<TAuth extends AuthMode> = OptionsApiListOptionHoldingsRequestByAuthMode[TAuth["mode"] & keyof OptionsApiListOptionHoldingsRequestByAuthMode];
|
|
9516
|
-
/**
|
|
9517
|
-
* OptionsApiGenerated - object-oriented interface
|
|
9518
|
-
* @export
|
|
9519
|
-
* @class OptionsApiGenerated
|
|
9520
|
-
* @extends {BaseAPI}
|
|
9521
|
-
*/
|
|
9522
|
-
declare class OptionsApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth> {
|
|
9523
|
-
/**
|
|
9524
|
-
* **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don\'t, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
|
|
9525
|
-
* @summary List account option positions
|
|
9526
|
-
* @param {OptionsApiListOptionHoldingsRequest<TAuth>} requestParameters Request parameters.
|
|
9527
|
-
* @param {*} [options] Override http request option.
|
|
9528
|
-
* @deprecated
|
|
9529
|
-
* @throws {RequiredError}
|
|
9530
|
-
* @memberof OptionsApiGenerated
|
|
9531
|
-
*/
|
|
9532
|
-
listOptionHoldings(requestParameters: OptionsApiListOptionHoldingsRequest<TAuth>, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<OptionsPosition[], any, {}>>;
|
|
9533
|
-
}
|
|
9534
|
-
//#endregion
|
|
9535
|
-
//#region api/options-api.d.ts
|
|
9536
|
-
declare class OptionsApi<TAuth extends AuthMode> extends OptionsApiGenerated<TAuth> {}
|
|
9537
|
-
//#endregion
|
|
9538
9184
|
//#region api/reference-data-api-generated.d.ts
|
|
9539
9185
|
/**
|
|
9540
9186
|
* ReferenceDataApi - axios parameter creator
|
|
9541
9187
|
* @export
|
|
9542
9188
|
*/
|
|
9543
9189
|
declare const ReferenceDataApiAxiosParamCreator: (configuration?: Configuration<AuthMode>) => {
|
|
9544
|
-
/**
|
|
9545
|
-
* Returns an Exchange Rate Pair object for the specified Currency Pair.
|
|
9546
|
-
* @summary Get exchange rate of a currency pair
|
|
9547
|
-
* @param {string} currencyPair A currency pair based on currency code for example, {CAD-USD}
|
|
9548
|
-
* @param {*} [options] Override http request option.
|
|
9549
|
-
* @throws {RequiredError}
|
|
9550
|
-
*/
|
|
9551
|
-
getCurrencyExchangeRatePair: (currencyPair: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9552
9190
|
/**
|
|
9553
9191
|
* Returns configurations for your SnapTrade Client ID, including allowed brokerages and data access.
|
|
9554
9192
|
* @summary Get Client Info
|
|
@@ -9556,13 +9194,6 @@ declare const ReferenceDataApiAxiosParamCreator: (configuration?: Configuration<
|
|
|
9556
9194
|
* @throws {RequiredError}
|
|
9557
9195
|
*/
|
|
9558
9196
|
getPartnerInfo: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9559
|
-
/**
|
|
9560
|
-
* Return all available security types supported by SnapTrade.
|
|
9561
|
-
* @summary List security types
|
|
9562
|
-
* @param {*} [options] Override http request option.
|
|
9563
|
-
* @throws {RequiredError}
|
|
9564
|
-
*/
|
|
9565
|
-
getSecurityTypes: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9566
9197
|
/**
|
|
9567
9198
|
* Returns a list of all supported Exchanges.
|
|
9568
9199
|
* @summary Get exchanges
|
|
@@ -9609,20 +9240,6 @@ declare const ReferenceDataApiAxiosParamCreator: (configuration?: Configuration<
|
|
|
9609
9240
|
* @throws {RequiredError}
|
|
9610
9241
|
*/
|
|
9611
9242
|
listAllBrokerages: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9612
|
-
/**
|
|
9613
|
-
* Returns a list of all defined Currency objects.
|
|
9614
|
-
* @summary Get currencies
|
|
9615
|
-
* @param {*} [options] Override http request option.
|
|
9616
|
-
* @throws {RequiredError}
|
|
9617
|
-
*/
|
|
9618
|
-
listAllCurrencies: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9619
|
-
/**
|
|
9620
|
-
* Returns a list of all Exchange Rate Pairs for all supported Currencies.
|
|
9621
|
-
* @summary Get currency exchange rates
|
|
9622
|
-
* @param {*} [options] Override http request option.
|
|
9623
|
-
* @throws {RequiredError}
|
|
9624
|
-
*/
|
|
9625
|
-
listAllCurrenciesRates: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9626
9243
|
/**
|
|
9627
9244
|
* Returns a list of Universal Symbol objects that match the given query. The matching takes into consideration both the ticker and the name of the symbol. Only the first 20 results are returned. The search results are further limited to the symbols supported by the brokerage for which the account is under.
|
|
9628
9245
|
* @summary Search account symbols
|
|
@@ -9640,14 +9257,6 @@ declare const ReferenceDataApiAxiosParamCreator: (configuration?: Configuration<
|
|
|
9640
9257
|
* @export
|
|
9641
9258
|
*/
|
|
9642
9259
|
declare const ReferenceDataApiFp: <TAuth extends AuthMode>(configuration?: Configuration<TAuth>) => {
|
|
9643
|
-
/**
|
|
9644
|
-
* Returns an Exchange Rate Pair object for the specified Currency Pair.
|
|
9645
|
-
* @summary Get exchange rate of a currency pair
|
|
9646
|
-
* @param {ReferenceDataApiGetCurrencyExchangeRatePairRequest<TAuth>} requestParameters Request parameters.
|
|
9647
|
-
* @param {*} [options] Override http request option.
|
|
9648
|
-
* @throws {RequiredError}
|
|
9649
|
-
*/
|
|
9650
|
-
getCurrencyExchangeRatePair(requestParameters: ReferenceDataApiGetCurrencyExchangeRatePairRequest<TAuth>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExchangeRatePairs>>;
|
|
9651
9260
|
/**
|
|
9652
9261
|
* Returns configurations for your SnapTrade Client ID, including allowed brokerages and data access.
|
|
9653
9262
|
* @summary Get Client Info
|
|
@@ -9655,13 +9264,6 @@ declare const ReferenceDataApiFp: <TAuth extends AuthMode>(configuration?: Confi
|
|
|
9655
9264
|
* @throws {RequiredError}
|
|
9656
9265
|
*/
|
|
9657
9266
|
getPartnerInfo(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerData>>;
|
|
9658
|
-
/**
|
|
9659
|
-
* Return all available security types supported by SnapTrade.
|
|
9660
|
-
* @summary List security types
|
|
9661
|
-
* @param {*} [options] Override http request option.
|
|
9662
|
-
* @throws {RequiredError}
|
|
9663
|
-
*/
|
|
9664
|
-
getSecurityTypes(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SecurityType>>>;
|
|
9665
9267
|
/**
|
|
9666
9268
|
* Returns a list of all supported Exchanges.
|
|
9667
9269
|
* @summary Get exchanges
|
|
@@ -9708,20 +9310,6 @@ declare const ReferenceDataApiFp: <TAuth extends AuthMode>(configuration?: Confi
|
|
|
9708
9310
|
* @throws {RequiredError}
|
|
9709
9311
|
*/
|
|
9710
9312
|
listAllBrokerages(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Brokerage>>>;
|
|
9711
|
-
/**
|
|
9712
|
-
* Returns a list of all defined Currency objects.
|
|
9713
|
-
* @summary Get currencies
|
|
9714
|
-
* @param {*} [options] Override http request option.
|
|
9715
|
-
* @throws {RequiredError}
|
|
9716
|
-
*/
|
|
9717
|
-
listAllCurrencies(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Currency>>>;
|
|
9718
|
-
/**
|
|
9719
|
-
* Returns a list of all Exchange Rate Pairs for all supported Currencies.
|
|
9720
|
-
* @summary Get currency exchange rates
|
|
9721
|
-
* @param {*} [options] Override http request option.
|
|
9722
|
-
* @throws {RequiredError}
|
|
9723
|
-
*/
|
|
9724
|
-
listAllCurrenciesRates(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ExchangeRatePairs>>>;
|
|
9725
9313
|
/**
|
|
9726
9314
|
* Returns a list of Universal Symbol objects that match the given query. The matching takes into consideration both the ticker and the name of the symbol. Only the first 20 results are returned. The search results are further limited to the symbols supported by the brokerage for which the account is under.
|
|
9727
9315
|
* @summary Search account symbols
|
|
@@ -9736,14 +9324,6 @@ declare const ReferenceDataApiFp: <TAuth extends AuthMode>(configuration?: Confi
|
|
|
9736
9324
|
* @export
|
|
9737
9325
|
*/
|
|
9738
9326
|
declare const ReferenceDataApiFactory: <TAuth extends AuthMode>(configuration?: Configuration<TAuth>, basePath?: string, axios?: AxiosInstance) => {
|
|
9739
|
-
/**
|
|
9740
|
-
* Returns an Exchange Rate Pair object for the specified Currency Pair.
|
|
9741
|
-
* @summary Get exchange rate of a currency pair
|
|
9742
|
-
* @param {ReferenceDataApiGetCurrencyExchangeRatePairRequest<TAuth>} requestParameters Request parameters.
|
|
9743
|
-
* @param {*} [options] Override http request option.
|
|
9744
|
-
* @throws {RequiredError}
|
|
9745
|
-
*/
|
|
9746
|
-
getCurrencyExchangeRatePair(requestParameters: ReferenceDataApiGetCurrencyExchangeRatePairRequest<TAuth>, options?: AxiosRequestConfig): AxiosPromise<ExchangeRatePairs>;
|
|
9747
9327
|
/**
|
|
9748
9328
|
* Returns configurations for your SnapTrade Client ID, including allowed brokerages and data access.
|
|
9749
9329
|
* @summary Get Client Info
|
|
@@ -9751,13 +9331,6 @@ declare const ReferenceDataApiFactory: <TAuth extends AuthMode>(configuration?:
|
|
|
9751
9331
|
* @throws {RequiredError}
|
|
9752
9332
|
*/
|
|
9753
9333
|
getPartnerInfo(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): AxiosPromise<PartnerData>;
|
|
9754
|
-
/**
|
|
9755
|
-
* Return all available security types supported by SnapTrade.
|
|
9756
|
-
* @summary List security types
|
|
9757
|
-
* @param {*} [options] Override http request option.
|
|
9758
|
-
* @throws {RequiredError}
|
|
9759
|
-
*/
|
|
9760
|
-
getSecurityTypes(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): AxiosPromise<Array<SecurityType>>;
|
|
9761
9334
|
/**
|
|
9762
9335
|
* Returns a list of all supported Exchanges.
|
|
9763
9336
|
* @summary Get exchanges
|
|
@@ -9804,20 +9377,6 @@ declare const ReferenceDataApiFactory: <TAuth extends AuthMode>(configuration?:
|
|
|
9804
9377
|
* @throws {RequiredError}
|
|
9805
9378
|
*/
|
|
9806
9379
|
listAllBrokerages(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): AxiosPromise<Array<Brokerage>>;
|
|
9807
|
-
/**
|
|
9808
|
-
* Returns a list of all defined Currency objects.
|
|
9809
|
-
* @summary Get currencies
|
|
9810
|
-
* @param {*} [options] Override http request option.
|
|
9811
|
-
* @throws {RequiredError}
|
|
9812
|
-
*/
|
|
9813
|
-
listAllCurrencies(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): AxiosPromise<Array<Currency>>;
|
|
9814
|
-
/**
|
|
9815
|
-
* Returns a list of all Exchange Rate Pairs for all supported Currencies.
|
|
9816
|
-
* @summary Get currency exchange rates
|
|
9817
|
-
* @param {*} [options] Override http request option.
|
|
9818
|
-
* @throws {RequiredError}
|
|
9819
|
-
*/
|
|
9820
|
-
listAllCurrenciesRates(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): AxiosPromise<Array<ExchangeRatePairs>>;
|
|
9821
9380
|
/**
|
|
9822
9381
|
* Returns a list of Universal Symbol objects that match the given query. The matching takes into consideration both the ticker and the name of the symbol. Only the first 20 results are returned. The search results are further limited to the symbols supported by the brokerage for which the account is under.
|
|
9823
9382
|
* @summary Search account symbols
|
|
@@ -9827,25 +9386,6 @@ declare const ReferenceDataApiFactory: <TAuth extends AuthMode>(configuration?:
|
|
|
9827
9386
|
*/
|
|
9828
9387
|
symbolSearchUserAccount(requestParameters: ReferenceDataApiSymbolSearchUserAccountRequest<TAuth>, options?: AxiosRequestConfig): AxiosPromise<Array<UniversalSymbol>>;
|
|
9829
9388
|
};
|
|
9830
|
-
/**
|
|
9831
|
-
* Request parameters for getCurrencyExchangeRatePair operation in ReferenceDataApi.
|
|
9832
|
-
* @export
|
|
9833
|
-
*/
|
|
9834
|
-
type ReferenceDataApiGetCurrencyExchangeRatePairBaseRequest = {
|
|
9835
|
-
/**
|
|
9836
|
-
* A currency pair based on currency code for example, {CAD-USD}
|
|
9837
|
-
* @type {string}
|
|
9838
|
-
* @memberof ReferenceDataApiGetCurrencyExchangeRatePair
|
|
9839
|
-
*/
|
|
9840
|
-
readonly currencyPair: string;
|
|
9841
|
-
};
|
|
9842
|
-
type ReferenceDataApiGetCurrencyExchangeRatePaircommercialApiKeyRequest = ReferenceDataApiGetCurrencyExchangeRatePairBaseRequest & {};
|
|
9843
|
-
type ReferenceDataApiGetCurrencyExchangeRatePairpersonalApiKeyRequest = ReferenceDataApiGetCurrencyExchangeRatePairBaseRequest & {};
|
|
9844
|
-
type ReferenceDataApiGetCurrencyExchangeRatePairRequestByAuthMode = {
|
|
9845
|
-
"commercialApiKey": ReferenceDataApiGetCurrencyExchangeRatePaircommercialApiKeyRequest;
|
|
9846
|
-
"personalApiKey": ReferenceDataApiGetCurrencyExchangeRatePairpersonalApiKeyRequest;
|
|
9847
|
-
};
|
|
9848
|
-
type ReferenceDataApiGetCurrencyExchangeRatePairRequest<TAuth extends AuthMode> = ReferenceDataApiGetCurrencyExchangeRatePairRequestByAuthMode[TAuth["mode"] & keyof ReferenceDataApiGetCurrencyExchangeRatePairRequestByAuthMode];
|
|
9849
9389
|
/**
|
|
9850
9390
|
* Request parameters for getSymbols operation in ReferenceDataApi.
|
|
9851
9391
|
* @export
|
|
@@ -9947,15 +9487,6 @@ type ReferenceDataApiSymbolSearchUserAccountRequest<TAuth extends AuthMode> = Re
|
|
|
9947
9487
|
* @extends {BaseAPI}
|
|
9948
9488
|
*/
|
|
9949
9489
|
declare class ReferenceDataApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth> {
|
|
9950
|
-
/**
|
|
9951
|
-
* Returns an Exchange Rate Pair object for the specified Currency Pair.
|
|
9952
|
-
* @summary Get exchange rate of a currency pair
|
|
9953
|
-
* @param {ReferenceDataApiGetCurrencyExchangeRatePairRequest<TAuth>} requestParameters Request parameters.
|
|
9954
|
-
* @param {*} [options] Override http request option.
|
|
9955
|
-
* @throws {RequiredError}
|
|
9956
|
-
* @memberof ReferenceDataApiGenerated
|
|
9957
|
-
*/
|
|
9958
|
-
getCurrencyExchangeRatePair(requestParameters: ReferenceDataApiGetCurrencyExchangeRatePairRequest<TAuth>, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<ExchangeRatePairs, any, {}>>;
|
|
9959
9490
|
/**
|
|
9960
9491
|
* Returns configurations for your SnapTrade Client ID, including allowed brokerages and data access.
|
|
9961
9492
|
* @summary Get Client Info
|
|
@@ -9964,14 +9495,6 @@ declare class ReferenceDataApiGenerated<TAuth extends AuthMode> extends BaseAPI<
|
|
|
9964
9495
|
* @memberof ReferenceDataApiGenerated
|
|
9965
9496
|
*/
|
|
9966
9497
|
getPartnerInfo(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<_$axios.AxiosResponse<PartnerData, any, {}>>;
|
|
9967
|
-
/**
|
|
9968
|
-
* Return all available security types supported by SnapTrade.
|
|
9969
|
-
* @summary List security types
|
|
9970
|
-
* @param {*} [options] Override http request option.
|
|
9971
|
-
* @throws {RequiredError}
|
|
9972
|
-
* @memberof ReferenceDataApiGenerated
|
|
9973
|
-
*/
|
|
9974
|
-
getSecurityTypes(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<_$axios.AxiosResponse<SecurityType[], any, {}>>;
|
|
9975
9498
|
/**
|
|
9976
9499
|
* Returns a list of all supported Exchanges.
|
|
9977
9500
|
* @summary Get exchanges
|
|
@@ -10024,22 +9547,6 @@ declare class ReferenceDataApiGenerated<TAuth extends AuthMode> extends BaseAPI<
|
|
|
10024
9547
|
* @memberof ReferenceDataApiGenerated
|
|
10025
9548
|
*/
|
|
10026
9549
|
listAllBrokerages(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<_$axios.AxiosResponse<Brokerage[], any, {}>>;
|
|
10027
|
-
/**
|
|
10028
|
-
* Returns a list of all defined Currency objects.
|
|
10029
|
-
* @summary Get currencies
|
|
10030
|
-
* @param {*} [options] Override http request option.
|
|
10031
|
-
* @throws {RequiredError}
|
|
10032
|
-
* @memberof ReferenceDataApiGenerated
|
|
10033
|
-
*/
|
|
10034
|
-
listAllCurrencies(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<_$axios.AxiosResponse<Currency[], any, {}>>;
|
|
10035
|
-
/**
|
|
10036
|
-
* Returns a list of all Exchange Rate Pairs for all supported Currencies.
|
|
10037
|
-
* @summary Get currency exchange rates
|
|
10038
|
-
* @param {*} [options] Override http request option.
|
|
10039
|
-
* @throws {RequiredError}
|
|
10040
|
-
* @memberof ReferenceDataApiGenerated
|
|
10041
|
-
*/
|
|
10042
|
-
listAllCurrenciesRates(...args: TAuth["mode"] extends "commercialApiKey" | "personalApiKey" ? [options?: AxiosRequestConfig] : [never]): Promise<_$axios.AxiosResponse<ExchangeRatePairs[], any, {}>>;
|
|
10043
9550
|
/**
|
|
10044
9551
|
* Returns a list of Universal Symbol objects that match the given query. The matching takes into consideration both the ticker and the name of the symbol. Only the first 20 results are returned. The search results are further limited to the symbols supported by the brokerage for which the account is under.
|
|
10045
9552
|
* @summary Search account symbols
|
|
@@ -10071,18 +9578,6 @@ declare const TradingApiAxiosParamCreator: (configuration?: Configuration<AuthMo
|
|
|
10071
9578
|
* @throws {RequiredError}
|
|
10072
9579
|
*/
|
|
10073
9580
|
cancelOrder: (accountId: string, accountInformationGetUserAccountOrderDetailRequest: AccountInformationGetUserAccountOrderDetailRequest, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
10074
|
-
/**
|
|
10075
|
-
* **Deprecated.** Use [the new cancel order endpoint](/reference/Trading/Trading_cancelOrder) instead. Attempts to cancel an open order with the brokerage. If the order is no longer cancellable, the request will be rejected.
|
|
10076
|
-
* @summary Cancel equity order
|
|
10077
|
-
* @param {string} accountId
|
|
10078
|
-
* @param {AccountInformationGetUserAccountOrderDetailRequest} accountInformationGetUserAccountOrderDetailRequest
|
|
10079
|
-
* @param {string} [userId]
|
|
10080
|
-
* @param {string} [userSecret]
|
|
10081
|
-
* @param {*} [options] Override http request option.
|
|
10082
|
-
* @deprecated
|
|
10083
|
-
* @throws {RequiredError}
|
|
10084
|
-
*/
|
|
10085
|
-
cancelUserAccountOrder: (accountId: string, accountInformationGetUserAccountOrderDetailRequest: AccountInformationGetUserAccountOrderDetailRequest, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
10086
9581
|
/**
|
|
10087
9582
|
* Gets a quote for the specified account.
|
|
10088
9583
|
* @summary Get crypto pair quote
|
|
@@ -10138,18 +9633,6 @@ declare const TradingApiAxiosParamCreator: (configuration?: Configuration<AuthMo
|
|
|
10138
9633
|
* @throws {RequiredError}
|
|
10139
9634
|
*/
|
|
10140
9635
|
getUserAccountQuotes: (symbols: string, accountId: string, useTicker?: boolean, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
10141
|
-
/**
|
|
10142
|
-
* **Deprecated.** Use [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) instead. Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
|
|
10143
|
-
* @summary Place bracket order
|
|
10144
|
-
* @param {string} accountId The ID of the account to execute the trade on.
|
|
10145
|
-
* @param {ManualTradeFormBracket} manualTradeFormBracket
|
|
10146
|
-
* @param {string} [userId]
|
|
10147
|
-
* @param {string} [userSecret]
|
|
10148
|
-
* @param {*} [options] Override http request option.
|
|
10149
|
-
* @deprecated
|
|
10150
|
-
* @throws {RequiredError}
|
|
10151
|
-
*/
|
|
10152
|
-
placeBracketOrder: (accountId: string, manualTradeFormBracket: ManualTradeFormBracket, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
10153
9636
|
/**
|
|
10154
9637
|
* Places a complex conditional order (OCO, OTO, or OTOCO). Only supported on certain brokerages. Please refer to the [brokerage trading support page](https://support.snaptrade.com/brokerages) for details on which brokerages support complex orders and which types they support. - **OCO** (One Cancels the Other): Two peer orders; when one fills the other is cancelled. - **OTO** (One Triggers the Other): A trigger order that, when filled, activates a conditional order. - **OTOCO** (One Triggers a One Cancels the Other): A trigger order that, when filled, activates an OCO pair of two peer orders.
|
|
10155
9638
|
* @summary Place complex order
|
|
@@ -10252,15 +9735,6 @@ declare const TradingApiFp: <TAuth extends AuthMode>(configuration?: Configurati
|
|
|
10252
9735
|
* @throws {RequiredError}
|
|
10253
9736
|
*/
|
|
10254
9737
|
cancelOrder(requestParameters: TradingApiCancelOrderRequest<TAuth>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelOrderResponse>>;
|
|
10255
|
-
/**
|
|
10256
|
-
* **Deprecated.** Use [the new cancel order endpoint](/reference/Trading/Trading_cancelOrder) instead. Attempts to cancel an open order with the brokerage. If the order is no longer cancellable, the request will be rejected.
|
|
10257
|
-
* @summary Cancel equity order
|
|
10258
|
-
* @param {TradingApiCancelUserAccountOrderRequest<TAuth>} requestParameters Request parameters.
|
|
10259
|
-
* @param {*} [options] Override http request option.
|
|
10260
|
-
* @deprecated
|
|
10261
|
-
* @throws {RequiredError}
|
|
10262
|
-
*/
|
|
10263
|
-
cancelUserAccountOrder(requestParameters: TradingApiCancelUserAccountOrderRequest<TAuth>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountOrderRecord>>;
|
|
10264
9738
|
/**
|
|
10265
9739
|
* Gets a quote for the specified account.
|
|
10266
9740
|
* @summary Get crypto pair quote
|
|
@@ -10301,15 +9775,6 @@ declare const TradingApiFp: <TAuth extends AuthMode>(configuration?: Configurati
|
|
|
10301
9775
|
* @throws {RequiredError}
|
|
10302
9776
|
*/
|
|
10303
9777
|
getUserAccountQuotes(requestParameters: TradingApiGetUserAccountQuotesRequest<TAuth>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SymbolsQuotesInner>>>;
|
|
10304
|
-
/**
|
|
10305
|
-
* **Deprecated.** Use [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) instead. Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
|
|
10306
|
-
* @summary Place bracket order
|
|
10307
|
-
* @param {TradingApiPlaceBracketOrderRequest<TAuth>} requestParameters Request parameters.
|
|
10308
|
-
* @param {*} [options] Override http request option.
|
|
10309
|
-
* @deprecated
|
|
10310
|
-
* @throws {RequiredError}
|
|
10311
|
-
*/
|
|
10312
|
-
placeBracketOrder(requestParameters: TradingApiPlaceBracketOrderRequest<TAuth>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountOrderRecord>>;
|
|
10313
9778
|
/**
|
|
10314
9779
|
* Places a complex conditional order (OCO, OTO, or OTOCO). Only supported on certain brokerages. Please refer to the [brokerage trading support page](https://support.snaptrade.com/brokerages) for details on which brokerages support complex orders and which types they support. - **OCO** (One Cancels the Other): Two peer orders; when one fills the other is cancelled. - **OTO** (One Triggers the Other): A trigger order that, when filled, activates a conditional order. - **OTOCO** (One Triggers a One Cancels the Other): A trigger order that, when filled, activates an OCO pair of two peer orders.
|
|
10315
9780
|
* @summary Place complex order
|
|
@@ -10388,15 +9853,6 @@ declare const TradingApiFactory: <TAuth extends AuthMode>(configuration?: Config
|
|
|
10388
9853
|
* @throws {RequiredError}
|
|
10389
9854
|
*/
|
|
10390
9855
|
cancelOrder(requestParameters: TradingApiCancelOrderRequest<TAuth>, options?: AxiosRequestConfig): AxiosPromise<CancelOrderResponse>;
|
|
10391
|
-
/**
|
|
10392
|
-
* **Deprecated.** Use [the new cancel order endpoint](/reference/Trading/Trading_cancelOrder) instead. Attempts to cancel an open order with the brokerage. If the order is no longer cancellable, the request will be rejected.
|
|
10393
|
-
* @summary Cancel equity order
|
|
10394
|
-
* @param {TradingApiCancelUserAccountOrderRequest<TAuth>} requestParameters Request parameters.
|
|
10395
|
-
* @param {*} [options] Override http request option.
|
|
10396
|
-
* @deprecated
|
|
10397
|
-
* @throws {RequiredError}
|
|
10398
|
-
*/
|
|
10399
|
-
cancelUserAccountOrder(requestParameters: TradingApiCancelUserAccountOrderRequest<TAuth>, options?: AxiosRequestConfig): AxiosPromise<AccountOrderRecord>;
|
|
10400
9856
|
/**
|
|
10401
9857
|
* Gets a quote for the specified account.
|
|
10402
9858
|
* @summary Get crypto pair quote
|
|
@@ -10437,15 +9893,6 @@ declare const TradingApiFactory: <TAuth extends AuthMode>(configuration?: Config
|
|
|
10437
9893
|
* @throws {RequiredError}
|
|
10438
9894
|
*/
|
|
10439
9895
|
getUserAccountQuotes(requestParameters: TradingApiGetUserAccountQuotesRequest<TAuth>, options?: AxiosRequestConfig): AxiosPromise<Array<SymbolsQuotesInner>>;
|
|
10440
|
-
/**
|
|
10441
|
-
* **Deprecated.** Use [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) instead. Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
|
|
10442
|
-
* @summary Place bracket order
|
|
10443
|
-
* @param {TradingApiPlaceBracketOrderRequest<TAuth>} requestParameters Request parameters.
|
|
10444
|
-
* @param {*} [options] Override http request option.
|
|
10445
|
-
* @deprecated
|
|
10446
|
-
* @throws {RequiredError}
|
|
10447
|
-
*/
|
|
10448
|
-
placeBracketOrder(requestParameters: TradingApiPlaceBracketOrderRequest<TAuth>, options?: AxiosRequestConfig): AxiosPromise<AccountOrderRecord>;
|
|
10449
9896
|
/**
|
|
10450
9897
|
* Places a complex conditional order (OCO, OTO, or OTOCO). Only supported on certain brokerages. Please refer to the [brokerage trading support page](https://support.snaptrade.com/brokerages) for details on which brokerages support complex orders and which types they support. - **OCO** (One Cancels the Other): Two peer orders; when one fills the other is cancelled. - **OTO** (One Triggers the Other): A trigger order that, when filled, activates a conditional order. - **OTOCO** (One Triggers a One Cancels the Other): A trigger order that, when filled, activates an OCO pair of two peer orders.
|
|
10451
9898
|
* @summary Place complex order
|
|
@@ -10536,31 +9983,6 @@ type TradingApiCancelOrderRequestByAuthMode = {
|
|
|
10536
9983
|
"personalApiKey": TradingApiCancelOrderpersonalApiKeyRequest;
|
|
10537
9984
|
};
|
|
10538
9985
|
type TradingApiCancelOrderRequest<TAuth extends AuthMode> = TradingApiCancelOrderRequestByAuthMode[TAuth["mode"] & keyof TradingApiCancelOrderRequestByAuthMode];
|
|
10539
|
-
/**
|
|
10540
|
-
* Request parameters for cancelUserAccountOrder operation in TradingApi.
|
|
10541
|
-
* @export
|
|
10542
|
-
*/
|
|
10543
|
-
type TradingApiCancelUserAccountOrderBaseRequest = {
|
|
10544
|
-
/**
|
|
10545
|
-
*
|
|
10546
|
-
* @type {string}
|
|
10547
|
-
* @memberof TradingApiCancelUserAccountOrder
|
|
10548
|
-
*/
|
|
10549
|
-
readonly accountId: string;
|
|
10550
|
-
} & AccountInformationGetUserAccountOrderDetailRequest;
|
|
10551
|
-
type TradingApiCancelUserAccountOrdercommercialApiKeyRequest = TradingApiCancelUserAccountOrderBaseRequest & {
|
|
10552
|
-
readonly userId: string;
|
|
10553
|
-
readonly userSecret: string;
|
|
10554
|
-
};
|
|
10555
|
-
type TradingApiCancelUserAccountOrderpersonalApiKeyRequest = TradingApiCancelUserAccountOrderBaseRequest & {
|
|
10556
|
-
readonly userId?: never;
|
|
10557
|
-
readonly userSecret?: never;
|
|
10558
|
-
};
|
|
10559
|
-
type TradingApiCancelUserAccountOrderRequestByAuthMode = {
|
|
10560
|
-
"commercialApiKey": TradingApiCancelUserAccountOrdercommercialApiKeyRequest;
|
|
10561
|
-
"personalApiKey": TradingApiCancelUserAccountOrderpersonalApiKeyRequest;
|
|
10562
|
-
};
|
|
10563
|
-
type TradingApiCancelUserAccountOrderRequest<TAuth extends AuthMode> = TradingApiCancelUserAccountOrderRequestByAuthMode[TAuth["mode"] & keyof TradingApiCancelUserAccountOrderRequestByAuthMode];
|
|
10564
9986
|
/**
|
|
10565
9987
|
* Request parameters for getCryptocurrencyPairQuote operation in TradingApi.
|
|
10566
9988
|
* @export
|
|
@@ -10703,31 +10125,6 @@ type TradingApiGetUserAccountQuotesRequestByAuthMode = {
|
|
|
10703
10125
|
"personalApiKey": TradingApiGetUserAccountQuotespersonalApiKeyRequest;
|
|
10704
10126
|
};
|
|
10705
10127
|
type TradingApiGetUserAccountQuotesRequest<TAuth extends AuthMode> = TradingApiGetUserAccountQuotesRequestByAuthMode[TAuth["mode"] & keyof TradingApiGetUserAccountQuotesRequestByAuthMode];
|
|
10706
|
-
/**
|
|
10707
|
-
* Request parameters for placeBracketOrder operation in TradingApi.
|
|
10708
|
-
* @export
|
|
10709
|
-
*/
|
|
10710
|
-
type TradingApiPlaceBracketOrderBaseRequest = {
|
|
10711
|
-
/**
|
|
10712
|
-
* The ID of the account to execute the trade on.
|
|
10713
|
-
* @type {string}
|
|
10714
|
-
* @memberof TradingApiPlaceBracketOrder
|
|
10715
|
-
*/
|
|
10716
|
-
readonly accountId: string;
|
|
10717
|
-
} & ManualTradeFormBracket;
|
|
10718
|
-
type TradingApiPlaceBracketOrdercommercialApiKeyRequest = TradingApiPlaceBracketOrderBaseRequest & {
|
|
10719
|
-
readonly userId: string;
|
|
10720
|
-
readonly userSecret: string;
|
|
10721
|
-
};
|
|
10722
|
-
type TradingApiPlaceBracketOrderpersonalApiKeyRequest = TradingApiPlaceBracketOrderBaseRequest & {
|
|
10723
|
-
readonly userId?: never;
|
|
10724
|
-
readonly userSecret?: never;
|
|
10725
|
-
};
|
|
10726
|
-
type TradingApiPlaceBracketOrderRequestByAuthMode = {
|
|
10727
|
-
"commercialApiKey": TradingApiPlaceBracketOrdercommercialApiKeyRequest;
|
|
10728
|
-
"personalApiKey": TradingApiPlaceBracketOrderpersonalApiKeyRequest;
|
|
10729
|
-
};
|
|
10730
|
-
type TradingApiPlaceBracketOrderRequest<TAuth extends AuthMode> = TradingApiPlaceBracketOrderRequestByAuthMode[TAuth["mode"] & keyof TradingApiPlaceBracketOrderRequestByAuthMode];
|
|
10731
10128
|
/**
|
|
10732
10129
|
* Request parameters for placeComplexOrder operation in TradingApi.
|
|
10733
10130
|
* @export
|
|
@@ -10949,16 +10346,6 @@ declare class TradingApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth>
|
|
|
10949
10346
|
* @memberof TradingApiGenerated
|
|
10950
10347
|
*/
|
|
10951
10348
|
cancelOrder(requestParameters: TradingApiCancelOrderRequest<TAuth>, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<CancelOrderResponse, any, {}>>;
|
|
10952
|
-
/**
|
|
10953
|
-
* **Deprecated.** Use [the new cancel order endpoint](/reference/Trading/Trading_cancelOrder) instead. Attempts to cancel an open order with the brokerage. If the order is no longer cancellable, the request will be rejected.
|
|
10954
|
-
* @summary Cancel equity order
|
|
10955
|
-
* @param {TradingApiCancelUserAccountOrderRequest<TAuth>} requestParameters Request parameters.
|
|
10956
|
-
* @param {*} [options] Override http request option.
|
|
10957
|
-
* @deprecated
|
|
10958
|
-
* @throws {RequiredError}
|
|
10959
|
-
* @memberof TradingApiGenerated
|
|
10960
|
-
*/
|
|
10961
|
-
cancelUserAccountOrder(requestParameters: TradingApiCancelUserAccountOrderRequest<TAuth>, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<AccountOrderRecord, any, {}>>;
|
|
10962
10349
|
/**
|
|
10963
10350
|
* Gets a quote for the specified account.
|
|
10964
10351
|
* @summary Get crypto pair quote
|
|
@@ -11004,16 +10391,6 @@ declare class TradingApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth>
|
|
|
11004
10391
|
* @memberof TradingApiGenerated
|
|
11005
10392
|
*/
|
|
11006
10393
|
getUserAccountQuotes(requestParameters: TradingApiGetUserAccountQuotesRequest<TAuth>, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<SymbolsQuotesInner[], any, {}>>;
|
|
11007
|
-
/**
|
|
11008
|
-
* **Deprecated.** Use [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) instead. Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
|
|
11009
|
-
* @summary Place bracket order
|
|
11010
|
-
* @param {TradingApiPlaceBracketOrderRequest<TAuth>} requestParameters Request parameters.
|
|
11011
|
-
* @param {*} [options] Override http request option.
|
|
11012
|
-
* @deprecated
|
|
11013
|
-
* @throws {RequiredError}
|
|
11014
|
-
* @memberof TradingApiGenerated
|
|
11015
|
-
*/
|
|
11016
|
-
placeBracketOrder(requestParameters: TradingApiPlaceBracketOrderRequest<TAuth>, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<AccountOrderRecord, any, {}>>;
|
|
11017
10394
|
/**
|
|
11018
10395
|
* Places a complex conditional order (OCO, OTO, or OTOCO). Only supported on certain brokerages. Please refer to the [brokerage trading support page](https://support.snaptrade.com/brokerages) for details on which brokerages support complex orders and which types they support. - **OCO** (One Cancels the Other): Two peer orders; when one fills the other is cancelled. - **OTO** (One Triggers the Other): A trigger order that, when filled, activates a conditional order. - **OTOCO** (One Triggers a One Cancels the Other): A trigger order that, when filled, activates an OCO pair of two peer orders.
|
|
11019
10396
|
* @summary Place complex order
|
|
@@ -11091,221 +10468,6 @@ declare class TradingApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth>
|
|
|
11091
10468
|
//#region api/trading-api.d.ts
|
|
11092
10469
|
declare class TradingApi<TAuth extends AuthMode> extends TradingApiGenerated<TAuth> {}
|
|
11093
10470
|
//#endregion
|
|
11094
|
-
//#region api/transactions-and-reporting-api-generated.d.ts
|
|
11095
|
-
/**
|
|
11096
|
-
* TransactionsAndReportingApi - axios parameter creator
|
|
11097
|
-
* @export
|
|
11098
|
-
*/
|
|
11099
|
-
declare const TransactionsAndReportingApiAxiosParamCreator: (configuration?: Configuration<AuthMode>) => {
|
|
11100
|
-
/**
|
|
11101
|
-
* **Deprecated.** Use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) instead, if possible. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage.
|
|
11102
|
-
* @summary Get transaction history for a user
|
|
11103
|
-
* @param {string | Date} [startDate] The start date (inclusive) of the transaction history to retrieve. If not provided, the default is the first transaction known to SnapTrade based on `trade_date`.
|
|
11104
|
-
* @param {string | Date} [endDate] The end date (inclusive) of the transaction history to retrieve. If not provided, the default is the last transaction known to SnapTrade based on `trade_date`.
|
|
11105
|
-
* @param {string} [accounts] Optional comma separated list of SnapTrade Account IDs used to filter the request to specific accounts. If not provided, the default is all known brokerage accounts for the user. The `brokerageAuthorizations` parameter takes precedence over this parameter.
|
|
11106
|
-
* @param {string} [brokerageAuthorizations] Optional comma separated list of SnapTrade Connection (Brokerage Authorization) IDs used to filter the request to only accounts that belong to those connections. If not provided, the default is all connections for the user. This parameter takes precedence over the `accounts` parameter.
|
|
11107
|
-
* @param {string} [type] Optional comma separated list of transaction types to filter by. SnapTrade does a best effort to categorize brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `SUBSTITUTE_DIVIDEND` - Payment in lieu of a dividend. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of assets from one account to another
|
|
11108
|
-
* @param {string} [userId]
|
|
11109
|
-
* @param {string} [userSecret]
|
|
11110
|
-
* @param {*} [options] Override http request option.
|
|
11111
|
-
* @deprecated
|
|
11112
|
-
* @throws {RequiredError}
|
|
11113
|
-
*/
|
|
11114
|
-
getActivities: (startDate?: string | Date, endDate?: string | Date, accounts?: string, brokerageAuthorizations?: string, type?: string, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
11115
|
-
/**
|
|
11116
|
-
* **Deprecated.** Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
11117
|
-
* @summary Get performance information for a specific timeframe
|
|
11118
|
-
* @param {string | Date} startDate
|
|
11119
|
-
* @param {string | Date} endDate
|
|
11120
|
-
* @param {string} [accounts] Optional comma separated list of account IDs used to filter the request on specific accounts
|
|
11121
|
-
* @param {boolean} [detailed] Optional, increases frequency of data points for the total value and contribution charts if set to true
|
|
11122
|
-
* @param {string} [frequency] Optional frequency for the rate of return chart (defaults to monthly). Possible values are daily, weekly, monthly, quarterly, yearly.
|
|
11123
|
-
* @param {string} [userId]
|
|
11124
|
-
* @param {string} [userSecret]
|
|
11125
|
-
* @param {*} [options] Override http request option.
|
|
11126
|
-
* @deprecated
|
|
11127
|
-
* @throws {RequiredError}
|
|
11128
|
-
*/
|
|
11129
|
-
getReportingCustomRange: (startDate: string | Date, endDate: string | Date, accounts?: string, detailed?: boolean, frequency?: string, userId?: string, userSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
11130
|
-
};
|
|
11131
|
-
/**
|
|
11132
|
-
* TransactionsAndReportingApi - functional programming interface
|
|
11133
|
-
* @export
|
|
11134
|
-
*/
|
|
11135
|
-
declare const TransactionsAndReportingApiFp: <TAuth extends AuthMode>(configuration?: Configuration<TAuth>) => {
|
|
11136
|
-
/**
|
|
11137
|
-
* **Deprecated.** Use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) instead, if possible. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage.
|
|
11138
|
-
* @summary Get transaction history for a user
|
|
11139
|
-
* @param {TransactionsAndReportingApiGetActivitiesRequest<TAuth>} requestParameters Request parameters.
|
|
11140
|
-
* @param {*} [options] Override http request option.
|
|
11141
|
-
* @deprecated
|
|
11142
|
-
* @throws {RequiredError}
|
|
11143
|
-
*/
|
|
11144
|
-
getActivities(requestParameters?: TransactionsAndReportingApiGetActivitiesRequest<TAuth>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UniversalActivity>>>;
|
|
11145
|
-
/**
|
|
11146
|
-
* **Deprecated.** Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
11147
|
-
* @summary Get performance information for a specific timeframe
|
|
11148
|
-
* @param {TransactionsAndReportingApiGetReportingCustomRangeRequest<TAuth>} requestParameters Request parameters.
|
|
11149
|
-
* @param {*} [options] Override http request option.
|
|
11150
|
-
* @deprecated
|
|
11151
|
-
* @throws {RequiredError}
|
|
11152
|
-
*/
|
|
11153
|
-
getReportingCustomRange(requestParameters: TransactionsAndReportingApiGetReportingCustomRangeRequest<TAuth>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PerformanceCustom>>;
|
|
11154
|
-
};
|
|
11155
|
-
/**
|
|
11156
|
-
* TransactionsAndReportingApi - factory interface
|
|
11157
|
-
* @export
|
|
11158
|
-
*/
|
|
11159
|
-
declare const TransactionsAndReportingApiFactory: <TAuth extends AuthMode>(configuration?: Configuration<TAuth>, basePath?: string, axios?: AxiosInstance) => {
|
|
11160
|
-
/**
|
|
11161
|
-
* **Deprecated.** Use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) instead, if possible. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage.
|
|
11162
|
-
* @summary Get transaction history for a user
|
|
11163
|
-
* @param {TransactionsAndReportingApiGetActivitiesRequest<TAuth>} requestParameters Request parameters.
|
|
11164
|
-
* @param {*} [options] Override http request option.
|
|
11165
|
-
* @deprecated
|
|
11166
|
-
* @throws {RequiredError}
|
|
11167
|
-
*/
|
|
11168
|
-
getActivities(requestParameters?: TransactionsAndReportingApiGetActivitiesRequest<TAuth>, options?: AxiosRequestConfig): AxiosPromise<Array<UniversalActivity>>;
|
|
11169
|
-
/**
|
|
11170
|
-
* **Deprecated.** Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
11171
|
-
* @summary Get performance information for a specific timeframe
|
|
11172
|
-
* @param {TransactionsAndReportingApiGetReportingCustomRangeRequest<TAuth>} requestParameters Request parameters.
|
|
11173
|
-
* @param {*} [options] Override http request option.
|
|
11174
|
-
* @deprecated
|
|
11175
|
-
* @throws {RequiredError}
|
|
11176
|
-
*/
|
|
11177
|
-
getReportingCustomRange(requestParameters: TransactionsAndReportingApiGetReportingCustomRangeRequest<TAuth>, options?: AxiosRequestConfig): AxiosPromise<PerformanceCustom>;
|
|
11178
|
-
};
|
|
11179
|
-
/**
|
|
11180
|
-
* Request parameters for getActivities operation in TransactionsAndReportingApi.
|
|
11181
|
-
* @export
|
|
11182
|
-
*/
|
|
11183
|
-
type TransactionsAndReportingApiGetActivitiesBaseRequest = {
|
|
11184
|
-
/**
|
|
11185
|
-
* The start date (inclusive) of the transaction history to retrieve. If not provided, the default is the first transaction known to SnapTrade based on `trade_date`.
|
|
11186
|
-
* @type {string | Date}
|
|
11187
|
-
* @memberof TransactionsAndReportingApiGetActivities
|
|
11188
|
-
*/
|
|
11189
|
-
readonly startDate?: string | Date;
|
|
11190
|
-
/**
|
|
11191
|
-
* The end date (inclusive) of the transaction history to retrieve. If not provided, the default is the last transaction known to SnapTrade based on `trade_date`.
|
|
11192
|
-
* @type {string | Date}
|
|
11193
|
-
* @memberof TransactionsAndReportingApiGetActivities
|
|
11194
|
-
*/
|
|
11195
|
-
readonly endDate?: string | Date;
|
|
11196
|
-
/**
|
|
11197
|
-
* Optional comma separated list of SnapTrade Account IDs used to filter the request to specific accounts. If not provided, the default is all known brokerage accounts for the user. The `brokerageAuthorizations` parameter takes precedence over this parameter.
|
|
11198
|
-
* @type {string}
|
|
11199
|
-
* @memberof TransactionsAndReportingApiGetActivities
|
|
11200
|
-
*/
|
|
11201
|
-
readonly accounts?: string;
|
|
11202
|
-
/**
|
|
11203
|
-
* Optional comma separated list of SnapTrade Connection (Brokerage Authorization) IDs used to filter the request to only accounts that belong to those connections. If not provided, the default is all connections for the user. This parameter takes precedence over the `accounts` parameter.
|
|
11204
|
-
* @type {string}
|
|
11205
|
-
* @memberof TransactionsAndReportingApiGetActivities
|
|
11206
|
-
*/
|
|
11207
|
-
readonly brokerageAuthorizations?: string;
|
|
11208
|
-
/**
|
|
11209
|
-
* Optional comma separated list of transaction types to filter by. SnapTrade does a best effort to categorize brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `SUBSTITUTE_DIVIDEND` - Payment in lieu of a dividend. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of assets from one account to another
|
|
11210
|
-
* @type {string}
|
|
11211
|
-
* @memberof TransactionsAndReportingApiGetActivities
|
|
11212
|
-
*/
|
|
11213
|
-
readonly type?: string;
|
|
11214
|
-
};
|
|
11215
|
-
type TransactionsAndReportingApiGetActivitiescommercialApiKeyRequest = TransactionsAndReportingApiGetActivitiesBaseRequest & {
|
|
11216
|
-
readonly userId: string;
|
|
11217
|
-
readonly userSecret: string;
|
|
11218
|
-
};
|
|
11219
|
-
type TransactionsAndReportingApiGetActivitiespersonalApiKeyRequest = TransactionsAndReportingApiGetActivitiesBaseRequest & {
|
|
11220
|
-
readonly userId?: never;
|
|
11221
|
-
readonly userSecret?: never;
|
|
11222
|
-
};
|
|
11223
|
-
type TransactionsAndReportingApiGetActivitiesRequestByAuthMode = {
|
|
11224
|
-
"commercialApiKey": TransactionsAndReportingApiGetActivitiescommercialApiKeyRequest;
|
|
11225
|
-
"personalApiKey": TransactionsAndReportingApiGetActivitiespersonalApiKeyRequest;
|
|
11226
|
-
};
|
|
11227
|
-
type TransactionsAndReportingApiGetActivitiesRequest<TAuth extends AuthMode> = TransactionsAndReportingApiGetActivitiesRequestByAuthMode[TAuth["mode"] & keyof TransactionsAndReportingApiGetActivitiesRequestByAuthMode];
|
|
11228
|
-
/**
|
|
11229
|
-
* Request parameters for getReportingCustomRange operation in TransactionsAndReportingApi.
|
|
11230
|
-
* @export
|
|
11231
|
-
*/
|
|
11232
|
-
type TransactionsAndReportingApiGetReportingCustomRangeBaseRequest = {
|
|
11233
|
-
/**
|
|
11234
|
-
*
|
|
11235
|
-
* @type {string | Date}
|
|
11236
|
-
* @memberof TransactionsAndReportingApiGetReportingCustomRange
|
|
11237
|
-
*/
|
|
11238
|
-
readonly startDate: string | Date;
|
|
11239
|
-
/**
|
|
11240
|
-
*
|
|
11241
|
-
* @type {string | Date}
|
|
11242
|
-
* @memberof TransactionsAndReportingApiGetReportingCustomRange
|
|
11243
|
-
*/
|
|
11244
|
-
readonly endDate: string | Date;
|
|
11245
|
-
/**
|
|
11246
|
-
* Optional comma separated list of account IDs used to filter the request on specific accounts
|
|
11247
|
-
* @type {string}
|
|
11248
|
-
* @memberof TransactionsAndReportingApiGetReportingCustomRange
|
|
11249
|
-
*/
|
|
11250
|
-
readonly accounts?: string;
|
|
11251
|
-
/**
|
|
11252
|
-
* Optional, increases frequency of data points for the total value and contribution charts if set to true
|
|
11253
|
-
* @type {boolean}
|
|
11254
|
-
* @memberof TransactionsAndReportingApiGetReportingCustomRange
|
|
11255
|
-
*/
|
|
11256
|
-
readonly detailed?: boolean;
|
|
11257
|
-
/**
|
|
11258
|
-
* Optional frequency for the rate of return chart (defaults to monthly). Possible values are daily, weekly, monthly, quarterly, yearly.
|
|
11259
|
-
* @type {string}
|
|
11260
|
-
* @memberof TransactionsAndReportingApiGetReportingCustomRange
|
|
11261
|
-
*/
|
|
11262
|
-
readonly frequency?: string;
|
|
11263
|
-
};
|
|
11264
|
-
type TransactionsAndReportingApiGetReportingCustomRangecommercialApiKeyRequest = TransactionsAndReportingApiGetReportingCustomRangeBaseRequest & {
|
|
11265
|
-
readonly userId: string;
|
|
11266
|
-
readonly userSecret: string;
|
|
11267
|
-
};
|
|
11268
|
-
type TransactionsAndReportingApiGetReportingCustomRangepersonalApiKeyRequest = TransactionsAndReportingApiGetReportingCustomRangeBaseRequest & {
|
|
11269
|
-
readonly userId?: never;
|
|
11270
|
-
readonly userSecret?: never;
|
|
11271
|
-
};
|
|
11272
|
-
type TransactionsAndReportingApiGetReportingCustomRangeRequestByAuthMode = {
|
|
11273
|
-
"commercialApiKey": TransactionsAndReportingApiGetReportingCustomRangecommercialApiKeyRequest;
|
|
11274
|
-
"personalApiKey": TransactionsAndReportingApiGetReportingCustomRangepersonalApiKeyRequest;
|
|
11275
|
-
};
|
|
11276
|
-
type TransactionsAndReportingApiGetReportingCustomRangeRequest<TAuth extends AuthMode> = TransactionsAndReportingApiGetReportingCustomRangeRequestByAuthMode[TAuth["mode"] & keyof TransactionsAndReportingApiGetReportingCustomRangeRequestByAuthMode];
|
|
11277
|
-
/**
|
|
11278
|
-
* TransactionsAndReportingApiGenerated - object-oriented interface
|
|
11279
|
-
* @export
|
|
11280
|
-
* @class TransactionsAndReportingApiGenerated
|
|
11281
|
-
* @extends {BaseAPI}
|
|
11282
|
-
*/
|
|
11283
|
-
declare class TransactionsAndReportingApiGenerated<TAuth extends AuthMode> extends BaseAPI<TAuth> {
|
|
11284
|
-
/**
|
|
11285
|
-
* **Deprecated.** Use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) instead, if possible. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. Returns all historical transactions for the specified user and filtering criteria. It\'s recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There\'s a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage.
|
|
11286
|
-
* @summary Get transaction history for a user
|
|
11287
|
-
* @param {TransactionsAndReportingApiGetActivitiesRequest<TAuth>} requestParameters Request parameters.
|
|
11288
|
-
* @param {*} [options] Override http request option.
|
|
11289
|
-
* @deprecated
|
|
11290
|
-
* @throws {RequiredError}
|
|
11291
|
-
* @memberof TransactionsAndReportingApiGenerated
|
|
11292
|
-
*/
|
|
11293
|
-
getActivities(requestParameters?: TransactionsAndReportingApiGetActivitiesRequest<TAuth>, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<UniversalActivity[], any, {}>>;
|
|
11294
|
-
/**
|
|
11295
|
-
* **Deprecated.** Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
|
|
11296
|
-
* @summary Get performance information for a specific timeframe
|
|
11297
|
-
* @param {TransactionsAndReportingApiGetReportingCustomRangeRequest<TAuth>} requestParameters Request parameters.
|
|
11298
|
-
* @param {*} [options] Override http request option.
|
|
11299
|
-
* @deprecated
|
|
11300
|
-
* @throws {RequiredError}
|
|
11301
|
-
* @memberof TransactionsAndReportingApiGenerated
|
|
11302
|
-
*/
|
|
11303
|
-
getReportingCustomRange(requestParameters: TransactionsAndReportingApiGetReportingCustomRangeRequest<TAuth>, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<PerformanceCustom, any, {}>>;
|
|
11304
|
-
}
|
|
11305
|
-
//#endregion
|
|
11306
|
-
//#region api/transactions-and-reporting-api.d.ts
|
|
11307
|
-
declare class TransactionsAndReportingApi<TAuth extends AuthMode> extends TransactionsAndReportingApiGenerated<TAuth> {}
|
|
11308
|
-
//#endregion
|
|
11309
10471
|
//#region client-custom.d.ts
|
|
11310
10472
|
declare class SnaptradeCustom<TAuth extends AuthMode> {
|
|
11311
10473
|
constructor(configurationParameters: ConfigurationParameters<TAuth>);
|
|
@@ -11318,10 +10480,8 @@ declare class Snaptrade<TAuth extends AuthMode> extends SnaptradeCustom<TAuth> {
|
|
|
11318
10480
|
readonly authentication: AuthenticationApi<TAuth>;
|
|
11319
10481
|
readonly connections: ConnectionsApi<TAuth>;
|
|
11320
10482
|
readonly experimentalEndpoints: ExperimentalEndpointsApi<TAuth>;
|
|
11321
|
-
readonly options: OptionsApi<TAuth>;
|
|
11322
10483
|
readonly referenceData: ReferenceDataApi<TAuth>;
|
|
11323
10484
|
readonly trading: TradingApi<TAuth>;
|
|
11324
|
-
readonly transactionsAndReporting: TransactionsAndReportingApi<TAuth>;
|
|
11325
10485
|
constructor(configurationParameters: ConfigurationParameters<TAuth>);
|
|
11326
10486
|
}
|
|
11327
10487
|
//#endregion
|
|
@@ -11372,4 +10532,4 @@ declare class SnaptradeError extends Error {
|
|
|
11372
10532
|
declare function readableStreamToString(stream: ReadableStream): Promise<string>;
|
|
11373
10533
|
declare function parseIfJson(input: unknown): object | unknown;
|
|
11374
10534
|
//#endregion
|
|
11375
|
-
export { Account, AccountBalance, AccountBalanceTotal, AccountHoldings, AccountHoldingsAccount, AccountInformationApi, AccountInformationApiAxiosParamCreator, AccountInformationApiFactory, AccountInformationApiFp, AccountInformationApiGenerated, AccountInformationApiGetAccountActivitiesBaseRequest, AccountInformationApiGetAccountActivitiesRequest, AccountInformationApiGetAccountActivitiesRequestByAuthMode, AccountInformationApiGetAccountActivitiescommercialApiKeyRequest, AccountInformationApiGetAccountActivitiespersonalApiKeyRequest, AccountInformationApiGetAccountBalanceHistoryBaseRequest, AccountInformationApiGetAccountBalanceHistoryRequest, AccountInformationApiGetAccountBalanceHistoryRequestByAuthMode, AccountInformationApiGetAccountBalanceHistorycommercialApiKeyRequest, AccountInformationApiGetAccountBalanceHistorypersonalApiKeyRequest, AccountInformationApiGetAllAccountPositionsBaseRequest, AccountInformationApiGetAllAccountPositionsRequest, AccountInformationApiGetAllAccountPositionsRequestByAuthMode, AccountInformationApiGetAllAccountPositionscommercialApiKeyRequest, AccountInformationApiGetAllAccountPositionspersonalApiKeyRequest, AccountInformationApiGetAllUserHoldingsBaseRequest, AccountInformationApiGetAllUserHoldingsRequest, AccountInformationApiGetAllUserHoldingsRequestByAuthMode, AccountInformationApiGetAllUserHoldingscommercialApiKeyRequest, AccountInformationApiGetAllUserHoldingspersonalApiKeyRequest, AccountInformationApiGetUserAccountBalanceBaseRequest, AccountInformationApiGetUserAccountBalanceRequest, AccountInformationApiGetUserAccountBalanceRequestByAuthMode, AccountInformationApiGetUserAccountBalancecommercialApiKeyRequest, AccountInformationApiGetUserAccountBalancepersonalApiKeyRequest, AccountInformationApiGetUserAccountDetailsBaseRequest, AccountInformationApiGetUserAccountDetailsRequest, AccountInformationApiGetUserAccountDetailsRequestByAuthMode, AccountInformationApiGetUserAccountDetailscommercialApiKeyRequest, AccountInformationApiGetUserAccountDetailspersonalApiKeyRequest, AccountInformationApiGetUserAccountOrderDetailBaseRequest, AccountInformationApiGetUserAccountOrderDetailRequest, AccountInformationApiGetUserAccountOrderDetailRequestByAuthMode, AccountInformationApiGetUserAccountOrderDetailcommercialApiKeyRequest, AccountInformationApiGetUserAccountOrderDetailpersonalApiKeyRequest, AccountInformationApiGetUserAccountOrdersBaseRequest, AccountInformationApiGetUserAccountOrdersRequest, AccountInformationApiGetUserAccountOrdersRequestByAuthMode, AccountInformationApiGetUserAccountOrderscommercialApiKeyRequest, AccountInformationApiGetUserAccountOrderspersonalApiKeyRequest, AccountInformationApiGetUserAccountPositionsBaseRequest, AccountInformationApiGetUserAccountPositionsRequest, AccountInformationApiGetUserAccountPositionsRequestByAuthMode, AccountInformationApiGetUserAccountPositionscommercialApiKeyRequest, AccountInformationApiGetUserAccountPositionspersonalApiKeyRequest, AccountInformationApiGetUserAccountRecentOrdersBaseRequest, AccountInformationApiGetUserAccountRecentOrdersRequest, AccountInformationApiGetUserAccountRecentOrdersRequestByAuthMode, AccountInformationApiGetUserAccountRecentOrderscommercialApiKeyRequest, AccountInformationApiGetUserAccountRecentOrderspersonalApiKeyRequest, AccountInformationApiGetUserAccountReturnRatesBaseRequest, AccountInformationApiGetUserAccountReturnRatesRequest, AccountInformationApiGetUserAccountReturnRatesRequestByAuthMode, AccountInformationApiGetUserAccountReturnRatescommercialApiKeyRequest, AccountInformationApiGetUserAccountReturnRatespersonalApiKeyRequest, AccountInformationApiGetUserHoldingsBaseRequest, AccountInformationApiGetUserHoldingsRequest, AccountInformationApiGetUserHoldingsRequestByAuthMode, AccountInformationApiGetUserHoldingscommercialApiKeyRequest, AccountInformationApiGetUserHoldingspersonalApiKeyRequest, AccountInformationApiListUserAccountsBaseRequest, AccountInformationApiListUserAccountsRequest, AccountInformationApiListUserAccountsRequestByAuthMode, AccountInformationApiListUserAccountscommercialApiKeyRequest, AccountInformationApiListUserAccountspersonalApiKeyRequest, AccountInformationApiUpdateUserAccountBaseRequest, AccountInformationApiUpdateUserAccountRequest, AccountInformationApiUpdateUserAccountRequestByAuthMode, AccountInformationApiUpdateUserAccountcommercialApiKeyRequest, AccountInformationApiUpdateUserAccountpersonalApiKeyRequest, AccountInformationGetUserAccountOrderDetailRequest, AccountOrderRecord, AccountOrderRecordChildBrokerageOrderIds, AccountOrderRecordLeg, AccountOrderRecordLegInstrument, AccountOrderRecordOptionSymbol, AccountOrderRecordQuoteCurrency, AccountOrderRecordQuoteUniversalSymbol, AccountOrderRecordStatus, AccountOrderRecordStatusV2, AccountOrderRecordTrailingStop, AccountOrderRecordUniversalSymbol, AccountOrderRecordV2, AccountOrdersV2Response, AccountPosition, AccountSimple, AccountSyncStatus, AccountUniversalActivity, AccountUniversalActivityCurrency, AccountUniversalActivityCurrencyUniversalSymbol, AccountUniversalActivityOptionSymbol, AccountUniversalActivitySymbol, AccountValueHistoryItem, AccountValueHistoryResponse, ActionStrict, ActionStrictWithOptions, AdrInstrument, AllAccountPositionsResponse, AllAccountPositionsResponseDataFreshness, ApiKey, ApiStatusApi, ApiStatusApiAxiosParamCreator, ApiStatusApiFactory, ApiStatusApiFp, ApiStatusApiGenerated, type AuthMode, AuthenticationApi, AuthenticationApiAxiosParamCreator, AuthenticationApiDeleteSnapTradeUserBaseRequest, AuthenticationApiDeleteSnapTradeUserRequest, AuthenticationApiDeleteSnapTradeUserRequestByAuthMode, AuthenticationApiDeleteSnapTradeUsercommercialApiKeyRequest, AuthenticationApiFactory, AuthenticationApiFp, AuthenticationApiGenerated, AuthenticationApiLoginSnapTradeUserBaseRequest, AuthenticationApiLoginSnapTradeUserRequest, AuthenticationApiLoginSnapTradeUserRequestByAuthMode, AuthenticationApiLoginSnapTradeUsercommercialApiKeyRequest, AuthenticationApiLoginSnapTradeUserpersonalApiKeyRequest, AuthenticationApiRegisterSnapTradeUserBaseRequest, AuthenticationApiRegisterSnapTradeUserRequest, AuthenticationApiRegisterSnapTradeUserRequestByAuthMode, AuthenticationApiRegisterSnapTradeUsercommercialApiKeyRequest, AuthenticationApiResetSnapTradeUserSecretBaseRequest, AuthenticationApiResetSnapTradeUserSecretRequest, AuthenticationApiResetSnapTradeUserSecretRequestByAuthMode, AuthenticationApiResetSnapTradeUserSecretcommercialApiKeyRequest, AuthenticationLoginSnapTradeUser200Response, Balance, BalanceCurrency, Brokerage, BrokerageAuthorization, BrokerageAuthorizationDisabledConfirmation, BrokerageAuthorizationRefreshConfirmation, BrokerageAuthorizationTransactionsSyncConfirmation, BrokerageAuthorizationTypeReadOnly, BrokerageAuthorizationTypeReadOnlyBrokerage, BrokerageInstrument, BrokerageInstrumentsResponse, BrokerageType, CancelOrderResponse, CefInstrument, CfdInstrument, ChildBrokerageOrderIDs, CommercialApiKeyAuth, ComplexOrderLeg, ComplexOrderResponse, Configuration, ConfigurationParameters, ConfigurationParametersShared, ConnectionAccount, ConnectionAccountSyncStatus, ConnectionsApi, ConnectionsApiAxiosParamCreator, ConnectionsApiDeleteConnectionBaseRequest, ConnectionsApiDeleteConnectionRequest, ConnectionsApiDeleteConnectionRequestByAuthMode, ConnectionsApiDeleteConnectioncommercialApiKeyRequest, ConnectionsApiDeleteConnectionpersonalApiKeyRequest, ConnectionsApiDetailBrokerageAuthorizationBaseRequest, ConnectionsApiDetailBrokerageAuthorizationRequest, ConnectionsApiDetailBrokerageAuthorizationRequestByAuthMode, ConnectionsApiDetailBrokerageAuthorizationcommercialApiKeyRequest, ConnectionsApiDetailBrokerageAuthorizationpersonalApiKeyRequest, ConnectionsApiDisableBrokerageAuthorizationBaseRequest, ConnectionsApiDisableBrokerageAuthorizationRequest, ConnectionsApiDisableBrokerageAuthorizationRequestByAuthMode, ConnectionsApiDisableBrokerageAuthorizationcommercialApiKeyRequest, ConnectionsApiDisableBrokerageAuthorizationpersonalApiKeyRequest, ConnectionsApiFactory, ConnectionsApiFp, ConnectionsApiGenerated, ConnectionsApiListBrokerageAuthorizationAccountsBaseRequest, ConnectionsApiListBrokerageAuthorizationAccountsRequest, ConnectionsApiListBrokerageAuthorizationAccountsRequestByAuthMode, ConnectionsApiListBrokerageAuthorizationAccountscommercialApiKeyRequest, ConnectionsApiListBrokerageAuthorizationAccountspersonalApiKeyRequest, ConnectionsApiListBrokerageAuthorizationsBaseRequest, ConnectionsApiListBrokerageAuthorizationsRequest, ConnectionsApiListBrokerageAuthorizationsRequestByAuthMode, ConnectionsApiListBrokerageAuthorizationscommercialApiKeyRequest, ConnectionsApiListBrokerageAuthorizationspersonalApiKeyRequest, ConnectionsApiRefreshBrokerageAuthorizationBaseRequest, ConnectionsApiRefreshBrokerageAuthorizationRequest, ConnectionsApiRefreshBrokerageAuthorizationRequestByAuthMode, ConnectionsApiRefreshBrokerageAuthorizationcommercialApiKeyRequest, ConnectionsApiRefreshBrokerageAuthorizationpersonalApiKeyRequest, ConnectionsApiRemoveBrokerageAuthorizationBaseRequest, ConnectionsApiRemoveBrokerageAuthorizationRequest, ConnectionsApiRemoveBrokerageAuthorizationRequestByAuthMode, ConnectionsApiRemoveBrokerageAuthorizationcommercialApiKeyRequest, ConnectionsApiRemoveBrokerageAuthorizationpersonalApiKeyRequest, ConnectionsApiReturnRatesBaseRequest, ConnectionsApiReturnRatesRequest, ConnectionsApiReturnRatesRequestByAuthMode, ConnectionsApiReturnRatescommercialApiKeyRequest, ConnectionsApiReturnRatespersonalApiKeyRequest, ConnectionsApiSessionEventsBaseRequest, ConnectionsApiSessionEventsRequest, ConnectionsApiSessionEventsRequestByAuthMode, ConnectionsApiSessionEventscommercialApiKeyRequest, ConnectionsApiSessionEventspersonalApiKeyRequest, ConnectionsApiSyncBrokerageAuthorizationTransactionsBaseRequest, ConnectionsApiSyncBrokerageAuthorizationTransactionsRequest, ConnectionsApiSyncBrokerageAuthorizationTransactionsRequestByAuthMode, ConnectionsApiSyncBrokerageAuthorizationTransactionscommercialApiKeyRequest, ConnectionsApiSyncBrokerageAuthorizationTransactionspersonalApiKeyRequest, ConnectionsSessionEvents200ResponseInner, CryptoInstrument, CryptoOrderForm, CryptoOrderPreview, CryptoOrderPreviewEstimatedFee, CryptoTradingInstrument, CryptocurrencyPair, CryptocurrencyPairQuote, Currency, DeleteConnectionConfirmation, DeleteUserResponse, DividendAtDate, EncryptedResponse, EncryptedResponseEncryptedMessageData, EtfInstrument, Exchange, ExchangeRatePairs, ExperimentalEndpointsApi, ExperimentalEndpointsApiAddSubscriptionBaseRequest, ExperimentalEndpointsApiAddSubscriptionRequest, ExperimentalEndpointsApiAddSubscriptionRequestByAuthMode, ExperimentalEndpointsApiAddSubscriptioncommercialApiKeyRequest, ExperimentalEndpointsApiAddSubscriptionpersonalApiKeyRequest, ExperimentalEndpointsApiAxiosParamCreator, ExperimentalEndpointsApiCancelSubscriptionBaseRequest, ExperimentalEndpointsApiCancelSubscriptionRequest, ExperimentalEndpointsApiCancelSubscriptionRequestByAuthMode, ExperimentalEndpointsApiCancelSubscriptioncommercialApiKeyRequest, ExperimentalEndpointsApiCancelSubscriptionpersonalApiKeyRequest, ExperimentalEndpointsApiFactory, ExperimentalEndpointsApiFp, ExperimentalEndpointsApiGenerated, ExperimentalEndpointsApiGetUserAccountOrderDetailV2BaseRequest, ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request, ExperimentalEndpointsApiGetUserAccountOrderDetailV2RequestByAuthMode, ExperimentalEndpointsApiGetUserAccountOrderDetailV2commercialApiKeyRequest, ExperimentalEndpointsApiGetUserAccountOrderDetailV2personalApiKeyRequest, ExperimentalEndpointsApiGetUserAccountOrdersV2BaseRequest, ExperimentalEndpointsApiGetUserAccountOrdersV2Request, ExperimentalEndpointsApiGetUserAccountOrdersV2RequestByAuthMode, ExperimentalEndpointsApiGetUserAccountOrdersV2commercialApiKeyRequest, ExperimentalEndpointsApiGetUserAccountOrdersV2personalApiKeyRequest, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2BaseRequest, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2RequestByAuthMode, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2commercialApiKeyRequest, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2personalApiKeyRequest, ExperimentalEndpointsApiListConnectionAccountsBaseRequest, ExperimentalEndpointsApiListConnectionAccountsRequest, ExperimentalEndpointsApiListConnectionAccountsRequestByAuthMode, ExperimentalEndpointsApiListConnectionAccountscommercialApiKeyRequest, ExperimentalEndpointsApiListConnectionAccountspersonalApiKeyRequest, FigiInstrument, FutureInstrument, HoldingsStatus, Instrument, InvestmentAccount, InvestmentAccountMarketValue, LoginRedirectURI, ManualTrade, ManualTradeAndImpact, ManualTradeBalance, ManualTradeForm, ManualTradeFormBracket, ManualTradeFormComplex, ManualTradeFormNotionalValue, ManualTradeFormWithOptions, ManualTradeImpact, ManualTradePlaceTimeInForceStrict, ManualTradeReplaceForm, ManualTradeSymbol, MlegActionStrict, MlegInstrumentType, MlegLeg, MlegOrderResponse, MlegOrderTypeStrict, MlegPriceEffectStrict, MlegTradeForm, MlegTradingInstrument, Model400FailedRequestResponse, Model401FailedRequestResponse, Model402BrokerageAuthAlreadyDisabledException, Model402BrokerageAuthDisabledResponse, Model403FailedRequestResponse, Model403FeatureNotEnabledResponse, Model404FailedRequestResponse, Model425FailedRequestResponse, Model429TooManyRequestsResponse, Model500UnexpectedExceptionResponse, Model501NotImplementedResponse, Model503BrokerageRequestResponse, MonthlyDividends, MutualFundInstrument, NetContributions, NetDividend, NotionalValue, OptionBrokerageSymbol, OptionChainInner, OptionChainInnerChainPerRootInner, OptionChainInnerChainPerRootInnerChainPerStrikePriceInner, OptionImpact, OptionInstrument, OptionLeg, OptionQuote, OptionQuoteGreeks, OptionStrategy, OptionStrategyLegsInner, OptionsApi, OptionsApiAxiosParamCreator, OptionsApiFactory, OptionsApiFp, OptionsApiGenerated, OptionsApiListOptionHoldingsBaseRequest, OptionsApiListOptionHoldingsRequest, OptionsApiListOptionHoldingsRequestByAuthMode, OptionsApiListOptionHoldingscommercialApiKeyRequest, OptionsApiListOptionHoldingspersonalApiKeyRequest, OptionsPosition, OptionsPositionCurrency, OptionsSymbol, OrderTypeStrict, OrderUpdatedResponse, OrderUpdatedResponseOrder, OtherInstrument, PaginatedUniversalActivity, PaginationDetails, PartnerData, PastValue, PerformanceCustom, PersonalApiKeyAuth, Position, PositionCurrency, PositionSymbol, RateOfReturnObject, RateOfReturnResponse, RecentOrdersResponse, ReferenceDataApi, ReferenceDataApiAxiosParamCreator, ReferenceDataApiFactory, ReferenceDataApiFp, ReferenceDataApiGenerated, ReferenceDataApiGetCurrencyExchangeRatePairBaseRequest, ReferenceDataApiGetCurrencyExchangeRatePairRequest, ReferenceDataApiGetCurrencyExchangeRatePairRequestByAuthMode, ReferenceDataApiGetCurrencyExchangeRatePaircommercialApiKeyRequest, ReferenceDataApiGetCurrencyExchangeRatePairpersonalApiKeyRequest, ReferenceDataApiGetSymbolsBaseRequest, ReferenceDataApiGetSymbolsByTickerBaseRequest, ReferenceDataApiGetSymbolsByTickerRequest, ReferenceDataApiGetSymbolsByTickerRequestByAuthMode, ReferenceDataApiGetSymbolsByTickercommercialApiKeyRequest, ReferenceDataApiGetSymbolsByTickerpersonalApiKeyRequest, ReferenceDataApiGetSymbolsRequest, ReferenceDataApiGetSymbolsRequestByAuthMode, ReferenceDataApiGetSymbolscommercialApiKeyRequest, ReferenceDataApiGetSymbolspersonalApiKeyRequest, ReferenceDataApiListAllBrokerageAuthorizationTypeBaseRequest, ReferenceDataApiListAllBrokerageAuthorizationTypeRequest, ReferenceDataApiListAllBrokerageAuthorizationTypeRequestByAuthMode, ReferenceDataApiListAllBrokerageAuthorizationTypecommercialApiKeyRequest, ReferenceDataApiListAllBrokerageAuthorizationTypepersonalApiKeyRequest, ReferenceDataApiListAllBrokerageInstrumentsBaseRequest, ReferenceDataApiListAllBrokerageInstrumentsRequest, ReferenceDataApiListAllBrokerageInstrumentsRequestByAuthMode, ReferenceDataApiListAllBrokerageInstrumentscommercialApiKeyRequest, ReferenceDataApiListAllBrokerageInstrumentspersonalApiKeyRequest, ReferenceDataApiSymbolSearchUserAccountBaseRequest, ReferenceDataApiSymbolSearchUserAccountRequest, ReferenceDataApiSymbolSearchUserAccountRequestByAuthMode, ReferenceDataApiSymbolSearchUserAccountcommercialApiKeyRequest, ReferenceDataApiSymbolSearchUserAccountpersonalApiKeyRequest, SecurityType, SessionEvent, SimpleOrderForm, SnapTradeHoldingsAccount, SnapTradeHoldingsTotalValue, SnapTradeLoginUserRequestBody, SnapTradeRegisterUserRequestBody, Snaptrade, SnaptradeAuth, SnaptradeError, Status, StockInstrument, StockInstrumentFigiInstrument, StopLoss, StrategyOrderRecord, StrategyQuotes, StrategyQuotesGreek, SubPeriodReturnRate, Symbol$1 as Symbol, SymbolCurrency, SymbolExchange, SymbolQuery, SymbolsQuotesInner, TakeProfit, TaxLot, TimeInForceStrict, TradeDetectionAddSubscriptionRequest, TradeDetectionCancelSubscriptionRequest, TradeDetectionCancelSubscriptionResponse, TradeDetectionSubscription, TradingApi, TradingApiAxiosParamCreator, TradingApiCancelOrderBaseRequest, TradingApiCancelOrderRequest, TradingApiCancelOrderRequestByAuthMode, TradingApiCancelOrdercommercialApiKeyRequest, TradingApiCancelOrderpersonalApiKeyRequest, TradingApiCancelUserAccountOrderBaseRequest, TradingApiCancelUserAccountOrderRequest, TradingApiCancelUserAccountOrderRequestByAuthMode, TradingApiCancelUserAccountOrdercommercialApiKeyRequest, TradingApiCancelUserAccountOrderpersonalApiKeyRequest, TradingApiFactory, TradingApiFp, TradingApiGenerated, TradingApiGetCryptocurrencyPairQuoteBaseRequest, TradingApiGetCryptocurrencyPairQuoteRequest, TradingApiGetCryptocurrencyPairQuoteRequestByAuthMode, TradingApiGetCryptocurrencyPairQuotecommercialApiKeyRequest, TradingApiGetCryptocurrencyPairQuotepersonalApiKeyRequest, TradingApiGetOptionImpactBaseRequest, TradingApiGetOptionImpactRequest, TradingApiGetOptionImpactRequestByAuthMode, TradingApiGetOptionImpactcommercialApiKeyRequest, TradingApiGetOptionImpactpersonalApiKeyRequest, TradingApiGetOrderImpactBaseRequest, TradingApiGetOrderImpactRequest, TradingApiGetOrderImpactRequestByAuthMode, TradingApiGetOrderImpactcommercialApiKeyRequest, TradingApiGetOrderImpactpersonalApiKeyRequest, TradingApiGetUserAccountOptionQuotesBaseRequest, TradingApiGetUserAccountOptionQuotesRequest, TradingApiGetUserAccountOptionQuotesRequestByAuthMode, TradingApiGetUserAccountOptionQuotescommercialApiKeyRequest, TradingApiGetUserAccountOptionQuotespersonalApiKeyRequest, TradingApiGetUserAccountQuotesBaseRequest, TradingApiGetUserAccountQuotesRequest, TradingApiGetUserAccountQuotesRequestByAuthMode, TradingApiGetUserAccountQuotescommercialApiKeyRequest, TradingApiGetUserAccountQuotespersonalApiKeyRequest, TradingApiPlaceBracketOrderBaseRequest, TradingApiPlaceBracketOrderRequest, TradingApiPlaceBracketOrderRequestByAuthMode, TradingApiPlaceBracketOrdercommercialApiKeyRequest, TradingApiPlaceBracketOrderpersonalApiKeyRequest, TradingApiPlaceComplexOrderBaseRequest, TradingApiPlaceComplexOrderRequest, TradingApiPlaceComplexOrderRequestByAuthMode, TradingApiPlaceComplexOrdercommercialApiKeyRequest, TradingApiPlaceComplexOrderpersonalApiKeyRequest, TradingApiPlaceCryptoOrderBaseRequest, TradingApiPlaceCryptoOrderRequest, TradingApiPlaceCryptoOrderRequestByAuthMode, TradingApiPlaceCryptoOrdercommercialApiKeyRequest, TradingApiPlaceCryptoOrderpersonalApiKeyRequest, TradingApiPlaceForceOrderBaseRequest, TradingApiPlaceForceOrderRequest, TradingApiPlaceForceOrderRequestByAuthMode, TradingApiPlaceForceOrdercommercialApiKeyRequest, TradingApiPlaceForceOrderpersonalApiKeyRequest, TradingApiPlaceMlegOrderBaseRequest, TradingApiPlaceMlegOrderRequest, TradingApiPlaceMlegOrderRequestByAuthMode, TradingApiPlaceMlegOrdercommercialApiKeyRequest, TradingApiPlaceMlegOrderpersonalApiKeyRequest, TradingApiPlaceOrderBaseRequest, TradingApiPlaceOrderRequest, TradingApiPlaceOrderRequestByAuthMode, TradingApiPlaceOrdercommercialApiKeyRequest, TradingApiPlaceOrderpersonalApiKeyRequest, TradingApiPreviewCryptoOrderBaseRequest, TradingApiPreviewCryptoOrderRequest, TradingApiPreviewCryptoOrderRequestByAuthMode, TradingApiPreviewCryptoOrdercommercialApiKeyRequest, TradingApiPreviewCryptoOrderpersonalApiKeyRequest, TradingApiReplaceOrderBaseRequest, TradingApiReplaceOrderRequest, TradingApiReplaceOrderRequestByAuthMode, TradingApiReplaceOrdercommercialApiKeyRequest, TradingApiReplaceOrderpersonalApiKeyRequest, TradingApiSearchCryptocurrencyPairInstrumentsBaseRequest, TradingApiSearchCryptocurrencyPairInstrumentsRequest, TradingApiSearchCryptocurrencyPairInstrumentsRequestByAuthMode, TradingApiSearchCryptocurrencyPairInstrumentscommercialApiKeyRequest, TradingApiSearchCryptocurrencyPairInstrumentspersonalApiKeyRequest, TradingInstrument, TradingSearchCryptocurrencyPairInstruments200Response, TradingSession, TrailingStop, TransactionsAndReportingApi, TransactionsAndReportingApiAxiosParamCreator, TransactionsAndReportingApiFactory, TransactionsAndReportingApiFp, TransactionsAndReportingApiGenerated, TransactionsAndReportingApiGetActivitiesBaseRequest, TransactionsAndReportingApiGetActivitiesRequest, TransactionsAndReportingApiGetActivitiesRequestByAuthMode, TransactionsAndReportingApiGetActivitiescommercialApiKeyRequest, TransactionsAndReportingApiGetActivitiespersonalApiKeyRequest, TransactionsAndReportingApiGetReportingCustomRangeBaseRequest, TransactionsAndReportingApiGetReportingCustomRangeRequest, TransactionsAndReportingApiGetReportingCustomRangeRequestByAuthMode, TransactionsAndReportingApiGetReportingCustomRangecommercialApiKeyRequest, TransactionsAndReportingApiGetReportingCustomRangepersonalApiKeyRequest, TransactionsStatus, USExchange, UnderlyingCfdInstrument, UnderlyingOptionInstrument, UnderlyingSymbol, UnderlyingSymbolExchange, UnderlyingSymbolType, UniversalActivity, UniversalSymbol, UserIDandSecret, ValidatedTradeBody, parseIfJson, readableStreamToString };
|
|
10535
|
+
export { Account, AccountBalance, AccountBalanceTotal, AccountHoldings, AccountHoldingsAccount, AccountInformationApi, AccountInformationApiAxiosParamCreator, AccountInformationApiFactory, AccountInformationApiFp, AccountInformationApiGenerated, AccountInformationApiGetAccountActivitiesBaseRequest, AccountInformationApiGetAccountActivitiesRequest, AccountInformationApiGetAccountActivitiesRequestByAuthMode, AccountInformationApiGetAccountActivitiescommercialApiKeyRequest, AccountInformationApiGetAccountActivitiespersonalApiKeyRequest, AccountInformationApiGetAccountBalanceHistoryBaseRequest, AccountInformationApiGetAccountBalanceHistoryRequest, AccountInformationApiGetAccountBalanceHistoryRequestByAuthMode, AccountInformationApiGetAccountBalanceHistorycommercialApiKeyRequest, AccountInformationApiGetAccountBalanceHistorypersonalApiKeyRequest, AccountInformationApiGetAllAccountPositionsBaseRequest, AccountInformationApiGetAllAccountPositionsRequest, AccountInformationApiGetAllAccountPositionsRequestByAuthMode, AccountInformationApiGetAllAccountPositionscommercialApiKeyRequest, AccountInformationApiGetAllAccountPositionspersonalApiKeyRequest, AccountInformationApiGetUserAccountBalanceBaseRequest, AccountInformationApiGetUserAccountBalanceRequest, AccountInformationApiGetUserAccountBalanceRequestByAuthMode, AccountInformationApiGetUserAccountBalancecommercialApiKeyRequest, AccountInformationApiGetUserAccountBalancepersonalApiKeyRequest, AccountInformationApiGetUserAccountDetailsBaseRequest, AccountInformationApiGetUserAccountDetailsRequest, AccountInformationApiGetUserAccountDetailsRequestByAuthMode, AccountInformationApiGetUserAccountDetailscommercialApiKeyRequest, AccountInformationApiGetUserAccountDetailspersonalApiKeyRequest, AccountInformationApiGetUserAccountOrderDetailBaseRequest, AccountInformationApiGetUserAccountOrderDetailRequest, AccountInformationApiGetUserAccountOrderDetailRequestByAuthMode, AccountInformationApiGetUserAccountOrderDetailcommercialApiKeyRequest, AccountInformationApiGetUserAccountOrderDetailpersonalApiKeyRequest, AccountInformationApiGetUserAccountOrdersBaseRequest, AccountInformationApiGetUserAccountOrdersRequest, AccountInformationApiGetUserAccountOrdersRequestByAuthMode, AccountInformationApiGetUserAccountOrderscommercialApiKeyRequest, AccountInformationApiGetUserAccountOrderspersonalApiKeyRequest, AccountInformationApiGetUserAccountRecentOrdersBaseRequest, AccountInformationApiGetUserAccountRecentOrdersRequest, AccountInformationApiGetUserAccountRecentOrdersRequestByAuthMode, AccountInformationApiGetUserAccountRecentOrderscommercialApiKeyRequest, AccountInformationApiGetUserAccountRecentOrderspersonalApiKeyRequest, AccountInformationApiGetUserAccountReturnRatesBaseRequest, AccountInformationApiGetUserAccountReturnRatesRequest, AccountInformationApiGetUserAccountReturnRatesRequestByAuthMode, AccountInformationApiGetUserAccountReturnRatescommercialApiKeyRequest, AccountInformationApiGetUserAccountReturnRatespersonalApiKeyRequest, AccountInformationApiGetUserHoldingsBaseRequest, AccountInformationApiGetUserHoldingsRequest, AccountInformationApiGetUserHoldingsRequestByAuthMode, AccountInformationApiGetUserHoldingscommercialApiKeyRequest, AccountInformationApiGetUserHoldingspersonalApiKeyRequest, AccountInformationApiListUserAccountsBaseRequest, AccountInformationApiListUserAccountsRequest, AccountInformationApiListUserAccountsRequestByAuthMode, AccountInformationApiListUserAccountscommercialApiKeyRequest, AccountInformationApiListUserAccountspersonalApiKeyRequest, AccountInformationApiUpdateUserAccountBaseRequest, AccountInformationApiUpdateUserAccountRequest, AccountInformationApiUpdateUserAccountRequestByAuthMode, AccountInformationApiUpdateUserAccountcommercialApiKeyRequest, AccountInformationApiUpdateUserAccountpersonalApiKeyRequest, AccountInformationGetUserAccountOrderDetailRequest, AccountOrderRecord, AccountOrderRecordChildBrokerageOrderIds, AccountOrderRecordLeg, AccountOrderRecordLegInstrument, AccountOrderRecordOptionSymbol, AccountOrderRecordQuoteCurrency, AccountOrderRecordQuoteUniversalSymbol, AccountOrderRecordStatus, AccountOrderRecordStatusV2, AccountOrderRecordTrailingStop, AccountOrderRecordUniversalSymbol, AccountOrderRecordV2, AccountOrdersV2Response, AccountPosition, AccountSimple, AccountSyncStatus, AccountUniversalActivity, AccountUniversalActivityCurrency, AccountUniversalActivityCurrencyUniversalSymbol, AccountUniversalActivityOptionSymbol, AccountUniversalActivitySymbol, AccountValueHistoryItem, AccountValueHistoryResponse, ActionStrict, ActionStrictWithOptions, AdrInstrument, AllAccountPositionsResponse, AllAccountPositionsResponseDataFreshness, ApiKey, ApiStatusApi, ApiStatusApiAxiosParamCreator, ApiStatusApiFactory, ApiStatusApiFp, ApiStatusApiGenerated, type AuthMode, AuthenticationApi, AuthenticationApiAxiosParamCreator, AuthenticationApiDeleteSnapTradeUserBaseRequest, AuthenticationApiDeleteSnapTradeUserRequest, AuthenticationApiDeleteSnapTradeUserRequestByAuthMode, AuthenticationApiDeleteSnapTradeUsercommercialApiKeyRequest, AuthenticationApiFactory, AuthenticationApiFp, AuthenticationApiGenerated, AuthenticationApiLoginSnapTradeUserBaseRequest, AuthenticationApiLoginSnapTradeUserRequest, AuthenticationApiLoginSnapTradeUserRequestByAuthMode, AuthenticationApiLoginSnapTradeUsercommercialApiKeyRequest, AuthenticationApiLoginSnapTradeUserpersonalApiKeyRequest, AuthenticationApiRegisterSnapTradeUserBaseRequest, AuthenticationApiRegisterSnapTradeUserRequest, AuthenticationApiRegisterSnapTradeUserRequestByAuthMode, AuthenticationApiRegisterSnapTradeUsercommercialApiKeyRequest, AuthenticationApiResetSnapTradeUserSecretBaseRequest, AuthenticationApiResetSnapTradeUserSecretRequest, AuthenticationApiResetSnapTradeUserSecretRequestByAuthMode, AuthenticationApiResetSnapTradeUserSecretcommercialApiKeyRequest, AuthenticationLoginSnapTradeUser200Response, Balance, BalanceCurrency, Brokerage, BrokerageAuthorization, BrokerageAuthorizationDisabledConfirmation, BrokerageAuthorizationRefreshConfirmation, BrokerageAuthorizationTransactionsSyncConfirmation, BrokerageAuthorizationTypeReadOnly, BrokerageAuthorizationTypeReadOnlyBrokerage, BrokerageInstrument, BrokerageInstrumentsResponse, BrokerageType, CancelOrderResponse, CefInstrument, CfdInstrument, ChildBrokerageOrderIDs, CommercialApiKeyAuth, ComplexOrderLeg, ComplexOrderResponse, Configuration, ConfigurationParameters, ConfigurationParametersShared, ConnectionAccount, ConnectionAccountSyncStatus, ConnectionsApi, ConnectionsApiAxiosParamCreator, ConnectionsApiDeleteConnectionBaseRequest, ConnectionsApiDeleteConnectionRequest, ConnectionsApiDeleteConnectionRequestByAuthMode, ConnectionsApiDeleteConnectioncommercialApiKeyRequest, ConnectionsApiDeleteConnectionpersonalApiKeyRequest, ConnectionsApiDetailBrokerageAuthorizationBaseRequest, ConnectionsApiDetailBrokerageAuthorizationRequest, ConnectionsApiDetailBrokerageAuthorizationRequestByAuthMode, ConnectionsApiDetailBrokerageAuthorizationcommercialApiKeyRequest, ConnectionsApiDetailBrokerageAuthorizationpersonalApiKeyRequest, ConnectionsApiDisableBrokerageAuthorizationBaseRequest, ConnectionsApiDisableBrokerageAuthorizationRequest, ConnectionsApiDisableBrokerageAuthorizationRequestByAuthMode, ConnectionsApiDisableBrokerageAuthorizationcommercialApiKeyRequest, ConnectionsApiDisableBrokerageAuthorizationpersonalApiKeyRequest, ConnectionsApiFactory, ConnectionsApiFp, ConnectionsApiGenerated, ConnectionsApiListBrokerageAuthorizationAccountsBaseRequest, ConnectionsApiListBrokerageAuthorizationAccountsRequest, ConnectionsApiListBrokerageAuthorizationAccountsRequestByAuthMode, ConnectionsApiListBrokerageAuthorizationAccountscommercialApiKeyRequest, ConnectionsApiListBrokerageAuthorizationAccountspersonalApiKeyRequest, ConnectionsApiListBrokerageAuthorizationsBaseRequest, ConnectionsApiListBrokerageAuthorizationsRequest, ConnectionsApiListBrokerageAuthorizationsRequestByAuthMode, ConnectionsApiListBrokerageAuthorizationscommercialApiKeyRequest, ConnectionsApiListBrokerageAuthorizationspersonalApiKeyRequest, ConnectionsApiRefreshBrokerageAuthorizationBaseRequest, ConnectionsApiRefreshBrokerageAuthorizationRequest, ConnectionsApiRefreshBrokerageAuthorizationRequestByAuthMode, ConnectionsApiRefreshBrokerageAuthorizationcommercialApiKeyRequest, ConnectionsApiRefreshBrokerageAuthorizationpersonalApiKeyRequest, ConnectionsApiReturnRatesBaseRequest, ConnectionsApiReturnRatesRequest, ConnectionsApiReturnRatesRequestByAuthMode, ConnectionsApiReturnRatescommercialApiKeyRequest, ConnectionsApiReturnRatespersonalApiKeyRequest, ConnectionsApiSyncBrokerageAuthorizationTransactionsBaseRequest, ConnectionsApiSyncBrokerageAuthorizationTransactionsRequest, ConnectionsApiSyncBrokerageAuthorizationTransactionsRequestByAuthMode, ConnectionsApiSyncBrokerageAuthorizationTransactionscommercialApiKeyRequest, ConnectionsApiSyncBrokerageAuthorizationTransactionspersonalApiKeyRequest, CryptoInstrument, CryptoOrderForm, CryptoOrderPreview, CryptoOrderPreviewEstimatedFee, CryptoTradingInstrument, CryptocurrencyPair, CryptocurrencyPairQuote, Currency, DeleteConnectionConfirmation, DeleteUserResponse, DividendAtDate, EncryptedResponse, EncryptedResponseEncryptedMessageData, EtfInstrument, Exchange, ExchangeRatePairs, ExperimentalEndpointsApi, ExperimentalEndpointsApiAddSubscriptionBaseRequest, ExperimentalEndpointsApiAddSubscriptionRequest, ExperimentalEndpointsApiAddSubscriptionRequestByAuthMode, ExperimentalEndpointsApiAddSubscriptioncommercialApiKeyRequest, ExperimentalEndpointsApiAddSubscriptionpersonalApiKeyRequest, ExperimentalEndpointsApiAxiosParamCreator, ExperimentalEndpointsApiCancelSubscriptionBaseRequest, ExperimentalEndpointsApiCancelSubscriptionRequest, ExperimentalEndpointsApiCancelSubscriptionRequestByAuthMode, ExperimentalEndpointsApiCancelSubscriptioncommercialApiKeyRequest, ExperimentalEndpointsApiCancelSubscriptionpersonalApiKeyRequest, ExperimentalEndpointsApiFactory, ExperimentalEndpointsApiFp, ExperimentalEndpointsApiGenerated, ExperimentalEndpointsApiGetUserAccountOrderDetailV2BaseRequest, ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request, ExperimentalEndpointsApiGetUserAccountOrderDetailV2RequestByAuthMode, ExperimentalEndpointsApiGetUserAccountOrderDetailV2commercialApiKeyRequest, ExperimentalEndpointsApiGetUserAccountOrderDetailV2personalApiKeyRequest, ExperimentalEndpointsApiGetUserAccountOrdersV2BaseRequest, ExperimentalEndpointsApiGetUserAccountOrdersV2Request, ExperimentalEndpointsApiGetUserAccountOrdersV2RequestByAuthMode, ExperimentalEndpointsApiGetUserAccountOrdersV2commercialApiKeyRequest, ExperimentalEndpointsApiGetUserAccountOrdersV2personalApiKeyRequest, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2BaseRequest, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2RequestByAuthMode, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2commercialApiKeyRequest, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2personalApiKeyRequest, ExperimentalEndpointsApiListConnectionAccountsBaseRequest, ExperimentalEndpointsApiListConnectionAccountsRequest, ExperimentalEndpointsApiListConnectionAccountsRequestByAuthMode, ExperimentalEndpointsApiListConnectionAccountscommercialApiKeyRequest, ExperimentalEndpointsApiListConnectionAccountspersonalApiKeyRequest, FigiInstrument, FutureInstrument, HoldingsStatus, Instrument, InvestmentAccount, InvestmentAccountMarketValue, LoginRedirectURI, ManualTrade, ManualTradeAndImpact, ManualTradeBalance, ManualTradeForm, ManualTradeFormBracket, ManualTradeFormComplex, ManualTradeFormNotionalValue, ManualTradeFormWithOptions, ManualTradeImpact, ManualTradePlaceTimeInForceStrict, ManualTradeReplaceForm, ManualTradeSymbol, MlegActionStrict, MlegInstrumentType, MlegLeg, MlegOrderResponse, MlegOrderTypeStrict, MlegPriceEffectStrict, MlegTradeForm, MlegTradingInstrument, Model400FailedRequestResponse, Model401FailedRequestResponse, Model402BrokerageAuthAlreadyDisabledException, Model402BrokerageAuthDisabledResponse, Model403FailedRequestResponse, Model403FeatureNotEnabledResponse, Model404FailedRequestResponse, Model425FailedRequestResponse, Model429TooManyRequestsResponse, Model500UnexpectedExceptionResponse, Model501NotImplementedResponse, Model503BrokerageRequestResponse, MonthlyDividends, MutualFundInstrument, NetContributions, NetDividend, NotionalValue, OptionBrokerageSymbol, OptionChainInner, OptionChainInnerChainPerRootInner, OptionChainInnerChainPerRootInnerChainPerStrikePriceInner, OptionImpact, OptionInstrument, OptionLeg, OptionQuote, OptionQuoteGreeks, OptionStrategy, OptionStrategyLegsInner, OptionsPosition, OptionsPositionCurrency, OptionsSymbol, OrderTypeStrict, OrderUpdatedResponse, OrderUpdatedResponseOrder, OtherInstrument, PaginatedUniversalActivity, PaginationDetails, PartnerData, PastValue, PerformanceCustom, PersonalApiKeyAuth, Position, PositionCurrency, PositionSymbol, RateOfReturnObject, RateOfReturnResponse, RecentOrdersResponse, ReferenceDataApi, ReferenceDataApiAxiosParamCreator, ReferenceDataApiFactory, ReferenceDataApiFp, ReferenceDataApiGenerated, ReferenceDataApiGetSymbolsBaseRequest, ReferenceDataApiGetSymbolsByTickerBaseRequest, ReferenceDataApiGetSymbolsByTickerRequest, ReferenceDataApiGetSymbolsByTickerRequestByAuthMode, ReferenceDataApiGetSymbolsByTickercommercialApiKeyRequest, ReferenceDataApiGetSymbolsByTickerpersonalApiKeyRequest, ReferenceDataApiGetSymbolsRequest, ReferenceDataApiGetSymbolsRequestByAuthMode, ReferenceDataApiGetSymbolscommercialApiKeyRequest, ReferenceDataApiGetSymbolspersonalApiKeyRequest, ReferenceDataApiListAllBrokerageAuthorizationTypeBaseRequest, ReferenceDataApiListAllBrokerageAuthorizationTypeRequest, ReferenceDataApiListAllBrokerageAuthorizationTypeRequestByAuthMode, ReferenceDataApiListAllBrokerageAuthorizationTypecommercialApiKeyRequest, ReferenceDataApiListAllBrokerageAuthorizationTypepersonalApiKeyRequest, ReferenceDataApiListAllBrokerageInstrumentsBaseRequest, ReferenceDataApiListAllBrokerageInstrumentsRequest, ReferenceDataApiListAllBrokerageInstrumentsRequestByAuthMode, ReferenceDataApiListAllBrokerageInstrumentscommercialApiKeyRequest, ReferenceDataApiListAllBrokerageInstrumentspersonalApiKeyRequest, ReferenceDataApiSymbolSearchUserAccountBaseRequest, ReferenceDataApiSymbolSearchUserAccountRequest, ReferenceDataApiSymbolSearchUserAccountRequestByAuthMode, ReferenceDataApiSymbolSearchUserAccountcommercialApiKeyRequest, ReferenceDataApiSymbolSearchUserAccountpersonalApiKeyRequest, SecurityType, SessionEvent, SimpleOrderForm, SnapTradeHoldingsAccount, SnapTradeHoldingsTotalValue, SnapTradeLoginUserRequestBody, SnapTradeRegisterUserRequestBody, Snaptrade, SnaptradeAuth, SnaptradeError, Status, StockInstrument, StockInstrumentFigiInstrument, StopLoss, StrategyOrderRecord, StrategyQuotes, StrategyQuotesGreek, SubPeriodReturnRate, Symbol, SymbolCurrency, SymbolExchange, SymbolQuery, SymbolsQuotesInner, TakeProfit, TaxLot, TimeInForceStrict, TradeDetectionAddSubscriptionRequest, TradeDetectionCancelSubscriptionRequest, TradeDetectionCancelSubscriptionResponse, TradeDetectionSubscription, TradingApi, TradingApiAxiosParamCreator, TradingApiCancelOrderBaseRequest, TradingApiCancelOrderRequest, TradingApiCancelOrderRequestByAuthMode, TradingApiCancelOrdercommercialApiKeyRequest, TradingApiCancelOrderpersonalApiKeyRequest, TradingApiFactory, TradingApiFp, TradingApiGenerated, TradingApiGetCryptocurrencyPairQuoteBaseRequest, TradingApiGetCryptocurrencyPairQuoteRequest, TradingApiGetCryptocurrencyPairQuoteRequestByAuthMode, TradingApiGetCryptocurrencyPairQuotecommercialApiKeyRequest, TradingApiGetCryptocurrencyPairQuotepersonalApiKeyRequest, TradingApiGetOptionImpactBaseRequest, TradingApiGetOptionImpactRequest, TradingApiGetOptionImpactRequestByAuthMode, TradingApiGetOptionImpactcommercialApiKeyRequest, TradingApiGetOptionImpactpersonalApiKeyRequest, TradingApiGetOrderImpactBaseRequest, TradingApiGetOrderImpactRequest, TradingApiGetOrderImpactRequestByAuthMode, TradingApiGetOrderImpactcommercialApiKeyRequest, TradingApiGetOrderImpactpersonalApiKeyRequest, TradingApiGetUserAccountOptionQuotesBaseRequest, TradingApiGetUserAccountOptionQuotesRequest, TradingApiGetUserAccountOptionQuotesRequestByAuthMode, TradingApiGetUserAccountOptionQuotescommercialApiKeyRequest, TradingApiGetUserAccountOptionQuotespersonalApiKeyRequest, TradingApiGetUserAccountQuotesBaseRequest, TradingApiGetUserAccountQuotesRequest, TradingApiGetUserAccountQuotesRequestByAuthMode, TradingApiGetUserAccountQuotescommercialApiKeyRequest, TradingApiGetUserAccountQuotespersonalApiKeyRequest, TradingApiPlaceComplexOrderBaseRequest, TradingApiPlaceComplexOrderRequest, TradingApiPlaceComplexOrderRequestByAuthMode, TradingApiPlaceComplexOrdercommercialApiKeyRequest, TradingApiPlaceComplexOrderpersonalApiKeyRequest, TradingApiPlaceCryptoOrderBaseRequest, TradingApiPlaceCryptoOrderRequest, TradingApiPlaceCryptoOrderRequestByAuthMode, TradingApiPlaceCryptoOrdercommercialApiKeyRequest, TradingApiPlaceCryptoOrderpersonalApiKeyRequest, TradingApiPlaceForceOrderBaseRequest, TradingApiPlaceForceOrderRequest, TradingApiPlaceForceOrderRequestByAuthMode, TradingApiPlaceForceOrdercommercialApiKeyRequest, TradingApiPlaceForceOrderpersonalApiKeyRequest, TradingApiPlaceMlegOrderBaseRequest, TradingApiPlaceMlegOrderRequest, TradingApiPlaceMlegOrderRequestByAuthMode, TradingApiPlaceMlegOrdercommercialApiKeyRequest, TradingApiPlaceMlegOrderpersonalApiKeyRequest, TradingApiPlaceOrderBaseRequest, TradingApiPlaceOrderRequest, TradingApiPlaceOrderRequestByAuthMode, TradingApiPlaceOrdercommercialApiKeyRequest, TradingApiPlaceOrderpersonalApiKeyRequest, TradingApiPreviewCryptoOrderBaseRequest, TradingApiPreviewCryptoOrderRequest, TradingApiPreviewCryptoOrderRequestByAuthMode, TradingApiPreviewCryptoOrdercommercialApiKeyRequest, TradingApiPreviewCryptoOrderpersonalApiKeyRequest, TradingApiReplaceOrderBaseRequest, TradingApiReplaceOrderRequest, TradingApiReplaceOrderRequestByAuthMode, TradingApiReplaceOrdercommercialApiKeyRequest, TradingApiReplaceOrderpersonalApiKeyRequest, TradingApiSearchCryptocurrencyPairInstrumentsBaseRequest, TradingApiSearchCryptocurrencyPairInstrumentsRequest, TradingApiSearchCryptocurrencyPairInstrumentsRequestByAuthMode, TradingApiSearchCryptocurrencyPairInstrumentscommercialApiKeyRequest, TradingApiSearchCryptocurrencyPairInstrumentspersonalApiKeyRequest, TradingInstrument, TradingSearchCryptocurrencyPairInstruments200Response, TradingSession, TrailingStop, TransactionsStatus, USExchange, UnderlyingCfdInstrument, UnderlyingOptionInstrument, UnderlyingSymbol, UnderlyingSymbolExchange, UnderlyingSymbolType, UniversalActivity, UniversalSymbol, UserIDandSecret, ValidatedTradeBody, parseIfJson, readableStreamToString };
|