snaptrade-typescript-sdk 9.0.40 → 9.0.41
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 +14 -7
- package/dist/api/authentication-api-generated.d.ts +8 -8
- package/dist/api/authentication-api-generated.js +8 -8
- package/dist/api/connections-api-generated.d.ts +8 -8
- package/dist/api/connections-api-generated.js +8 -8
- package/dist/api/trading-api-generated.d.ts +8 -8
- package/dist/api/trading-api-generated.js +8 -8
- package/dist/browser.js +1 -1
- package/dist/configuration.js +1 -1
- package/dist/models/brokerage-authorization.d.ts +1 -1
- package/dist/models/snap-trade-login-user-request-body.d.ts +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
Connect brokerage accounts to your app for live positions and trading
|
|
8
8
|
|
|
9
|
-
[](https://www.npmjs.com/package/snaptrade-typescript-sdk/v/9.0.41)
|
|
10
10
|
[](https://snaptrade.com/)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
@@ -574,7 +574,10 @@ const listSnapTradeUsersResponse =
|
|
|
574
574
|
|
|
575
575
|
### `snaptrade.authentication.loginSnapTradeUser`<a id="snaptradeauthenticationloginsnaptradeuser"></a>
|
|
576
576
|
|
|
577
|
-
|
|
577
|
+
Authenticates a SnapTrade user and returns the Connection Portal URL used for connecting brokerage accounts. Please check [this guide](/docs/implement-connection-portal) for how to integrate the Connection Portal into your app.
|
|
578
|
+
|
|
579
|
+
Please note that the returned URL expires in 5 minutes.
|
|
580
|
+
|
|
578
581
|
|
|
579
582
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
580
583
|
|
|
@@ -604,15 +607,15 @@ Slug of the brokerage to connect the user to. See [the integrations page](https:
|
|
|
604
607
|
|
|
605
608
|
##### immediateRedirect: `boolean`<a id="immediateredirect-boolean"></a>
|
|
606
609
|
|
|
607
|
-
When set to `true`, user will be redirected back to the partner\\\'s site instead of the connection portal. This parameter is ignored if the connection portal is loaded inside an iframe. See the [guide on ways to integrate the connection portal](
|
|
610
|
+
When set to `true`, user will be redirected back to the partner\\\'s site instead of the connection portal. This parameter is ignored if the connection portal is loaded inside an iframe. See the [guide on ways to integrate the connection portal](/docs/implement-connection-portal) for more information.
|
|
608
611
|
|
|
609
612
|
##### customRedirect: `string`<a id="customredirect-string"></a>
|
|
610
613
|
|
|
611
|
-
URL to redirect the user to after the user connects their brokerage account. This parameter is ignored if the connection portal is loaded inside an iframe. See the [guide on ways to integrate the connection portal](
|
|
614
|
+
URL to redirect the user to after the user connects their brokerage account. This parameter is ignored if the connection portal is loaded inside an iframe. See the [guide on ways to integrate the connection portal](/docs/implement-connection-portal) for more information.
|
|
612
615
|
|
|
613
616
|
##### reconnect: `string`<a id="reconnect-string"></a>
|
|
614
617
|
|
|
615
|
-
The UUID of the brokerage connection to be reconnected. This parameter should be left empty unless you are reconnecting a disabled connection. See the [guide on fixing broken connections](
|
|
618
|
+
The UUID of the brokerage connection to be reconnected. This parameter should be left empty unless you are reconnecting a disabled connection. See the [guide on fixing broken connections](/docs/fix-broken-connections) for more information.
|
|
616
619
|
|
|
617
620
|
##### connectionType: `string`<a id="connectiontype-string"></a>
|
|
618
621
|
|
|
@@ -746,7 +749,7 @@ const detailBrokerageAuthorizationResponse =
|
|
|
746
749
|
### `snaptrade.connections.disableBrokerageAuthorization`<a id="snaptradeconnectionsdisablebrokerageauthorization"></a>
|
|
747
750
|
|
|
748
751
|
Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections.
|
|
749
|
-
Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](
|
|
752
|
+
Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](/docs/webhooks#webhooks-connection_broken) for the connection.
|
|
750
753
|
|
|
751
754
|
*Please contact us in order to use this endpoint as it is disabled by default.*
|
|
752
755
|
|
|
@@ -823,7 +826,7 @@ const listBrokerageAuthorizationsResponse =
|
|
|
823
826
|
|
|
824
827
|
### `snaptrade.connections.refreshBrokerageAuthorization`<a id="snaptradeconnectionsrefreshbrokerageauthorization"></a>
|
|
825
828
|
|
|
826
|
-
Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](
|
|
829
|
+
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.
|
|
827
830
|
|
|
828
831
|
*Please contact support for access as this endpoint is not enabled by default.*
|
|
829
832
|
|
|
@@ -1649,6 +1652,8 @@ Places a brokerage order in the specified account. The order could be rejected b
|
|
|
1649
1652
|
|
|
1650
1653
|
This endpoint does not compute the impact to the account balance from the order and any potential commissions before submitting the order to the brokerage. If that is desired, you can use the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact).
|
|
1651
1654
|
|
|
1655
|
+
It's recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
|
|
1656
|
+
|
|
1652
1657
|
|
|
1653
1658
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
1654
1659
|
|
|
@@ -1722,6 +1727,8 @@ The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
|
|
|
1722
1727
|
|
|
1723
1728
|
Places the previously checked order with the brokerage. The `tradeId` is obtained from the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). If you prefer to place the order without checking for impact first, you can use the [place order endpoint](/reference/Trading/Trading_placeForceOrder).
|
|
1724
1729
|
|
|
1730
|
+
It's recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
|
|
1731
|
+
|
|
1725
1732
|
|
|
1726
1733
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
1727
1734
|
|
|
@@ -27,8 +27,8 @@ export declare const AuthenticationApiAxiosParamCreator: (configuration?: Config
|
|
|
27
27
|
*/
|
|
28
28
|
listSnapTradeUsers: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
* @summary
|
|
30
|
+
* Authenticates a SnapTrade user and returns the Connection Portal URL used for connecting brokerage accounts. Please check [this guide](/docs/implement-connection-portal) for how to integrate the Connection Portal into your app. Please note that the returned URL expires in 5 minutes.
|
|
31
|
+
* @summary Generate Connection Portal URL
|
|
32
32
|
* @param {string} userId
|
|
33
33
|
* @param {string} userSecret
|
|
34
34
|
* @param {SnapTradeLoginUserRequestBody} [snapTradeLoginUserRequestBody]
|
|
@@ -74,8 +74,8 @@ export declare const AuthenticationApiFp: (configuration?: Configuration) => {
|
|
|
74
74
|
*/
|
|
75
75
|
listSnapTradeUsers(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
78
|
-
* @summary
|
|
77
|
+
* Authenticates a SnapTrade user and returns the Connection Portal URL used for connecting brokerage accounts. Please check [this guide](/docs/implement-connection-portal) for how to integrate the Connection Portal into your app. Please note that the returned URL expires in 5 minutes.
|
|
78
|
+
* @summary Generate Connection Portal URL
|
|
79
79
|
* @param {AuthenticationApiLoginSnapTradeUserRequest} requestParameters Request parameters.
|
|
80
80
|
* @param {*} [options] Override http request option.
|
|
81
81
|
* @throws {RequiredError}
|
|
@@ -119,8 +119,8 @@ export declare const AuthenticationApiFactory: (configuration?: Configuration, b
|
|
|
119
119
|
*/
|
|
120
120
|
listSnapTradeUsers(options?: AxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
121
121
|
/**
|
|
122
|
-
*
|
|
123
|
-
* @summary
|
|
122
|
+
* Authenticates a SnapTrade user and returns the Connection Portal URL used for connecting brokerage accounts. Please check [this guide](/docs/implement-connection-portal) for how to integrate the Connection Portal into your app. Please note that the returned URL expires in 5 minutes.
|
|
123
|
+
* @summary Generate Connection Portal URL
|
|
124
124
|
* @param {AuthenticationApiLoginSnapTradeUserRequest} requestParameters Request parameters.
|
|
125
125
|
* @param {*} [options] Override http request option.
|
|
126
126
|
* @throws {RequiredError}
|
|
@@ -212,8 +212,8 @@ export declare class AuthenticationApiGenerated extends BaseAPI {
|
|
|
212
212
|
*/
|
|
213
213
|
listSnapTradeUsers(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any>>;
|
|
214
214
|
/**
|
|
215
|
-
*
|
|
216
|
-
* @summary
|
|
215
|
+
* Authenticates a SnapTrade user and returns the Connection Portal URL used for connecting brokerage accounts. Please check [this guide](/docs/implement-connection-portal) for how to integrate the Connection Portal into your app. Please note that the returned URL expires in 5 minutes.
|
|
216
|
+
* @summary Generate Connection Portal URL
|
|
217
217
|
* @param {AuthenticationApiLoginSnapTradeUserRequest} requestParameters Request parameters.
|
|
218
218
|
* @param {*} [options] Override http request option.
|
|
219
219
|
* @throws {RequiredError}
|
|
@@ -120,8 +120,8 @@ const AuthenticationApiAxiosParamCreator = function (configuration) {
|
|
|
120
120
|
};
|
|
121
121
|
}),
|
|
122
122
|
/**
|
|
123
|
-
*
|
|
124
|
-
* @summary
|
|
123
|
+
* Authenticates a SnapTrade user and returns the Connection Portal URL used for connecting brokerage accounts. Please check [this guide](/docs/implement-connection-portal) for how to integrate the Connection Portal into your app. Please note that the returned URL expires in 5 minutes.
|
|
124
|
+
* @summary Generate Connection Portal URL
|
|
125
125
|
* @param {string} userId
|
|
126
126
|
* @param {string} userSecret
|
|
127
127
|
* @param {SnapTradeLoginUserRequestBody} [snapTradeLoginUserRequestBody]
|
|
@@ -300,8 +300,8 @@ const AuthenticationApiFp = function (configuration) {
|
|
|
300
300
|
});
|
|
301
301
|
},
|
|
302
302
|
/**
|
|
303
|
-
*
|
|
304
|
-
* @summary
|
|
303
|
+
* Authenticates a SnapTrade user and returns the Connection Portal URL used for connecting brokerage accounts. Please check [this guide](/docs/implement-connection-portal) for how to integrate the Connection Portal into your app. Please note that the returned URL expires in 5 minutes.
|
|
304
|
+
* @summary Generate Connection Portal URL
|
|
305
305
|
* @param {AuthenticationApiLoginSnapTradeUserRequest} requestParameters Request parameters.
|
|
306
306
|
* @param {*} [options] Override http request option.
|
|
307
307
|
* @throws {RequiredError}
|
|
@@ -383,8 +383,8 @@ const AuthenticationApiFactory = function (configuration, basePath, axios) {
|
|
|
383
383
|
return localVarFp.listSnapTradeUsers(options).then((request) => request(axios, basePath));
|
|
384
384
|
},
|
|
385
385
|
/**
|
|
386
|
-
*
|
|
387
|
-
* @summary
|
|
386
|
+
* Authenticates a SnapTrade user and returns the Connection Portal URL used for connecting brokerage accounts. Please check [this guide](/docs/implement-connection-portal) for how to integrate the Connection Portal into your app. Please note that the returned URL expires in 5 minutes.
|
|
387
|
+
* @summary Generate Connection Portal URL
|
|
388
388
|
* @param {AuthenticationApiLoginSnapTradeUserRequest} requestParameters Request parameters.
|
|
389
389
|
* @param {*} [options] Override http request option.
|
|
390
390
|
* @throws {RequiredError}
|
|
@@ -444,8 +444,8 @@ class AuthenticationApiGenerated extends base_1.BaseAPI {
|
|
|
444
444
|
return (0, exports.AuthenticationApiFp)(this.configuration).listSnapTradeUsers(options).then((request) => request(this.axios, this.basePath));
|
|
445
445
|
}
|
|
446
446
|
/**
|
|
447
|
-
*
|
|
448
|
-
* @summary
|
|
447
|
+
* Authenticates a SnapTrade user and returns the Connection Portal URL used for connecting brokerage accounts. Please check [this guide](/docs/implement-connection-portal) for how to integrate the Connection Portal into your app. Please note that the returned URL expires in 5 minutes.
|
|
448
|
+
* @summary Generate Connection Portal URL
|
|
449
449
|
* @param {AuthenticationApiLoginSnapTradeUserRequest} requestParameters Request parameters.
|
|
450
450
|
* @param {*} [options] Override http request option.
|
|
451
451
|
* @throws {RequiredError}
|
|
@@ -21,7 +21,7 @@ export declare const ConnectionsApiAxiosParamCreator: (configuration?: Configura
|
|
|
21
21
|
*/
|
|
22
22
|
detailBrokerageAuthorization: (authorizationId: string, userId: string, userSecret: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23
23
|
/**
|
|
24
|
-
* Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](
|
|
24
|
+
* Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
|
|
25
25
|
* @summary Force disable connection
|
|
26
26
|
* @param {string} authorizationId
|
|
27
27
|
* @param {string} userId
|
|
@@ -40,7 +40,7 @@ export declare const ConnectionsApiAxiosParamCreator: (configuration?: Configura
|
|
|
40
40
|
*/
|
|
41
41
|
listBrokerageAuthorizations: (userId: string, userSecret: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
42
|
/**
|
|
43
|
-
* Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](
|
|
43
|
+
* 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. *Please contact support for access as this endpoint is not enabled by default.*
|
|
44
44
|
* @summary Refresh holdings for a connection
|
|
45
45
|
* @param {string} authorizationId
|
|
46
46
|
* @param {string} userId
|
|
@@ -84,7 +84,7 @@ export declare const ConnectionsApiFp: (configuration?: Configuration) => {
|
|
|
84
84
|
*/
|
|
85
85
|
detailBrokerageAuthorization(requestParameters: ConnectionsApiDetailBrokerageAuthorizationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BrokerageAuthorization>>;
|
|
86
86
|
/**
|
|
87
|
-
* Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](
|
|
87
|
+
* Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
|
|
88
88
|
* @summary Force disable connection
|
|
89
89
|
* @param {ConnectionsApiDisableBrokerageAuthorizationRequest} requestParameters Request parameters.
|
|
90
90
|
* @param {*} [options] Override http request option.
|
|
@@ -100,7 +100,7 @@ export declare const ConnectionsApiFp: (configuration?: Configuration) => {
|
|
|
100
100
|
*/
|
|
101
101
|
listBrokerageAuthorizations(requestParameters: ConnectionsApiListBrokerageAuthorizationsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BrokerageAuthorization>>>;
|
|
102
102
|
/**
|
|
103
|
-
* Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](
|
|
103
|
+
* 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. *Please contact support for access as this endpoint is not enabled by default.*
|
|
104
104
|
* @summary Refresh holdings for a connection
|
|
105
105
|
* @param {ConnectionsApiRefreshBrokerageAuthorizationRequest} requestParameters Request parameters.
|
|
106
106
|
* @param {*} [options] Override http request option.
|
|
@@ -138,7 +138,7 @@ export declare const ConnectionsApiFactory: (configuration?: Configuration, base
|
|
|
138
138
|
*/
|
|
139
139
|
detailBrokerageAuthorization(requestParameters: ConnectionsApiDetailBrokerageAuthorizationRequest, options?: AxiosRequestConfig): AxiosPromise<BrokerageAuthorization>;
|
|
140
140
|
/**
|
|
141
|
-
* Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](
|
|
141
|
+
* Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
|
|
142
142
|
* @summary Force disable connection
|
|
143
143
|
* @param {ConnectionsApiDisableBrokerageAuthorizationRequest} requestParameters Request parameters.
|
|
144
144
|
* @param {*} [options] Override http request option.
|
|
@@ -154,7 +154,7 @@ export declare const ConnectionsApiFactory: (configuration?: Configuration, base
|
|
|
154
154
|
*/
|
|
155
155
|
listBrokerageAuthorizations(requestParameters: ConnectionsApiListBrokerageAuthorizationsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<BrokerageAuthorization>>;
|
|
156
156
|
/**
|
|
157
|
-
* Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](
|
|
157
|
+
* 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. *Please contact support for access as this endpoint is not enabled by default.*
|
|
158
158
|
* @summary Refresh holdings for a connection
|
|
159
159
|
* @param {ConnectionsApiRefreshBrokerageAuthorizationRequest} requestParameters Request parameters.
|
|
160
160
|
* @param {*} [options] Override http request option.
|
|
@@ -339,7 +339,7 @@ export declare class ConnectionsApiGenerated extends BaseAPI {
|
|
|
339
339
|
*/
|
|
340
340
|
detailBrokerageAuthorization(requestParameters: ConnectionsApiDetailBrokerageAuthorizationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BrokerageAuthorization, any>>;
|
|
341
341
|
/**
|
|
342
|
-
* Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](
|
|
342
|
+
* Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
|
|
343
343
|
* @summary Force disable connection
|
|
344
344
|
* @param {ConnectionsApiDisableBrokerageAuthorizationRequest} requestParameters Request parameters.
|
|
345
345
|
* @param {*} [options] Override http request option.
|
|
@@ -357,7 +357,7 @@ export declare class ConnectionsApiGenerated extends BaseAPI {
|
|
|
357
357
|
*/
|
|
358
358
|
listBrokerageAuthorizations(requestParameters: ConnectionsApiListBrokerageAuthorizationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BrokerageAuthorization[], any>>;
|
|
359
359
|
/**
|
|
360
|
-
* Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](
|
|
360
|
+
* 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. *Please contact support for access as this endpoint is not enabled by default.*
|
|
361
361
|
* @summary Refresh holdings for a connection
|
|
362
362
|
* @param {ConnectionsApiRefreshBrokerageAuthorizationRequest} requestParameters Request parameters.
|
|
363
363
|
* @param {*} [options] Override http request option.
|
|
@@ -91,7 +91,7 @@ const ConnectionsApiAxiosParamCreator = function (configuration) {
|
|
|
91
91
|
};
|
|
92
92
|
}),
|
|
93
93
|
/**
|
|
94
|
-
* Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](
|
|
94
|
+
* Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
|
|
95
95
|
* @summary Force disable connection
|
|
96
96
|
* @param {string} authorizationId
|
|
97
97
|
* @param {string} userId
|
|
@@ -197,7 +197,7 @@ const ConnectionsApiAxiosParamCreator = function (configuration) {
|
|
|
197
197
|
};
|
|
198
198
|
}),
|
|
199
199
|
/**
|
|
200
|
-
* Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](
|
|
200
|
+
* 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. *Please contact support for access as this endpoint is not enabled by default.*
|
|
201
201
|
* @summary Refresh holdings for a connection
|
|
202
202
|
* @param {string} authorizationId
|
|
203
203
|
* @param {string} userId
|
|
@@ -383,7 +383,7 @@ const ConnectionsApiFp = function (configuration) {
|
|
|
383
383
|
});
|
|
384
384
|
},
|
|
385
385
|
/**
|
|
386
|
-
* Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](
|
|
386
|
+
* Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
|
|
387
387
|
* @summary Force disable connection
|
|
388
388
|
* @param {ConnectionsApiDisableBrokerageAuthorizationRequest} requestParameters Request parameters.
|
|
389
389
|
* @param {*} [options] Override http request option.
|
|
@@ -409,7 +409,7 @@ const ConnectionsApiFp = function (configuration) {
|
|
|
409
409
|
});
|
|
410
410
|
},
|
|
411
411
|
/**
|
|
412
|
-
* Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](
|
|
412
|
+
* 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. *Please contact support for access as this endpoint is not enabled by default.*
|
|
413
413
|
* @summary Refresh holdings for a connection
|
|
414
414
|
* @param {ConnectionsApiRefreshBrokerageAuthorizationRequest} requestParameters Request parameters.
|
|
415
415
|
* @param {*} [options] Override http request option.
|
|
@@ -468,7 +468,7 @@ const ConnectionsApiFactory = function (configuration, basePath, axios) {
|
|
|
468
468
|
return localVarFp.detailBrokerageAuthorization(requestParameters, options).then((request) => request(axios, basePath));
|
|
469
469
|
},
|
|
470
470
|
/**
|
|
471
|
-
* Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](
|
|
471
|
+
* Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
|
|
472
472
|
* @summary Force disable connection
|
|
473
473
|
* @param {ConnectionsApiDisableBrokerageAuthorizationRequest} requestParameters Request parameters.
|
|
474
474
|
* @param {*} [options] Override http request option.
|
|
@@ -488,7 +488,7 @@ const ConnectionsApiFactory = function (configuration, basePath, axios) {
|
|
|
488
488
|
return localVarFp.listBrokerageAuthorizations(requestParameters, options).then((request) => request(axios, basePath));
|
|
489
489
|
},
|
|
490
490
|
/**
|
|
491
|
-
* Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](
|
|
491
|
+
* 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. *Please contact support for access as this endpoint is not enabled by default.*
|
|
492
492
|
* @summary Refresh holdings for a connection
|
|
493
493
|
* @param {ConnectionsApiRefreshBrokerageAuthorizationRequest} requestParameters Request parameters.
|
|
494
494
|
* @param {*} [options] Override http request option.
|
|
@@ -539,7 +539,7 @@ class ConnectionsApiGenerated extends base_1.BaseAPI {
|
|
|
539
539
|
return (0, exports.ConnectionsApiFp)(this.configuration).detailBrokerageAuthorization(requestParameters, options).then((request) => request(this.axios, this.basePath));
|
|
540
540
|
}
|
|
541
541
|
/**
|
|
542
|
-
* Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](
|
|
542
|
+
* Manually force the specified connection to become disabled. This should only be used for testing a reconnect flow, and never used on production connections. Will trigger a disconnect as if it happened naturally, and send a [`CONNECTION_BROKEN` webhook](/docs/webhooks#webhooks-connection_broken) for the connection. *Please contact us in order to use this endpoint as it is disabled by default.*
|
|
543
543
|
* @summary Force disable connection
|
|
544
544
|
* @param {ConnectionsApiDisableBrokerageAuthorizationRequest} requestParameters Request parameters.
|
|
545
545
|
* @param {*} [options] Override http request option.
|
|
@@ -561,7 +561,7 @@ class ConnectionsApiGenerated extends base_1.BaseAPI {
|
|
|
561
561
|
return (0, exports.ConnectionsApiFp)(this.configuration).listBrokerageAuthorizations(requestParameters, options).then((request) => request(this.axios, this.basePath));
|
|
562
562
|
}
|
|
563
563
|
/**
|
|
564
|
-
* Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](
|
|
564
|
+
* 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. *Please contact support for access as this endpoint is not enabled by default.*
|
|
565
565
|
* @summary Refresh holdings for a connection
|
|
566
566
|
* @param {ConnectionsApiRefreshBrokerageAuthorizationRequest} requestParameters Request parameters.
|
|
567
567
|
* @param {*} [options] Override http request option.
|
|
@@ -46,7 +46,7 @@ export declare const TradingApiAxiosParamCreator: (configuration?: Configuration
|
|
|
46
46
|
*/
|
|
47
47
|
getUserAccountQuotes: (userId: string, userSecret: string, symbols: string, accountId: string, useTicker?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
48
|
/**
|
|
49
|
-
* Places a brokerage order in the specified account. The order could be rejected by the brokerage if it is invalid or if the account does not have sufficient funds. This endpoint does not compute the impact to the account balance from the order and any potential commissions before submitting the order to the brokerage. If that is desired, you can use the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact).
|
|
49
|
+
* Places a brokerage order in the specified account. The order could be rejected by the brokerage if it is invalid or if the account does not have sufficient funds. This endpoint does not compute the impact to the account balance from the order and any potential commissions before submitting the order to the brokerage. If that is desired, you can use the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). It\'s recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
|
|
50
50
|
* @summary Place order
|
|
51
51
|
* @param {string} userId
|
|
52
52
|
* @param {string} userSecret
|
|
@@ -56,7 +56,7 @@ export declare const TradingApiAxiosParamCreator: (configuration?: Configuration
|
|
|
56
56
|
*/
|
|
57
57
|
placeForceOrder: (userId: string, userSecret: string, manualTradeForm: ManualTradeForm, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
58
|
/**
|
|
59
|
-
* Places the previously checked order with the brokerage. The `tradeId` is obtained from the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). If you prefer to place the order without checking for impact first, you can use the [place order endpoint](/reference/Trading/Trading_placeForceOrder).
|
|
59
|
+
* Places the previously checked order with the brokerage. The `tradeId` is obtained from the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). If you prefer to place the order without checking for impact first, you can use the [place order endpoint](/reference/Trading/Trading_placeForceOrder). It\'s recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
|
|
60
60
|
* @summary Place checked order
|
|
61
61
|
* @param {string} tradeId Obtained from calling the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact)
|
|
62
62
|
* @param {string} userId
|
|
@@ -97,7 +97,7 @@ export declare const TradingApiFp: (configuration?: Configuration) => {
|
|
|
97
97
|
*/
|
|
98
98
|
getUserAccountQuotes(requestParameters: TradingApiGetUserAccountQuotesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SymbolsQuotesInner>>>;
|
|
99
99
|
/**
|
|
100
|
-
* Places a brokerage order in the specified account. The order could be rejected by the brokerage if it is invalid or if the account does not have sufficient funds. This endpoint does not compute the impact to the account balance from the order and any potential commissions before submitting the order to the brokerage. If that is desired, you can use the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact).
|
|
100
|
+
* Places a brokerage order in the specified account. The order could be rejected by the brokerage if it is invalid or if the account does not have sufficient funds. This endpoint does not compute the impact to the account balance from the order and any potential commissions before submitting the order to the brokerage. If that is desired, you can use the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). It\'s recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
|
|
101
101
|
* @summary Place order
|
|
102
102
|
* @param {TradingApiPlaceForceOrderRequest} requestParameters Request parameters.
|
|
103
103
|
* @param {*} [options] Override http request option.
|
|
@@ -105,7 +105,7 @@ export declare const TradingApiFp: (configuration?: Configuration) => {
|
|
|
105
105
|
*/
|
|
106
106
|
placeForceOrder(requestParameters: TradingApiPlaceForceOrderRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountOrderRecord>>;
|
|
107
107
|
/**
|
|
108
|
-
* Places the previously checked order with the brokerage. The `tradeId` is obtained from the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). If you prefer to place the order without checking for impact first, you can use the [place order endpoint](/reference/Trading/Trading_placeForceOrder).
|
|
108
|
+
* Places the previously checked order with the brokerage. The `tradeId` is obtained from the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). If you prefer to place the order without checking for impact first, you can use the [place order endpoint](/reference/Trading/Trading_placeForceOrder). It\'s recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
|
|
109
109
|
* @summary Place checked order
|
|
110
110
|
* @param {TradingApiPlaceOrderRequest} requestParameters Request parameters.
|
|
111
111
|
* @param {*} [options] Override http request option.
|
|
@@ -143,7 +143,7 @@ export declare const TradingApiFactory: (configuration?: Configuration, basePath
|
|
|
143
143
|
*/
|
|
144
144
|
getUserAccountQuotes(requestParameters: TradingApiGetUserAccountQuotesRequest, options?: AxiosRequestConfig): AxiosPromise<Array<SymbolsQuotesInner>>;
|
|
145
145
|
/**
|
|
146
|
-
* Places a brokerage order in the specified account. The order could be rejected by the brokerage if it is invalid or if the account does not have sufficient funds. This endpoint does not compute the impact to the account balance from the order and any potential commissions before submitting the order to the brokerage. If that is desired, you can use the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact).
|
|
146
|
+
* Places a brokerage order in the specified account. The order could be rejected by the brokerage if it is invalid or if the account does not have sufficient funds. This endpoint does not compute the impact to the account balance from the order and any potential commissions before submitting the order to the brokerage. If that is desired, you can use the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). It\'s recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
|
|
147
147
|
* @summary Place order
|
|
148
148
|
* @param {TradingApiPlaceForceOrderRequest} requestParameters Request parameters.
|
|
149
149
|
* @param {*} [options] Override http request option.
|
|
@@ -151,7 +151,7 @@ export declare const TradingApiFactory: (configuration?: Configuration, basePath
|
|
|
151
151
|
*/
|
|
152
152
|
placeForceOrder(requestParameters: TradingApiPlaceForceOrderRequest, options?: AxiosRequestConfig): AxiosPromise<AccountOrderRecord>;
|
|
153
153
|
/**
|
|
154
|
-
* Places the previously checked order with the brokerage. The `tradeId` is obtained from the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). If you prefer to place the order without checking for impact first, you can use the [place order endpoint](/reference/Trading/Trading_placeForceOrder).
|
|
154
|
+
* Places the previously checked order with the brokerage. The `tradeId` is obtained from the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). If you prefer to place the order without checking for impact first, you can use the [place order endpoint](/reference/Trading/Trading_placeForceOrder). It\'s recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
|
|
155
155
|
* @summary Place checked order
|
|
156
156
|
* @param {TradingApiPlaceOrderRequest} requestParameters Request parameters.
|
|
157
157
|
* @param {*} [options] Override http request option.
|
|
@@ -319,7 +319,7 @@ export declare class TradingApiGenerated extends BaseAPI {
|
|
|
319
319
|
*/
|
|
320
320
|
getUserAccountQuotes(requestParameters: TradingApiGetUserAccountQuotesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SymbolsQuotesInner[], any>>;
|
|
321
321
|
/**
|
|
322
|
-
* Places a brokerage order in the specified account. The order could be rejected by the brokerage if it is invalid or if the account does not have sufficient funds. This endpoint does not compute the impact to the account balance from the order and any potential commissions before submitting the order to the brokerage. If that is desired, you can use the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact).
|
|
322
|
+
* Places a brokerage order in the specified account. The order could be rejected by the brokerage if it is invalid or if the account does not have sufficient funds. This endpoint does not compute the impact to the account balance from the order and any potential commissions before submitting the order to the brokerage. If that is desired, you can use the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). It\'s recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
|
|
323
323
|
* @summary Place order
|
|
324
324
|
* @param {TradingApiPlaceForceOrderRequest} requestParameters Request parameters.
|
|
325
325
|
* @param {*} [options] Override http request option.
|
|
@@ -328,7 +328,7 @@ export declare class TradingApiGenerated extends BaseAPI {
|
|
|
328
328
|
*/
|
|
329
329
|
placeForceOrder(requestParameters: TradingApiPlaceForceOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountOrderRecord, any>>;
|
|
330
330
|
/**
|
|
331
|
-
* Places the previously checked order with the brokerage. The `tradeId` is obtained from the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). If you prefer to place the order without checking for impact first, you can use the [place order endpoint](/reference/Trading/Trading_placeForceOrder).
|
|
331
|
+
* Places the previously checked order with the brokerage. The `tradeId` is obtained from the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). If you prefer to place the order without checking for impact first, you can use the [place order endpoint](/reference/Trading/Trading_placeForceOrder). It\'s recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
|
|
332
332
|
* @summary Place checked order
|
|
333
333
|
* @param {TradingApiPlaceOrderRequest} requestParameters Request parameters.
|
|
334
334
|
* @param {*} [options] Override http request option.
|
|
@@ -219,7 +219,7 @@ const TradingApiAxiosParamCreator = function (configuration) {
|
|
|
219
219
|
};
|
|
220
220
|
}),
|
|
221
221
|
/**
|
|
222
|
-
* Places a brokerage order in the specified account. The order could be rejected by the brokerage if it is invalid or if the account does not have sufficient funds. This endpoint does not compute the impact to the account balance from the order and any potential commissions before submitting the order to the brokerage. If that is desired, you can use the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact).
|
|
222
|
+
* Places a brokerage order in the specified account. The order could be rejected by the brokerage if it is invalid or if the account does not have sufficient funds. This endpoint does not compute the impact to the account balance from the order and any potential commissions before submitting the order to the brokerage. If that is desired, you can use the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). It\'s recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
|
|
223
223
|
* @summary Place order
|
|
224
224
|
* @param {string} userId
|
|
225
225
|
* @param {string} userSecret
|
|
@@ -276,7 +276,7 @@ const TradingApiAxiosParamCreator = function (configuration) {
|
|
|
276
276
|
};
|
|
277
277
|
}),
|
|
278
278
|
/**
|
|
279
|
-
* Places the previously checked order with the brokerage. The `tradeId` is obtained from the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). If you prefer to place the order without checking for impact first, you can use the [place order endpoint](/reference/Trading/Trading_placeForceOrder).
|
|
279
|
+
* Places the previously checked order with the brokerage. The `tradeId` is obtained from the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). If you prefer to place the order without checking for impact first, you can use the [place order endpoint](/reference/Trading/Trading_placeForceOrder). It\'s recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
|
|
280
280
|
* @summary Place checked order
|
|
281
281
|
* @param {string} tradeId Obtained from calling the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact)
|
|
282
282
|
* @param {string} userId
|
|
@@ -398,7 +398,7 @@ const TradingApiFp = function (configuration) {
|
|
|
398
398
|
});
|
|
399
399
|
},
|
|
400
400
|
/**
|
|
401
|
-
* Places a brokerage order in the specified account. The order could be rejected by the brokerage if it is invalid or if the account does not have sufficient funds. This endpoint does not compute the impact to the account balance from the order and any potential commissions before submitting the order to the brokerage. If that is desired, you can use the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact).
|
|
401
|
+
* Places a brokerage order in the specified account. The order could be rejected by the brokerage if it is invalid or if the account does not have sufficient funds. This endpoint does not compute the impact to the account balance from the order and any potential commissions before submitting the order to the brokerage. If that is desired, you can use the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). It\'s recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
|
|
402
402
|
* @summary Place order
|
|
403
403
|
* @param {TradingApiPlaceForceOrderRequest} requestParameters Request parameters.
|
|
404
404
|
* @param {*} [options] Override http request option.
|
|
@@ -422,7 +422,7 @@ const TradingApiFp = function (configuration) {
|
|
|
422
422
|
});
|
|
423
423
|
},
|
|
424
424
|
/**
|
|
425
|
-
* Places the previously checked order with the brokerage. The `tradeId` is obtained from the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). If you prefer to place the order without checking for impact first, you can use the [place order endpoint](/reference/Trading/Trading_placeForceOrder).
|
|
425
|
+
* Places the previously checked order with the brokerage. The `tradeId` is obtained from the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). If you prefer to place the order without checking for impact first, you can use the [place order endpoint](/reference/Trading/Trading_placeForceOrder). It\'s recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
|
|
426
426
|
* @summary Place checked order
|
|
427
427
|
* @param {TradingApiPlaceOrderRequest} requestParameters Request parameters.
|
|
428
428
|
* @param {*} [options] Override http request option.
|
|
@@ -478,7 +478,7 @@ const TradingApiFactory = function (configuration, basePath, axios) {
|
|
|
478
478
|
return localVarFp.getUserAccountQuotes(requestParameters, options).then((request) => request(axios, basePath));
|
|
479
479
|
},
|
|
480
480
|
/**
|
|
481
|
-
* Places a brokerage order in the specified account. The order could be rejected by the brokerage if it is invalid or if the account does not have sufficient funds. This endpoint does not compute the impact to the account balance from the order and any potential commissions before submitting the order to the brokerage. If that is desired, you can use the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact).
|
|
481
|
+
* Places a brokerage order in the specified account. The order could be rejected by the brokerage if it is invalid or if the account does not have sufficient funds. This endpoint does not compute the impact to the account balance from the order and any potential commissions before submitting the order to the brokerage. If that is desired, you can use the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). It\'s recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
|
|
482
482
|
* @summary Place order
|
|
483
483
|
* @param {TradingApiPlaceForceOrderRequest} requestParameters Request parameters.
|
|
484
484
|
* @param {*} [options] Override http request option.
|
|
@@ -488,7 +488,7 @@ const TradingApiFactory = function (configuration, basePath, axios) {
|
|
|
488
488
|
return localVarFp.placeForceOrder(requestParameters, options).then((request) => request(axios, basePath));
|
|
489
489
|
},
|
|
490
490
|
/**
|
|
491
|
-
* Places the previously checked order with the brokerage. The `tradeId` is obtained from the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). If you prefer to place the order without checking for impact first, you can use the [place order endpoint](/reference/Trading/Trading_placeForceOrder).
|
|
491
|
+
* Places the previously checked order with the brokerage. The `tradeId` is obtained from the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). If you prefer to place the order without checking for impact first, you can use the [place order endpoint](/reference/Trading/Trading_placeForceOrder). It\'s recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
|
|
492
492
|
* @summary Place checked order
|
|
493
493
|
* @param {TradingApiPlaceOrderRequest} requestParameters Request parameters.
|
|
494
494
|
* @param {*} [options] Override http request option.
|
|
@@ -541,7 +541,7 @@ class TradingApiGenerated extends base_1.BaseAPI {
|
|
|
541
541
|
return (0, exports.TradingApiFp)(this.configuration).getUserAccountQuotes(requestParameters, options).then((request) => request(this.axios, this.basePath));
|
|
542
542
|
}
|
|
543
543
|
/**
|
|
544
|
-
* Places a brokerage order in the specified account. The order could be rejected by the brokerage if it is invalid or if the account does not have sufficient funds. This endpoint does not compute the impact to the account balance from the order and any potential commissions before submitting the order to the brokerage. If that is desired, you can use the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact).
|
|
544
|
+
* Places a brokerage order in the specified account. The order could be rejected by the brokerage if it is invalid or if the account does not have sufficient funds. This endpoint does not compute the impact to the account balance from the order and any potential commissions before submitting the order to the brokerage. If that is desired, you can use the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). It\'s recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
|
|
545
545
|
* @summary Place order
|
|
546
546
|
* @param {TradingApiPlaceForceOrderRequest} requestParameters Request parameters.
|
|
547
547
|
* @param {*} [options] Override http request option.
|
|
@@ -552,7 +552,7 @@ class TradingApiGenerated extends base_1.BaseAPI {
|
|
|
552
552
|
return (0, exports.TradingApiFp)(this.configuration).placeForceOrder(requestParameters, options).then((request) => request(this.axios, this.basePath));
|
|
553
553
|
}
|
|
554
554
|
/**
|
|
555
|
-
* Places the previously checked order with the brokerage. The `tradeId` is obtained from the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). If you prefer to place the order without checking for impact first, you can use the [place order endpoint](/reference/Trading/Trading_placeForceOrder).
|
|
555
|
+
* Places the previously checked order with the brokerage. The `tradeId` is obtained from the [check order impact endpoint](/reference/Trading/Trading_getOrderImpact). If you prefer to place the order without checking for impact first, you can use the [place order endpoint](/reference/Trading/Trading_placeForceOrder). It\'s recommended to trigger a manual refresh of the account after placing an order to ensure the account is up to date. You can use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint for this.
|
|
556
556
|
* @summary Place checked order
|
|
557
557
|
* @param {TradingApiPlaceOrderRequest} requestParameters Request parameters.
|
|
558
558
|
* @param {*} [options] Override http request option.
|