snaptrade-typescript-sdk 12.2.15 → 12.2.16
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 +3 -3
- package/dist/browser.umd.js +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +28 -5
- package/dist/index.d.mts +28 -5
- package/dist/index.d.ts +28 -5
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5575,7 +5575,7 @@ const TradingApiAxiosParamCreator = function(configuration) {
|
|
|
5575
5575
|
};
|
|
5576
5576
|
},
|
|
5577
5577
|
/**
|
|
5578
|
-
* Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes.
|
|
5578
|
+
* **Deprecated.** This endpoint was sunset on October 1, 2026 and now always returns `410 Gone`. Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes.
|
|
5579
5579
|
* @summary Get option quote
|
|
5580
5580
|
* @param {string} accountId
|
|
5581
5581
|
* @param {string} symbol The OCC-formatted option symbol.
|
|
@@ -6471,7 +6471,7 @@ const TradingApiFp = function(configuration) {
|
|
|
6471
6471
|
});
|
|
6472
6472
|
},
|
|
6473
6473
|
/**
|
|
6474
|
-
* Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes.
|
|
6474
|
+
* **Deprecated.** This endpoint was sunset on October 1, 2026 and now always returns `410 Gone`. Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes.
|
|
6475
6475
|
* @summary Get option quote
|
|
6476
6476
|
* @param {TradingApiGetUserAccountOptionQuotesRequest<TAuth>} requestParameters Request parameters.
|
|
6477
6477
|
* @param {*} [options] Override http request option.
|
|
@@ -6812,7 +6812,7 @@ const TradingApiFactory = function(configuration, basePath, axios) {
|
|
|
6812
6812
|
return localVarFp.getOrderImpact(...args).then((request) => request(axios, basePath));
|
|
6813
6813
|
},
|
|
6814
6814
|
/**
|
|
6815
|
-
* Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes.
|
|
6815
|
+
* **Deprecated.** This endpoint was sunset on October 1, 2026 and now always returns `410 Gone`. Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes.
|
|
6816
6816
|
* @summary Get option quote
|
|
6817
6817
|
* @param {TradingApiGetUserAccountOptionQuotesRequest<TAuth>} requestParameters Request parameters.
|
|
6818
6818
|
* @param {*} [options] Override http request option.
|
|
@@ -6966,7 +6966,7 @@ var TradingApiGenerated = class extends BaseAPI {
|
|
|
6966
6966
|
return TradingApiFp(this.configuration).getOrderImpact(...args).then((request) => request(this.axios, this.basePath));
|
|
6967
6967
|
}
|
|
6968
6968
|
/**
|
|
6969
|
-
* Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes.
|
|
6969
|
+
* **Deprecated.** This endpoint was sunset on October 1, 2026 and now always returns `410 Gone`. Returns a quote for a single option contract. The option contract is specified using in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format) **Note:** These are derived values and are not suitable for trading purposes.
|
|
6970
6970
|
* @summary Get option quote
|
|
6971
6971
|
* @param {TradingApiGetUserAccountOptionQuotesRequest<TAuth>} requestParameters Request parameters.
|
|
6972
6972
|
* @param {*} [options] Override http request option.
|
|
@@ -7127,7 +7127,7 @@ var Configuration = class {
|
|
|
7127
7127
|
}
|
|
7128
7128
|
this.basePath = param.basePath;
|
|
7129
7129
|
this.baseOptions = param.baseOptions ?? {};
|
|
7130
|
-
this.userAgent = param.userAgent === void 0 ? "Konfig/12.2.
|
|
7130
|
+
this.userAgent = param.userAgent === void 0 ? "Konfig/12.2.16/typescript" : param.userAgent;
|
|
7131
7131
|
this.formDataCtor = param.formDataCtor;
|
|
7132
7132
|
}
|
|
7133
7133
|
/**
|