diff --git a/.konfig/generate-id.txt b/.konfig/generate-id.txt
index 9e8c50d3..716d3313 100644
--- a/.konfig/generate-id.txt
+++ b/.konfig/generate-id.txt
@@ -1 +1 @@
-abbb8013-12ad-463f-8d0f-bf12ddab20dd
\ No newline at end of file
+39c44306-5966-45e8-a0fd-720c44d87ab5
\ No newline at end of file
diff --git a/README.md b/README.md
index 26dc54a2..63f3c423 100644
--- a/README.md
+++ b/README.md
@@ -309,13 +309,13 @@ $result = $snaptrade->accountInformation->getAllAccountPositions(
### `snaptrade.accountInformation.getAllUserHoldings`

-**Deprecated, please use the account-specific holdings endpoint instead.**
+**Deprecated.** Use the account-specific holdings endpoint instead.
+
+This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
List all accounts for the user, plus balances, positions, and orders for each
account.
-**Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
-
#### 🛠️ Usage
@@ -546,9 +546,9 @@ Number of days in the past to fetch the most recent orders. Defaults to the last
### `snaptrade.accountInformation.getUserAccountPositions`

-Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings).
+**Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures.
-This endpoint is deprecated. Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures.
+Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings).
Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
- If you do, this endpoint returns real-time data.
@@ -683,6 +683,9 @@ Optional comma separated list of rate-of-return timeframes to return. Supported

**Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders).
+
+This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026.
+
Returns a list of balances, positions, and recent orders for the specified account.
Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
@@ -1688,9 +1691,9 @@ $result = $snaptrade->experimentalEndpoints->listSubscriptions();
### `snaptrade.options.listOptionHoldings`

-Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions).
+**Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures.
-This endpoint is deprecated. Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures.
+Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions).
Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
- If you do, this endpoint returns real-time data.
@@ -2138,7 +2141,8 @@ Order ID returned by brokerage. This is the unique identifier for the order in t
### `snaptrade.trading.cancelUserAccountOrder`

