snaptrade-typescript-sdk 10.0.1 → 10.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -6357,6 +6357,21 @@ interface SymbolsQuotesInner {
6357
6357
  'ask_size'?: number;
6358
6358
  }
6359
6359
  //#endregion
6360
+ //#region models/trade-detection-add-subscription-request.d.ts
6361
+ /**
6362
+ *
6363
+ * @export
6364
+ * @interface TradeDetectionAddSubscriptionRequest
6365
+ */
6366
+ interface TradeDetectionAddSubscriptionRequest {
6367
+ /**
6368
+ * Unique identifier for the connected brokerage account. This is the UUID used to reference the account in SnapTrade.
6369
+ * @type {string}
6370
+ * @memberof TradeDetectionAddSubscriptionRequest
6371
+ */
6372
+ 'account_id': string;
6373
+ }
6374
+ //#endregion
6360
6375
  //#region models/trade-detection-cancel-subscription-response.d.ts
6361
6376
  /**
6362
6377
  *
@@ -6748,12 +6763,13 @@ declare const AccountInformationApiAxiosParamCreator: (configuration?: Configura
6748
6763
  */
6749
6764
  getUserAccountOrders: (userId: string, userSecret: string, accountId: string, state?: "all" | "open" | "executed", days?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6750
6765
  /**
6751
- * 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). Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. 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.
6766
+ * 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). This endpoint is deprecated. Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. 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.
6752
6767
  * @summary List account positions
6753
6768
  * @param {string} userId
6754
6769
  * @param {string} userSecret
6755
6770
  * @param {string} accountId
6756
6771
  * @param {*} [options] Override http request option.
6772
+ * @deprecated
6757
6773
  * @throws {RequiredError}
6758
6774
  */
6759
6775
  getUserAccountPositions: (userId: string, userSecret: string, accountId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
@@ -6882,10 +6898,11 @@ declare const AccountInformationApiFp: (configuration?: Configuration) => {
6882
6898
  */
6883
6899
  getUserAccountOrders(requestParameters: AccountInformationApiGetUserAccountOrdersRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountOrderRecord>>>;
6884
6900
  /**
6885
- * 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). Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. 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.
6901
+ * 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). This endpoint is deprecated. Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. 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.
6886
6902
  * @summary List account positions
6887
6903
  * @param {AccountInformationApiGetUserAccountPositionsRequest} requestParameters Request parameters.
6888
6904
  * @param {*} [options] Override http request option.
6905
+ * @deprecated
6889
6906
  * @throws {RequiredError}
6890
6907
  */
6891
6908
  getUserAccountPositions(requestParameters: AccountInformationApiGetUserAccountPositionsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Position>>>;
@@ -7003,10 +7020,11 @@ declare const AccountInformationApiFactory: (configuration?: Configuration, base
7003
7020
  */
7004
7021
  getUserAccountOrders(requestParameters: AccountInformationApiGetUserAccountOrdersRequest, options?: AxiosRequestConfig): AxiosPromise<Array<AccountOrderRecord>>;
7005
7022
  /**
7006
- * 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). Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. 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.
7023
+ * 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). This endpoint is deprecated. Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. 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.
7007
7024
  * @summary List account positions
7008
7025
  * @param {AccountInformationApiGetUserAccountPositionsRequest} requestParameters Request parameters.
7009
7026
  * @param {*} [options] Override http request option.
7027
+ * @deprecated
7010
7028
  * @throws {RequiredError}
7011
7029
  */
7012
7030
  getUserAccountPositions(requestParameters: AccountInformationApiGetUserAccountPositionsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<Position>>;
@@ -7532,10 +7550,11 @@ declare class AccountInformationApiGenerated extends BaseAPI {
7532
7550
  */
7533
7551
  getUserAccountOrders(requestParameters: AccountInformationApiGetUserAccountOrdersRequest, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<AccountOrderRecord[], any, {}>>;
7534
7552
  /**
7535
- * 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). Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. 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.
7553
+ * 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). This endpoint is deprecated. Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. 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.
7536
7554
  * @summary List account positions
7537
7555
  * @param {AccountInformationApiGetUserAccountPositionsRequest} requestParameters Request parameters.
7538
7556
  * @param {*} [options] Override http request option.
7557
+ * @deprecated
7539
7558
  * @throws {RequiredError}
7540
7559
  * @memberof AccountInformationApiGenerated
7541
7560
  */
@@ -7944,7 +7963,7 @@ declare const ConnectionsApiAxiosParamCreator: (configuration?: Configuration) =
7944
7963
  */
7945
7964
  listBrokerageAuthorizations: (userId: string, userSecret: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7946
7965
  /**
7947
- * Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** **Please note this endpoint is disabled for Pay as you Go / Real-time plans. Pay as you Go / Real-time plans do not benefit from this feature since data is refreshed when calls are made**
7966
+ * Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** **Please note this endpoint is disabled for Personal and Pay as you Go Real-time plans. Real-time plans do not benefit from this feature since data is refreshed when calls are made**
7948
7967
  * @summary Refresh holdings for a connection
7949
7968
  * @param {string} authorizationId
7950
7969
  * @param {string} userId
@@ -8041,7 +8060,7 @@ declare const ConnectionsApiFp: (configuration?: Configuration) => {
8041
8060
  */
8042
8061
  listBrokerageAuthorizations(requestParameters: ConnectionsApiListBrokerageAuthorizationsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BrokerageAuthorization>>>;
8043
8062
  /**
8044
- * Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** **Please note this endpoint is disabled for Pay as you Go / Real-time plans. Pay as you Go / Real-time plans do not benefit from this feature since data is refreshed when calls are made**
8063
+ * Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** **Please note this endpoint is disabled for Personal and Pay as you Go Real-time plans. Real-time plans do not benefit from this feature since data is refreshed when calls are made**
8045
8064
  * @summary Refresh holdings for a connection
8046
8065
  * @param {ConnectionsApiRefreshBrokerageAuthorizationRequest} requestParameters Request parameters.
8047
8066
  * @param {*} [options] Override http request option.
@@ -8127,7 +8146,7 @@ declare const ConnectionsApiFactory: (configuration?: Configuration, basePath?:
8127
8146
  */
8128
8147
  listBrokerageAuthorizations(requestParameters: ConnectionsApiListBrokerageAuthorizationsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<BrokerageAuthorization>>;
8129
8148
  /**
8130
- * Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** **Please note this endpoint is disabled for Pay as you Go / Real-time plans. Pay as you Go / Real-time plans do not benefit from this feature since data is refreshed when calls are made**
8149
+ * Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** **Please note this endpoint is disabled for Personal and Pay as you Go Real-time plans. Real-time plans do not benefit from this feature since data is refreshed when calls are made**
8131
8150
  * @summary Refresh holdings for a connection
8132
8151
  * @param {ConnectionsApiRefreshBrokerageAuthorizationRequest} requestParameters Request parameters.
8133
8152
  * @param {*} [options] Override http request option.
@@ -8470,7 +8489,7 @@ declare class ConnectionsApiGenerated extends BaseAPI {
8470
8489
  */
8471
8490
  listBrokerageAuthorizations(requestParameters: ConnectionsApiListBrokerageAuthorizationsRequest, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<BrokerageAuthorization[], any, {}>>;
8472
8491
  /**
8473
- * Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** **Please note this endpoint is disabled for Pay as you Go / Real-time plans. Pay as you Go / Real-time plans do not benefit from this feature since data is refreshed when calls are made**
8492
+ * Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** **Please note this endpoint is disabled for Personal and Pay as you Go Real-time plans. Real-time plans do not benefit from this feature since data is refreshed when calls are made**
8474
8493
  * @summary Refresh holdings for a connection
8475
8494
  * @param {ConnectionsApiRefreshBrokerageAuthorizationRequest} requestParameters Request parameters.
8476
8495
  * @param {*} [options] Override http request option.
@@ -8519,6 +8538,367 @@ declare class ConnectionsApiGenerated extends BaseAPI {
8519
8538
  //#region api/connections-api.d.ts
8520
8539
  declare class ConnectionsApi extends ConnectionsApiGenerated {}
8521
8540
  //#endregion
8541
+ //#region api/experimental-endpoints-api-generated.d.ts
8542
+ /**
8543
+ * ExperimentalEndpointsApi - axios parameter creator
8544
+ * @export
8545
+ */
8546
+ declare const ExperimentalEndpointsApiAxiosParamCreator: (configuration?: Configuration) => {
8547
+ /**
8548
+ * Adds or restores a Trade Detection subscription for a connected brokerage account. This endpoint requires `userId` and `userSecret` in addition to the partner signature.
8549
+ * @summary Add a Trade Detection subscription
8550
+ * @param {string} userId
8551
+ * @param {string} userSecret
8552
+ * @param {TradeDetectionAddSubscriptionRequest} tradeDetectionAddSubscriptionRequest
8553
+ * @param {*} [options] Override http request option.
8554
+ * @throws {RequiredError}
8555
+ */
8556
+ addSubscription: (userId: string, userSecret: string, tradeDetectionAddSubscriptionRequest: TradeDetectionAddSubscriptionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8557
+ /**
8558
+ * Cancels a Trade Detection subscription for a connected brokerage account. This endpoint requires partner signature authentication only and does not require `userId` or `userSecret`.
8559
+ * @summary Cancel a Trade Detection subscription
8560
+ * @param {TradeDetectionAddSubscriptionRequest} tradeDetectionAddSubscriptionRequest
8561
+ * @param {*} [options] Override http request option.
8562
+ * @throws {RequiredError}
8563
+ */
8564
+ cancelSubscription: (tradeDetectionAddSubscriptionRequest: TradeDetectionAddSubscriptionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8565
+ /**
8566
+ * Returns the detail of a single order using the brokerage order ID provided as a path parameter. The V2 order response format includes all legs of the order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
8567
+ * @summary Get account order detail (V2)
8568
+ * @param {string} accountId
8569
+ * @param {string} brokerageOrderId
8570
+ * @param {string} userId
8571
+ * @param {string} userSecret
8572
+ * @param {*} [options] Override http request option.
8573
+ * @throws {RequiredError}
8574
+ */
8575
+ getUserAccountOrderDetailV2: (accountId: string, brokerageOrderId: string, userId: string, userSecret: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8576
+ /**
8577
+ * Returns a list of recent orders in the specified account. The V2 order response format will include all legs of each order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
8578
+ * @summary List account orders v2
8579
+ * @param {string} userId
8580
+ * @param {string} userSecret
8581
+ * @param {string} accountId
8582
+ * @param {'all' | 'open' | 'executed'} [state] defaults to \&quot;all\&quot;
8583
+ * @param {number} [days] Number of days in the past to fetch the most recent orders. Defaults to the last 30 days if no value is passed in. Values greater than 90 will be capped at 90.
8584
+ * @param {*} [options] Override http request option.
8585
+ * @throws {RequiredError}
8586
+ */
8587
+ getUserAccountOrdersV2: (userId: string, userSecret: string, accountId: string, state?: "all" | "open" | "executed", days?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8588
+ /**
8589
+ * A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account using the V2 order format. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders. Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days. By default only returns executed orders, but that can be changed by setting *only_executed* to false. **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
8590
+ * @summary List account recent orders (V2, last 24 hours only)
8591
+ * @param {string} userId
8592
+ * @param {string} userSecret
8593
+ * @param {string} accountId
8594
+ * @param {boolean} [onlyExecuted] Defaults to true. Indicates if request should fetch only executed orders. Set to false to retrieve non executed orders as well
8595
+ * @param {*} [options] Override http request option.
8596
+ * @throws {RequiredError}
8597
+ */
8598
+ getUserAccountRecentOrdersV2: (userId: string, userSecret: string, accountId: string, onlyExecuted?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8599
+ /**
8600
+ * Returns active Trade Detection subscriptions for your Client ID. Cancelled subscriptions are not returned.
8601
+ * @summary List active Trade Detection subscriptions
8602
+ * @param {*} [options] Override http request option.
8603
+ * @throws {RequiredError}
8604
+ */
8605
+ listSubscriptions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
8606
+ };
8607
+ /**
8608
+ * ExperimentalEndpointsApi - functional programming interface
8609
+ * @export
8610
+ */
8611
+ declare const ExperimentalEndpointsApiFp: (configuration?: Configuration) => {
8612
+ /**
8613
+ * Adds or restores a Trade Detection subscription for a connected brokerage account. This endpoint requires `userId` and `userSecret` in addition to the partner signature.
8614
+ * @summary Add a Trade Detection subscription
8615
+ * @param {ExperimentalEndpointsApiAddSubscriptionRequest} requestParameters Request parameters.
8616
+ * @param {*} [options] Override http request option.
8617
+ * @throws {RequiredError}
8618
+ */
8619
+ addSubscription(requestParameters: ExperimentalEndpointsApiAddSubscriptionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TradeDetectionSubscription>>;
8620
+ /**
8621
+ * Cancels a Trade Detection subscription for a connected brokerage account. This endpoint requires partner signature authentication only and does not require `userId` or `userSecret`.
8622
+ * @summary Cancel a Trade Detection subscription
8623
+ * @param {ExperimentalEndpointsApiCancelSubscriptionRequest} requestParameters Request parameters.
8624
+ * @param {*} [options] Override http request option.
8625
+ * @throws {RequiredError}
8626
+ */
8627
+ cancelSubscription(requestParameters: ExperimentalEndpointsApiCancelSubscriptionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TradeDetectionCancelSubscriptionResponse>>;
8628
+ /**
8629
+ * Returns the detail of a single order using the brokerage order ID provided as a path parameter. The V2 order response format includes all legs of the order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
8630
+ * @summary Get account order detail (V2)
8631
+ * @param {ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request} requestParameters Request parameters.
8632
+ * @param {*} [options] Override http request option.
8633
+ * @throws {RequiredError}
8634
+ */
8635
+ getUserAccountOrderDetailV2(requestParameters: ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountOrderRecordV2>>;
8636
+ /**
8637
+ * Returns a list of recent orders in the specified account. The V2 order response format will include all legs of each order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
8638
+ * @summary List account orders v2
8639
+ * @param {ExperimentalEndpointsApiGetUserAccountOrdersV2Request} requestParameters Request parameters.
8640
+ * @param {*} [options] Override http request option.
8641
+ * @throws {RequiredError}
8642
+ */
8643
+ getUserAccountOrdersV2(requestParameters: ExperimentalEndpointsApiGetUserAccountOrdersV2Request, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountOrdersV2Response>>;
8644
+ /**
8645
+ * A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account using the V2 order format. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders. Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days. By default only returns executed orders, but that can be changed by setting *only_executed* to false. **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
8646
+ * @summary List account recent orders (V2, last 24 hours only)
8647
+ * @param {ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request} requestParameters Request parameters.
8648
+ * @param {*} [options] Override http request option.
8649
+ * @throws {RequiredError}
8650
+ */
8651
+ getUserAccountRecentOrdersV2(requestParameters: ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountOrdersV2Response>>;
8652
+ /**
8653
+ * Returns active Trade Detection subscriptions for your Client ID. Cancelled subscriptions are not returned.
8654
+ * @summary List active Trade Detection subscriptions
8655
+ * @param {*} [options] Override http request option.
8656
+ * @throws {RequiredError}
8657
+ */
8658
+ listSubscriptions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TradeDetectionSubscription>>>;
8659
+ };
8660
+ /**
8661
+ * ExperimentalEndpointsApi - factory interface
8662
+ * @export
8663
+ */
8664
+ declare const ExperimentalEndpointsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
8665
+ /**
8666
+ * Adds or restores a Trade Detection subscription for a connected brokerage account. This endpoint requires `userId` and `userSecret` in addition to the partner signature.
8667
+ * @summary Add a Trade Detection subscription
8668
+ * @param {ExperimentalEndpointsApiAddSubscriptionRequest} requestParameters Request parameters.
8669
+ * @param {*} [options] Override http request option.
8670
+ * @throws {RequiredError}
8671
+ */
8672
+ addSubscription(requestParameters: ExperimentalEndpointsApiAddSubscriptionRequest, options?: AxiosRequestConfig): AxiosPromise<TradeDetectionSubscription>;
8673
+ /**
8674
+ * Cancels a Trade Detection subscription for a connected brokerage account. This endpoint requires partner signature authentication only and does not require `userId` or `userSecret`.
8675
+ * @summary Cancel a Trade Detection subscription
8676
+ * @param {ExperimentalEndpointsApiCancelSubscriptionRequest} requestParameters Request parameters.
8677
+ * @param {*} [options] Override http request option.
8678
+ * @throws {RequiredError}
8679
+ */
8680
+ cancelSubscription(requestParameters: ExperimentalEndpointsApiCancelSubscriptionRequest, options?: AxiosRequestConfig): AxiosPromise<TradeDetectionCancelSubscriptionResponse>;
8681
+ /**
8682
+ * Returns the detail of a single order using the brokerage order ID provided as a path parameter. The V2 order response format includes all legs of the order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
8683
+ * @summary Get account order detail (V2)
8684
+ * @param {ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request} requestParameters Request parameters.
8685
+ * @param {*} [options] Override http request option.
8686
+ * @throws {RequiredError}
8687
+ */
8688
+ getUserAccountOrderDetailV2(requestParameters: ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request, options?: AxiosRequestConfig): AxiosPromise<AccountOrderRecordV2>;
8689
+ /**
8690
+ * Returns a list of recent orders in the specified account. The V2 order response format will include all legs of each order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
8691
+ * @summary List account orders v2
8692
+ * @param {ExperimentalEndpointsApiGetUserAccountOrdersV2Request} requestParameters Request parameters.
8693
+ * @param {*} [options] Override http request option.
8694
+ * @throws {RequiredError}
8695
+ */
8696
+ getUserAccountOrdersV2(requestParameters: ExperimentalEndpointsApiGetUserAccountOrdersV2Request, options?: AxiosRequestConfig): AxiosPromise<AccountOrdersV2Response>;
8697
+ /**
8698
+ * A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account using the V2 order format. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders. Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days. By default only returns executed orders, but that can be changed by setting *only_executed* to false. **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
8699
+ * @summary List account recent orders (V2, last 24 hours only)
8700
+ * @param {ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request} requestParameters Request parameters.
8701
+ * @param {*} [options] Override http request option.
8702
+ * @throws {RequiredError}
8703
+ */
8704
+ getUserAccountRecentOrdersV2(requestParameters: ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request, options?: AxiosRequestConfig): AxiosPromise<AccountOrdersV2Response>;
8705
+ /**
8706
+ * Returns active Trade Detection subscriptions for your Client ID. Cancelled subscriptions are not returned.
8707
+ * @summary List active Trade Detection subscriptions
8708
+ * @param {*} [options] Override http request option.
8709
+ * @throws {RequiredError}
8710
+ */
8711
+ listSubscriptions(options?: AxiosRequestConfig): AxiosPromise<Array<TradeDetectionSubscription>>;
8712
+ };
8713
+ /**
8714
+ * Request parameters for addSubscription operation in ExperimentalEndpointsApi.
8715
+ * @export
8716
+ * @interface ExperimentalEndpointsApiAddSubscriptionRequest
8717
+ */
8718
+ type ExperimentalEndpointsApiAddSubscriptionRequest = {
8719
+ /**
8720
+ *
8721
+ * @type {string}
8722
+ * @memberof ExperimentalEndpointsApiAddSubscription
8723
+ */
8724
+ readonly userId: string;
8725
+ /**
8726
+ *
8727
+ * @type {string}
8728
+ * @memberof ExperimentalEndpointsApiAddSubscription
8729
+ */
8730
+ readonly userSecret: string;
8731
+ } & TradeDetectionAddSubscriptionRequest;
8732
+ /**
8733
+ * Request parameters for cancelSubscription operation in ExperimentalEndpointsApi.
8734
+ * @export
8735
+ * @interface ExperimentalEndpointsApiCancelSubscriptionRequest
8736
+ */
8737
+ type ExperimentalEndpointsApiCancelSubscriptionRequest = {} & TradeDetectionAddSubscriptionRequest;
8738
+ /**
8739
+ * Request parameters for getUserAccountOrderDetailV2 operation in ExperimentalEndpointsApi.
8740
+ * @export
8741
+ * @interface ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request
8742
+ */
8743
+ type ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request = {
8744
+ /**
8745
+ *
8746
+ * @type {string}
8747
+ * @memberof ExperimentalEndpointsApiGetUserAccountOrderDetailV2
8748
+ */
8749
+ readonly accountId: string;
8750
+ /**
8751
+ *
8752
+ * @type {string}
8753
+ * @memberof ExperimentalEndpointsApiGetUserAccountOrderDetailV2
8754
+ */
8755
+ readonly brokerageOrderId: string;
8756
+ /**
8757
+ *
8758
+ * @type {string}
8759
+ * @memberof ExperimentalEndpointsApiGetUserAccountOrderDetailV2
8760
+ */
8761
+ readonly userId: string;
8762
+ /**
8763
+ *
8764
+ * @type {string}
8765
+ * @memberof ExperimentalEndpointsApiGetUserAccountOrderDetailV2
8766
+ */
8767
+ readonly userSecret: string;
8768
+ };
8769
+ /**
8770
+ * Request parameters for getUserAccountOrdersV2 operation in ExperimentalEndpointsApi.
8771
+ * @export
8772
+ * @interface ExperimentalEndpointsApiGetUserAccountOrdersV2Request
8773
+ */
8774
+ type ExperimentalEndpointsApiGetUserAccountOrdersV2Request = {
8775
+ /**
8776
+ *
8777
+ * @type {string}
8778
+ * @memberof ExperimentalEndpointsApiGetUserAccountOrdersV2
8779
+ */
8780
+ readonly userId: string;
8781
+ /**
8782
+ *
8783
+ * @type {string}
8784
+ * @memberof ExperimentalEndpointsApiGetUserAccountOrdersV2
8785
+ */
8786
+ readonly userSecret: string;
8787
+ /**
8788
+ *
8789
+ * @type {string}
8790
+ * @memberof ExperimentalEndpointsApiGetUserAccountOrdersV2
8791
+ */
8792
+ readonly accountId: string;
8793
+ /**
8794
+ * defaults to \"all\"
8795
+ * @type {'all' | 'open' | 'executed'}
8796
+ * @memberof ExperimentalEndpointsApiGetUserAccountOrdersV2
8797
+ */
8798
+ readonly state?: 'all' | 'open' | 'executed';
8799
+ /**
8800
+ * Number of days in the past to fetch the most recent orders. Defaults to the last 30 days if no value is passed in. Values greater than 90 will be capped at 90.
8801
+ * @type {number}
8802
+ * @memberof ExperimentalEndpointsApiGetUserAccountOrdersV2
8803
+ */
8804
+ readonly days?: number;
8805
+ };
8806
+ /**
8807
+ * Request parameters for getUserAccountRecentOrdersV2 operation in ExperimentalEndpointsApi.
8808
+ * @export
8809
+ * @interface ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request
8810
+ */
8811
+ type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request = {
8812
+ /**
8813
+ *
8814
+ * @type {string}
8815
+ * @memberof ExperimentalEndpointsApiGetUserAccountRecentOrdersV2
8816
+ */
8817
+ readonly userId: string;
8818
+ /**
8819
+ *
8820
+ * @type {string}
8821
+ * @memberof ExperimentalEndpointsApiGetUserAccountRecentOrdersV2
8822
+ */
8823
+ readonly userSecret: string;
8824
+ /**
8825
+ *
8826
+ * @type {string}
8827
+ * @memberof ExperimentalEndpointsApiGetUserAccountRecentOrdersV2
8828
+ */
8829
+ readonly accountId: string;
8830
+ /**
8831
+ * Defaults to true. Indicates if request should fetch only executed orders. Set to false to retrieve non executed orders as well
8832
+ * @type {boolean}
8833
+ * @memberof ExperimentalEndpointsApiGetUserAccountRecentOrdersV2
8834
+ */
8835
+ readonly onlyExecuted?: boolean;
8836
+ };
8837
+ /**
8838
+ * ExperimentalEndpointsApiGenerated - object-oriented interface
8839
+ * @export
8840
+ * @class ExperimentalEndpointsApiGenerated
8841
+ * @extends {BaseAPI}
8842
+ */
8843
+ declare class ExperimentalEndpointsApiGenerated extends BaseAPI {
8844
+ /**
8845
+ * Adds or restores a Trade Detection subscription for a connected brokerage account. This endpoint requires `userId` and `userSecret` in addition to the partner signature.
8846
+ * @summary Add a Trade Detection subscription
8847
+ * @param {ExperimentalEndpointsApiAddSubscriptionRequest} requestParameters Request parameters.
8848
+ * @param {*} [options] Override http request option.
8849
+ * @throws {RequiredError}
8850
+ * @memberof ExperimentalEndpointsApiGenerated
8851
+ */
8852
+ addSubscription(requestParameters: ExperimentalEndpointsApiAddSubscriptionRequest, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<TradeDetectionSubscription, any, {}>>;
8853
+ /**
8854
+ * Cancels a Trade Detection subscription for a connected brokerage account. This endpoint requires partner signature authentication only and does not require `userId` or `userSecret`.
8855
+ * @summary Cancel a Trade Detection subscription
8856
+ * @param {ExperimentalEndpointsApiCancelSubscriptionRequest} requestParameters Request parameters.
8857
+ * @param {*} [options] Override http request option.
8858
+ * @throws {RequiredError}
8859
+ * @memberof ExperimentalEndpointsApiGenerated
8860
+ */
8861
+ cancelSubscription(requestParameters: ExperimentalEndpointsApiCancelSubscriptionRequest, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<TradeDetectionCancelSubscriptionResponse, any, {}>>;
8862
+ /**
8863
+ * Returns the detail of a single order using the brokerage order ID provided as a path parameter. The V2 order response format includes all legs of the order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
8864
+ * @summary Get account order detail (V2)
8865
+ * @param {ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request} requestParameters Request parameters.
8866
+ * @param {*} [options] Override http request option.
8867
+ * @throws {RequiredError}
8868
+ * @memberof ExperimentalEndpointsApiGenerated
8869
+ */
8870
+ getUserAccountOrderDetailV2(requestParameters: ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<AccountOrderRecordV2, any, {}>>;
8871
+ /**
8872
+ * Returns a list of recent orders in the specified account. The V2 order response format will include all legs of each order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg. If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
8873
+ * @summary List account orders v2
8874
+ * @param {ExperimentalEndpointsApiGetUserAccountOrdersV2Request} requestParameters Request parameters.
8875
+ * @param {*} [options] Override http request option.
8876
+ * @throws {RequiredError}
8877
+ * @memberof ExperimentalEndpointsApiGenerated
8878
+ */
8879
+ getUserAccountOrdersV2(requestParameters: ExperimentalEndpointsApiGetUserAccountOrdersV2Request, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<AccountOrdersV2Response, any, {}>>;
8880
+ /**
8881
+ * A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account using the V2 order format. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders. Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days. By default only returns executed orders, but that can be changed by setting *only_executed* to false. **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
8882
+ * @summary List account recent orders (V2, last 24 hours only)
8883
+ * @param {ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request} requestParameters Request parameters.
8884
+ * @param {*} [options] Override http request option.
8885
+ * @throws {RequiredError}
8886
+ * @memberof ExperimentalEndpointsApiGenerated
8887
+ */
8888
+ getUserAccountRecentOrdersV2(requestParameters: ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request, options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<AccountOrdersV2Response, any, {}>>;
8889
+ /**
8890
+ * Returns active Trade Detection subscriptions for your Client ID. Cancelled subscriptions are not returned.
8891
+ * @summary List active Trade Detection subscriptions
8892
+ * @param {*} [options] Override http request option.
8893
+ * @throws {RequiredError}
8894
+ * @memberof ExperimentalEndpointsApiGenerated
8895
+ */
8896
+ listSubscriptions(options?: AxiosRequestConfig): Promise<_$axios.AxiosResponse<TradeDetectionSubscription[], any, {}>>;
8897
+ }
8898
+ //#endregion
8899
+ //#region api/experimental-endpoints-api.d.ts
8900
+ declare class ExperimentalEndpointsApi extends ExperimentalEndpointsApiGenerated {}
8901
+ //#endregion
8522
8902
  //#region api/options-api-generated.d.ts
8523
8903
  /**
8524
8904
  * OptionsApi - axios parameter creator
@@ -8526,12 +8906,13 @@ declare class ConnectionsApi extends ConnectionsApiGenerated {}
8526
8906
  */
8527
8907
  declare const OptionsApiAxiosParamCreator: (configuration?: Configuration) => {
8528
8908
  /**
8529
- * 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). Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. 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.
8909
+ * 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). This endpoint is deprecatd. Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. 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.
8530
8910
  * @summary List account option positions
8531
8911
  * @param {string} userId
8532
8912
  * @param {string} userSecret
8533
8913
  * @param {string} accountId
8534
8914
  * @param {*} [options] Override http request option.
8915
+ * @deprecated
8535
8916
  * @throws {RequiredError}
8536
8917
  */
8537
8918
  listOptionHoldings: (userId: string, userSecret: string, accountId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
@@ -8542,10 +8923,11 @@ declare const OptionsApiAxiosParamCreator: (configuration?: Configuration) => {
8542
8923
  */
8543
8924
  declare const OptionsApiFp: (configuration?: Configuration) => {
8544
8925
  /**
8545
- * 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). Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. 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.
8926
+ * 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). This endpoint is deprecatd. Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. 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.
8546
8927
  * @summary List account option positions
8547
8928
  * @param {OptionsApiListOptionHoldingsRequest} requestParameters Request parameters.
8548
8929
  * @param {*} [options] Override http request option.
8930
+ * @deprecated
8549
8931
  * @throws {RequiredError}
8550
8932
  */
8551
8933
  listOptionHoldings(requestParameters: OptionsApiListOptionHoldingsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OptionsPosition>>>;
@@ -8556,10 +8938,11 @@ declare const OptionsApiFp: (configuration?: Configuration) => {
8556
8938
  */
8557
8939
  declare const OptionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
8558
8940
  /**
8559
- * 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). Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. 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.
8941
+ * 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). This endpoint is deprecatd. Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. 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.
8560
8942
  * @summary List account option positions
8561
8943
  * @param {OptionsApiListOptionHoldingsRequest} requestParameters Request parameters.
8562
8944
  * @param {*} [options] Override http request option.
8945
+ * @deprecated
8563
8946
  * @throws {RequiredError}
8564
8947
  */
8565
8948
  listOptionHoldings(requestParameters: OptionsApiListOptionHoldingsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<OptionsPosition>>;
@@ -8597,10 +8980,11 @@ type OptionsApiListOptionHoldingsRequest = {
8597
8980
  */
8598
8981
  declare class OptionsApiGenerated extends BaseAPI {
8599
8982
  /**
8600
- * 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). Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. 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.
8983
+ * 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). This endpoint is deprecatd. Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. 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.
8601
8984
  * @summary List account option positions
8602
8985
  * @param {OptionsApiListOptionHoldingsRequest} requestParameters Request parameters.
8603
8986
  * @param {*} [options] Override http request option.
8987
+ * @deprecated
8604
8988
  * @throws {RequiredError}
8605
8989
  * @memberof OptionsApiGenerated
8606
8990
  */
@@ -10364,6 +10748,7 @@ declare class Snaptrade extends SnaptradeCustom {
10364
10748
  readonly apiStatus: ApiStatusApi;
10365
10749
  readonly authentication: AuthenticationApi;
10366
10750
  readonly connections: ConnectionsApi;
10751
+ readonly experimentalEndpoints: ExperimentalEndpointsApi;
10367
10752
  readonly options: OptionsApi;
10368
10753
  readonly referenceData: ReferenceDataApi;
10369
10754
  readonly trading: TradingApi;
@@ -10418,5 +10803,4 @@ declare class SnaptradeError extends Error {
10418
10803
  declare function readableStreamToString(stream: ReadableStream): Promise<string>;
10419
10804
  declare function parseIfJson(input: unknown): object | unknown;
10420
10805
  //#endregion
10421
- export { Account, AccountBalance, AccountBalanceTotal, AccountHoldings, AccountHoldingsAccount, AccountInformationApi, AccountInformationApiAxiosParamCreator, AccountInformationApiFactory, AccountInformationApiFp, AccountInformationApiGenerated, AccountInformationApiGetAccountActivitiesRequest, AccountInformationApiGetAccountBalanceHistoryRequest, AccountInformationApiGetAllAccountPositionsRequest, AccountInformationApiGetAllUserHoldingsRequest, AccountInformationApiGetUserAccountBalanceRequest, AccountInformationApiGetUserAccountDetailsRequest, AccountInformationApiGetUserAccountOrderDetailRequest, AccountInformationApiGetUserAccountOrdersRequest, AccountInformationApiGetUserAccountPositionsRequest, AccountInformationApiGetUserAccountRecentOrdersRequest, AccountInformationApiGetUserAccountReturnRatesRequest, AccountInformationApiGetUserHoldingsRequest, AccountInformationApiListUserAccountsRequest, AccountInformationApiUpdateUserAccountRequest, AccountInformationGetUserAccountOrderDetailRequest, AccountOrderRecord, AccountOrderRecordChildBrokerageOrderIds, AccountOrderRecordLeg, AccountOrderRecordLegInstrument, AccountOrderRecordOptionSymbol, AccountOrderRecordQuoteCurrency, AccountOrderRecordQuoteUniversalSymbol, AccountOrderRecordStatus, AccountOrderRecordStatusV2, AccountOrderRecordTrailingStop, AccountOrderRecordUniversalSymbol, AccountOrderRecordV2, AccountOrdersV2Response, AccountPosition, AccountSimple, AccountSyncStatus, AccountUniversalActivity, AccountUniversalActivityCurrency, AccountUniversalActivityOptionSymbol, AccountUniversalActivitySymbol, AccountValueHistoryItem, AccountValueHistoryResponse, ActionStrict, ActionStrictWithOptions, AdrInstrument, AllAccountPositionsResponse, ApiStatusApi, ApiStatusApiAxiosParamCreator, ApiStatusApiFactory, ApiStatusApiFp, ApiStatusApiGenerated, AuthenticationApi, AuthenticationApiAxiosParamCreator, AuthenticationApiDeleteSnapTradeUserRequest, AuthenticationApiFactory, AuthenticationApiFp, AuthenticationApiGenerated, AuthenticationApiLoginSnapTradeUserRequest, AuthenticationApiRegisterSnapTradeUserRequest, AuthenticationApiResetSnapTradeUserSecretRequest, AuthenticationLoginSnapTradeUser200Response, Balance, BalanceCurrency, Brokerage, BrokerageAuthorization, BrokerageAuthorizationDisabledConfirmation, BrokerageAuthorizationRefreshConfirmation, BrokerageAuthorizationTransactionsSyncConfirmation, BrokerageAuthorizationTypeReadOnly, BrokerageAuthorizationTypeReadOnlyBrokerage, BrokerageInstrument, BrokerageInstrumentsResponse, BrokerageType, CancelOrderResponse, CefInstrument, ChildBrokerageOrderIDs, ComplexOrderLeg, ComplexOrderResponse, Configuration, ConfigurationParameters, ConnectionsApi, ConnectionsApiAxiosParamCreator, ConnectionsApiDeleteConnectionRequest, ConnectionsApiDetailBrokerageAuthorizationRequest, ConnectionsApiDisableBrokerageAuthorizationRequest, ConnectionsApiFactory, ConnectionsApiFp, ConnectionsApiGenerated, ConnectionsApiListBrokerageAuthorizationAccountsRequest, ConnectionsApiListBrokerageAuthorizationsRequest, ConnectionsApiRefreshBrokerageAuthorizationRequest, ConnectionsApiRemoveBrokerageAuthorizationRequest, ConnectionsApiReturnRatesRequest, ConnectionsApiSessionEventsRequest, ConnectionsApiSyncBrokerageAuthorizationTransactionsRequest, ConnectionsSessionEvents200ResponseInner, CryptoInstrument, CryptoOrderForm, CryptoOrderPreview, CryptoOrderPreviewEstimatedFee, CryptoTradingInstrument, CryptocurrencyPair, CryptocurrencyPairQuote, Currency, DeleteConnectionConfirmation, DeleteUserResponse, DividendAtDate, EncryptedResponse, EncryptedResponseEncryptedMessageData, EtfInstrument, Exchange, ExchangeRatePairs, FigiInstrument, FutureInstrument, HoldingsStatus, Instrument, LoginRedirectURI, ManualTrade, ManualTradeAndImpact, ManualTradeBalance, ManualTradeForm, ManualTradeFormBracket, ManualTradeFormComplex, ManualTradeFormNotionalValue, ManualTradeFormWithOptions, ManualTradeImpact, ManualTradeReplaceForm, ManualTradeSymbol, MlegActionStrict, MlegInstrumentType, MlegLeg, MlegOrderResponse, MlegOrderTypeStrict, MlegPriceEffectStrict, MlegTradeForm, MlegTradingInstrument, Model400FailedRequestResponse, Model401FailedRequestResponse, Model402BrokerageAuthAlreadyDisabledException, Model402BrokerageAuthDisabledResponse, Model403FailedRequestResponse, Model403FeatureNotEnabledResponse, Model404FailedRequestResponse, Model425FailedRequestResponse, Model500UnexpectedExceptionResponse, MonthlyDividends, MutualFundInstrument, NetContributions, NetDividend, NotionalValue, OptionBrokerageSymbol, OptionChainInner, OptionChainInnerChainPerRootInner, OptionChainInnerChainPerRootInnerChainPerStrikePriceInner, OptionImpact, OptionInstrument, OptionLeg, OptionQuote, OptionQuoteGreeks, OptionStrategy, OptionStrategyLegsInner, OptionsApi, OptionsApiAxiosParamCreator, OptionsApiFactory, OptionsApiFp, OptionsApiGenerated, OptionsApiListOptionHoldingsRequest, OptionsPosition, OptionsPositionCurrency, OptionsSymbol, OrderTypeStrict, OrderUpdatedResponse, OrderUpdatedResponseOrder, OtherInstrument, PaginatedUniversalActivity, PaginationDetails, PartnerData, PastValue, PerformanceCustom, Position, PositionCurrency, PositionSymbol, RateOfReturnObject, RateOfReturnResponse, RecentOrdersResponse, ReferenceDataApi, ReferenceDataApiAxiosParamCreator, ReferenceDataApiFactory, ReferenceDataApiFp, ReferenceDataApiGenerated, ReferenceDataApiGetCurrencyExchangeRatePairRequest, ReferenceDataApiGetSymbolsByTickerRequest, ReferenceDataApiGetSymbolsRequest, ReferenceDataApiListAllBrokerageAuthorizationTypeRequest, ReferenceDataApiListAllBrokerageInstrumentsRequest, ReferenceDataApiSymbolSearchUserAccountRequest, SecurityType, SessionEvent, SimpleOrderForm, SnapTradeHoldingsAccount, SnapTradeHoldingsTotalValue, SnapTradeLoginUserRequestBody, SnapTradeRegisterUserRequestBody, Snaptrade, SnaptradeError, Status, StockInstrument, StockInstrumentFigiInstrument, StopLoss, StrategyOrderRecord, StrategyQuotes, StrategyQuotesGreek, SubPeriodReturnRate, Symbol$1 as Symbol, SymbolCurrency, SymbolExchange, SymbolQuery, SymbolsQuotesInner, TakeProfit, TaxLot, TimeInForceStrict, TradeDetectionCancelSubscriptionResponse, TradeDetectionSubscription, TradingApi, TradingApiAxiosParamCreator, TradingApiCancelOrderRequest, TradingApiCancelUserAccountOrderRequest, TradingApiFactory, TradingApiFp, TradingApiGenerated, TradingApiGetCryptocurrencyPairQuoteRequest, TradingApiGetOptionImpactRequest, TradingApiGetOrderImpactRequest, TradingApiGetUserAccountOptionQuotesRequest, TradingApiGetUserAccountQuotesRequest, TradingApiPlaceBracketOrderRequest, TradingApiPlaceComplexOrderRequest, TradingApiPlaceCryptoOrderRequest, TradingApiPlaceForceOrderRequest, TradingApiPlaceMlegOrderRequest, TradingApiPlaceOrderRequest, TradingApiPreviewCryptoOrderRequest, TradingApiReplaceOrderRequest, TradingApiSearchCryptocurrencyPairInstrumentsRequest, TradingInstrument, TradingSearchCryptocurrencyPairInstruments200Response, TradingSession, TrailingStop, TransactionsAndReportingApi, TransactionsAndReportingApiAxiosParamCreator, TransactionsAndReportingApiFactory, TransactionsAndReportingApiFp, TransactionsAndReportingApiGenerated, TransactionsAndReportingApiGetActivitiesRequest, TransactionsAndReportingApiGetReportingCustomRangeRequest, TransactionsStatus, USExchange, UnderlyingOptionInstrument, UnderlyingSymbol, UnderlyingSymbolExchange, UnderlyingSymbolType, UniversalActivity, UniversalSymbol, UserIDandSecret, ValidatedTradeBody, parseIfJson, readableStreamToString };
10422
- //# sourceMappingURL=index.d.mts.map
10806
+ export { Account, AccountBalance, AccountBalanceTotal, AccountHoldings, AccountHoldingsAccount, AccountInformationApi, AccountInformationApiAxiosParamCreator, AccountInformationApiFactory, AccountInformationApiFp, AccountInformationApiGenerated, AccountInformationApiGetAccountActivitiesRequest, AccountInformationApiGetAccountBalanceHistoryRequest, AccountInformationApiGetAllAccountPositionsRequest, AccountInformationApiGetAllUserHoldingsRequest, AccountInformationApiGetUserAccountBalanceRequest, AccountInformationApiGetUserAccountDetailsRequest, AccountInformationApiGetUserAccountOrderDetailRequest, AccountInformationApiGetUserAccountOrdersRequest, AccountInformationApiGetUserAccountPositionsRequest, AccountInformationApiGetUserAccountRecentOrdersRequest, AccountInformationApiGetUserAccountReturnRatesRequest, AccountInformationApiGetUserHoldingsRequest, AccountInformationApiListUserAccountsRequest, AccountInformationApiUpdateUserAccountRequest, AccountInformationGetUserAccountOrderDetailRequest, AccountOrderRecord, AccountOrderRecordChildBrokerageOrderIds, AccountOrderRecordLeg, AccountOrderRecordLegInstrument, AccountOrderRecordOptionSymbol, AccountOrderRecordQuoteCurrency, AccountOrderRecordQuoteUniversalSymbol, AccountOrderRecordStatus, AccountOrderRecordStatusV2, AccountOrderRecordTrailingStop, AccountOrderRecordUniversalSymbol, AccountOrderRecordV2, AccountOrdersV2Response, AccountPosition, AccountSimple, AccountSyncStatus, AccountUniversalActivity, AccountUniversalActivityCurrency, AccountUniversalActivityOptionSymbol, AccountUniversalActivitySymbol, AccountValueHistoryItem, AccountValueHistoryResponse, ActionStrict, ActionStrictWithOptions, AdrInstrument, AllAccountPositionsResponse, ApiStatusApi, ApiStatusApiAxiosParamCreator, ApiStatusApiFactory, ApiStatusApiFp, ApiStatusApiGenerated, AuthenticationApi, AuthenticationApiAxiosParamCreator, AuthenticationApiDeleteSnapTradeUserRequest, AuthenticationApiFactory, AuthenticationApiFp, AuthenticationApiGenerated, AuthenticationApiLoginSnapTradeUserRequest, AuthenticationApiRegisterSnapTradeUserRequest, AuthenticationApiResetSnapTradeUserSecretRequest, AuthenticationLoginSnapTradeUser200Response, Balance, BalanceCurrency, Brokerage, BrokerageAuthorization, BrokerageAuthorizationDisabledConfirmation, BrokerageAuthorizationRefreshConfirmation, BrokerageAuthorizationTransactionsSyncConfirmation, BrokerageAuthorizationTypeReadOnly, BrokerageAuthorizationTypeReadOnlyBrokerage, BrokerageInstrument, BrokerageInstrumentsResponse, BrokerageType, CancelOrderResponse, CefInstrument, ChildBrokerageOrderIDs, ComplexOrderLeg, ComplexOrderResponse, Configuration, ConfigurationParameters, ConnectionsApi, ConnectionsApiAxiosParamCreator, ConnectionsApiDeleteConnectionRequest, ConnectionsApiDetailBrokerageAuthorizationRequest, ConnectionsApiDisableBrokerageAuthorizationRequest, ConnectionsApiFactory, ConnectionsApiFp, ConnectionsApiGenerated, ConnectionsApiListBrokerageAuthorizationAccountsRequest, ConnectionsApiListBrokerageAuthorizationsRequest, ConnectionsApiRefreshBrokerageAuthorizationRequest, ConnectionsApiRemoveBrokerageAuthorizationRequest, ConnectionsApiReturnRatesRequest, ConnectionsApiSessionEventsRequest, ConnectionsApiSyncBrokerageAuthorizationTransactionsRequest, ConnectionsSessionEvents200ResponseInner, CryptoInstrument, CryptoOrderForm, CryptoOrderPreview, CryptoOrderPreviewEstimatedFee, CryptoTradingInstrument, CryptocurrencyPair, CryptocurrencyPairQuote, Currency, DeleteConnectionConfirmation, DeleteUserResponse, DividendAtDate, EncryptedResponse, EncryptedResponseEncryptedMessageData, EtfInstrument, Exchange, ExchangeRatePairs, ExperimentalEndpointsApi, ExperimentalEndpointsApiAddSubscriptionRequest, ExperimentalEndpointsApiAxiosParamCreator, ExperimentalEndpointsApiCancelSubscriptionRequest, ExperimentalEndpointsApiFactory, ExperimentalEndpointsApiFp, ExperimentalEndpointsApiGenerated, ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request, ExperimentalEndpointsApiGetUserAccountOrdersV2Request, ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request, FigiInstrument, FutureInstrument, HoldingsStatus, Instrument, LoginRedirectURI, ManualTrade, ManualTradeAndImpact, ManualTradeBalance, ManualTradeForm, ManualTradeFormBracket, ManualTradeFormComplex, ManualTradeFormNotionalValue, ManualTradeFormWithOptions, ManualTradeImpact, ManualTradeReplaceForm, ManualTradeSymbol, MlegActionStrict, MlegInstrumentType, MlegLeg, MlegOrderResponse, MlegOrderTypeStrict, MlegPriceEffectStrict, MlegTradeForm, MlegTradingInstrument, Model400FailedRequestResponse, Model401FailedRequestResponse, Model402BrokerageAuthAlreadyDisabledException, Model402BrokerageAuthDisabledResponse, Model403FailedRequestResponse, Model403FeatureNotEnabledResponse, Model404FailedRequestResponse, Model425FailedRequestResponse, Model500UnexpectedExceptionResponse, MonthlyDividends, MutualFundInstrument, NetContributions, NetDividend, NotionalValue, OptionBrokerageSymbol, OptionChainInner, OptionChainInnerChainPerRootInner, OptionChainInnerChainPerRootInnerChainPerStrikePriceInner, OptionImpact, OptionInstrument, OptionLeg, OptionQuote, OptionQuoteGreeks, OptionStrategy, OptionStrategyLegsInner, OptionsApi, OptionsApiAxiosParamCreator, OptionsApiFactory, OptionsApiFp, OptionsApiGenerated, OptionsApiListOptionHoldingsRequest, OptionsPosition, OptionsPositionCurrency, OptionsSymbol, OrderTypeStrict, OrderUpdatedResponse, OrderUpdatedResponseOrder, OtherInstrument, PaginatedUniversalActivity, PaginationDetails, PartnerData, PastValue, PerformanceCustom, Position, PositionCurrency, PositionSymbol, RateOfReturnObject, RateOfReturnResponse, RecentOrdersResponse, ReferenceDataApi, ReferenceDataApiAxiosParamCreator, ReferenceDataApiFactory, ReferenceDataApiFp, ReferenceDataApiGenerated, ReferenceDataApiGetCurrencyExchangeRatePairRequest, ReferenceDataApiGetSymbolsByTickerRequest, ReferenceDataApiGetSymbolsRequest, ReferenceDataApiListAllBrokerageAuthorizationTypeRequest, ReferenceDataApiListAllBrokerageInstrumentsRequest, ReferenceDataApiSymbolSearchUserAccountRequest, SecurityType, SessionEvent, SimpleOrderForm, SnapTradeHoldingsAccount, SnapTradeHoldingsTotalValue, SnapTradeLoginUserRequestBody, SnapTradeRegisterUserRequestBody, Snaptrade, SnaptradeError, Status, StockInstrument, StockInstrumentFigiInstrument, StopLoss, StrategyOrderRecord, StrategyQuotes, StrategyQuotesGreek, SubPeriodReturnRate, Symbol$1 as Symbol, SymbolCurrency, SymbolExchange, SymbolQuery, SymbolsQuotesInner, TakeProfit, TaxLot, TimeInForceStrict, TradeDetectionAddSubscriptionRequest, TradeDetectionCancelSubscriptionResponse, TradeDetectionSubscription, TradingApi, TradingApiAxiosParamCreator, TradingApiCancelOrderRequest, TradingApiCancelUserAccountOrderRequest, TradingApiFactory, TradingApiFp, TradingApiGenerated, TradingApiGetCryptocurrencyPairQuoteRequest, TradingApiGetOptionImpactRequest, TradingApiGetOrderImpactRequest, TradingApiGetUserAccountOptionQuotesRequest, TradingApiGetUserAccountQuotesRequest, TradingApiPlaceBracketOrderRequest, TradingApiPlaceComplexOrderRequest, TradingApiPlaceCryptoOrderRequest, TradingApiPlaceForceOrderRequest, TradingApiPlaceMlegOrderRequest, TradingApiPlaceOrderRequest, TradingApiPreviewCryptoOrderRequest, TradingApiReplaceOrderRequest, TradingApiSearchCryptocurrencyPairInstrumentsRequest, TradingInstrument, TradingSearchCryptocurrencyPairInstruments200Response, TradingSession, TrailingStop, TransactionsAndReportingApi, TransactionsAndReportingApiAxiosParamCreator, TransactionsAndReportingApiFactory, TransactionsAndReportingApiFp, TransactionsAndReportingApiGenerated, TransactionsAndReportingApiGetActivitiesRequest, TransactionsAndReportingApiGetReportingCustomRangeRequest, TransactionsStatus, USExchange, UnderlyingOptionInstrument, UnderlyingSymbol, UnderlyingSymbolExchange, UnderlyingSymbolType, UniversalActivity, UniversalSymbol, UserIDandSecret, ValidatedTradeBody, parseIfJson, readableStreamToString };