snaptrade-typescript-sdk 9.0.163 → 9.0.165
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/dist/api/experimental-endpoints-api-generated.d.ts +13 -8
- package/dist/api/experimental-endpoints-api-generated.js +15 -20
- package/dist/api/trading-api-generated.d.ts +4 -4
- package/dist/api/trading-api-generated.js +4 -4
- package/dist/browser.js +1 -1
- package/dist/configuration.js +1 -1
- package/dist/models/tax-lot.d.ts +6 -0
- package/dist/operationParameterMap.js +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.165)
|
|
10
10
|
[](https://snaptrade.com/)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
@@ -1218,7 +1218,7 @@ Optional comma separated list of session IDs used to filter the request on speci
|
|
|
1218
1218
|
|
|
1219
1219
|
### `snaptrade.experimentalEndpoints.getUserAccountOrderDetailV2`<a id="snaptradeexperimentalendpointsgetuseraccountorderdetailv2"></a>
|
|
1220
1220
|
|
|
1221
|
-
Returns the detail of a single order using the
|
|
1221
|
+
Returns the detail of a single order using the brokerage order ID provided as a path parameter.
|
|
1222
1222
|
|
|
1223
1223
|
The V2 order response format includes all legs of the order in the `legs` list field.
|
|
1224
1224
|
If the order is single legged, `legs` will be a list of one leg.
|
|
@@ -1234,20 +1234,18 @@ This endpoint only returns orders placed through SnapTrade. In other words, orde
|
|
|
1234
1234
|
const getUserAccountOrderDetailV2Response =
|
|
1235
1235
|
await snaptrade.experimentalEndpoints.getUserAccountOrderDetailV2({
|
|
1236
1236
|
accountId: "917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
1237
|
+
brokerageOrderId: "66a033fa-da74-4fcf-b527-feefdec9257e",
|
|
1237
1238
|
userId: "snaptrade-user-123",
|
|
1238
1239
|
userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
|
|
1239
|
-
brokerage_order_id: "66a033fa-da74-4fcf-b527-feefdec9257e",
|
|
1240
1240
|
});
|
|
1241
1241
|
```
|
|
1242
1242
|
|
|
1243
1243
|
#### ⚙️ Parameters<a id="⚙️-parameters"></a>
|
|
1244
1244
|
|
|
1245
|
-
##### brokerage_order_id: `string`<a id="brokerage_order_id-string"></a>
|
|
1246
|
-
|
|
1247
|
-
Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
|
|
1248
|
-
|
|
1249
1245
|
##### accountId: `string`<a id="accountid-string"></a>
|
|
1250
1246
|
|
|
1247
|
+
##### brokerageOrderId: `string`<a id="brokerageorderid-string"></a>
|
|
1248
|
+
|
|
1251
1249
|
##### userId: `string`<a id="userid-string"></a>
|
|
1252
1250
|
|
|
1253
1251
|
##### userSecret: `string`<a id="usersecret-string"></a>
|
|
@@ -1258,7 +1256,7 @@ Order ID returned by brokerage. This is the unique identifier for the order in t
|
|
|
1258
1256
|
|
|
1259
1257
|
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
|
1260
1258
|
|
|
1261
|
-
`/accounts/{accountId}/orders/details/v2` `
|
|
1259
|
+
`/accounts/{accountId}/orders/details/v2/{brokerageOrderId}` `GET`
|
|
1262
1260
|
|
|
1263
1261
|
[🔙 **Back to Table of Contents**](#table-of-contents)
|
|
1264
1262
|
|
|
@@ -1994,6 +1992,8 @@ Returns quotes from the brokerage for the specified symbols and account.
|
|
|
1994
1992
|
|
|
1995
1993
|
The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint.
|
|
1996
1994
|
|
|
1995
|
+
**This endpoint is not a substitute for a market data provider. Frequent polling of this endpoint may result in the disabling of your keys**
|
|
1996
|
+
|
|
1997
1997
|
This endpoint does not work for options quotes.
|
|
1998
1998
|
|
|
1999
1999
|
This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
2
2
|
import { Configuration } from '../configuration';
|
|
3
3
|
import { RequestArgs, BaseAPI } from '../base';
|
|
4
|
-
import { AccountInformationGetUserAccountOrderDetailRequest } from '../models';
|
|
5
4
|
import { AccountOrderRecordV2 } from '../models';
|
|
6
5
|
import { AccountOrdersV2Response } from '../models';
|
|
7
6
|
/**
|
|
@@ -10,16 +9,16 @@ import { AccountOrdersV2Response } from '../models';
|
|
|
10
9
|
*/
|
|
11
10
|
export declare const ExperimentalEndpointsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
12
11
|
/**
|
|
13
|
-
* Returns the detail of a single order using the
|
|
12
|
+
* 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.
|
|
14
13
|
* @summary Get account order detail (V2)
|
|
15
14
|
* @param {string} accountId
|
|
15
|
+
* @param {string} brokerageOrderId
|
|
16
16
|
* @param {string} userId
|
|
17
17
|
* @param {string} userSecret
|
|
18
|
-
* @param {AccountInformationGetUserAccountOrderDetailRequest} accountInformationGetUserAccountOrderDetailRequest
|
|
19
18
|
* @param {*} [options] Override http request option.
|
|
20
19
|
* @throws {RequiredError}
|
|
21
20
|
*/
|
|
22
|
-
getUserAccountOrderDetailV2: (accountId: string,
|
|
21
|
+
getUserAccountOrderDetailV2: (accountId: string, brokerageOrderId: string, userId: string, userSecret: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23
22
|
/**
|
|
24
23
|
* 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.
|
|
25
24
|
* @summary List account orders v2
|
|
@@ -50,7 +49,7 @@ export declare const ExperimentalEndpointsApiAxiosParamCreator: (configuration?:
|
|
|
50
49
|
*/
|
|
51
50
|
export declare const ExperimentalEndpointsApiFp: (configuration?: Configuration) => {
|
|
52
51
|
/**
|
|
53
|
-
* Returns the detail of a single order using the
|
|
52
|
+
* 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.
|
|
54
53
|
* @summary Get account order detail (V2)
|
|
55
54
|
* @param {ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request} requestParameters Request parameters.
|
|
56
55
|
* @param {*} [options] Override http request option.
|
|
@@ -80,7 +79,7 @@ export declare const ExperimentalEndpointsApiFp: (configuration?: Configuration)
|
|
|
80
79
|
*/
|
|
81
80
|
export declare const ExperimentalEndpointsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
82
81
|
/**
|
|
83
|
-
* Returns the detail of a single order using the
|
|
82
|
+
* 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.
|
|
84
83
|
* @summary Get account order detail (V2)
|
|
85
84
|
* @param {ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request} requestParameters Request parameters.
|
|
86
85
|
* @param {*} [options] Override http request option.
|
|
@@ -121,6 +120,12 @@ export type ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request = {
|
|
|
121
120
|
* @type {string}
|
|
122
121
|
* @memberof ExperimentalEndpointsApiGetUserAccountOrderDetailV2
|
|
123
122
|
*/
|
|
123
|
+
readonly brokerageOrderId: string;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @memberof ExperimentalEndpointsApiGetUserAccountOrderDetailV2
|
|
128
|
+
*/
|
|
124
129
|
readonly userId: string;
|
|
125
130
|
/**
|
|
126
131
|
*
|
|
@@ -128,7 +133,7 @@ export type ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request = {
|
|
|
128
133
|
* @memberof ExperimentalEndpointsApiGetUserAccountOrderDetailV2
|
|
129
134
|
*/
|
|
130
135
|
readonly userSecret: string;
|
|
131
|
-
}
|
|
136
|
+
};
|
|
132
137
|
/**
|
|
133
138
|
* Request parameters for getUserAccountOrdersV2 operation in ExperimentalEndpointsApi.
|
|
134
139
|
* @export
|
|
@@ -205,7 +210,7 @@ export type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request = {
|
|
|
205
210
|
*/
|
|
206
211
|
export declare class ExperimentalEndpointsApiGenerated extends BaseAPI {
|
|
207
212
|
/**
|
|
208
|
-
* Returns the detail of a single order using the
|
|
213
|
+
* 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.
|
|
209
214
|
* @summary Get account order detail (V2)
|
|
210
215
|
* @param {ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request} requestParameters Request parameters.
|
|
211
216
|
* @param {*} [options] Override http request option.
|
|
@@ -36,33 +36,34 @@ const requestBeforeHook_1 = require("../requestBeforeHook");
|
|
|
36
36
|
const ExperimentalEndpointsApiAxiosParamCreator = function (configuration) {
|
|
37
37
|
return {
|
|
38
38
|
/**
|
|
39
|
-
* Returns the detail of a single order using the
|
|
39
|
+
* 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.
|
|
40
40
|
* @summary Get account order detail (V2)
|
|
41
41
|
* @param {string} accountId
|
|
42
|
+
* @param {string} brokerageOrderId
|
|
42
43
|
* @param {string} userId
|
|
43
44
|
* @param {string} userSecret
|
|
44
|
-
* @param {AccountInformationGetUserAccountOrderDetailRequest} accountInformationGetUserAccountOrderDetailRequest
|
|
45
45
|
* @param {*} [options] Override http request option.
|
|
46
46
|
* @throws {RequiredError}
|
|
47
47
|
*/
|
|
48
|
-
getUserAccountOrderDetailV2: (accountId, userId, userSecret,
|
|
48
|
+
getUserAccountOrderDetailV2: (accountId, brokerageOrderId, userId, userSecret, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
49
49
|
// verify required parameter 'accountId' is not null or undefined
|
|
50
50
|
(0, common_1.assertParamExists)('getUserAccountOrderDetailV2', 'accountId', accountId);
|
|
51
|
+
// verify required parameter 'brokerageOrderId' is not null or undefined
|
|
52
|
+
(0, common_1.assertParamExists)('getUserAccountOrderDetailV2', 'brokerageOrderId', brokerageOrderId);
|
|
51
53
|
// verify required parameter 'userId' is not null or undefined
|
|
52
54
|
(0, common_1.assertParamExists)('getUserAccountOrderDetailV2', 'userId', userId);
|
|
53
55
|
// verify required parameter 'userSecret' is not null or undefined
|
|
54
56
|
(0, common_1.assertParamExists)('getUserAccountOrderDetailV2', 'userSecret', userSecret);
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId !== undefined ? accountId : `-accountId-`)));
|
|
57
|
+
const localVarPath = `/accounts/{accountId}/orders/details/v2/{brokerageOrderId}`
|
|
58
|
+
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId !== undefined ? accountId : `-accountId-`)))
|
|
59
|
+
.replace(`{${"brokerageOrderId"}}`, encodeURIComponent(String(brokerageOrderId !== undefined ? brokerageOrderId : `-brokerageOrderId-`)));
|
|
59
60
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
60
61
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
61
62
|
let baseOptions;
|
|
62
63
|
if (configuration) {
|
|
63
64
|
baseOptions = configuration.baseOptions;
|
|
64
65
|
}
|
|
65
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
66
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
66
67
|
const localVarHeaderParameter = configuration && !(0, common_1.isBrowser)() ? { "User-Agent": configuration.userAgent } : {};
|
|
67
68
|
const localVarQueryParameter = {};
|
|
68
69
|
// authentication PartnerClientId required
|
|
@@ -77,19 +78,16 @@ const ExperimentalEndpointsApiAxiosParamCreator = function (configuration) {
|
|
|
77
78
|
if (userSecret !== undefined) {
|
|
78
79
|
localVarQueryParameter['userSecret'] = userSecret;
|
|
79
80
|
}
|
|
80
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
81
81
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
82
82
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
83
83
|
(0, requestBeforeHook_1.requestBeforeHook)({
|
|
84
|
-
requestBody: accountInformationGetUserAccountOrderDetailRequest,
|
|
85
84
|
queryParameters: localVarQueryParameter,
|
|
86
85
|
requestConfig: localVarRequestOptions,
|
|
87
86
|
path: localVarPath,
|
|
88
87
|
configuration,
|
|
89
|
-
pathTemplate: '/accounts/{accountId}/orders/details/v2',
|
|
90
|
-
httpMethod: '
|
|
88
|
+
pathTemplate: '/accounts/{accountId}/orders/details/v2/{brokerageOrderId}',
|
|
89
|
+
httpMethod: 'GET'
|
|
91
90
|
});
|
|
92
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accountInformationGetUserAccountOrderDetailRequest, localVarRequestOptions, configuration);
|
|
93
91
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
94
92
|
return {
|
|
95
93
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -229,7 +227,7 @@ const ExperimentalEndpointsApiFp = function (configuration) {
|
|
|
229
227
|
const localVarAxiosParamCreator = (0, exports.ExperimentalEndpointsApiAxiosParamCreator)(configuration);
|
|
230
228
|
return {
|
|
231
229
|
/**
|
|
232
|
-
* Returns the detail of a single order using the
|
|
230
|
+
* 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.
|
|
233
231
|
* @summary Get account order detail (V2)
|
|
234
232
|
* @param {ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request} requestParameters Request parameters.
|
|
235
233
|
* @param {*} [options] Override http request option.
|
|
@@ -237,10 +235,7 @@ const ExperimentalEndpointsApiFp = function (configuration) {
|
|
|
237
235
|
*/
|
|
238
236
|
getUserAccountOrderDetailV2(requestParameters, options) {
|
|
239
237
|
return __awaiter(this, void 0, void 0, function* () {
|
|
240
|
-
const
|
|
241
|
-
brokerage_order_id: requestParameters.brokerage_order_id
|
|
242
|
-
};
|
|
243
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserAccountOrderDetailV2(requestParameters.accountId, requestParameters.userId, requestParameters.userSecret, accountInformationGetUserAccountOrderDetailRequest, options);
|
|
238
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserAccountOrderDetailV2(requestParameters.accountId, requestParameters.brokerageOrderId, requestParameters.userId, requestParameters.userSecret, options);
|
|
244
239
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
245
240
|
});
|
|
246
241
|
},
|
|
@@ -281,7 +276,7 @@ const ExperimentalEndpointsApiFactory = function (configuration, basePath, axios
|
|
|
281
276
|
const localVarFp = (0, exports.ExperimentalEndpointsApiFp)(configuration);
|
|
282
277
|
return {
|
|
283
278
|
/**
|
|
284
|
-
* Returns the detail of a single order using the
|
|
279
|
+
* 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.
|
|
285
280
|
* @summary Get account order detail (V2)
|
|
286
281
|
* @param {ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request} requestParameters Request parameters.
|
|
287
282
|
* @param {*} [options] Override http request option.
|
|
@@ -321,7 +316,7 @@ exports.ExperimentalEndpointsApiFactory = ExperimentalEndpointsApiFactory;
|
|
|
321
316
|
*/
|
|
322
317
|
class ExperimentalEndpointsApiGenerated extends base_1.BaseAPI {
|
|
323
318
|
/**
|
|
324
|
-
* Returns the detail of a single order using the
|
|
319
|
+
* 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.
|
|
325
320
|
* @summary Get account order detail (V2)
|
|
326
321
|
* @param {ExperimentalEndpointsApiGetUserAccountOrderDetailV2Request} requestParameters Request parameters.
|
|
327
322
|
* @param {*} [options] Override http request option.
|
|
@@ -68,7 +68,7 @@ export declare const TradingApiAxiosParamCreator: (configuration?: Configuration
|
|
|
68
68
|
*/
|
|
69
69
|
getOrderImpact: (userId: string, userSecret: string, manualTradeForm: ManualTradeForm, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
70
|
/**
|
|
71
|
-
* Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
71
|
+
* Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. **This endpoint is not a substitute for a market data provider. Frequent polling of this endpoint may result in the disabling of your keys** This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
72
72
|
* @summary Get equity symbol quotes
|
|
73
73
|
* @param {string} userId
|
|
74
74
|
* @param {string} userSecret
|
|
@@ -207,7 +207,7 @@ export declare const TradingApiFp: (configuration?: Configuration) => {
|
|
|
207
207
|
*/
|
|
208
208
|
getOrderImpact(requestParameters: TradingApiGetOrderImpactRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManualTradeAndImpact>>;
|
|
209
209
|
/**
|
|
210
|
-
* Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
210
|
+
* Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. **This endpoint is not a substitute for a market data provider. Frequent polling of this endpoint may result in the disabling of your keys** This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
211
211
|
* @summary Get equity symbol quotes
|
|
212
212
|
* @param {TradingApiGetUserAccountQuotesRequest} requestParameters Request parameters.
|
|
213
213
|
* @param {*} [options] Override http request option.
|
|
@@ -318,7 +318,7 @@ export declare const TradingApiFactory: (configuration?: Configuration, basePath
|
|
|
318
318
|
*/
|
|
319
319
|
getOrderImpact(requestParameters: TradingApiGetOrderImpactRequest, options?: AxiosRequestConfig): AxiosPromise<ManualTradeAndImpact>;
|
|
320
320
|
/**
|
|
321
|
-
* Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
321
|
+
* Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. **This endpoint is not a substitute for a market data provider. Frequent polling of this endpoint may result in the disabling of your keys** This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
322
322
|
* @summary Get equity symbol quotes
|
|
323
323
|
* @param {TradingApiGetUserAccountQuotesRequest} requestParameters Request parameters.
|
|
324
324
|
* @param {*} [options] Override http request option.
|
|
@@ -778,7 +778,7 @@ export declare class TradingApiGenerated extends BaseAPI {
|
|
|
778
778
|
*/
|
|
779
779
|
getOrderImpact(requestParameters: TradingApiGetOrderImpactRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ManualTradeAndImpact, any>>;
|
|
780
780
|
/**
|
|
781
|
-
* Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
781
|
+
* Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. **This endpoint is not a substitute for a market data provider. Frequent polling of this endpoint may result in the disabling of your keys** This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
782
782
|
* @summary Get equity symbol quotes
|
|
783
783
|
* @param {TradingApiGetUserAccountQuotesRequest} requestParameters Request parameters.
|
|
784
784
|
* @param {*} [options] Override http request option.
|
|
@@ -275,7 +275,7 @@ const TradingApiAxiosParamCreator = function (configuration) {
|
|
|
275
275
|
};
|
|
276
276
|
}),
|
|
277
277
|
/**
|
|
278
|
-
* Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
278
|
+
* Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. **This endpoint is not a substitute for a market data provider. Frequent polling of this endpoint may result in the disabling of your keys** This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
279
279
|
* @summary Get equity symbol quotes
|
|
280
280
|
* @param {string} userId
|
|
281
281
|
* @param {string} userSecret
|
|
@@ -904,7 +904,7 @@ const TradingApiFp = function (configuration) {
|
|
|
904
904
|
});
|
|
905
905
|
},
|
|
906
906
|
/**
|
|
907
|
-
* Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
907
|
+
* Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. **This endpoint is not a substitute for a market data provider. Frequent polling of this endpoint may result in the disabling of your keys** This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
908
908
|
* @summary Get equity symbol quotes
|
|
909
909
|
* @param {TradingApiGetUserAccountQuotesRequest} requestParameters Request parameters.
|
|
910
910
|
* @param {*} [options] Override http request option.
|
|
@@ -1139,7 +1139,7 @@ const TradingApiFactory = function (configuration, basePath, axios) {
|
|
|
1139
1139
|
return localVarFp.getOrderImpact(requestParameters, options).then((request) => request(axios, basePath));
|
|
1140
1140
|
},
|
|
1141
1141
|
/**
|
|
1142
|
-
* Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
1142
|
+
* Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. **This endpoint is not a substitute for a market data provider. Frequent polling of this endpoint may result in the disabling of your keys** This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
1143
1143
|
* @summary Get equity symbol quotes
|
|
1144
1144
|
* @param {TradingApiGetUserAccountQuotesRequest} requestParameters Request parameters.
|
|
1145
1145
|
* @param {*} [options] Override http request option.
|
|
@@ -1284,7 +1284,7 @@ class TradingApiGenerated extends base_1.BaseAPI {
|
|
|
1284
1284
|
return (0, exports.TradingApiFp)(this.configuration).getOrderImpact(requestParameters, options).then((request) => request(this.axios, this.basePath));
|
|
1285
1285
|
}
|
|
1286
1286
|
/**
|
|
1287
|
-
* Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
1287
|
+
* Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. **This endpoint is not a substitute for a market data provider. Frequent polling of this endpoint may result in the disabling of your keys** This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
1288
1288
|
* @summary Get equity symbol quotes
|
|
1289
1289
|
* @param {TradingApiGetUserAccountQuotesRequest} requestParameters Request parameters.
|
|
1290
1290
|
* @param {*} [options] Override http request option.
|