snaptrade-typescript-sdk 9.0.16 → 9.0.18
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 -11
- package/dist/api/account-information-api-generated.d.ts +4 -4
- package/dist/api/account-information-api-generated.js +4 -4
- package/dist/api/connections-api-generated.d.ts +24 -24
- package/dist/api/connections-api-generated.js +24 -24
- package/dist/api/options-api-generated.d.ts +40 -40
- package/dist/api/options-api-generated.js +40 -40
- package/dist/browser.js +1 -1
- package/dist/configuration.js +1 -1
- package/dist/models/account-order-record.d.ts +6 -0
- package/package.json +1 -1
|
@@ -13,8 +13,8 @@ import { StrategyQuotes } from '../models';
|
|
|
13
13
|
*/
|
|
14
14
|
export declare const OptionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
* @summary
|
|
16
|
+
* Creates an option strategy object that will be used to place an option strategy order.
|
|
17
|
+
* @summary Create options strategy
|
|
18
18
|
* @param {string} userId
|
|
19
19
|
* @param {string} userSecret
|
|
20
20
|
* @param {string} accountId The ID of the account to create the option strategy object in.
|
|
@@ -24,8 +24,8 @@ export declare const OptionsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
24
24
|
*/
|
|
25
25
|
getOptionStrategy: (userId: string, userSecret: string, accountId: string, optionsGetOptionStrategyRequest: OptionsGetOptionStrategyRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
28
|
-
* @summary Get the options chain
|
|
27
|
+
* Returns the option chain for the specified symbol in the specified account.
|
|
28
|
+
* @summary Get the options chain for a symbol
|
|
29
29
|
* @param {string} userId
|
|
30
30
|
* @param {string} userSecret
|
|
31
31
|
* @param {string} accountId The ID of the account to get the options chain from.
|
|
@@ -35,8 +35,8 @@ export declare const OptionsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
35
35
|
*/
|
|
36
36
|
getOptionsChain: (userId: string, userSecret: string, accountId: string, symbol: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @summary Get
|
|
38
|
+
* Returns a Strategy Quotes object which has latest market data of the specified option strategy.
|
|
39
|
+
* @summary Get options strategy quotes
|
|
40
40
|
* @param {string} userId
|
|
41
41
|
* @param {string} userSecret
|
|
42
42
|
* @param {string} accountId The ID of the account the strategy will be placed in.
|
|
@@ -46,8 +46,8 @@ export declare const OptionsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
46
46
|
*/
|
|
47
47
|
getOptionsStrategyQuote: (userId: string, userSecret: string, accountId: string, optionStrategyId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
50
|
-
* @summary Get
|
|
49
|
+
* Returns a list of Options Positions.
|
|
50
|
+
* @summary Get account option holdings
|
|
51
51
|
* @param {string} userId
|
|
52
52
|
* @param {string} userSecret
|
|
53
53
|
* @param {string} accountId The ID of the account to fetch options holdings for.
|
|
@@ -56,8 +56,8 @@ export declare const OptionsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
56
56
|
*/
|
|
57
57
|
listOptionHoldings: (userId: string, userSecret: string, accountId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
60
|
-
* @summary Place an option strategy order
|
|
59
|
+
* Places the option strategy order and returns the order record received from the brokerage.
|
|
60
|
+
* @summary Place an option strategy order
|
|
61
61
|
* @param {string} userId
|
|
62
62
|
* @param {string} userSecret
|
|
63
63
|
* @param {string} accountId The ID of the account to execute the strategy in.
|
|
@@ -74,40 +74,40 @@ export declare const OptionsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
74
74
|
*/
|
|
75
75
|
export declare const OptionsApiFp: (configuration?: Configuration) => {
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
78
|
-
* @summary
|
|
77
|
+
* Creates an option strategy object that will be used to place an option strategy order.
|
|
78
|
+
* @summary Create options strategy
|
|
79
79
|
* @param {OptionsApiGetOptionStrategyRequest} requestParameters Request parameters.
|
|
80
80
|
* @param {*} [options] Override http request option.
|
|
81
81
|
* @throws {RequiredError}
|
|
82
82
|
*/
|
|
83
83
|
getOptionStrategy(requestParameters: OptionsApiGetOptionStrategyRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StrategyQuotes>>;
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
86
|
-
* @summary Get the options chain
|
|
85
|
+
* Returns the option chain for the specified symbol in the specified account.
|
|
86
|
+
* @summary Get the options chain for a symbol
|
|
87
87
|
* @param {OptionsApiGetOptionsChainRequest} requestParameters Request parameters.
|
|
88
88
|
* @param {*} [options] Override http request option.
|
|
89
89
|
* @throws {RequiredError}
|
|
90
90
|
*/
|
|
91
91
|
getOptionsChain(requestParameters: OptionsApiGetOptionsChainRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OptionChainInner>>>;
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
94
|
-
* @summary Get
|
|
93
|
+
* Returns a Strategy Quotes object which has latest market data of the specified option strategy.
|
|
94
|
+
* @summary Get options strategy quotes
|
|
95
95
|
* @param {OptionsApiGetOptionsStrategyQuoteRequest} requestParameters Request parameters.
|
|
96
96
|
* @param {*} [options] Override http request option.
|
|
97
97
|
* @throws {RequiredError}
|
|
98
98
|
*/
|
|
99
99
|
getOptionsStrategyQuote(requestParameters: OptionsApiGetOptionsStrategyQuoteRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StrategyQuotes>>;
|
|
100
100
|
/**
|
|
101
|
-
*
|
|
102
|
-
* @summary Get
|
|
101
|
+
* Returns a list of Options Positions.
|
|
102
|
+
* @summary Get account option holdings
|
|
103
103
|
* @param {OptionsApiListOptionHoldingsRequest} requestParameters Request parameters.
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
107
|
listOptionHoldings(requestParameters: OptionsApiListOptionHoldingsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OptionsPosition>>>;
|
|
108
108
|
/**
|
|
109
|
-
*
|
|
110
|
-
* @summary Place an option strategy order
|
|
109
|
+
* Places the option strategy order and returns the order record received from the brokerage.
|
|
110
|
+
* @summary Place an option strategy order
|
|
111
111
|
* @param {OptionsApiPlaceOptionStrategyRequest} requestParameters Request parameters.
|
|
112
112
|
* @param {*} [options] Override http request option.
|
|
113
113
|
* @throws {RequiredError}
|
|
@@ -120,40 +120,40 @@ export declare const OptionsApiFp: (configuration?: Configuration) => {
|
|
|
120
120
|
*/
|
|
121
121
|
export declare const OptionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
122
122
|
/**
|
|
123
|
-
*
|
|
124
|
-
* @summary
|
|
123
|
+
* Creates an option strategy object that will be used to place an option strategy order.
|
|
124
|
+
* @summary Create options strategy
|
|
125
125
|
* @param {OptionsApiGetOptionStrategyRequest} requestParameters Request parameters.
|
|
126
126
|
* @param {*} [options] Override http request option.
|
|
127
127
|
* @throws {RequiredError}
|
|
128
128
|
*/
|
|
129
129
|
getOptionStrategy(requestParameters: OptionsApiGetOptionStrategyRequest, options?: AxiosRequestConfig): AxiosPromise<StrategyQuotes>;
|
|
130
130
|
/**
|
|
131
|
-
*
|
|
132
|
-
* @summary Get the options chain
|
|
131
|
+
* Returns the option chain for the specified symbol in the specified account.
|
|
132
|
+
* @summary Get the options chain for a symbol
|
|
133
133
|
* @param {OptionsApiGetOptionsChainRequest} requestParameters Request parameters.
|
|
134
134
|
* @param {*} [options] Override http request option.
|
|
135
135
|
* @throws {RequiredError}
|
|
136
136
|
*/
|
|
137
137
|
getOptionsChain(requestParameters: OptionsApiGetOptionsChainRequest, options?: AxiosRequestConfig): AxiosPromise<Array<OptionChainInner>>;
|
|
138
138
|
/**
|
|
139
|
-
*
|
|
140
|
-
* @summary Get
|
|
139
|
+
* Returns a Strategy Quotes object which has latest market data of the specified option strategy.
|
|
140
|
+
* @summary Get options strategy quotes
|
|
141
141
|
* @param {OptionsApiGetOptionsStrategyQuoteRequest} requestParameters Request parameters.
|
|
142
142
|
* @param {*} [options] Override http request option.
|
|
143
143
|
* @throws {RequiredError}
|
|
144
144
|
*/
|
|
145
145
|
getOptionsStrategyQuote(requestParameters: OptionsApiGetOptionsStrategyQuoteRequest, options?: AxiosRequestConfig): AxiosPromise<StrategyQuotes>;
|
|
146
146
|
/**
|
|
147
|
-
*
|
|
148
|
-
* @summary Get
|
|
147
|
+
* Returns a list of Options Positions.
|
|
148
|
+
* @summary Get account option holdings
|
|
149
149
|
* @param {OptionsApiListOptionHoldingsRequest} requestParameters Request parameters.
|
|
150
150
|
* @param {*} [options] Override http request option.
|
|
151
151
|
* @throws {RequiredError}
|
|
152
152
|
*/
|
|
153
153
|
listOptionHoldings(requestParameters: OptionsApiListOptionHoldingsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<OptionsPosition>>;
|
|
154
154
|
/**
|
|
155
|
-
*
|
|
156
|
-
* @summary Place an option strategy order
|
|
155
|
+
* Places the option strategy order and returns the order record received from the brokerage.
|
|
156
|
+
* @summary Place an option strategy order
|
|
157
157
|
* @param {OptionsApiPlaceOptionStrategyRequest} requestParameters Request parameters.
|
|
158
158
|
* @param {*} [options] Override http request option.
|
|
159
159
|
* @throws {RequiredError}
|
|
@@ -311,8 +311,8 @@ export type OptionsApiPlaceOptionStrategyRequest = {
|
|
|
311
311
|
*/
|
|
312
312
|
export declare class OptionsApiGenerated extends BaseAPI {
|
|
313
313
|
/**
|
|
314
|
-
*
|
|
315
|
-
* @summary
|
|
314
|
+
* Creates an option strategy object that will be used to place an option strategy order.
|
|
315
|
+
* @summary Create options strategy
|
|
316
316
|
* @param {OptionsApiGetOptionStrategyRequest} requestParameters Request parameters.
|
|
317
317
|
* @param {*} [options] Override http request option.
|
|
318
318
|
* @throws {RequiredError}
|
|
@@ -320,8 +320,8 @@ export declare class OptionsApiGenerated extends BaseAPI {
|
|
|
320
320
|
*/
|
|
321
321
|
getOptionStrategy(requestParameters: OptionsApiGetOptionStrategyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StrategyQuotes, any>>;
|
|
322
322
|
/**
|
|
323
|
-
*
|
|
324
|
-
* @summary Get the options chain
|
|
323
|
+
* Returns the option chain for the specified symbol in the specified account.
|
|
324
|
+
* @summary Get the options chain for a symbol
|
|
325
325
|
* @param {OptionsApiGetOptionsChainRequest} requestParameters Request parameters.
|
|
326
326
|
* @param {*} [options] Override http request option.
|
|
327
327
|
* @throws {RequiredError}
|
|
@@ -329,8 +329,8 @@ export declare class OptionsApiGenerated extends BaseAPI {
|
|
|
329
329
|
*/
|
|
330
330
|
getOptionsChain(requestParameters: OptionsApiGetOptionsChainRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OptionChainInner[], any>>;
|
|
331
331
|
/**
|
|
332
|
-
*
|
|
333
|
-
* @summary Get
|
|
332
|
+
* Returns a Strategy Quotes object which has latest market data of the specified option strategy.
|
|
333
|
+
* @summary Get options strategy quotes
|
|
334
334
|
* @param {OptionsApiGetOptionsStrategyQuoteRequest} requestParameters Request parameters.
|
|
335
335
|
* @param {*} [options] Override http request option.
|
|
336
336
|
* @throws {RequiredError}
|
|
@@ -338,8 +338,8 @@ export declare class OptionsApiGenerated extends BaseAPI {
|
|
|
338
338
|
*/
|
|
339
339
|
getOptionsStrategyQuote(requestParameters: OptionsApiGetOptionsStrategyQuoteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StrategyQuotes, any>>;
|
|
340
340
|
/**
|
|
341
|
-
*
|
|
342
|
-
* @summary Get
|
|
341
|
+
* Returns a list of Options Positions.
|
|
342
|
+
* @summary Get account option holdings
|
|
343
343
|
* @param {OptionsApiListOptionHoldingsRequest} requestParameters Request parameters.
|
|
344
344
|
* @param {*} [options] Override http request option.
|
|
345
345
|
* @throws {RequiredError}
|
|
@@ -347,8 +347,8 @@ export declare class OptionsApiGenerated extends BaseAPI {
|
|
|
347
347
|
*/
|
|
348
348
|
listOptionHoldings(requestParameters: OptionsApiListOptionHoldingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OptionsPosition[], any>>;
|
|
349
349
|
/**
|
|
350
|
-
*
|
|
351
|
-
* @summary Place an option strategy order
|
|
350
|
+
* Places the option strategy order and returns the order record received from the brokerage.
|
|
351
|
+
* @summary Place an option strategy order
|
|
352
352
|
* @param {OptionsApiPlaceOptionStrategyRequest} requestParameters Request parameters.
|
|
353
353
|
* @param {*} [options] Override http request option.
|
|
354
354
|
* @throws {RequiredError}
|
|
@@ -36,8 +36,8 @@ const requestBeforeHook_1 = require("../requestBeforeHook");
|
|
|
36
36
|
const OptionsApiAxiosParamCreator = function (configuration) {
|
|
37
37
|
return {
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
40
|
-
* @summary
|
|
39
|
+
* Creates an option strategy object that will be used to place an option strategy order.
|
|
40
|
+
* @summary Create options strategy
|
|
41
41
|
* @param {string} userId
|
|
42
42
|
* @param {string} userSecret
|
|
43
43
|
* @param {string} accountId The ID of the account to create the option strategy object in.
|
|
@@ -97,8 +97,8 @@ const OptionsApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
};
|
|
98
98
|
}),
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
101
|
-
* @summary Get the options chain
|
|
100
|
+
* Returns the option chain for the specified symbol in the specified account.
|
|
101
|
+
* @summary Get the options chain for a symbol
|
|
102
102
|
* @param {string} userId
|
|
103
103
|
* @param {string} userSecret
|
|
104
104
|
* @param {string} accountId The ID of the account to get the options chain from.
|
|
@@ -158,8 +158,8 @@ const OptionsApiAxiosParamCreator = function (configuration) {
|
|
|
158
158
|
};
|
|
159
159
|
}),
|
|
160
160
|
/**
|
|
161
|
-
*
|
|
162
|
-
* @summary Get
|
|
161
|
+
* Returns a Strategy Quotes object which has latest market data of the specified option strategy.
|
|
162
|
+
* @summary Get options strategy quotes
|
|
163
163
|
* @param {string} userId
|
|
164
164
|
* @param {string} userSecret
|
|
165
165
|
* @param {string} accountId The ID of the account the strategy will be placed in.
|
|
@@ -217,8 +217,8 @@ const OptionsApiAxiosParamCreator = function (configuration) {
|
|
|
217
217
|
};
|
|
218
218
|
}),
|
|
219
219
|
/**
|
|
220
|
-
*
|
|
221
|
-
* @summary Get
|
|
220
|
+
* Returns a list of Options Positions.
|
|
221
|
+
* @summary Get account option holdings
|
|
222
222
|
* @param {string} userId
|
|
223
223
|
* @param {string} userSecret
|
|
224
224
|
* @param {string} accountId The ID of the account to fetch options holdings for.
|
|
@@ -272,8 +272,8 @@ const OptionsApiAxiosParamCreator = function (configuration) {
|
|
|
272
272
|
};
|
|
273
273
|
}),
|
|
274
274
|
/**
|
|
275
|
-
*
|
|
276
|
-
* @summary Place an option strategy order
|
|
275
|
+
* Places the option strategy order and returns the order record received from the brokerage.
|
|
276
|
+
* @summary Place an option strategy order
|
|
277
277
|
* @param {string} userId
|
|
278
278
|
* @param {string} userSecret
|
|
279
279
|
* @param {string} accountId The ID of the account to execute the strategy in.
|
|
@@ -347,8 +347,8 @@ const OptionsApiFp = function (configuration) {
|
|
|
347
347
|
const localVarAxiosParamCreator = (0, exports.OptionsApiAxiosParamCreator)(configuration);
|
|
348
348
|
return {
|
|
349
349
|
/**
|
|
350
|
-
*
|
|
351
|
-
* @summary
|
|
350
|
+
* Creates an option strategy object that will be used to place an option strategy order.
|
|
351
|
+
* @summary Create options strategy
|
|
352
352
|
* @param {OptionsApiGetOptionStrategyRequest} requestParameters Request parameters.
|
|
353
353
|
* @param {*} [options] Override http request option.
|
|
354
354
|
* @throws {RequiredError}
|
|
@@ -365,8 +365,8 @@ const OptionsApiFp = function (configuration) {
|
|
|
365
365
|
});
|
|
366
366
|
},
|
|
367
367
|
/**
|
|
368
|
-
*
|
|
369
|
-
* @summary Get the options chain
|
|
368
|
+
* Returns the option chain for the specified symbol in the specified account.
|
|
369
|
+
* @summary Get the options chain for a symbol
|
|
370
370
|
* @param {OptionsApiGetOptionsChainRequest} requestParameters Request parameters.
|
|
371
371
|
* @param {*} [options] Override http request option.
|
|
372
372
|
* @throws {RequiredError}
|
|
@@ -378,8 +378,8 @@ const OptionsApiFp = function (configuration) {
|
|
|
378
378
|
});
|
|
379
379
|
},
|
|
380
380
|
/**
|
|
381
|
-
*
|
|
382
|
-
* @summary Get
|
|
381
|
+
* Returns a Strategy Quotes object which has latest market data of the specified option strategy.
|
|
382
|
+
* @summary Get options strategy quotes
|
|
383
383
|
* @param {OptionsApiGetOptionsStrategyQuoteRequest} requestParameters Request parameters.
|
|
384
384
|
* @param {*} [options] Override http request option.
|
|
385
385
|
* @throws {RequiredError}
|
|
@@ -391,8 +391,8 @@ const OptionsApiFp = function (configuration) {
|
|
|
391
391
|
});
|
|
392
392
|
},
|
|
393
393
|
/**
|
|
394
|
-
*
|
|
395
|
-
* @summary Get
|
|
394
|
+
* Returns a list of Options Positions.
|
|
395
|
+
* @summary Get account option holdings
|
|
396
396
|
* @param {OptionsApiListOptionHoldingsRequest} requestParameters Request parameters.
|
|
397
397
|
* @param {*} [options] Override http request option.
|
|
398
398
|
* @throws {RequiredError}
|
|
@@ -404,8 +404,8 @@ const OptionsApiFp = function (configuration) {
|
|
|
404
404
|
});
|
|
405
405
|
},
|
|
406
406
|
/**
|
|
407
|
-
*
|
|
408
|
-
* @summary Place an option strategy order
|
|
407
|
+
* Places the option strategy order and returns the order record received from the brokerage.
|
|
408
|
+
* @summary Place an option strategy order
|
|
409
409
|
* @param {OptionsApiPlaceOptionStrategyRequest} requestParameters Request parameters.
|
|
410
410
|
* @param {*} [options] Override http request option.
|
|
411
411
|
* @throws {RequiredError}
|
|
@@ -432,8 +432,8 @@ const OptionsApiFactory = function (configuration, basePath, axios) {
|
|
|
432
432
|
const localVarFp = (0, exports.OptionsApiFp)(configuration);
|
|
433
433
|
return {
|
|
434
434
|
/**
|
|
435
|
-
*
|
|
436
|
-
* @summary
|
|
435
|
+
* Creates an option strategy object that will be used to place an option strategy order.
|
|
436
|
+
* @summary Create options strategy
|
|
437
437
|
* @param {OptionsApiGetOptionStrategyRequest} requestParameters Request parameters.
|
|
438
438
|
* @param {*} [options] Override http request option.
|
|
439
439
|
* @throws {RequiredError}
|
|
@@ -442,8 +442,8 @@ const OptionsApiFactory = function (configuration, basePath, axios) {
|
|
|
442
442
|
return localVarFp.getOptionStrategy(requestParameters, options).then((request) => request(axios, basePath));
|
|
443
443
|
},
|
|
444
444
|
/**
|
|
445
|
-
*
|
|
446
|
-
* @summary Get the options chain
|
|
445
|
+
* Returns the option chain for the specified symbol in the specified account.
|
|
446
|
+
* @summary Get the options chain for a symbol
|
|
447
447
|
* @param {OptionsApiGetOptionsChainRequest} requestParameters Request parameters.
|
|
448
448
|
* @param {*} [options] Override http request option.
|
|
449
449
|
* @throws {RequiredError}
|
|
@@ -452,8 +452,8 @@ const OptionsApiFactory = function (configuration, basePath, axios) {
|
|
|
452
452
|
return localVarFp.getOptionsChain(requestParameters, options).then((request) => request(axios, basePath));
|
|
453
453
|
},
|
|
454
454
|
/**
|
|
455
|
-
*
|
|
456
|
-
* @summary Get
|
|
455
|
+
* Returns a Strategy Quotes object which has latest market data of the specified option strategy.
|
|
456
|
+
* @summary Get options strategy quotes
|
|
457
457
|
* @param {OptionsApiGetOptionsStrategyQuoteRequest} requestParameters Request parameters.
|
|
458
458
|
* @param {*} [options] Override http request option.
|
|
459
459
|
* @throws {RequiredError}
|
|
@@ -462,8 +462,8 @@ const OptionsApiFactory = function (configuration, basePath, axios) {
|
|
|
462
462
|
return localVarFp.getOptionsStrategyQuote(requestParameters, options).then((request) => request(axios, basePath));
|
|
463
463
|
},
|
|
464
464
|
/**
|
|
465
|
-
*
|
|
466
|
-
* @summary Get
|
|
465
|
+
* Returns a list of Options Positions.
|
|
466
|
+
* @summary Get account option holdings
|
|
467
467
|
* @param {OptionsApiListOptionHoldingsRequest} requestParameters Request parameters.
|
|
468
468
|
* @param {*} [options] Override http request option.
|
|
469
469
|
* @throws {RequiredError}
|
|
@@ -472,8 +472,8 @@ const OptionsApiFactory = function (configuration, basePath, axios) {
|
|
|
472
472
|
return localVarFp.listOptionHoldings(requestParameters, options).then((request) => request(axios, basePath));
|
|
473
473
|
},
|
|
474
474
|
/**
|
|
475
|
-
*
|
|
476
|
-
* @summary Place an option strategy order
|
|
475
|
+
* Places the option strategy order and returns the order record received from the brokerage.
|
|
476
|
+
* @summary Place an option strategy order
|
|
477
477
|
* @param {OptionsApiPlaceOptionStrategyRequest} requestParameters Request parameters.
|
|
478
478
|
* @param {*} [options] Override http request option.
|
|
479
479
|
* @throws {RequiredError}
|
|
@@ -492,8 +492,8 @@ exports.OptionsApiFactory = OptionsApiFactory;
|
|
|
492
492
|
*/
|
|
493
493
|
class OptionsApiGenerated extends base_1.BaseAPI {
|
|
494
494
|
/**
|
|
495
|
-
*
|
|
496
|
-
* @summary
|
|
495
|
+
* Creates an option strategy object that will be used to place an option strategy order.
|
|
496
|
+
* @summary Create options strategy
|
|
497
497
|
* @param {OptionsApiGetOptionStrategyRequest} requestParameters Request parameters.
|
|
498
498
|
* @param {*} [options] Override http request option.
|
|
499
499
|
* @throws {RequiredError}
|
|
@@ -503,8 +503,8 @@ class OptionsApiGenerated extends base_1.BaseAPI {
|
|
|
503
503
|
return (0, exports.OptionsApiFp)(this.configuration).getOptionStrategy(requestParameters, options).then((request) => request(this.axios, this.basePath));
|
|
504
504
|
}
|
|
505
505
|
/**
|
|
506
|
-
*
|
|
507
|
-
* @summary Get the options chain
|
|
506
|
+
* Returns the option chain for the specified symbol in the specified account.
|
|
507
|
+
* @summary Get the options chain for a symbol
|
|
508
508
|
* @param {OptionsApiGetOptionsChainRequest} requestParameters Request parameters.
|
|
509
509
|
* @param {*} [options] Override http request option.
|
|
510
510
|
* @throws {RequiredError}
|
|
@@ -514,8 +514,8 @@ class OptionsApiGenerated extends base_1.BaseAPI {
|
|
|
514
514
|
return (0, exports.OptionsApiFp)(this.configuration).getOptionsChain(requestParameters, options).then((request) => request(this.axios, this.basePath));
|
|
515
515
|
}
|
|
516
516
|
/**
|
|
517
|
-
*
|
|
518
|
-
* @summary Get
|
|
517
|
+
* Returns a Strategy Quotes object which has latest market data of the specified option strategy.
|
|
518
|
+
* @summary Get options strategy quotes
|
|
519
519
|
* @param {OptionsApiGetOptionsStrategyQuoteRequest} requestParameters Request parameters.
|
|
520
520
|
* @param {*} [options] Override http request option.
|
|
521
521
|
* @throws {RequiredError}
|
|
@@ -525,8 +525,8 @@ class OptionsApiGenerated extends base_1.BaseAPI {
|
|
|
525
525
|
return (0, exports.OptionsApiFp)(this.configuration).getOptionsStrategyQuote(requestParameters, options).then((request) => request(this.axios, this.basePath));
|
|
526
526
|
}
|
|
527
527
|
/**
|
|
528
|
-
*
|
|
529
|
-
* @summary Get
|
|
528
|
+
* Returns a list of Options Positions.
|
|
529
|
+
* @summary Get account option holdings
|
|
530
530
|
* @param {OptionsApiListOptionHoldingsRequest} requestParameters Request parameters.
|
|
531
531
|
* @param {*} [options] Override http request option.
|
|
532
532
|
* @throws {RequiredError}
|
|
@@ -536,8 +536,8 @@ class OptionsApiGenerated extends base_1.BaseAPI {
|
|
|
536
536
|
return (0, exports.OptionsApiFp)(this.configuration).listOptionHoldings(requestParameters, options).then((request) => request(this.axios, this.basePath));
|
|
537
537
|
}
|
|
538
538
|
/**
|
|
539
|
-
*
|
|
540
|
-
* @summary Place an option strategy order
|
|
539
|
+
* Places the option strategy order and returns the order record received from the brokerage.
|
|
540
|
+
* @summary Place an option strategy order
|
|
541
541
|
* @param {OptionsApiPlaceOptionStrategyRequest} requestParameters Request parameters.
|
|
542
542
|
* @param {*} [options] Override http request option.
|
|
543
543
|
* @throws {RequiredError}
|