snaptrade-typescript-sdk 9.0.169 → 9.0.170
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 +39 -1
- package/dist/api/experimental-endpoints-api-generated.d.ts +61 -0
- package/dist/api/experimental-endpoints-api-generated.js +89 -0
- package/dist/browser.js +1 -1
- package/dist/configuration.js +1 -1
- package/dist/models/account-value-history-item.d.ts +20 -0
- package/dist/models/account-value-history-item.js +2 -0
- package/dist/models/account-value-history-response.d.ts +21 -0
- package/dist/models/account-value-history-response.js +2 -0
- package/dist/models/brokerage.d.ts +6 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/operationParameterMap.js +13 -0
- 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.170)
|
|
10
10
|
[](https://snaptrade.com/)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
@@ -44,6 +44,7 @@ Connect brokerage accounts to your app for live positions and trading
|
|
|
44
44
|
* [`snaptrade.connections.removeBrokerageAuthorization`](#snaptradeconnectionsremovebrokerageauthorization)
|
|
45
45
|
* [`snaptrade.connections.returnRates`](#snaptradeconnectionsreturnrates)
|
|
46
46
|
* [`snaptrade.connections.sessionEvents`](#snaptradeconnectionssessionevents)
|
|
47
|
+
* [`snaptrade.experimentalEndpoints.getAccountBalanceHistory`](#snaptradeexperimentalendpointsgetaccountbalancehistory)
|
|
47
48
|
* [`snaptrade.experimentalEndpoints.getUserAccountOrderDetailV2`](#snaptradeexperimentalendpointsgetuseraccountorderdetailv2)
|
|
48
49
|
* [`snaptrade.experimentalEndpoints.getUserAccountOrdersV2`](#snaptradeexperimentalendpointsgetuseraccountordersv2)
|
|
49
50
|
* [`snaptrade.experimentalEndpoints.getUserAccountRecentOrdersV2`](#snaptradeexperimentalendpointsgetuseraccountrecentordersv2)
|
|
@@ -1256,6 +1257,43 @@ Optional comma separated list of session IDs used to filter the request on speci
|
|
|
1256
1257
|
---
|
|
1257
1258
|
|
|
1258
1259
|
|
|
1260
|
+
### `snaptrade.experimentalEndpoints.getAccountBalanceHistory`<a id="snaptradeexperimentalendpointsgetaccountbalancehistory"></a>
|
|
1261
|
+
|
|
1262
|
+
An experimental endpoint that returns estimated historical total account value for the specified account. Total account value is the sum of the market value of all positions and cash in the account at a given time. This endpoint is experimental, disabled by default, and only available for certain brokerages with a maximum lookback of 1 year.
|
|
1263
|
+
|
|
1264
|
+
|
|
1265
|
+
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
1266
|
+
|
|
1267
|
+
```typescript
|
|
1268
|
+
const getAccountBalanceHistoryResponse =
|
|
1269
|
+
await snaptrade.experimentalEndpoints.getAccountBalanceHistory({
|
|
1270
|
+
userId: "snaptrade-user-123",
|
|
1271
|
+
userSecret: "adf2aa34-8219-40f7-a6b3-60156985cc61",
|
|
1272
|
+
accountId: "917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
1273
|
+
});
|
|
1274
|
+
```
|
|
1275
|
+
|
|
1276
|
+
#### ⚙️ Parameters<a id="⚙️-parameters"></a>
|
|
1277
|
+
|
|
1278
|
+
##### userId: `string`<a id="userid-string"></a>
|
|
1279
|
+
|
|
1280
|
+
##### userSecret: `string`<a id="usersecret-string"></a>
|
|
1281
|
+
|
|
1282
|
+
##### accountId: `string`<a id="accountid-string"></a>
|
|
1283
|
+
|
|
1284
|
+
#### 🔄 Return<a id="🔄-return"></a>
|
|
1285
|
+
|
|
1286
|
+
[AccountValueHistoryResponse](./models/account-value-history-response.ts)
|
|
1287
|
+
|
|
1288
|
+
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
|
1289
|
+
|
|
1290
|
+
`/accounts/{accountId}/balanceHistory` `GET`
|
|
1291
|
+
|
|
1292
|
+
[🔙 **Back to Table of Contents**](#table-of-contents)
|
|
1293
|
+
|
|
1294
|
+
---
|
|
1295
|
+
|
|
1296
|
+
|
|
1259
1297
|
### `snaptrade.experimentalEndpoints.getUserAccountOrderDetailV2`<a id="snaptradeexperimentalendpointsgetuseraccountorderdetailv2"></a>
|
|
1260
1298
|
|
|
1261
1299
|
Returns the detail of a single order using the brokerage order ID provided as a path parameter.
|
|
@@ -3,11 +3,22 @@ import { Configuration } from '../configuration';
|
|
|
3
3
|
import { RequestArgs, BaseAPI } from '../base';
|
|
4
4
|
import { AccountOrderRecordV2 } from '../models';
|
|
5
5
|
import { AccountOrdersV2Response } from '../models';
|
|
6
|
+
import { AccountValueHistoryResponse } from '../models';
|
|
6
7
|
/**
|
|
7
8
|
* ExperimentalEndpointsApi - axios parameter creator
|
|
8
9
|
* @export
|
|
9
10
|
*/
|
|
10
11
|
export declare const ExperimentalEndpointsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
12
|
+
/**
|
|
13
|
+
* An experimental endpoint that returns estimated historical total account value for the specified account. Total account value is the sum of the market value of all positions and cash in the account at a given time. This endpoint is experimental, disabled by default, and only available for certain brokerages with a maximum lookback of 1 year.
|
|
14
|
+
* @summary List historical account total value
|
|
15
|
+
* @param {string} userId
|
|
16
|
+
* @param {string} userSecret
|
|
17
|
+
* @param {string} accountId
|
|
18
|
+
* @param {*} [options] Override http request option.
|
|
19
|
+
* @throws {RequiredError}
|
|
20
|
+
*/
|
|
21
|
+
getAccountBalanceHistory: (userId: string, userSecret: string, accountId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
11
22
|
/**
|
|
12
23
|
* 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.
|
|
13
24
|
* @summary Get account order detail (V2)
|
|
@@ -48,6 +59,14 @@ export declare const ExperimentalEndpointsApiAxiosParamCreator: (configuration?:
|
|
|
48
59
|
* @export
|
|
49
60
|
*/
|
|
50
61
|
export declare const ExperimentalEndpointsApiFp: (configuration?: Configuration) => {
|
|
62
|
+
/**
|
|
63
|
+
* An experimental endpoint that returns estimated historical total account value for the specified account. Total account value is the sum of the market value of all positions and cash in the account at a given time. This endpoint is experimental, disabled by default, and only available for certain brokerages with a maximum lookback of 1 year.
|
|
64
|
+
* @summary List historical account total value
|
|
65
|
+
* @param {ExperimentalEndpointsApiGetAccountBalanceHistoryRequest} requestParameters Request parameters.
|
|
66
|
+
* @param {*} [options] Override http request option.
|
|
67
|
+
* @throws {RequiredError}
|
|
68
|
+
*/
|
|
69
|
+
getAccountBalanceHistory(requestParameters: ExperimentalEndpointsApiGetAccountBalanceHistoryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountValueHistoryResponse>>;
|
|
51
70
|
/**
|
|
52
71
|
* 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.
|
|
53
72
|
* @summary Get account order detail (V2)
|
|
@@ -78,6 +97,14 @@ export declare const ExperimentalEndpointsApiFp: (configuration?: Configuration)
|
|
|
78
97
|
* @export
|
|
79
98
|
*/
|
|
80
99
|
export declare const ExperimentalEndpointsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
100
|
+
/**
|
|
101
|
+
* An experimental endpoint that returns estimated historical total account value for the specified account. Total account value is the sum of the market value of all positions and cash in the account at a given time. This endpoint is experimental, disabled by default, and only available for certain brokerages with a maximum lookback of 1 year.
|
|
102
|
+
* @summary List historical account total value
|
|
103
|
+
* @param {ExperimentalEndpointsApiGetAccountBalanceHistoryRequest} requestParameters Request parameters.
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
getAccountBalanceHistory(requestParameters: ExperimentalEndpointsApiGetAccountBalanceHistoryRequest, options?: AxiosRequestConfig): AxiosPromise<AccountValueHistoryResponse>;
|
|
81
108
|
/**
|
|
82
109
|
* 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.
|
|
83
110
|
* @summary Get account order detail (V2)
|
|
@@ -103,6 +130,31 @@ export declare const ExperimentalEndpointsApiFactory: (configuration?: Configura
|
|
|
103
130
|
*/
|
|
104
131
|
getUserAccountRecentOrdersV2(requestParameters: ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request, options?: AxiosRequestConfig): AxiosPromise<AccountOrdersV2Response>;
|
|
105
132
|
};
|
|
133
|
+
/**
|
|
134
|
+
* Request parameters for getAccountBalanceHistory operation in ExperimentalEndpointsApi.
|
|
135
|
+
* @export
|
|
136
|
+
* @interface ExperimentalEndpointsApiGetAccountBalanceHistoryRequest
|
|
137
|
+
*/
|
|
138
|
+
export type ExperimentalEndpointsApiGetAccountBalanceHistoryRequest = {
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof ExperimentalEndpointsApiGetAccountBalanceHistory
|
|
143
|
+
*/
|
|
144
|
+
readonly userId: string;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof ExperimentalEndpointsApiGetAccountBalanceHistory
|
|
149
|
+
*/
|
|
150
|
+
readonly userSecret: string;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @memberof ExperimentalEndpointsApiGetAccountBalanceHistory
|
|
155
|
+
*/
|
|
156
|
+
readonly accountId: string;
|
|
157
|
+
};
|
|
106
158
|
/**
|
|
107
159
|
* Request parameters for getUserAccountOrderDetailV2 operation in ExperimentalEndpointsApi.
|
|
108
160
|
* @export
|
|
@@ -209,6 +261,15 @@ export type ExperimentalEndpointsApiGetUserAccountRecentOrdersV2Request = {
|
|
|
209
261
|
* @extends {BaseAPI}
|
|
210
262
|
*/
|
|
211
263
|
export declare class ExperimentalEndpointsApiGenerated extends BaseAPI {
|
|
264
|
+
/**
|
|
265
|
+
* An experimental endpoint that returns estimated historical total account value for the specified account. Total account value is the sum of the market value of all positions and cash in the account at a given time. This endpoint is experimental, disabled by default, and only available for certain brokerages with a maximum lookback of 1 year.
|
|
266
|
+
* @summary List historical account total value
|
|
267
|
+
* @param {ExperimentalEndpointsApiGetAccountBalanceHistoryRequest} requestParameters Request parameters.
|
|
268
|
+
* @param {*} [options] Override http request option.
|
|
269
|
+
* @throws {RequiredError}
|
|
270
|
+
* @memberof ExperimentalEndpointsApiGenerated
|
|
271
|
+
*/
|
|
272
|
+
getAccountBalanceHistory(requestParameters: ExperimentalEndpointsApiGetAccountBalanceHistoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountValueHistoryResponse, any>>;
|
|
212
273
|
/**
|
|
213
274
|
* 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.
|
|
214
275
|
* @summary Get account order detail (V2)
|
|
@@ -35,6 +35,61 @@ const requestBeforeHook_1 = require("../requestBeforeHook");
|
|
|
35
35
|
*/
|
|
36
36
|
const ExperimentalEndpointsApiAxiosParamCreator = function (configuration) {
|
|
37
37
|
return {
|
|
38
|
+
/**
|
|
39
|
+
* An experimental endpoint that returns estimated historical total account value for the specified account. Total account value is the sum of the market value of all positions and cash in the account at a given time. This endpoint is experimental, disabled by default, and only available for certain brokerages with a maximum lookback of 1 year.
|
|
40
|
+
* @summary List historical account total value
|
|
41
|
+
* @param {string} userId
|
|
42
|
+
* @param {string} userSecret
|
|
43
|
+
* @param {string} accountId
|
|
44
|
+
* @param {*} [options] Override http request option.
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
getAccountBalanceHistory: (userId, userSecret, accountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
48
|
+
// verify required parameter 'userId' is not null or undefined
|
|
49
|
+
(0, common_1.assertParamExists)('getAccountBalanceHistory', 'userId', userId);
|
|
50
|
+
// verify required parameter 'userSecret' is not null or undefined
|
|
51
|
+
(0, common_1.assertParamExists)('getAccountBalanceHistory', 'userSecret', userSecret);
|
|
52
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
53
|
+
(0, common_1.assertParamExists)('getAccountBalanceHistory', 'accountId', accountId);
|
|
54
|
+
const localVarPath = `/accounts/{accountId}/balanceHistory`
|
|
55
|
+
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId !== undefined ? accountId : `-accountId-`)));
|
|
56
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
58
|
+
let baseOptions;
|
|
59
|
+
if (configuration) {
|
|
60
|
+
baseOptions = configuration.baseOptions;
|
|
61
|
+
}
|
|
62
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
63
|
+
const localVarHeaderParameter = configuration && !(0, common_1.isBrowser)() ? { "User-Agent": configuration.userAgent } : {};
|
|
64
|
+
const localVarQueryParameter = {};
|
|
65
|
+
// authentication PartnerClientId required
|
|
66
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "clientId", keyParamName: "clientId", configuration });
|
|
67
|
+
// authentication PartnerSignature required
|
|
68
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarHeaderParameter, key: "Signature", keyParamName: "signature", configuration });
|
|
69
|
+
// authentication PartnerTimestamp required
|
|
70
|
+
yield (0, common_1.setApiKeyToObject)({ object: localVarQueryParameter, key: "timestamp", keyParamName: "timestamp", configuration });
|
|
71
|
+
if (userId !== undefined) {
|
|
72
|
+
localVarQueryParameter['userId'] = userId;
|
|
73
|
+
}
|
|
74
|
+
if (userSecret !== undefined) {
|
|
75
|
+
localVarQueryParameter['userSecret'] = userSecret;
|
|
76
|
+
}
|
|
77
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
78
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
79
|
+
(0, requestBeforeHook_1.requestBeforeHook)({
|
|
80
|
+
queryParameters: localVarQueryParameter,
|
|
81
|
+
requestConfig: localVarRequestOptions,
|
|
82
|
+
path: localVarPath,
|
|
83
|
+
configuration,
|
|
84
|
+
pathTemplate: '/accounts/{accountId}/balanceHistory',
|
|
85
|
+
httpMethod: 'GET'
|
|
86
|
+
});
|
|
87
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
88
|
+
return {
|
|
89
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
90
|
+
options: localVarRequestOptions,
|
|
91
|
+
};
|
|
92
|
+
}),
|
|
38
93
|
/**
|
|
39
94
|
* 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
95
|
* @summary Get account order detail (V2)
|
|
@@ -226,6 +281,19 @@ exports.ExperimentalEndpointsApiAxiosParamCreator = ExperimentalEndpointsApiAxio
|
|
|
226
281
|
const ExperimentalEndpointsApiFp = function (configuration) {
|
|
227
282
|
const localVarAxiosParamCreator = (0, exports.ExperimentalEndpointsApiAxiosParamCreator)(configuration);
|
|
228
283
|
return {
|
|
284
|
+
/**
|
|
285
|
+
* An experimental endpoint that returns estimated historical total account value for the specified account. Total account value is the sum of the market value of all positions and cash in the account at a given time. This endpoint is experimental, disabled by default, and only available for certain brokerages with a maximum lookback of 1 year.
|
|
286
|
+
* @summary List historical account total value
|
|
287
|
+
* @param {ExperimentalEndpointsApiGetAccountBalanceHistoryRequest} requestParameters Request parameters.
|
|
288
|
+
* @param {*} [options] Override http request option.
|
|
289
|
+
* @throws {RequiredError}
|
|
290
|
+
*/
|
|
291
|
+
getAccountBalanceHistory(requestParameters, options) {
|
|
292
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
293
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAccountBalanceHistory(requestParameters.userId, requestParameters.userSecret, requestParameters.accountId, options);
|
|
294
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
295
|
+
});
|
|
296
|
+
},
|
|
229
297
|
/**
|
|
230
298
|
* 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.
|
|
231
299
|
* @summary Get account order detail (V2)
|
|
@@ -275,6 +343,16 @@ exports.ExperimentalEndpointsApiFp = ExperimentalEndpointsApiFp;
|
|
|
275
343
|
const ExperimentalEndpointsApiFactory = function (configuration, basePath, axios) {
|
|
276
344
|
const localVarFp = (0, exports.ExperimentalEndpointsApiFp)(configuration);
|
|
277
345
|
return {
|
|
346
|
+
/**
|
|
347
|
+
* An experimental endpoint that returns estimated historical total account value for the specified account. Total account value is the sum of the market value of all positions and cash in the account at a given time. This endpoint is experimental, disabled by default, and only available for certain brokerages with a maximum lookback of 1 year.
|
|
348
|
+
* @summary List historical account total value
|
|
349
|
+
* @param {ExperimentalEndpointsApiGetAccountBalanceHistoryRequest} requestParameters Request parameters.
|
|
350
|
+
* @param {*} [options] Override http request option.
|
|
351
|
+
* @throws {RequiredError}
|
|
352
|
+
*/
|
|
353
|
+
getAccountBalanceHistory(requestParameters, options) {
|
|
354
|
+
return localVarFp.getAccountBalanceHistory(requestParameters, options).then((request) => request(axios, basePath));
|
|
355
|
+
},
|
|
278
356
|
/**
|
|
279
357
|
* 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.
|
|
280
358
|
* @summary Get account order detail (V2)
|
|
@@ -315,6 +393,17 @@ exports.ExperimentalEndpointsApiFactory = ExperimentalEndpointsApiFactory;
|
|
|
315
393
|
* @extends {BaseAPI}
|
|
316
394
|
*/
|
|
317
395
|
class ExperimentalEndpointsApiGenerated extends base_1.BaseAPI {
|
|
396
|
+
/**
|
|
397
|
+
* An experimental endpoint that returns estimated historical total account value for the specified account. Total account value is the sum of the market value of all positions and cash in the account at a given time. This endpoint is experimental, disabled by default, and only available for certain brokerages with a maximum lookback of 1 year.
|
|
398
|
+
* @summary List historical account total value
|
|
399
|
+
* @param {ExperimentalEndpointsApiGetAccountBalanceHistoryRequest} requestParameters Request parameters.
|
|
400
|
+
* @param {*} [options] Override http request option.
|
|
401
|
+
* @throws {RequiredError}
|
|
402
|
+
* @memberof ExperimentalEndpointsApiGenerated
|
|
403
|
+
*/
|
|
404
|
+
getAccountBalanceHistory(requestParameters, options) {
|
|
405
|
+
return (0, exports.ExperimentalEndpointsApiFp)(this.configuration).getAccountBalanceHistory(requestParameters, options).then((request) => request(this.axios, this.basePath));
|
|
406
|
+
}
|
|
318
407
|
/**
|
|
319
408
|
* 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.
|
|
320
409
|
* @summary Get account order detail (V2)
|