snaptrade-typescript-sdk 9.0.17 → 9.0.19

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.
@@ -24,8 +24,8 @@ export declare const TradingApiAxiosParamCreator: (configuration?: Configuration
24
24
  */
25
25
  cancelUserAccountOrder: (userId: string, userSecret: string, accountId: string, tradingCancelUserAccountOrderRequest: TradingCancelUserAccountOrderRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
26
26
  /**
27
- *
28
- * @summary Check impact of trades on account.
27
+ * Return the trade object and it\'s impact on the account for the specified order.
28
+ * @summary Check the impact of a trade on an account
29
29
  * @param {string} userId
30
30
  * @param {string} userSecret
31
31
  * @param {ManualTradeForm} manualTradeForm
@@ -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
- *
49
+ * Places a specified trade in the specified account.
50
50
  * @summary Place a trade with NO validation.
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
- *
59
+ * Places the specified trade object. This places the order in the account and returns the status of the order from the brokerage.
60
60
  * @summary Place order
61
61
  * @param {string} tradeId The ID of trade object obtained from trade/impact endpoint
62
62
  * @param {string} userId
@@ -81,8 +81,8 @@ export declare const TradingApiFp: (configuration?: Configuration) => {
81
81
  */
82
82
  cancelUserAccountOrder(requestParameters: TradingApiCancelUserAccountOrderRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountOrderRecord>>;
83
83
  /**
84
- *
85
- * @summary Check impact of trades on account.
84
+ * Return the trade object and it\'s impact on the account for the specified order.
85
+ * @summary Check the impact of a trade on an account
86
86
  * @param {TradingApiGetOrderImpactRequest} requestParameters Request parameters.
87
87
  * @param {*} [options] Override http request option.
88
88
  * @throws {RequiredError}
@@ -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
- *
100
+ * Places a specified trade in the specified account.
101
101
  * @summary Place a trade with NO validation.
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
- *
108
+ * Places the specified trade object. This places the order in the account and returns the status of the order from the brokerage.
109
109
  * @summary Place order
110
110
  * @param {TradingApiPlaceOrderRequest} requestParameters Request parameters.
111
111
  * @param {*} [options] Override http request option.
@@ -127,8 +127,8 @@ export declare const TradingApiFactory: (configuration?: Configuration, basePath
127
127
  */
128
128
  cancelUserAccountOrder(requestParameters: TradingApiCancelUserAccountOrderRequest, options?: AxiosRequestConfig): AxiosPromise<AccountOrderRecord>;
129
129
  /**
130
- *
131
- * @summary Check impact of trades on account.
130
+ * Return the trade object and it\'s impact on the account for the specified order.
131
+ * @summary Check the impact of a trade on an account
132
132
  * @param {TradingApiGetOrderImpactRequest} requestParameters Request parameters.
133
133
  * @param {*} [options] Override http request option.
134
134
  * @throws {RequiredError}
@@ -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
- *
146
+ * Places a specified trade in the specified account.
147
147
  * @summary Place a trade with NO validation.
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
- *
154
+ * Places the specified trade object. This places the order in the account and returns the status of the order from the brokerage.
155
155
  * @summary Place order
156
156
  * @param {TradingApiPlaceOrderRequest} requestParameters Request parameters.
157
157
  * @param {*} [options] Override http request option.
@@ -301,8 +301,8 @@ export declare class TradingApiGenerated extends BaseAPI {
301
301
  */
302
302
  cancelUserAccountOrder(requestParameters: TradingApiCancelUserAccountOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountOrderRecord, any>>;
303
303
  /**
304
- *
305
- * @summary Check impact of trades on account.
304
+ * Return the trade object and it\'s impact on the account for the specified order.
305
+ * @summary Check the impact of a trade on an account
306
306
  * @param {TradingApiGetOrderImpactRequest} requestParameters Request parameters.
307
307
  * @param {*} [options] Override http request option.
308
308
  * @throws {RequiredError}
@@ -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
- *
322
+ * Places a specified trade in the specified account.
323
323
  * @summary Place a trade with NO validation.
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
- *
331
+ * Places the specified trade object. This places the order in the account and returns the status of the order from the brokerage.
332
332
  * @summary Place order
333
333
  * @param {TradingApiPlaceOrderRequest} requestParameters Request parameters.
334
334
  * @param {*} [options] Override http request option.
@@ -97,8 +97,8 @@ const TradingApiAxiosParamCreator = function (configuration) {
97
97
  };
98
98
  }),
99
99
  /**
100
- *
101
- * @summary Check impact of trades on account.
100
+ * Return the trade object and it\'s impact on the account for the specified order.
101
+ * @summary Check the impact of a trade on an account
102
102
  * @param {string} userId
103
103
  * @param {string} userSecret
104
104
  * @param {ManualTradeForm} manualTradeForm
@@ -219,7 +219,7 @@ const TradingApiAxiosParamCreator = function (configuration) {
219
219
  };
220
220
  }),
221
221
  /**
222
- *
222
+ * Places a specified trade in the specified account.
223
223
  * @summary Place a trade with NO validation.
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
- *
279
+ * Places the specified trade object. This places the order in the account and returns the status of the order from the brokerage.
280
280
  * @summary Place order
281
281
  * @param {string} tradeId The ID of trade object obtained from trade/impact endpoint
282
282
  * @param {string} userId
@@ -361,8 +361,8 @@ const TradingApiFp = function (configuration) {
361
361
  });
362
362
  },
363
363
  /**
364
- *
365
- * @summary Check impact of trades on account.
364
+ * Return the trade object and it\'s impact on the account for the specified order.
365
+ * @summary Check the impact of a trade on an account
366
366
  * @param {TradingApiGetOrderImpactRequest} requestParameters Request parameters.
367
367
  * @param {*} [options] Override http request option.
368
368
  * @throws {RequiredError}
@@ -398,7 +398,7 @@ const TradingApiFp = function (configuration) {
398
398
  });
399
399
  },
400
400
  /**
401
- *
401
+ * Places a specified trade in the specified account.
402
402
  * @summary Place a trade with NO validation.
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
- *
425
+ * Places the specified trade object. This places the order in the account and returns the status of the order from the brokerage.
426
426
  * @summary Place order
427
427
  * @param {TradingApiPlaceOrderRequest} requestParameters Request parameters.
428
428
  * @param {*} [options] Override http request option.
@@ -458,8 +458,8 @@ const TradingApiFactory = function (configuration, basePath, axios) {
458
458
  return localVarFp.cancelUserAccountOrder(requestParameters, options).then((request) => request(axios, basePath));
459
459
  },
460
460
  /**
461
- *
462
- * @summary Check impact of trades on account.
461
+ * Return the trade object and it\'s impact on the account for the specified order.
462
+ * @summary Check the impact of a trade on an account
463
463
  * @param {TradingApiGetOrderImpactRequest} requestParameters Request parameters.
464
464
  * @param {*} [options] Override http request option.
465
465
  * @throws {RequiredError}
@@ -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
- *
481
+ * Places a specified trade in the specified account.
482
482
  * @summary Place a trade with NO validation.
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
- *
491
+ * Places the specified trade object. This places the order in the account and returns the status of the order from the brokerage.
492
492
  * @summary Place order
493
493
  * @param {TradingApiPlaceOrderRequest} requestParameters Request parameters.
494
494
  * @param {*} [options] Override http request option.
@@ -519,8 +519,8 @@ class TradingApiGenerated extends base_1.BaseAPI {
519
519
  return (0, exports.TradingApiFp)(this.configuration).cancelUserAccountOrder(requestParameters, options).then((request) => request(this.axios, this.basePath));
520
520
  }
521
521
  /**
522
- *
523
- * @summary Check impact of trades on account.
522
+ * Return the trade object and it\'s impact on the account for the specified order.
523
+ * @summary Check the impact of a trade on an account
524
524
  * @param {TradingApiGetOrderImpactRequest} requestParameters Request parameters.
525
525
  * @param {*} [options] Override http request option.
526
526
  * @throws {RequiredError}
@@ -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
- *
544
+ * Places a specified trade in the specified account.
545
545
  * @summary Place a trade with NO validation.
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
- *
555
+ * Places the specified trade object. This places the order in the account and returns the status of the order from the brokerage.
556
556
  * @summary Place order
557
557
  * @param {TradingApiPlaceOrderRequest} requestParameters Request parameters.
558
558
  * @param {*} [options] Override http request option.