-**This endpoint is deprecated. Please switch to [the new cancel order endpoint](/reference/Trading/Trading_cancelOrder) **
+**Deprecated.** Use [the new cancel order endpoint](/reference/Trading/Trading_cancelOrder) instead.
+
Attempts to cancel an open order with the brokerage. If the order is no longer cancellable, the request will be rejected.
@@ -2414,8 +2418,6 @@ The quotes returned can be delayed depending on the brokerage the account belong
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.
-
#### 🛠️ Usage
@@ -2463,7 +2465,8 @@ Should be set to `True` if `symbols` are comprised of tickers. Defaults to `Fals
### `snaptrade.trading.placeBracketOrder`

-**This endpoint is deprecated. Please switch to [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) **
+**Deprecated.** Use [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) instead.
+
Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for
use. Only supported on certain brokerages
@@ -3111,7 +3114,9 @@ $result = $snaptrade->trading->searchCryptocurrencyPairInstruments(
### `snaptrade.transactionsAndReporting.getActivities`

-This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible
+**Deprecated.** Use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) instead, if possible.
+
+This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request.
@@ -3119,8 +3124,6 @@ There is no guarantee to the ordering of the transactions returned. Please sort
This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage.
-**Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
-
#### 🛠️ Usage
@@ -3180,7 +3183,8 @@ Optional comma separated list of transaction types to filter by. SnapTrade does
### `snaptrade.transactionsAndReporting.getReportingCustomRange`

-Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
+**Deprecated.** Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
+
#### 🛠️ Usage
diff --git a/lib/Api/AccountInformationApi.php b/lib/Api/AccountInformationApi.php
index ce81b116..d48826ca 100644
--- a/lib/Api/AccountInformationApi.php
+++ b/lib/Api/AccountInformationApi.php
@@ -113,9 +113,9 @@ class AccountInformationApi extends \SnapTrade\CustomApi
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec
*/
public function __construct(
- Configuration $config = null,
- ClientInterface $client = null,
- HeaderSelector $selector = null,
+ ?Configuration $config = null,
+ ?ClientInterface $client = null,
+ ?HeaderSelector $selector = null,
$hostIndex = 0
) {
$clientOptions = [];
@@ -1536,7 +1536,7 @@ public function getAllAccountPositionsRequest($user_id, $user_secret, $account_i
*
* List all accounts for the user, plus balances, positions, and orders for each account.
*
- * **Deprecated, please use the account-specific holdings endpoint instead.** List all accounts for the user, plus balances, positions, and orders for each account. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
+ * **Deprecated.** Use the account-specific holdings endpoint instead. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. List all accounts for the user, plus balances, positions, and orders for each account.
*
* @param string $user_id user_id (required)
* @param string $user_secret user_secret (required)
@@ -1566,7 +1566,7 @@ public function getAllUserHoldings(
*
* List all accounts for the user, plus balances, positions, and orders for each account.
*
- * **Deprecated, please use the account-specific holdings endpoint instead.** List all accounts for the user, plus balances, positions, and orders for each account. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
+ * **Deprecated.** Use the account-specific holdings endpoint instead. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. List all accounts for the user, plus balances, positions, and orders for each account.
*
* @param string $user_id (required)
* @param string $user_secret (required)
@@ -1757,7 +1757,7 @@ public function getAllUserHoldingsWithHttpInfo($user_id, $user_secret, $brokerag
*
* List all accounts for the user, plus balances, positions, and orders for each account.
*
- * **Deprecated, please use the account-specific holdings endpoint instead.** List all accounts for the user, plus balances, positions, and orders for each account. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
+ * **Deprecated.** Use the account-specific holdings endpoint instead. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. List all accounts for the user, plus balances, positions, and orders for each account.
*
* @param string $user_id (required)
* @param string $user_secret (required)
@@ -1790,7 +1790,7 @@ function ($response) {
*
* List all accounts for the user, plus balances, positions, and orders for each account.
*
- * **Deprecated, please use the account-specific holdings endpoint instead.** List all accounts for the user, plus balances, positions, and orders for each account. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
+ * **Deprecated.** Use the account-specific holdings endpoint instead. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. List all accounts for the user, plus balances, positions, and orders for each account.
*
* @param string $user_id (required)
* @param string $user_secret (required)
@@ -3884,7 +3884,7 @@ public function getUserAccountOrdersRequest($user_id, $user_secret, $account_id,
*
* List account positions
*
- * Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings). This endpoint is deprecated. Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
+ * **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
*
* @param string $user_id user_id (required)
* @param string $user_secret user_secret (required)
@@ -3914,7 +3914,7 @@ public function getUserAccountPositions(
*
* List account positions
*
- * Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings). This endpoint is deprecated. Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
+ * **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
*
* @param string $user_id (required)
* @param string $user_secret (required)
@@ -4059,7 +4059,7 @@ public function getUserAccountPositionsWithHttpInfo($user_id, $user_secret, $acc
*
* List account positions
*
- * Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings). This endpoint is deprecated. Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
+ * **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
*
* @param string $user_id (required)
* @param string $user_secret (required)
@@ -4092,7 +4092,7 @@ function ($response) {
*
* List account positions
*
- * Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings). This endpoint is deprecated. Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
+ * **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
*
* @param string $user_id (required)
* @param string $user_secret (required)
@@ -5344,7 +5344,7 @@ public function getUserAccountReturnRatesRequest($user_id, $user_secret, $accoun
*
* List account holdings
*
- * **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
+ * **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
*
* @param string $account_id account_id (required)
* @param string $user_id user_id (required)
@@ -5374,7 +5374,7 @@ public function getUserHoldings(
*
* List account holdings
*
- * **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
+ * **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
*
* @param string $account_id (required)
* @param string $user_id (required)
@@ -5588,7 +5588,7 @@ public function getUserHoldingsWithHttpInfo($account_id, $user_id, $user_secret,
*
* List account holdings
*
- * **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
+ * **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
*
* @param string $account_id (required)
* @param string $user_id (required)
@@ -5621,7 +5621,7 @@ function ($response) {
*
* List account holdings
*
- * **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
+ * **Deprecated.** Use the finer-grained account data endpoints instead: [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getAllAccountPositions), and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders). This endpoint will return HTTP 410 Gone for all customers that sign up after May 11, 2026. Returns a list of balances, positions, and recent orders for the specified account. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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.
*
* @param string $account_id (required)
* @param string $user_id (required)
diff --git a/lib/Api/ApiStatusApi.php b/lib/Api/ApiStatusApi.php
index 85e85d35..e2ac40ac 100644
--- a/lib/Api/ApiStatusApi.php
+++ b/lib/Api/ApiStatusApi.php
@@ -74,9 +74,9 @@ class ApiStatusApi extends \SnapTrade\CustomApi
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec
*/
public function __construct(
- Configuration $config = null,
- ClientInterface $client = null,
- HeaderSelector $selector = null,
+ ?Configuration $config = null,
+ ?ClientInterface $client = null,
+ ?HeaderSelector $selector = null,
$hostIndex = 0
) {
$clientOptions = [];
diff --git a/lib/Api/AuthenticationApi.php b/lib/Api/AuthenticationApi.php
index 7bd7dd40..1983e33f 100644
--- a/lib/Api/AuthenticationApi.php
+++ b/lib/Api/AuthenticationApi.php
@@ -86,9 +86,9 @@ class AuthenticationApi extends \SnapTrade\CustomApi
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec
*/
public function __construct(
- Configuration $config = null,
- ClientInterface $client = null,
- HeaderSelector $selector = null,
+ ?Configuration $config = null,
+ ?ClientInterface $client = null,
+ ?HeaderSelector $selector = null,
$hostIndex = 0
) {
$clientOptions = [];
diff --git a/lib/Api/ConnectionsApi.php b/lib/Api/ConnectionsApi.php
index a5557527..af25c171 100644
--- a/lib/Api/ConnectionsApi.php
+++ b/lib/Api/ConnectionsApi.php
@@ -101,9 +101,9 @@ class ConnectionsApi extends \SnapTrade\CustomApi
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec
*/
public function __construct(
- Configuration $config = null,
- ClientInterface $client = null,
- HeaderSelector $selector = null,
+ ?Configuration $config = null,
+ ?ClientInterface $client = null,
+ ?HeaderSelector $selector = null,
$hostIndex = 0
) {
$clientOptions = [];
diff --git a/lib/Api/ExperimentalEndpointsApi.php b/lib/Api/ExperimentalEndpointsApi.php
index ec29157d..0d084a73 100644
--- a/lib/Api/ExperimentalEndpointsApi.php
+++ b/lib/Api/ExperimentalEndpointsApi.php
@@ -89,9 +89,9 @@ class ExperimentalEndpointsApi extends \SnapTrade\CustomApi
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec
*/
public function __construct(
- Configuration $config = null,
- ClientInterface $client = null,
- HeaderSelector $selector = null,
+ ?Configuration $config = null,
+ ?ClientInterface $client = null,
+ ?HeaderSelector $selector = null,
$hostIndex = 0
) {
$clientOptions = [];
diff --git a/lib/Api/OptionsApi.php b/lib/Api/OptionsApi.php
index 9f4869e2..43951b03 100644
--- a/lib/Api/OptionsApi.php
+++ b/lib/Api/OptionsApi.php
@@ -74,9 +74,9 @@ class OptionsApi extends \SnapTrade\CustomApi
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec
*/
public function __construct(
- Configuration $config = null,
- ClientInterface $client = null,
- HeaderSelector $selector = null,
+ ?Configuration $config = null,
+ ?ClientInterface $client = null,
+ ?HeaderSelector $selector = null,
$hostIndex = 0
) {
$clientOptions = [];
@@ -140,7 +140,7 @@ private function setRequestBodyProperty(&$body, $property, $value) {
*
* List account option positions
*
- * Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions). This endpoint is deprecated. Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
+ * **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
*
* @param string $user_id user_id (required)
* @param string $user_secret user_secret (required)
@@ -170,7 +170,7 @@ public function listOptionHoldings(
*
* List account option positions
*
- * Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions). This endpoint is deprecated. Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
+ * **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
*
* @param string $user_id (required)
* @param string $user_secret (required)
@@ -338,7 +338,7 @@ public function listOptionHoldingsWithHttpInfo($user_id, $user_secret, $account_
*
* List account option positions
*
- * Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions). This endpoint is deprecated. Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
+ * **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
*
* @param string $user_id (required)
* @param string $user_secret (required)
@@ -371,7 +371,7 @@ function ($response) {
*
* List account option positions
*
- * Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions). This endpoint is deprecated. Consider using the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions). This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
+ * **Deprecated.** Use the newer [unified positions endpoint](/reference/Account%20Information/AccountInformation_getAllAccountPositions) instead. This will allow you to get both equity and option positions in a single call, as well as additional asset classes such as futures. Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
*
* @param string $user_id (required)
* @param string $user_secret (required)
diff --git a/lib/Api/ReferenceDataApi.php b/lib/Api/ReferenceDataApi.php
index 96e72337..ad1c820b 100644
--- a/lib/Api/ReferenceDataApi.php
+++ b/lib/Api/ReferenceDataApi.php
@@ -107,9 +107,9 @@ class ReferenceDataApi extends \SnapTrade\CustomApi
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec
*/
public function __construct(
- Configuration $config = null,
- ClientInterface $client = null,
- HeaderSelector $selector = null,
+ ?Configuration $config = null,
+ ?ClientInterface $client = null,
+ ?HeaderSelector $selector = null,
$hostIndex = 0
) {
$clientOptions = [];
diff --git a/lib/Api/TradingApi.php b/lib/Api/TradingApi.php
index 71dab004..8254d801 100644
--- a/lib/Api/TradingApi.php
+++ b/lib/Api/TradingApi.php
@@ -119,9 +119,9 @@ class TradingApi extends \SnapTrade\CustomApi
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec
*/
public function __construct(
- Configuration $config = null,
- ClientInterface $client = null,
- HeaderSelector $selector = null,
+ ?Configuration $config = null,
+ ?ClientInterface $client = null,
+ ?HeaderSelector $selector = null,
$hostIndex = 0
) {
$clientOptions = [];
@@ -645,7 +645,7 @@ public function cancelOrderRequest($user_id, $user_secret, $account_id, $account
*
* Cancel equity order
*
- * **This endpoint is deprecated. Please switch to [the new cancel order endpoint](/reference/Trading/Trading_cancelOrder) ** Attempts to cancel an open order with the brokerage. If the order is no longer cancellable, the request will be rejected.
+ * **Deprecated.** Use [the new cancel order endpoint](/reference/Trading/Trading_cancelOrder) instead. Attempts to cancel an open order with the brokerage. If the order is no longer cancellable, the request will be rejected.
*
* @param string $user_id user_id (required)
* @param string $user_secret user_secret (required)
@@ -680,7 +680,7 @@ public function cancelUserAccountOrder(
*
* Cancel equity order
*
- * **This endpoint is deprecated. Please switch to [the new cancel order endpoint](/reference/Trading/Trading_cancelOrder) ** Attempts to cancel an open order with the brokerage. If the order is no longer cancellable, the request will be rejected.
+ * **Deprecated.** Use [the new cancel order endpoint](/reference/Trading/Trading_cancelOrder) instead. Attempts to cancel an open order with the brokerage. If the order is no longer cancellable, the request will be rejected.
*
* @param string $user_id (required)
* @param string $user_secret (required)
@@ -850,7 +850,7 @@ public function cancelUserAccountOrderWithHttpInfo($user_id, $user_secret, $acco
*
* Cancel equity order
*
- * **This endpoint is deprecated. Please switch to [the new cancel order endpoint](/reference/Trading/Trading_cancelOrder) ** Attempts to cancel an open order with the brokerage. If the order is no longer cancellable, the request will be rejected.
+ * **Deprecated.** Use [the new cancel order endpoint](/reference/Trading/Trading_cancelOrder) instead. Attempts to cancel an open order with the brokerage. If the order is no longer cancellable, the request will be rejected.
*
* @param string $user_id (required)
* @param string $user_secret (required)
@@ -888,7 +888,7 @@ function ($response) {
*
* Cancel equity order
*
- * **This endpoint is deprecated. Please switch to [the new cancel order endpoint](/reference/Trading/Trading_cancelOrder) ** Attempts to cancel an open order with the brokerage. If the order is no longer cancellable, the request will be rejected.
+ * **Deprecated.** Use [the new cancel order endpoint](/reference/Trading/Trading_cancelOrder) instead. Attempts to cancel an open order with the brokerage. If the order is no longer cancellable, the request will be rejected.
*
* @param string $user_id (required)
* @param string $user_secret (required)
@@ -3053,7 +3053,7 @@ public function getUserAccountOptionQuotesRequest($user_id, $user_secret, $accou
*
* Get equity symbol quotes
*
- * Returns a maximum of 10 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.
+ * Returns a maximum of 10 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.
*
* @param string $user_id user_id (required)
* @param string $user_secret user_secret (required)
@@ -3086,7 +3086,7 @@ public function getUserAccountQuotes(
*
* Get equity symbol quotes
*
- * Returns a maximum of 10 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.
+ * Returns a maximum of 10 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.
*
* @param string $user_id (required)
* @param string $user_secret (required)
@@ -3234,7 +3234,7 @@ public function getUserAccountQuotesWithHttpInfo($user_id, $user_secret, $symbol
*
* Get equity symbol quotes
*
- * Returns a maximum of 10 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.
+ * Returns a maximum of 10 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.
*
* @param string $user_id (required)
* @param string $user_secret (required)
@@ -3270,7 +3270,7 @@ function ($response) {
*
* Get equity symbol quotes
*
- * Returns a maximum of 10 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.
+ * Returns a maximum of 10 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.
*
* @param string $user_id (required)
* @param string $user_secret (required)
@@ -3526,7 +3526,7 @@ public function getUserAccountQuotesRequest($user_id, $user_secret, $symbols, $a
*
* Place bracket order
*
- * **This endpoint is deprecated. Please switch to [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) ** Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
+ * **Deprecated.** Use [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) instead. Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
*
* @param string $account_id The ID of the account to execute the trade on. (required)
* @param string $user_id user_id (required)
@@ -3577,7 +3577,7 @@ public function placeBracketOrder(
*
* Place bracket order
*
- * **This endpoint is deprecated. Please switch to [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) ** Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
+ * **Deprecated.** Use [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) instead. Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
*
* @param string $account_id The ID of the account to execute the trade on. (required)
* @param string $user_id (required)
@@ -3747,7 +3747,7 @@ public function placeBracketOrderWithHttpInfo($account_id, $user_id, $user_secre
*
* Place bracket order
*
- * **This endpoint is deprecated. Please switch to [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) ** Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
+ * **Deprecated.** Use [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) instead. Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
*
* @param string $account_id The ID of the account to execute the trade on. (required)
* @param string $user_id (required)
@@ -3801,7 +3801,7 @@ function ($response) {
*
* Place bracket order
*
- * **This endpoint is deprecated. Please switch to [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) ** Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
+ * **Deprecated.** Use [the new complex order endpoint](/reference/Trading/Trading_placeComplexOrder) instead. Places a bracket order (entry order + OCO of stop loss and take profit). Disabled by default please contact support for use. Only supported on certain brokerages
*
* @param string $account_id The ID of the account to execute the trade on. (required)
* @param string $user_id (required)
diff --git a/lib/Api/TransactionsAndReportingApi.php b/lib/Api/TransactionsAndReportingApi.php
index c345f0e8..d3867f05 100644
--- a/lib/Api/TransactionsAndReportingApi.php
+++ b/lib/Api/TransactionsAndReportingApi.php
@@ -77,9 +77,9 @@ class TransactionsAndReportingApi extends \SnapTrade\CustomApi
* @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec
*/
public function __construct(
- Configuration $config = null,
- ClientInterface $client = null,
- HeaderSelector $selector = null,
+ ?Configuration $config = null,
+ ?ClientInterface $client = null,
+ ?HeaderSelector $selector = null,
$hostIndex = 0
) {
$clientOptions = [];
@@ -143,7 +143,7 @@ private function setRequestBodyProperty(&$body, $property, $value) {
*
* Get transaction history for a user
*
- * This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
+ * **Deprecated.** Use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) instead, if possible. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage.
*
* @param string $user_id user_id (required)
* @param string $user_secret user_secret (required)
@@ -181,7 +181,7 @@ public function getActivities(
*
* Get transaction history for a user
*
- * This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
+ * **Deprecated.** Use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) instead, if possible. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage.
*
* @param string $user_id (required)
* @param string $user_secret (required)
@@ -311,7 +311,7 @@ public function getActivitiesWithHttpInfo($user_id, $user_secret, $start_date =
*
* Get transaction history for a user
*
- * This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
+ * **Deprecated.** Use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) instead, if possible. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage.
*
* @param string $user_id (required)
* @param string $user_secret (required)
@@ -352,7 +352,7 @@ function ($response) {
*
* Get transaction history for a user
*
- * This endpoint is being deprecated but will continue to be available for use via SDKs, please use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) if possible Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. **Note:** This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026.
+ * **Deprecated.** Use [the account level endpoint](/reference/Account%20Information/AccountInformation_getAccountActivities) instead, if possible. This endpoint will return HTTP 410 Gone for all customers that sign up after April 25, 2026. Returns all historical transactions for the specified user and filtering criteria. It's recommended to use `startDate` and `endDate` to paginate through the data, as the response may be very large for accounts with a long history and/or a lot of activity. There's a max number of 10000 transactions returned per request. There is no guarantee to the ordering of the transactions returned. Please sort the transactions based on the `trade_date` field if you need them in a specific order. This endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage.
*
* @param string $user_id (required)
* @param string $user_secret (required)
@@ -631,7 +631,7 @@ public function getActivitiesRequest($user_id, $user_secret, $start_date = SENTI
*
* Get performance information for a specific timeframe
*
- * Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
+ * **Deprecated.** Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
*
* @param \DateTime $start_date start_date (required)
* @param \DateTime $end_date end_date (required)
@@ -669,7 +669,7 @@ public function getReportingCustomRange(
*
* Get performance information for a specific timeframe
*
- * Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
+ * **Deprecated.** Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
*
* @param \DateTime $start_date (required)
* @param \DateTime $end_date (required)
@@ -799,7 +799,7 @@ public function getReportingCustomRangeWithHttpInfo($start_date, $end_date, $use
*
* Get performance information for a specific timeframe
*
- * Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
+ * **Deprecated.** Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
*
* @param \DateTime $start_date (required)
* @param \DateTime $end_date (required)
@@ -840,7 +840,7 @@ function ($response) {
*
* Get performance information for a specific timeframe
*
- * Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
+ * **Deprecated.** Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
*
* @param \DateTime $start_date (required)
* @param \DateTime $end_date (required)
diff --git a/lib/Client.php b/lib/Client.php
index 791efbc5..c7efda70 100644
--- a/lib/Client.php
+++ b/lib/Client.php
@@ -27,13 +27,13 @@ class Client
* Constructor
*/
public function __construct(
- string $consumerKey = null,
- string $clientId = null,
- string $Signature = null,
- string $timestamp = null,
- bool $verifySsl = null,
+ ?string $consumerKey = null,
+ ?string $clientId = null,
+ ?string $Signature = null,
+ ?string $timestamp = null,
+ ?bool $verifySsl = null,
string $host = 'https://api.snaptrade.com',
- \SnapTrade\Configuration $config = null
+ ?\SnapTrade\Configuration $config = null
)
{
if ($config == null) {
diff --git a/lib/Configuration.php b/lib/Configuration.php
index 97a5fad6..c49c635c 100644
--- a/lib/Configuration.php
+++ b/lib/Configuration.php
@@ -147,10 +147,10 @@ public function getConsumerKey()
* Constructor
*/
public function __construct(
- string $consumerKey = null,
- string $clientId = null,
- string $Signature = null,
- string $timestamp = null,
+ ?string $consumerKey = null,
+ ?string $clientId = null,
+ ?string $Signature = null,
+ ?string $timestamp = null,
string $host = 'https://api.snaptrade.com'
)
{
@@ -541,7 +541,7 @@ public function getHostSettings()
* @param array|null $variables hash of variable and the corresponding value (optional)
* @return string URL based on host settings
*/
- public static function getHostString(array $hostsSettings, $hostIndex, array $variables = null)
+ public static function getHostString(array $hostsSettings, $hostIndex, ?array $variables = null)
{
if (null === $variables) {
$variables = [];
diff --git a/lib/Model/Account.php b/lib/Model/Account.php
index f4a55347..dc5c2a5c 100644
--- a/lib/Model/Account.php
+++ b/lib/Model/Account.php
@@ -374,7 +374,7 @@ public function getAccountCategoryAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('brokerage_authorization', $data ?? [], null);
diff --git a/lib/Model/AccountBalance.php b/lib/Model/AccountBalance.php
index 78044695..3d5301a5 100644
--- a/lib/Model/AccountBalance.php
+++ b/lib/Model/AccountBalance.php
@@ -236,7 +236,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('total', $data ?? [], null);
}
diff --git a/lib/Model/AccountBalanceTotal.php b/lib/Model/AccountBalanceTotal.php
index 2b2cc220..f326848b 100644
--- a/lib/Model/AccountBalanceTotal.php
+++ b/lib/Model/AccountBalanceTotal.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('amount', $data ?? [], null);
$this->setIfExists('currency', $data ?? [], null);
diff --git a/lib/Model/AccountHoldings.php b/lib/Model/AccountHoldings.php
index dbe40702..552b1586 100644
--- a/lib/Model/AccountHoldings.php
+++ b/lib/Model/AccountHoldings.php
@@ -254,7 +254,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('account', $data ?? [], null);
$this->setIfExists('balances', $data ?? [], null);
diff --git a/lib/Model/AccountHoldingsAccount.php b/lib/Model/AccountHoldingsAccount.php
index 55969e00..54cf434b 100644
--- a/lib/Model/AccountHoldingsAccount.php
+++ b/lib/Model/AccountHoldingsAccount.php
@@ -266,7 +266,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('account', $data ?? [], null);
$this->setIfExists('balances', $data ?? [], null);
diff --git a/lib/Model/AccountInformationGetUserAccountOrderDetailRequest.php b/lib/Model/AccountInformationGetUserAccountOrderDetailRequest.php
index 5fe4e120..46440618 100644
--- a/lib/Model/AccountInformationGetUserAccountOrderDetailRequest.php
+++ b/lib/Model/AccountInformationGetUserAccountOrderDetailRequest.php
@@ -235,7 +235,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('brokerage_order_id', $data ?? [], null);
}
diff --git a/lib/Model/AccountOrderRecord.php b/lib/Model/AccountOrderRecord.php
index 5326fb0a..0cacbe04 100644
--- a/lib/Model/AccountOrderRecord.php
+++ b/lib/Model/AccountOrderRecord.php
@@ -397,7 +397,7 @@ public function getOrderRoleAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('brokerage_order_id', $data ?? [], null);
$this->setIfExists('brokerage_group_order_id', $data ?? [], null);
diff --git a/lib/Model/AccountOrderRecordChildBrokerageOrderIds.php b/lib/Model/AccountOrderRecordChildBrokerageOrderIds.php
index 49ea6828..33dd41dc 100644
--- a/lib/Model/AccountOrderRecordChildBrokerageOrderIds.php
+++ b/lib/Model/AccountOrderRecordChildBrokerageOrderIds.php
@@ -241,7 +241,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('take_profit_order_id', $data ?? [], null);
$this->setIfExists('stop_loss_order_id', $data ?? [], null);
diff --git a/lib/Model/AccountOrderRecordLeg.php b/lib/Model/AccountOrderRecordLeg.php
index 5300bbab..6ee8f7c3 100644
--- a/lib/Model/AccountOrderRecordLeg.php
+++ b/lib/Model/AccountOrderRecordLeg.php
@@ -278,7 +278,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('leg_id', $data ?? [], null);
$this->setIfExists('instrument', $data ?? [], null);
diff --git a/lib/Model/AccountOrderRecordLegInstrument.php b/lib/Model/AccountOrderRecordLegInstrument.php
index 24025a54..97193fe3 100644
--- a/lib/Model/AccountOrderRecordLegInstrument.php
+++ b/lib/Model/AccountOrderRecordLegInstrument.php
@@ -260,7 +260,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('symbol', $data ?? [], null);
$this->setIfExists('description', $data ?? [], null);
diff --git a/lib/Model/AccountOrderRecordOptionSymbol.php b/lib/Model/AccountOrderRecordOptionSymbol.php
index c0b542af..f9bfebde 100644
--- a/lib/Model/AccountOrderRecordOptionSymbol.php
+++ b/lib/Model/AccountOrderRecordOptionSymbol.php
@@ -287,7 +287,7 @@ public function getOptionTypeAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('ticker', $data ?? [], null);
diff --git a/lib/Model/AccountOrderRecordQuoteCurrency.php b/lib/Model/AccountOrderRecordQuoteCurrency.php
index 58fe427b..b0b47279 100644
--- a/lib/Model/AccountOrderRecordQuoteCurrency.php
+++ b/lib/Model/AccountOrderRecordQuoteCurrency.php
@@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('code', $data ?? [], null);
diff --git a/lib/Model/AccountOrderRecordQuoteUniversalSymbol.php b/lib/Model/AccountOrderRecordQuoteUniversalSymbol.php
index acde9822..43890def 100644
--- a/lib/Model/AccountOrderRecordQuoteUniversalSymbol.php
+++ b/lib/Model/AccountOrderRecordQuoteUniversalSymbol.php
@@ -290,7 +290,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('symbol', $data ?? [], null);
diff --git a/lib/Model/AccountOrderRecordTrailingStop.php b/lib/Model/AccountOrderRecordTrailingStop.php
index 1442f82a..97ffc3f5 100644
--- a/lib/Model/AccountOrderRecordTrailingStop.php
+++ b/lib/Model/AccountOrderRecordTrailingStop.php
@@ -257,7 +257,7 @@ public function getTypeAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('amount', $data ?? [], null);
$this->setIfExists('type', $data ?? [], null);
diff --git a/lib/Model/AccountOrderRecordUniversalSymbol.php b/lib/Model/AccountOrderRecordUniversalSymbol.php
index 46a39d2f..7ca83596 100644
--- a/lib/Model/AccountOrderRecordUniversalSymbol.php
+++ b/lib/Model/AccountOrderRecordUniversalSymbol.php
@@ -290,7 +290,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('symbol', $data ?? [], null);
diff --git a/lib/Model/AccountOrderRecordV2.php b/lib/Model/AccountOrderRecordV2.php
index c1f12f35..011b6a79 100644
--- a/lib/Model/AccountOrderRecordV2.php
+++ b/lib/Model/AccountOrderRecordV2.php
@@ -331,7 +331,7 @@ public function getOrderRoleAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('brokerage_order_id', $data ?? [], null);
$this->setIfExists('brokerage_group_order_id', $data ?? [], null);
diff --git a/lib/Model/AccountOrdersV2Response.php b/lib/Model/AccountOrdersV2Response.php
index 4f2737d6..b0e5b16d 100644
--- a/lib/Model/AccountOrdersV2Response.php
+++ b/lib/Model/AccountOrdersV2Response.php
@@ -236,7 +236,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('orders', $data ?? [], null);
}
diff --git a/lib/Model/AccountPosition.php b/lib/Model/AccountPosition.php
index a08d3f3f..33e9b085 100644
--- a/lib/Model/AccountPosition.php
+++ b/lib/Model/AccountPosition.php
@@ -272,7 +272,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('instrument', $data ?? [], null);
$this->setIfExists('units', $data ?? [], null);
diff --git a/lib/Model/AccountSimple.php b/lib/Model/AccountSimple.php
index 4c3b941e..97d6f2dc 100644
--- a/lib/Model/AccountSimple.php
+++ b/lib/Model/AccountSimple.php
@@ -260,7 +260,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('name', $data ?? [], null);
diff --git a/lib/Model/AccountSyncStatus.php b/lib/Model/AccountSyncStatus.php
index 1e38066b..edd7c2cf 100644
--- a/lib/Model/AccountSyncStatus.php
+++ b/lib/Model/AccountSyncStatus.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('transactions', $data ?? [], null);
$this->setIfExists('holdings', $data ?? [], null);
diff --git a/lib/Model/AccountUniversalActivity.php b/lib/Model/AccountUniversalActivity.php
index 57cdf582..869e8f2d 100644
--- a/lib/Model/AccountUniversalActivity.php
+++ b/lib/Model/AccountUniversalActivity.php
@@ -332,7 +332,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('symbol', $data ?? [], null);
diff --git a/lib/Model/AccountUniversalActivityCurrency.php b/lib/Model/AccountUniversalActivityCurrency.php
index 984dd07a..a864763d 100644
--- a/lib/Model/AccountUniversalActivityCurrency.php
+++ b/lib/Model/AccountUniversalActivityCurrency.php
@@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('code', $data ?? [], null);
diff --git a/lib/Model/AccountUniversalActivityCurrencyUniversalSymbol.php b/lib/Model/AccountUniversalActivityCurrencyUniversalSymbol.php
index ae71f2cb..67db39da 100644
--- a/lib/Model/AccountUniversalActivityCurrencyUniversalSymbol.php
+++ b/lib/Model/AccountUniversalActivityCurrencyUniversalSymbol.php
@@ -284,7 +284,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('symbol', $data ?? [], null);
diff --git a/lib/Model/AccountUniversalActivityOptionSymbol.php b/lib/Model/AccountUniversalActivityOptionSymbol.php
index acd5871c..3a9e1e83 100644
--- a/lib/Model/AccountUniversalActivityOptionSymbol.php
+++ b/lib/Model/AccountUniversalActivityOptionSymbol.php
@@ -287,7 +287,7 @@ public function getOptionTypeAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('ticker', $data ?? [], null);
diff --git a/lib/Model/AccountUniversalActivitySymbol.php b/lib/Model/AccountUniversalActivitySymbol.php
index 1400b995..385618a6 100644
--- a/lib/Model/AccountUniversalActivitySymbol.php
+++ b/lib/Model/AccountUniversalActivitySymbol.php
@@ -284,7 +284,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('symbol', $data ?? [], null);
diff --git a/lib/Model/AccountValueHistoryItem.php b/lib/Model/AccountValueHistoryItem.php
index c84420ab..9b83b362 100644
--- a/lib/Model/AccountValueHistoryItem.php
+++ b/lib/Model/AccountValueHistoryItem.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('date', $data ?? [], null);
$this->setIfExists('total_value', $data ?? [], null);
diff --git a/lib/Model/AccountValueHistoryResponse.php b/lib/Model/AccountValueHistoryResponse.php
index 35663011..92cfa5ec 100644
--- a/lib/Model/AccountValueHistoryResponse.php
+++ b/lib/Model/AccountValueHistoryResponse.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('history', $data ?? [], null);
$this->setIfExists('currency', $data ?? [], null);
diff --git a/lib/Model/AdrInstrument.php b/lib/Model/AdrInstrument.php
index cc7a98fe..57cedd08 100644
--- a/lib/Model/AdrInstrument.php
+++ b/lib/Model/AdrInstrument.php
@@ -291,7 +291,7 @@ public function getKindAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('kind', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
diff --git a/lib/Model/AllAccountPositionsResponse.php b/lib/Model/AllAccountPositionsResponse.php
index 4c2cc504..c4859a43 100644
--- a/lib/Model/AllAccountPositionsResponse.php
+++ b/lib/Model/AllAccountPositionsResponse.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('results', $data ?? [], null);
$this->setIfExists('data_freshness', $data ?? [], null);
diff --git a/lib/Model/AllAccountPositionsResponseDataFreshness.php b/lib/Model/AllAccountPositionsResponseDataFreshness.php
index e0d7614e..39d3ae8a 100644
--- a/lib/Model/AllAccountPositionsResponseDataFreshness.php
+++ b/lib/Model/AllAccountPositionsResponseDataFreshness.php
@@ -236,7 +236,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('as_of', $data ?? [], null);
}
diff --git a/lib/Model/AuthenticationLoginSnapTradeUser200Response.php b/lib/Model/AuthenticationLoginSnapTradeUser200Response.php
index bf7f3087..cee64d10 100644
--- a/lib/Model/AuthenticationLoginSnapTradeUser200Response.php
+++ b/lib/Model/AuthenticationLoginSnapTradeUser200Response.php
@@ -253,7 +253,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('redirect_uri', $data ?? [], null);
$this->setIfExists('session_id', $data ?? [], null);
diff --git a/lib/Model/Balance.php b/lib/Model/Balance.php
index de896291..471b2faa 100644
--- a/lib/Model/Balance.php
+++ b/lib/Model/Balance.php
@@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('currency', $data ?? [], null);
$this->setIfExists('cash', $data ?? [], null);
diff --git a/lib/Model/BalanceCurrency.php b/lib/Model/BalanceCurrency.php
index d2e237d6..8d48b687 100644
--- a/lib/Model/BalanceCurrency.php
+++ b/lib/Model/BalanceCurrency.php
@@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('code', $data ?? [], null);
diff --git a/lib/Model/Brokerage.php b/lib/Model/Brokerage.php
index 48ef3cdb..0b63b7f3 100644
--- a/lib/Model/Brokerage.php
+++ b/lib/Model/Brokerage.php
@@ -338,7 +338,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('slug', $data ?? [], null);
diff --git a/lib/Model/BrokerageAuthorization.php b/lib/Model/BrokerageAuthorization.php
index c442b891..d77f7069 100644
--- a/lib/Model/BrokerageAuthorization.php
+++ b/lib/Model/BrokerageAuthorization.php
@@ -296,7 +296,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('created_date', $data ?? [], null);
diff --git a/lib/Model/BrokerageAuthorizationDisabledConfirmation.php b/lib/Model/BrokerageAuthorizationDisabledConfirmation.php
index 90b91719..ff132dc6 100644
--- a/lib/Model/BrokerageAuthorizationDisabledConfirmation.php
+++ b/lib/Model/BrokerageAuthorizationDisabledConfirmation.php
@@ -236,7 +236,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('detail', $data ?? [], null);
}
diff --git a/lib/Model/BrokerageAuthorizationRefreshConfirmation.php b/lib/Model/BrokerageAuthorizationRefreshConfirmation.php
index 662cc5e0..b425f4f9 100644
--- a/lib/Model/BrokerageAuthorizationRefreshConfirmation.php
+++ b/lib/Model/BrokerageAuthorizationRefreshConfirmation.php
@@ -236,7 +236,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('detail', $data ?? [], null);
}
diff --git a/lib/Model/BrokerageAuthorizationTransactionsSyncConfirmation.php b/lib/Model/BrokerageAuthorizationTransactionsSyncConfirmation.php
index b9eb4bd6..7aeaaa4e 100644
--- a/lib/Model/BrokerageAuthorizationTransactionsSyncConfirmation.php
+++ b/lib/Model/BrokerageAuthorizationTransactionsSyncConfirmation.php
@@ -236,7 +236,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('detail', $data ?? [], null);
}
diff --git a/lib/Model/BrokerageAuthorizationTypeReadOnly.php b/lib/Model/BrokerageAuthorizationTypeReadOnly.php
index 154398c8..435b0a4a 100644
--- a/lib/Model/BrokerageAuthorizationTypeReadOnly.php
+++ b/lib/Model/BrokerageAuthorizationTypeReadOnly.php
@@ -287,7 +287,7 @@ public function getAuthTypeAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('type', $data ?? [], null);
diff --git a/lib/Model/BrokerageAuthorizationTypeReadOnlyBrokerage.php b/lib/Model/BrokerageAuthorizationTypeReadOnlyBrokerage.php
index a6c6a33c..a3ac7bfb 100644
--- a/lib/Model/BrokerageAuthorizationTypeReadOnlyBrokerage.php
+++ b/lib/Model/BrokerageAuthorizationTypeReadOnlyBrokerage.php
@@ -247,7 +247,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('name', $data ?? [], null);
diff --git a/lib/Model/BrokerageInstrument.php b/lib/Model/BrokerageInstrument.php
index 7b6fdd3a..78a319f0 100644
--- a/lib/Model/BrokerageInstrument.php
+++ b/lib/Model/BrokerageInstrument.php
@@ -259,7 +259,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('symbol', $data ?? [], null);
$this->setIfExists('exchange_mic', $data ?? [], null);
diff --git a/lib/Model/BrokerageInstrumentsResponse.php b/lib/Model/BrokerageInstrumentsResponse.php
index 9a5405d1..93b7d7d5 100644
--- a/lib/Model/BrokerageInstrumentsResponse.php
+++ b/lib/Model/BrokerageInstrumentsResponse.php
@@ -235,7 +235,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('instruments', $data ?? [], null);
}
diff --git a/lib/Model/BrokerageType.php b/lib/Model/BrokerageType.php
index 1162a75c..87e90783 100644
--- a/lib/Model/BrokerageType.php
+++ b/lib/Model/BrokerageType.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('name', $data ?? [], null);
diff --git a/lib/Model/CancelOrderResponse.php b/lib/Model/CancelOrderResponse.php
index 37a0d06d..7caa7420 100644
--- a/lib/Model/CancelOrderResponse.php
+++ b/lib/Model/CancelOrderResponse.php
@@ -241,7 +241,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('brokerage_order_id', $data ?? [], null);
$this->setIfExists('raw_response', $data ?? [], null);
diff --git a/lib/Model/CefInstrument.php b/lib/Model/CefInstrument.php
index d611b4d7..091541d0 100644
--- a/lib/Model/CefInstrument.php
+++ b/lib/Model/CefInstrument.php
@@ -291,7 +291,7 @@ public function getKindAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('kind', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
diff --git a/lib/Model/CfdInstrument.php b/lib/Model/CfdInstrument.php
index 3c0c0d43..1b9ad97f 100644
--- a/lib/Model/CfdInstrument.php
+++ b/lib/Model/CfdInstrument.php
@@ -291,7 +291,7 @@ public function getKindAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('kind', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
diff --git a/lib/Model/ChildBrokerageOrderIDs.php b/lib/Model/ChildBrokerageOrderIDs.php
index 919c7acf..48ad9ffa 100644
--- a/lib/Model/ChildBrokerageOrderIDs.php
+++ b/lib/Model/ChildBrokerageOrderIDs.php
@@ -241,7 +241,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('take_profit_order_id', $data ?? [], null);
$this->setIfExists('stop_loss_order_id', $data ?? [], null);
diff --git a/lib/Model/ComplexOrderLeg.php b/lib/Model/ComplexOrderLeg.php
index 55437989..142ae241 100644
--- a/lib/Model/ComplexOrderLeg.php
+++ b/lib/Model/ComplexOrderLeg.php
@@ -295,7 +295,7 @@ public function getOrderRoleAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('order_role', $data ?? [], null);
$this->setIfExists('action', $data ?? [], null);
diff --git a/lib/Model/ComplexOrderResponse.php b/lib/Model/ComplexOrderResponse.php
index 7a9140e6..8fab5c98 100644
--- a/lib/Model/ComplexOrderResponse.php
+++ b/lib/Model/ComplexOrderResponse.php
@@ -259,7 +259,7 @@ public function getTypeAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('type', $data ?? [], null);
$this->setIfExists('brokerage_group_order_id', $data ?? [], null);
diff --git a/lib/Model/ConnectionsSessionEvents200ResponseInner.php b/lib/Model/ConnectionsSessionEvents200ResponseInner.php
index ddea009c..20bbbb88 100644
--- a/lib/Model/ConnectionsSessionEvents200ResponseInner.php
+++ b/lib/Model/ConnectionsSessionEvents200ResponseInner.php
@@ -312,7 +312,7 @@ public function getSessionEventTypeAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('session_event_type', $data ?? [], null);
diff --git a/lib/Model/CryptoInstrument.php b/lib/Model/CryptoInstrument.php
index 6824c249..42b34fb0 100644
--- a/lib/Model/CryptoInstrument.php
+++ b/lib/Model/CryptoInstrument.php
@@ -291,7 +291,7 @@ public function getKindAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('kind', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
diff --git a/lib/Model/CryptoOrderForm.php b/lib/Model/CryptoOrderForm.php
index a55aeb38..2e4b7e05 100644
--- a/lib/Model/CryptoOrderForm.php
+++ b/lib/Model/CryptoOrderForm.php
@@ -325,7 +325,7 @@ public function getTimeInForceAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('instrument', $data ?? [], null);
$this->setIfExists('side', $data ?? [], null);
diff --git a/lib/Model/CryptoOrderPreview.php b/lib/Model/CryptoOrderPreview.php
index 5f1163cb..e24e7a95 100644
--- a/lib/Model/CryptoOrderPreview.php
+++ b/lib/Model/CryptoOrderPreview.php
@@ -236,7 +236,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('estimated_fee', $data ?? [], null);
}
diff --git a/lib/Model/CryptoOrderPreviewEstimatedFee.php b/lib/Model/CryptoOrderPreviewEstimatedFee.php
index cc6da266..3b4bf19b 100644
--- a/lib/Model/CryptoOrderPreviewEstimatedFee.php
+++ b/lib/Model/CryptoOrderPreviewEstimatedFee.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('currency', $data ?? [], null);
$this->setIfExists('amount', $data ?? [], null);
diff --git a/lib/Model/CryptoTradingInstrument.php b/lib/Model/CryptoTradingInstrument.php
index 6d00bb9b..1ad59bb8 100644
--- a/lib/Model/CryptoTradingInstrument.php
+++ b/lib/Model/CryptoTradingInstrument.php
@@ -256,7 +256,7 @@ public function getTypeAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('symbol', $data ?? [], null);
$this->setIfExists('type', $data ?? [], null);
diff --git a/lib/Model/CryptocurrencyPair.php b/lib/Model/CryptocurrencyPair.php
index 7e8d773d..f2003ddd 100644
--- a/lib/Model/CryptocurrencyPair.php
+++ b/lib/Model/CryptocurrencyPair.php
@@ -254,7 +254,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('symbol', $data ?? [], null);
$this->setIfExists('base', $data ?? [], null);
diff --git a/lib/Model/CryptocurrencyPairQuote.php b/lib/Model/CryptocurrencyPairQuote.php
index fd6c5f38..be0cd541 100644
--- a/lib/Model/CryptocurrencyPairQuote.php
+++ b/lib/Model/CryptocurrencyPairQuote.php
@@ -253,7 +253,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('bid', $data ?? [], null);
$this->setIfExists('ask', $data ?? [], null);
diff --git a/lib/Model/Currency.php b/lib/Model/Currency.php
index e9349fc3..f58158b7 100644
--- a/lib/Model/Currency.php
+++ b/lib/Model/Currency.php
@@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('code', $data ?? [], null);
diff --git a/lib/Model/DeleteConnectionConfirmation.php b/lib/Model/DeleteConnectionConfirmation.php
index 62d86c86..c3cc33f9 100644
--- a/lib/Model/DeleteConnectionConfirmation.php
+++ b/lib/Model/DeleteConnectionConfirmation.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('detail', $data ?? [], null);
$this->setIfExists('connection_id', $data ?? [], null);
diff --git a/lib/Model/DeleteUserResponse.php b/lib/Model/DeleteUserResponse.php
index 7d68eb21..45707666 100644
--- a/lib/Model/DeleteUserResponse.php
+++ b/lib/Model/DeleteUserResponse.php
@@ -247,7 +247,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('status', $data ?? [], null);
$this->setIfExists('detail', $data ?? [], null);
diff --git a/lib/Model/DividendAtDate.php b/lib/Model/DividendAtDate.php
index bf8aa982..1c598580 100644
--- a/lib/Model/DividendAtDate.php
+++ b/lib/Model/DividendAtDate.php
@@ -247,7 +247,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('symbol', $data ?? [], null);
$this->setIfExists('amount', $data ?? [], null);
diff --git a/lib/Model/EncryptedResponse.php b/lib/Model/EncryptedResponse.php
index 214cc972..bc33ff2d 100644
--- a/lib/Model/EncryptedResponse.php
+++ b/lib/Model/EncryptedResponse.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('encrypted_shared_key', $data ?? [], null);
$this->setIfExists('encrypted_message_data', $data ?? [], null);
diff --git a/lib/Model/EncryptedResponseEncryptedMessageData.php b/lib/Model/EncryptedResponseEncryptedMessageData.php
index c6e450a3..11e84639 100644
--- a/lib/Model/EncryptedResponseEncryptedMessageData.php
+++ b/lib/Model/EncryptedResponseEncryptedMessageData.php
@@ -247,7 +247,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('encrypted_message', $data ?? [], null);
$this->setIfExists('tag', $data ?? [], null);
diff --git a/lib/Model/EtfInstrument.php b/lib/Model/EtfInstrument.php
index 7fff02ec..d3c3fd07 100644
--- a/lib/Model/EtfInstrument.php
+++ b/lib/Model/EtfInstrument.php
@@ -291,7 +291,7 @@ public function getKindAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('kind', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
diff --git a/lib/Model/Exchange.php b/lib/Model/Exchange.php
index 0c2df64e..345bc794 100644
--- a/lib/Model/Exchange.php
+++ b/lib/Model/Exchange.php
@@ -278,7 +278,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('code', $data ?? [], null);
diff --git a/lib/Model/ExchangeRatePairs.php b/lib/Model/ExchangeRatePairs.php
index 95c60ea9..3b5129e9 100644
--- a/lib/Model/ExchangeRatePairs.php
+++ b/lib/Model/ExchangeRatePairs.php
@@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('src', $data ?? [], null);
$this->setIfExists('dst', $data ?? [], null);
diff --git a/lib/Model/FigiInstrument.php b/lib/Model/FigiInstrument.php
index 5d05e58b..91a08f39 100644
--- a/lib/Model/FigiInstrument.php
+++ b/lib/Model/FigiInstrument.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('figi_code', $data ?? [], null);
$this->setIfExists('figi_share_class', $data ?? [], null);
diff --git a/lib/Model/FutureInstrument.php b/lib/Model/FutureInstrument.php
index 9e7f6446..a357011c 100644
--- a/lib/Model/FutureInstrument.php
+++ b/lib/Model/FutureInstrument.php
@@ -297,7 +297,7 @@ public function getKindAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('kind', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
diff --git a/lib/Model/HoldingsStatus.php b/lib/Model/HoldingsStatus.php
index eb2e9059..7ad3adf8 100644
--- a/lib/Model/HoldingsStatus.php
+++ b/lib/Model/HoldingsStatus.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('initial_sync_completed', $data ?? [], null);
$this->setIfExists('last_successful_sync', $data ?? [], null);
diff --git a/lib/Model/Instrument.php b/lib/Model/Instrument.php
index 59831573..1a8bc7ea 100644
--- a/lib/Model/Instrument.php
+++ b/lib/Model/Instrument.php
@@ -354,7 +354,7 @@ public function getOptionTypeAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('kind', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
diff --git a/lib/Model/LoginRedirectURI.php b/lib/Model/LoginRedirectURI.php
index ffc286da..d9f327bf 100644
--- a/lib/Model/LoginRedirectURI.php
+++ b/lib/Model/LoginRedirectURI.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('redirect_uri', $data ?? [], null);
$this->setIfExists('session_id', $data ?? [], null);
diff --git a/lib/Model/ManualTrade.php b/lib/Model/ManualTrade.php
index f39acaac..8f269cca 100644
--- a/lib/Model/ManualTrade.php
+++ b/lib/Model/ManualTrade.php
@@ -278,7 +278,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('account', $data ?? [], null);
diff --git a/lib/Model/ManualTradeAndImpact.php b/lib/Model/ManualTradeAndImpact.php
index 0639899d..1b853c2c 100644
--- a/lib/Model/ManualTradeAndImpact.php
+++ b/lib/Model/ManualTradeAndImpact.php
@@ -247,7 +247,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('trade', $data ?? [], null);
$this->setIfExists('trade_impacts', $data ?? [], null);
diff --git a/lib/Model/ManualTradeBalance.php b/lib/Model/ManualTradeBalance.php
index 8b643694..0ae4ef08 100644
--- a/lib/Model/ManualTradeBalance.php
+++ b/lib/Model/ManualTradeBalance.php
@@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('account', $data ?? [], null);
$this->setIfExists('currency', $data ?? [], null);
diff --git a/lib/Model/ManualTradeForm.php b/lib/Model/ManualTradeForm.php
index 7df6daf8..15ccccb4 100644
--- a/lib/Model/ManualTradeForm.php
+++ b/lib/Model/ManualTradeForm.php
@@ -284,7 +284,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('account_id', $data ?? [], null);
$this->setIfExists('action', $data ?? [], null);
diff --git a/lib/Model/ManualTradeFormBracket.php b/lib/Model/ManualTradeFormBracket.php
index 8b38b891..a887f497 100644
--- a/lib/Model/ManualTradeFormBracket.php
+++ b/lib/Model/ManualTradeFormBracket.php
@@ -284,7 +284,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('action', $data ?? [], null);
$this->setIfExists('instrument', $data ?? [], null);
diff --git a/lib/Model/ManualTradeFormComplex.php b/lib/Model/ManualTradeFormComplex.php
index 76c9dfa2..097a228d 100644
--- a/lib/Model/ManualTradeFormComplex.php
+++ b/lib/Model/ManualTradeFormComplex.php
@@ -265,7 +265,7 @@ public function getTypeAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('type', $data ?? [], null);
$this->setIfExists('orders', $data ?? [], null);
diff --git a/lib/Model/ManualTradeFormNotionalValue.php b/lib/Model/ManualTradeFormNotionalValue.php
index 9409acdc..cbf9a0d4 100644
--- a/lib/Model/ManualTradeFormNotionalValue.php
+++ b/lib/Model/ManualTradeFormNotionalValue.php
@@ -235,7 +235,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
}
diff --git a/lib/Model/ManualTradeFormWithOptions.php b/lib/Model/ManualTradeFormWithOptions.php
index ad2f9f33..ec4dac16 100644
--- a/lib/Model/ManualTradeFormWithOptions.php
+++ b/lib/Model/ManualTradeFormWithOptions.php
@@ -308,7 +308,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('account_id', $data ?? [], null);
$this->setIfExists('action', $data ?? [], null);
diff --git a/lib/Model/ManualTradeImpact.php b/lib/Model/ManualTradeImpact.php
index 360ca4ae..40e942c0 100644
--- a/lib/Model/ManualTradeImpact.php
+++ b/lib/Model/ManualTradeImpact.php
@@ -259,7 +259,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('account', $data ?? [], null);
$this->setIfExists('currency', $data ?? [], null);
diff --git a/lib/Model/ManualTradeReplaceForm.php b/lib/Model/ManualTradeReplaceForm.php
index 7c20009f..fc5fba2f 100644
--- a/lib/Model/ManualTradeReplaceForm.php
+++ b/lib/Model/ManualTradeReplaceForm.php
@@ -278,7 +278,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('brokerage_order_id', $data ?? [], null);
$this->setIfExists('action', $data ?? [], null);
diff --git a/lib/Model/ManualTradeSymbol.php b/lib/Model/ManualTradeSymbol.php
index b65f5f79..102521dd 100644
--- a/lib/Model/ManualTradeSymbol.php
+++ b/lib/Model/ManualTradeSymbol.php
@@ -266,7 +266,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('universal_symbol_id', $data ?? [], null);
$this->setIfExists('currency', $data ?? [], null);
diff --git a/lib/Model/MlegLeg.php b/lib/Model/MlegLeg.php
index 59091d8c..3f29ae6b 100644
--- a/lib/Model/MlegLeg.php
+++ b/lib/Model/MlegLeg.php
@@ -247,7 +247,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('instrument', $data ?? [], null);
$this->setIfExists('action', $data ?? [], null);
diff --git a/lib/Model/MlegOrderResponse.php b/lib/Model/MlegOrderResponse.php
index 73f95535..6eb5f3a8 100644
--- a/lib/Model/MlegOrderResponse.php
+++ b/lib/Model/MlegOrderResponse.php
@@ -241,7 +241,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('brokerage_order_id', $data ?? [], null);
$this->setIfExists('orders', $data ?? [], null);
diff --git a/lib/Model/MlegTradeForm.php b/lib/Model/MlegTradeForm.php
index 884d7f57..f6cfc885 100644
--- a/lib/Model/MlegTradeForm.php
+++ b/lib/Model/MlegTradeForm.php
@@ -266,7 +266,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('order_type', $data ?? [], null);
$this->setIfExists('time_in_force', $data ?? [], null);
diff --git a/lib/Model/MlegTradingInstrument.php b/lib/Model/MlegTradingInstrument.php
index 88fb8518..34b4a933 100644
--- a/lib/Model/MlegTradingInstrument.php
+++ b/lib/Model/MlegTradingInstrument.php
@@ -241,7 +241,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('symbol', $data ?? [], null);
$this->setIfExists('instrument_type', $data ?? [], null);
diff --git a/lib/Model/Model400FailedRequestResponse.php b/lib/Model/Model400FailedRequestResponse.php
index 1ac68f84..b06bef82 100644
--- a/lib/Model/Model400FailedRequestResponse.php
+++ b/lib/Model/Model400FailedRequestResponse.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('default_detail', $data ?? [], null);
$this->setIfExists('default_code', $data ?? [], null);
diff --git a/lib/Model/Model401FailedRequestResponse.php b/lib/Model/Model401FailedRequestResponse.php
index db61ce54..28ccbb1a 100644
--- a/lib/Model/Model401FailedRequestResponse.php
+++ b/lib/Model/Model401FailedRequestResponse.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('default_detail', $data ?? [], null);
$this->setIfExists('default_code', $data ?? [], null);
diff --git a/lib/Model/Model402BrokerageAuthAlreadyDisabledException.php b/lib/Model/Model402BrokerageAuthAlreadyDisabledException.php
index 65c57aa8..7666496a 100644
--- a/lib/Model/Model402BrokerageAuthAlreadyDisabledException.php
+++ b/lib/Model/Model402BrokerageAuthAlreadyDisabledException.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('detail', $data ?? [], null);
$this->setIfExists('code', $data ?? [], null);
diff --git a/lib/Model/Model402BrokerageAuthDisabledResponse.php b/lib/Model/Model402BrokerageAuthDisabledResponse.php
index e1555084..c75ed485 100644
--- a/lib/Model/Model402BrokerageAuthDisabledResponse.php
+++ b/lib/Model/Model402BrokerageAuthDisabledResponse.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('detail', $data ?? [], null);
$this->setIfExists('code', $data ?? [], null);
diff --git a/lib/Model/Model403FailedRequestResponse.php b/lib/Model/Model403FailedRequestResponse.php
index 2a95648f..59f37068 100644
--- a/lib/Model/Model403FailedRequestResponse.php
+++ b/lib/Model/Model403FailedRequestResponse.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('default_detail', $data ?? [], null);
$this->setIfExists('default_code', $data ?? [], null);
diff --git a/lib/Model/Model403FeatureNotEnabledResponse.php b/lib/Model/Model403FeatureNotEnabledResponse.php
index 4179d253..94e3e81d 100644
--- a/lib/Model/Model403FeatureNotEnabledResponse.php
+++ b/lib/Model/Model403FeatureNotEnabledResponse.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('detail', $data ?? [], null);
$this->setIfExists('default_code', $data ?? [], null);
diff --git a/lib/Model/Model404FailedRequestResponse.php b/lib/Model/Model404FailedRequestResponse.php
index 2c925c9a..ec6d194e 100644
--- a/lib/Model/Model404FailedRequestResponse.php
+++ b/lib/Model/Model404FailedRequestResponse.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('default_detail', $data ?? [], null);
$this->setIfExists('default_code', $data ?? [], null);
diff --git a/lib/Model/Model425FailedRequestResponse.php b/lib/Model/Model425FailedRequestResponse.php
index 0f437191..d2fe351d 100644
--- a/lib/Model/Model425FailedRequestResponse.php
+++ b/lib/Model/Model425FailedRequestResponse.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('detail', $data ?? [], null);
$this->setIfExists('code', $data ?? [], null);
diff --git a/lib/Model/Model429TooManyRequestsResponse.php b/lib/Model/Model429TooManyRequestsResponse.php
index 0ef92d6e..cd455487 100644
--- a/lib/Model/Model429TooManyRequestsResponse.php
+++ b/lib/Model/Model429TooManyRequestsResponse.php
@@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('detail', $data ?? [], null);
$this->setIfExists('status_code', $data ?? [], null);
diff --git a/lib/Model/Model500UnexpectedExceptionResponse.php b/lib/Model/Model500UnexpectedExceptionResponse.php
index ca19e83c..d1490f49 100644
--- a/lib/Model/Model500UnexpectedExceptionResponse.php
+++ b/lib/Model/Model500UnexpectedExceptionResponse.php
@@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('detail', $data ?? [], null);
$this->setIfExists('status_code', $data ?? [], null);
diff --git a/lib/Model/Model501NotImplementedResponse.php b/lib/Model/Model501NotImplementedResponse.php
index 8e92374f..9c2dc733 100644
--- a/lib/Model/Model501NotImplementedResponse.php
+++ b/lib/Model/Model501NotImplementedResponse.php
@@ -236,7 +236,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('error', $data ?? [], null);
}
diff --git a/lib/Model/Model503BrokerageRequestResponse.php b/lib/Model/Model503BrokerageRequestResponse.php
index 170c7e7f..ae4fde31 100644
--- a/lib/Model/Model503BrokerageRequestResponse.php
+++ b/lib/Model/Model503BrokerageRequestResponse.php
@@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('detail', $data ?? [], null);
$this->setIfExists('status_code', $data ?? [], null);
diff --git a/lib/Model/MonthlyDividends.php b/lib/Model/MonthlyDividends.php
index 7e430d4e..7d215bd5 100644
--- a/lib/Model/MonthlyDividends.php
+++ b/lib/Model/MonthlyDividends.php
@@ -241,7 +241,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('date', $data ?? [], null);
$this->setIfExists('dividends', $data ?? [], null);
diff --git a/lib/Model/MutualFundInstrument.php b/lib/Model/MutualFundInstrument.php
index 67e19df5..86a262cc 100644
--- a/lib/Model/MutualFundInstrument.php
+++ b/lib/Model/MutualFundInstrument.php
@@ -291,7 +291,7 @@ public function getKindAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('kind', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
diff --git a/lib/Model/NetContributions.php b/lib/Model/NetContributions.php
index 06496407..a8c96c18 100644
--- a/lib/Model/NetContributions.php
+++ b/lib/Model/NetContributions.php
@@ -247,7 +247,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('date', $data ?? [], null);
$this->setIfExists('contributions', $data ?? [], null);
diff --git a/lib/Model/NetDividend.php b/lib/Model/NetDividend.php
index 1b702e66..40316576 100644
--- a/lib/Model/NetDividend.php
+++ b/lib/Model/NetDividend.php
@@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('symbol', $data ?? [], null);
$this->setIfExists('amount', $data ?? [], null);
diff --git a/lib/Model/NotionalValue.php b/lib/Model/NotionalValue.php
index 8ceaafe5..5a134c97 100644
--- a/lib/Model/NotionalValue.php
+++ b/lib/Model/NotionalValue.php
@@ -236,7 +236,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
}
diff --git a/lib/Model/OptionBrokerageSymbol.php b/lib/Model/OptionBrokerageSymbol.php
index f67813e2..ad6d281e 100644
--- a/lib/Model/OptionBrokerageSymbol.php
+++ b/lib/Model/OptionBrokerageSymbol.php
@@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('option_symbol', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
diff --git a/lib/Model/OptionChainInner.php b/lib/Model/OptionChainInner.php
index 6a67c78a..52cb0f4b 100644
--- a/lib/Model/OptionChainInner.php
+++ b/lib/Model/OptionChainInner.php
@@ -259,7 +259,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('expiry_date', $data ?? [], null);
$this->setIfExists('description', $data ?? [], null);
diff --git a/lib/Model/OptionChainInnerChainPerRootInner.php b/lib/Model/OptionChainInnerChainPerRootInner.php
index 27f612ae..e66d5a0f 100644
--- a/lib/Model/OptionChainInnerChainPerRootInner.php
+++ b/lib/Model/OptionChainInnerChainPerRootInner.php
@@ -247,7 +247,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('option_root', $data ?? [], null);
$this->setIfExists('chain_per_strike_price', $data ?? [], null);
diff --git a/lib/Model/OptionChainInnerChainPerRootInnerChainPerStrikePriceInner.php b/lib/Model/OptionChainInnerChainPerRootInnerChainPerStrikePriceInner.php
index d360ec76..689c0724 100644
--- a/lib/Model/OptionChainInnerChainPerRootInnerChainPerStrikePriceInner.php
+++ b/lib/Model/OptionChainInnerChainPerRootInnerChainPerStrikePriceInner.php
@@ -247,7 +247,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('strike_price', $data ?? [], null);
$this->setIfExists('call_symbol_id', $data ?? [], null);
diff --git a/lib/Model/OptionImpact.php b/lib/Model/OptionImpact.php
index 3b7b4bb5..faf97a83 100644
--- a/lib/Model/OptionImpact.php
+++ b/lib/Model/OptionImpact.php
@@ -267,7 +267,7 @@ public function getCashChangeDirectionAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('estimated_cash_change', $data ?? [], null);
$this->setIfExists('cash_change_direction', $data ?? [], null);
diff --git a/lib/Model/OptionInstrument.php b/lib/Model/OptionInstrument.php
index bb59726c..5c2039a4 100644
--- a/lib/Model/OptionInstrument.php
+++ b/lib/Model/OptionInstrument.php
@@ -312,7 +312,7 @@ public function getOptionTypeAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('kind', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
diff --git a/lib/Model/OptionLeg.php b/lib/Model/OptionLeg.php
index 7585f60f..17dffaf1 100644
--- a/lib/Model/OptionLeg.php
+++ b/lib/Model/OptionLeg.php
@@ -267,7 +267,7 @@ public function getActionAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('action', $data ?? [], null);
$this->setIfExists('option_symbol_id', $data ?? [], null);
diff --git a/lib/Model/OptionQuote.php b/lib/Model/OptionQuote.php
index 7e737b18..15f52a2f 100644
--- a/lib/Model/OptionQuote.php
+++ b/lib/Model/OptionQuote.php
@@ -260,7 +260,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('symbol', $data ?? [], null);
$this->setIfExists('synthetic_price', $data ?? [], null);
diff --git a/lib/Model/OptionQuoteGreeks.php b/lib/Model/OptionQuoteGreeks.php
index d41c9750..c1272629 100644
--- a/lib/Model/OptionQuoteGreeks.php
+++ b/lib/Model/OptionQuoteGreeks.php
@@ -254,7 +254,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('delta', $data ?? [], null);
$this->setIfExists('gamma', $data ?? [], null);
diff --git a/lib/Model/OptionStrategy.php b/lib/Model/OptionStrategy.php
index 6856f90e..fe981059 100644
--- a/lib/Model/OptionStrategy.php
+++ b/lib/Model/OptionStrategy.php
@@ -259,7 +259,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('underlying_symbol_id', $data ?? [], null);
diff --git a/lib/Model/OptionStrategyLegsInner.php b/lib/Model/OptionStrategyLegsInner.php
index 789e58a8..8f4b9e0a 100644
--- a/lib/Model/OptionStrategyLegsInner.php
+++ b/lib/Model/OptionStrategyLegsInner.php
@@ -253,7 +253,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('option_symbol_id', $data ?? [], null);
$this->setIfExists('index', $data ?? [], null);
diff --git a/lib/Model/OptionsPosition.php b/lib/Model/OptionsPosition.php
index a3dc7d30..6cfcc0de 100644
--- a/lib/Model/OptionsPosition.php
+++ b/lib/Model/OptionsPosition.php
@@ -260,7 +260,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('symbol', $data ?? [], null);
$this->setIfExists('price', $data ?? [], null);
diff --git a/lib/Model/OptionsPositionCurrency.php b/lib/Model/OptionsPositionCurrency.php
index 63a4f32a..30268e90 100644
--- a/lib/Model/OptionsPositionCurrency.php
+++ b/lib/Model/OptionsPositionCurrency.php
@@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('code', $data ?? [], null);
diff --git a/lib/Model/OptionsSymbol.php b/lib/Model/OptionsSymbol.php
index 63cb3203..1fc5b40e 100644
--- a/lib/Model/OptionsSymbol.php
+++ b/lib/Model/OptionsSymbol.php
@@ -287,7 +287,7 @@ public function getOptionTypeAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('ticker', $data ?? [], null);
diff --git a/lib/Model/OrderUpdatedResponse.php b/lib/Model/OrderUpdatedResponse.php
index 70337223..a0d2b91c 100644
--- a/lib/Model/OrderUpdatedResponse.php
+++ b/lib/Model/OrderUpdatedResponse.php
@@ -241,7 +241,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('brokerage_order_id', $data ?? [], null);
$this->setIfExists('order', $data ?? [], null);
diff --git a/lib/Model/OrderUpdatedResponseOrder.php b/lib/Model/OrderUpdatedResponseOrder.php
index b6a865e8..46414717 100644
--- a/lib/Model/OrderUpdatedResponseOrder.php
+++ b/lib/Model/OrderUpdatedResponseOrder.php
@@ -396,7 +396,7 @@ public function getOrderRoleAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('brokerage_order_id', $data ?? [], null);
$this->setIfExists('brokerage_group_order_id', $data ?? [], null);
diff --git a/lib/Model/OtherInstrument.php b/lib/Model/OtherInstrument.php
index 615e6a3c..05758918 100644
--- a/lib/Model/OtherInstrument.php
+++ b/lib/Model/OtherInstrument.php
@@ -291,7 +291,7 @@ public function getKindAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('kind', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
diff --git a/lib/Model/PaginatedUniversalActivity.php b/lib/Model/PaginatedUniversalActivity.php
index 3fe7006b..9efd727d 100644
--- a/lib/Model/PaginatedUniversalActivity.php
+++ b/lib/Model/PaginatedUniversalActivity.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('data', $data ?? [], null);
$this->setIfExists('pagination', $data ?? [], null);
diff --git a/lib/Model/PaginationDetails.php b/lib/Model/PaginationDetails.php
index 885e1510..3e80fa13 100644
--- a/lib/Model/PaginationDetails.php
+++ b/lib/Model/PaginationDetails.php
@@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('offset', $data ?? [], null);
$this->setIfExists('limit', $data ?? [], null);
diff --git a/lib/Model/PartnerData.php b/lib/Model/PartnerData.php
index 7ffaf23b..fbc8b8e6 100644
--- a/lib/Model/PartnerData.php
+++ b/lib/Model/PartnerData.php
@@ -302,7 +302,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('slug', $data ?? [], null);
$this->setIfExists('name', $data ?? [], null);
diff --git a/lib/Model/PastValue.php b/lib/Model/PastValue.php
index 55cf6fdd..18712472 100644
--- a/lib/Model/PastValue.php
+++ b/lib/Model/PastValue.php
@@ -247,7 +247,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('date', $data ?? [], null);
$this->setIfExists('value', $data ?? [], null);
diff --git a/lib/Model/PerformanceCustom.php b/lib/Model/PerformanceCustom.php
index d1408c5c..1ec84358 100644
--- a/lib/Model/PerformanceCustom.php
+++ b/lib/Model/PerformanceCustom.php
@@ -344,7 +344,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('total_equity_timeframe', $data ?? [], null);
$this->setIfExists('contributions', $data ?? [], null);
diff --git a/lib/Model/Position.php b/lib/Model/Position.php
index b255b760..1281df98 100644
--- a/lib/Model/Position.php
+++ b/lib/Model/Position.php
@@ -284,7 +284,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('symbol', $data ?? [], null);
$this->setIfExists('units', $data ?? [], null);
diff --git a/lib/Model/PositionCurrency.php b/lib/Model/PositionCurrency.php
index 623bc3a9..98e14991 100644
--- a/lib/Model/PositionCurrency.php
+++ b/lib/Model/PositionCurrency.php
@@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('code', $data ?? [], null);
diff --git a/lib/Model/PositionSymbol.php b/lib/Model/PositionSymbol.php
index 82ca7d3b..c256d51c 100644
--- a/lib/Model/PositionSymbol.php
+++ b/lib/Model/PositionSymbol.php
@@ -266,7 +266,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('symbol', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
diff --git a/lib/Model/RateOfReturnObject.php b/lib/Model/RateOfReturnObject.php
index 86fc8a8a..c08e6eaa 100644
--- a/lib/Model/RateOfReturnObject.php
+++ b/lib/Model/RateOfReturnObject.php
@@ -271,7 +271,7 @@ public function getTimeframeAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('timeframe', $data ?? [], null);
$this->setIfExists('return_percent', $data ?? [], null);
diff --git a/lib/Model/RateOfReturnResponse.php b/lib/Model/RateOfReturnResponse.php
index 963660c1..cb44381b 100644
--- a/lib/Model/RateOfReturnResponse.php
+++ b/lib/Model/RateOfReturnResponse.php
@@ -236,7 +236,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('data', $data ?? [], null);
}
diff --git a/lib/Model/RecentOrdersResponse.php b/lib/Model/RecentOrdersResponse.php
index 1ff1a49c..f01325a0 100644
--- a/lib/Model/RecentOrdersResponse.php
+++ b/lib/Model/RecentOrdersResponse.php
@@ -236,7 +236,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('orders', $data ?? [], null);
}
diff --git a/lib/Model/SecurityType.php b/lib/Model/SecurityType.php
index aef47c2a..fce022fd 100644
--- a/lib/Model/SecurityType.php
+++ b/lib/Model/SecurityType.php
@@ -254,7 +254,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('code', $data ?? [], null);
diff --git a/lib/Model/SessionEvent.php b/lib/Model/SessionEvent.php
index e316a6b4..0f0dc8d1 100644
--- a/lib/Model/SessionEvent.php
+++ b/lib/Model/SessionEvent.php
@@ -312,7 +312,7 @@ public function getSessionEventTypeAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('session_event_type', $data ?? [], null);
diff --git a/lib/Model/SimpleOrderForm.php b/lib/Model/SimpleOrderForm.php
index 46d7cc81..48e9efe2 100644
--- a/lib/Model/SimpleOrderForm.php
+++ b/lib/Model/SimpleOrderForm.php
@@ -325,7 +325,7 @@ public function getTimeInForceAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('instrument', $data ?? [], null);
$this->setIfExists('side', $data ?? [], null);
diff --git a/lib/Model/SnapTradeHoldingsAccount.php b/lib/Model/SnapTradeHoldingsAccount.php
index b66aea73..2ffa5ca3 100644
--- a/lib/Model/SnapTradeHoldingsAccount.php
+++ b/lib/Model/SnapTradeHoldingsAccount.php
@@ -278,7 +278,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('brokerage_authorization', $data ?? [], null);
diff --git a/lib/Model/SnapTradeHoldingsTotalValue.php b/lib/Model/SnapTradeHoldingsTotalValue.php
index 16fd4306..8a139d61 100644
--- a/lib/Model/SnapTradeHoldingsTotalValue.php
+++ b/lib/Model/SnapTradeHoldingsTotalValue.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('value', $data ?? [], null);
$this->setIfExists('currency', $data ?? [], null);
diff --git a/lib/Model/SnapTradeLoginUserRequestBody.php b/lib/Model/SnapTradeLoginUserRequestBody.php
index e54973cf..b58e53e0 100644
--- a/lib/Model/SnapTradeLoginUserRequestBody.php
+++ b/lib/Model/SnapTradeLoginUserRequestBody.php
@@ -312,7 +312,7 @@ public function getConnectionPortalVersionAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('broker', $data ?? [], null);
$this->setIfExists('immediate_redirect', $data ?? [], null);
diff --git a/lib/Model/SnapTradeRegisterUserRequestBody.php b/lib/Model/SnapTradeRegisterUserRequestBody.php
index e46d900d..ab11104f 100644
--- a/lib/Model/SnapTradeRegisterUserRequestBody.php
+++ b/lib/Model/SnapTradeRegisterUserRequestBody.php
@@ -236,7 +236,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('user_id', $data ?? [], null);
}
diff --git a/lib/Model/Status.php b/lib/Model/Status.php
index 0dc3fea8..97d812f9 100644
--- a/lib/Model/Status.php
+++ b/lib/Model/Status.php
@@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('version', $data ?? [], null);
$this->setIfExists('timestamp', $data ?? [], null);
diff --git a/lib/Model/StockInstrument.php b/lib/Model/StockInstrument.php
index 8dd73353..ffb19db6 100644
--- a/lib/Model/StockInstrument.php
+++ b/lib/Model/StockInstrument.php
@@ -291,7 +291,7 @@ public function getKindAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('kind', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
diff --git a/lib/Model/StockInstrumentFigiInstrument.php b/lib/Model/StockInstrumentFigiInstrument.php
index ec79c1dc..072f2ca9 100644
--- a/lib/Model/StockInstrumentFigiInstrument.php
+++ b/lib/Model/StockInstrumentFigiInstrument.php
@@ -241,7 +241,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('figi_code', $data ?? [], null);
$this->setIfExists('figi_share_class', $data ?? [], null);
diff --git a/lib/Model/StopLoss.php b/lib/Model/StopLoss.php
index 74a06d8d..aaa2674d 100644
--- a/lib/Model/StopLoss.php
+++ b/lib/Model/StopLoss.php
@@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('stop_price', $data ?? [], null);
$this->setIfExists('limit_price', $data ?? [], null);
diff --git a/lib/Model/StrategyOrderRecord.php b/lib/Model/StrategyOrderRecord.php
index 7e8ca719..fbb7c434 100644
--- a/lib/Model/StrategyOrderRecord.php
+++ b/lib/Model/StrategyOrderRecord.php
@@ -345,7 +345,7 @@ public function getStatusAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('strategy', $data ?? [], null);
$this->setIfExists('status', $data ?? [], null);
diff --git a/lib/Model/StrategyQuotes.php b/lib/Model/StrategyQuotes.php
index 628a25d9..859300d0 100644
--- a/lib/Model/StrategyQuotes.php
+++ b/lib/Model/StrategyQuotes.php
@@ -265,7 +265,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('strategy', $data ?? [], null);
$this->setIfExists('open_price', $data ?? [], null);
diff --git a/lib/Model/StrategyQuotesGreek.php b/lib/Model/StrategyQuotesGreek.php
index fd76f728..fc39b4b4 100644
--- a/lib/Model/StrategyQuotesGreek.php
+++ b/lib/Model/StrategyQuotesGreek.php
@@ -259,7 +259,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('delta', $data ?? [], null);
$this->setIfExists('gamma', $data ?? [], null);
diff --git a/lib/Model/SubPeriodReturnRate.php b/lib/Model/SubPeriodReturnRate.php
index 08c34467..589b6ed3 100644
--- a/lib/Model/SubPeriodReturnRate.php
+++ b/lib/Model/SubPeriodReturnRate.php
@@ -247,7 +247,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('period_start', $data ?? [], null);
$this->setIfExists('period_end', $data ?? [], null);
diff --git a/lib/Model/Symbol.php b/lib/Model/Symbol.php
index 7f59689b..cc5e84e1 100644
--- a/lib/Model/Symbol.php
+++ b/lib/Model/Symbol.php
@@ -284,7 +284,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('symbol', $data ?? [], null);
diff --git a/lib/Model/SymbolCurrency.php b/lib/Model/SymbolCurrency.php
index 52381d1c..c16c3eb6 100644
--- a/lib/Model/SymbolCurrency.php
+++ b/lib/Model/SymbolCurrency.php
@@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('code', $data ?? [], null);
diff --git a/lib/Model/SymbolExchange.php b/lib/Model/SymbolExchange.php
index 88288533..1d60f45b 100644
--- a/lib/Model/SymbolExchange.php
+++ b/lib/Model/SymbolExchange.php
@@ -278,7 +278,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('code', $data ?? [], null);
diff --git a/lib/Model/SymbolQuery.php b/lib/Model/SymbolQuery.php
index e944e7ae..57e26ce6 100644
--- a/lib/Model/SymbolQuery.php
+++ b/lib/Model/SymbolQuery.php
@@ -235,7 +235,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('substring', $data ?? [], null);
}
diff --git a/lib/Model/SymbolsQuotesInner.php b/lib/Model/SymbolsQuotesInner.php
index 5f0bbce0..b1d43ec3 100644
--- a/lib/Model/SymbolsQuotesInner.php
+++ b/lib/Model/SymbolsQuotesInner.php
@@ -265,7 +265,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('symbol', $data ?? [], null);
$this->setIfExists('last_trade_price', $data ?? [], null);
diff --git a/lib/Model/TakeProfit.php b/lib/Model/TakeProfit.php
index ae795d58..03f692ed 100644
--- a/lib/Model/TakeProfit.php
+++ b/lib/Model/TakeProfit.php
@@ -236,7 +236,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('limit_price', $data ?? [], null);
}
diff --git a/lib/Model/TaxLot.php b/lib/Model/TaxLot.php
index d2b1470a..33ab7e6a 100644
--- a/lib/Model/TaxLot.php
+++ b/lib/Model/TaxLot.php
@@ -272,7 +272,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('original_purchase_date', $data ?? [], null);
$this->setIfExists('quantity', $data ?? [], null);
diff --git a/lib/Model/TradeDetectionAddSubscriptionRequest.php b/lib/Model/TradeDetectionAddSubscriptionRequest.php
index de1521e5..483611e5 100644
--- a/lib/Model/TradeDetectionAddSubscriptionRequest.php
+++ b/lib/Model/TradeDetectionAddSubscriptionRequest.php
@@ -241,7 +241,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('account_id', $data ?? [], null);
$this->setIfExists('check_interval_seconds', $data ?? [], null);
diff --git a/lib/Model/TradeDetectionCancelSubscriptionRequest.php b/lib/Model/TradeDetectionCancelSubscriptionRequest.php
index aca1e71c..3e15600e 100644
--- a/lib/Model/TradeDetectionCancelSubscriptionRequest.php
+++ b/lib/Model/TradeDetectionCancelSubscriptionRequest.php
@@ -235,7 +235,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('account_id', $data ?? [], null);
}
diff --git a/lib/Model/TradeDetectionCancelSubscriptionResponse.php b/lib/Model/TradeDetectionCancelSubscriptionResponse.php
index 04872cf0..b021d5de 100644
--- a/lib/Model/TradeDetectionCancelSubscriptionResponse.php
+++ b/lib/Model/TradeDetectionCancelSubscriptionResponse.php
@@ -235,7 +235,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('success', $data ?? [], null);
}
diff --git a/lib/Model/TradeDetectionSubscription.php b/lib/Model/TradeDetectionSubscription.php
index 29e0b260..9cf90a64 100644
--- a/lib/Model/TradeDetectionSubscription.php
+++ b/lib/Model/TradeDetectionSubscription.php
@@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('account_id', $data ?? [], null);
$this->setIfExists('cost', $data ?? [], null);
diff --git a/lib/Model/TradingInstrument.php b/lib/Model/TradingInstrument.php
index ce489b3e..9585fa7f 100644
--- a/lib/Model/TradingInstrument.php
+++ b/lib/Model/TradingInstrument.php
@@ -260,7 +260,7 @@ public function getTypeAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('symbol', $data ?? [], null);
$this->setIfExists('type', $data ?? [], null);
diff --git a/lib/Model/TradingSearchCryptocurrencyPairInstruments200Response.php b/lib/Model/TradingSearchCryptocurrencyPairInstruments200Response.php
index c1cc8250..620e6034 100644
--- a/lib/Model/TradingSearchCryptocurrencyPairInstruments200Response.php
+++ b/lib/Model/TradingSearchCryptocurrencyPairInstruments200Response.php
@@ -236,7 +236,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('items', $data ?? [], null);
}
diff --git a/lib/Model/TrailingStop.php b/lib/Model/TrailingStop.php
index 168496ae..07fc9804 100644
--- a/lib/Model/TrailingStop.php
+++ b/lib/Model/TrailingStop.php
@@ -257,7 +257,7 @@ public function getTypeAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('amount', $data ?? [], null);
$this->setIfExists('type', $data ?? [], null);
diff --git a/lib/Model/TransactionsStatus.php b/lib/Model/TransactionsStatus.php
index 939a7412..5b4b11a8 100644
--- a/lib/Model/TransactionsStatus.php
+++ b/lib/Model/TransactionsStatus.php
@@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('initial_sync_completed', $data ?? [], null);
$this->setIfExists('last_successful_sync', $data ?? [], null);
diff --git a/lib/Model/USExchange.php b/lib/Model/USExchange.php
index 0e5b58dd..4f510e4f 100644
--- a/lib/Model/USExchange.php
+++ b/lib/Model/USExchange.php
@@ -284,7 +284,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('code', $data ?? [], null);
diff --git a/lib/Model/UnderlyingCfdInstrument.php b/lib/Model/UnderlyingCfdInstrument.php
index f6e4dc99..4f891d8c 100644
--- a/lib/Model/UnderlyingCfdInstrument.php
+++ b/lib/Model/UnderlyingCfdInstrument.php
@@ -291,7 +291,7 @@ public function getKindAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('kind', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
diff --git a/lib/Model/UnderlyingOptionInstrument.php b/lib/Model/UnderlyingOptionInstrument.php
index 4cb1da56..e73828eb 100644
--- a/lib/Model/UnderlyingOptionInstrument.php
+++ b/lib/Model/UnderlyingOptionInstrument.php
@@ -291,7 +291,7 @@ public function getKindAllowableValues()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('kind', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
diff --git a/lib/Model/UnderlyingSymbol.php b/lib/Model/UnderlyingSymbol.php
index 15327df3..04759c46 100644
--- a/lib/Model/UnderlyingSymbol.php
+++ b/lib/Model/UnderlyingSymbol.php
@@ -290,7 +290,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('symbol', $data ?? [], null);
diff --git a/lib/Model/UnderlyingSymbolExchange.php b/lib/Model/UnderlyingSymbolExchange.php
index 8e70b63c..c451daad 100644
--- a/lib/Model/UnderlyingSymbolExchange.php
+++ b/lib/Model/UnderlyingSymbolExchange.php
@@ -284,7 +284,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('code', $data ?? [], null);
diff --git a/lib/Model/UnderlyingSymbolType.php b/lib/Model/UnderlyingSymbolType.php
index 9b90a839..e39bec21 100644
--- a/lib/Model/UnderlyingSymbolType.php
+++ b/lib/Model/UnderlyingSymbolType.php
@@ -254,7 +254,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('code', $data ?? [], null);
diff --git a/lib/Model/UniversalActivity.php b/lib/Model/UniversalActivity.php
index b1dfa6e3..ea37b8dc 100644
--- a/lib/Model/UniversalActivity.php
+++ b/lib/Model/UniversalActivity.php
@@ -338,7 +338,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('account', $data ?? [], null);
diff --git a/lib/Model/UniversalSymbol.php b/lib/Model/UniversalSymbol.php
index 1811b805..beadc69b 100644
--- a/lib/Model/UniversalSymbol.php
+++ b/lib/Model/UniversalSymbol.php
@@ -290,7 +290,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('id', $data ?? [], null);
$this->setIfExists('symbol', $data ?? [], null);
diff --git a/lib/Model/UserIDandSecret.php b/lib/Model/UserIDandSecret.php
index be17fcdd..fd1dbd76 100644
--- a/lib/Model/UserIDandSecret.php
+++ b/lib/Model/UserIDandSecret.php
@@ -241,7 +241,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('user_id', $data ?? [], null);
$this->setIfExists('user_secret', $data ?? [], null);
diff --git a/lib/Model/ValidatedTradeBody.php b/lib/Model/ValidatedTradeBody.php
index 77fd9810..e211e26d 100644
--- a/lib/Model/ValidatedTradeBody.php
+++ b/lib/Model/ValidatedTradeBody.php
@@ -235,7 +235,7 @@ public function getModelName()
* @param mixed[] $data Associated array of property values
* initializing the model
*/
- public function __construct(array $data = null)
+ public function __construct(?array $data = null)
{
$this->setIfExists('wait_to_confirm', $data ?? [], null);
}