snaptrade-python-sdk 13.4.1__py3-none-any.whl → 13.4.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. snaptrade_client/__init__.py +1 -1
  2. snaptrade_client/api_client.py +1 -1
  3. snaptrade_client/apis/path_to_api.py +3 -0
  4. snaptrade_client/apis/paths/accounts_account_id_transactions.py +7 -0
  5. snaptrade_client/apis/tags/account_information_api_generated.py +2 -0
  6. snaptrade_client/configuration.py +1 -1
  7. snaptrade_client/model/account_transactions_response.py +158 -0
  8. snaptrade_client/model/account_transactions_response.pyi +158 -0
  9. snaptrade_client/model/activity.py +277 -0
  10. snaptrade_client/model/activity.pyi +277 -0
  11. snaptrade_client/model/instrument_nullable.py +129 -0
  12. snaptrade_client/model/instrument_nullable.pyi +129 -0
  13. snaptrade_client/models/__init__.py +3 -0
  14. snaptrade_client/operation_parameter_map.py +22 -0
  15. snaptrade_client/paths/__init__.py +1 -0
  16. snaptrade_client/paths/accounts_account_id_transactions/__init__.py +7 -0
  17. snaptrade_client/paths/accounts_account_id_transactions/get.py +820 -0
  18. snaptrade_client/paths/accounts_account_id_transactions/get.pyi +99 -0
  19. snaptrade_client/type/account_transactions_response.py +31 -0
  20. snaptrade_client/type/activity.py +57 -0
  21. snaptrade_client/type/instrument_nullable.py +33 -0
  22. {snaptrade_python_sdk-13.4.1.dist-info → snaptrade_python_sdk-13.4.3.dist-info}/METADATA +90 -3
  23. {snaptrade_python_sdk-13.4.1.dist-info → snaptrade_python_sdk-13.4.3.dist-info}/RECORD +25 -12
  24. {snaptrade_python_sdk-13.4.1.dist-info → snaptrade_python_sdk-13.4.3.dist-info}/LICENSE +0 -0
  25. {snaptrade_python_sdk-13.4.1.dist-info → snaptrade_python_sdk-13.4.3.dist-info}/WHEEL +0 -0
@@ -12,7 +12,7 @@
12
12
  Created by: https://snaptrade.com/
13
13
  """
14
14
 
15
- __version__ = "13.4.1"
15
+ __version__ = "13.4.3"
16
16
 
17
17
  # import ApiClient
18
18
  from snaptrade_client.api_client import ApiClient
@@ -1175,7 +1175,7 @@ class ApiClient(typing.Generic[TAuth]):
1175
1175
  self.default_headers[header_name] = header_value
1176
1176
  self.cookie = cookie
1177
1177
  # Set default User-Agent.
1178
- self.user_agent = 'Konfig/13.4.1/python'
1178
+ self.user_agent = 'Konfig/13.4.3/python'
1179
1179
 
1180
1180
  def __enter__(self):
1181
1181
  return self
@@ -31,6 +31,7 @@ from snaptrade_client.apis.paths.accounts_account_id_recent_orders import Accoun
31
31
  from snaptrade_client.apis.paths.accounts_account_id_orders_recent import AccountsAccountIdOrdersRecent
32
32
  from snaptrade_client.apis.paths.accounts_account_id_return_rates import AccountsAccountIdReturnRates
33
33
  from snaptrade_client.apis.paths.accounts_account_id_activities import AccountsAccountIdActivities
34
+ from snaptrade_client.apis.paths.accounts_account_id_transactions import AccountsAccountIdTransactions
34
35
  from snaptrade_client.apis.paths.accounts_account_id_orders_details import AccountsAccountIdOrdersDetails
35
36
  from snaptrade_client.apis.paths.accounts_account_id_orders_brokerage_order_id import AccountsAccountIdOrdersBrokerageOrderId
36
37
  from snaptrade_client.apis.paths.accounts_account_id_quotes import AccountsAccountIdQuotes
@@ -98,6 +99,7 @@ PathToApi = typing_extensions.TypedDict(
98
99
  PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_RECENT: AccountsAccountIdOrdersRecent,
99
100
  PathValues.ACCOUNTS_ACCOUNT_ID_RETURN_RATES: AccountsAccountIdReturnRates,
100
101
  PathValues.ACCOUNTS_ACCOUNT_ID_ACTIVITIES: AccountsAccountIdActivities,
102
+ PathValues.ACCOUNTS_ACCOUNT_ID_TRANSACTIONS: AccountsAccountIdTransactions,
101
103
  PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_DETAILS: AccountsAccountIdOrdersDetails,
102
104
  PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_BROKERAGE_ORDER_ID: AccountsAccountIdOrdersBrokerageOrderId,
103
105
  PathValues.ACCOUNTS_ACCOUNT_ID_QUOTES: AccountsAccountIdQuotes,
@@ -166,6 +168,7 @@ path_to_api = PathToApi(
166
168
  PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_RECENT: AccountsAccountIdOrdersRecent,
167
169
  PathValues.ACCOUNTS_ACCOUNT_ID_RETURN_RATES: AccountsAccountIdReturnRates,
168
170
  PathValues.ACCOUNTS_ACCOUNT_ID_ACTIVITIES: AccountsAccountIdActivities,
171
+ PathValues.ACCOUNTS_ACCOUNT_ID_TRANSACTIONS: AccountsAccountIdTransactions,
169
172
  PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_DETAILS: AccountsAccountIdOrdersDetails,
170
173
  PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_BROKERAGE_ORDER_ID: AccountsAccountIdOrdersBrokerageOrderId,
171
174
  PathValues.ACCOUNTS_ACCOUNT_ID_QUOTES: AccountsAccountIdQuotes,
@@ -0,0 +1,7 @@
1
+ from snaptrade_client.paths.accounts_account_id_transactions.get import ApiForget
2
+
3
+
4
+ class AccountsAccountIdTransactions(
5
+ ApiForget,
6
+ ):
7
+ pass
@@ -14,6 +14,7 @@ from snaptrade_client.paths.accounts_account_id_balance_history.get import GetAc
14
14
  from snaptrade_client.paths.accounts_account_id_balances_v2.get import GetAccountBalancesV2
15
15
  from snaptrade_client.paths.accounts_account_id_details.get import GetAccountDetails
16
16
  from snaptrade_client.paths.accounts_account_id_orders_brokerage_order_id.get import GetAccountOrder
17
+ from snaptrade_client.paths.accounts_account_id_transactions.get import GetAccountTransactions
17
18
  from snaptrade_client.paths.accounts_account_id_orders_all.get import GetAllAccountOrders
18
19
  from snaptrade_client.paths.accounts_account_id_positions_all.get import GetAllAccountPositions
19
20
  from snaptrade_client.paths.accounts_account_id_orders_recent.get import GetAllAccountRecentOrders
@@ -39,6 +40,7 @@ class AccountInformationApiGenerated(
39
40
  GetAccountBalancesV2[TAuth],
40
41
  GetAccountDetails[TAuth],
41
42
  GetAccountOrder[TAuth],
43
+ GetAccountTransactions[TAuth],
42
44
  GetAllAccountOrders[TAuth],
43
45
  GetAllAccountPositions[TAuth],
44
46
  GetAllAccountRecentOrders[TAuth],
@@ -537,7 +537,7 @@ conf = snaptrade_client.Configuration(
537
537
  "OS: {env}\n"\
538
538
  "Python Version: {pyversion}\n"\
539
539
  "Version of the API: 1.0.0\n"\
540
- "SDK Package Version: 13.4.1".\
540
+ "SDK Package Version: 13.4.3".\
541
541
  format(env=sys.platform, pyversion=sys.version)
542
542
 
543
543
  def get_host_settings(self):
@@ -0,0 +1,158 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ SnapTrade
5
+
6
+ Connect brokerage accounts to your app for live positions and trading. ## Rate limiting Two limits apply to requests signed with your `clientId`. The stricter one wins, and exceeding either returns `429 Too Many Requests`. - **Customer-level** — 250 requests/minute by default, scoped to your `clientId` and applied across all endpoints. Reported in `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset`. - **Account-level** — 10 requests/minute per account, scoped to (`clientId`, `accountId`). All covered operations for one account draw on the same bucket — reading balances and reading positions share it — and enforcement does not depend on the HTTP method, so updating an account consumes the same bucket as reading it. Only enforced for Personal users, and only for integrations it has been rolled out to — it is not yet in force for every Personal integration. It also does not apply on every operation that documents a 429 below. Where it applies it is reported in `X-RateLimit-Account-Limit`, `X-RateLimit-Account-Remaining` and `X-RateLimit-Account-Reset`. Do not read the absence of those headers as proof the limit is off — some configurations omit the rate limit headers while still enforcing the limit, so header absence tells you nothing about your allowance. On a 429, `X-RateLimit-Remaining: 0` means you hit the customer-level limit and `X-RateLimit-Account-Remaining: 0` means the account-level one. Wait for the corresponding `*-Reset` value (seconds) before retrying, or fall back to exponential backoff with jitter. Not every 429 is explained by those headers. A separate per-authenticated-user limit, reported in no `X-RateLimit-*` header, covers OAuth-authenticated requests and signed requests in configurations where the customer-level limit is not in effect — on the operations that use the default throttles. A few operations override those and are governed by the customer-level limit alone. The two do not stack: a signed request governed by the customer-level limit above is not additionally subject to the per-user one. If a 429 arrives with no header at zero — or with no `X-RateLimit-*` headers at all — honour `Retry-After` and back off. Treat the remaining counts as a hint, not a guarantee that the next request will succeed. Because the customer-level limit applies everywhere, any signed request can return 429. **OAuth-authenticated requests are an exception.** They are not subject to the customer-level limit and do not receive `X-RateLimit-Limit`, `X-RateLimit-Remaining` or `X-RateLimit-Reset` — do not wait on those headers or design around a customer-level allowance on this path. The account-level limit still applies to them on the account-data endpoints above, reported in the `X-RateLimit-Account-*` headers. On operations using the default throttles the per-user limit above applies to them as well, so an OAuth request can be rejected while the account headers still show capacity; on the few operations that override those throttles, OAuth callers have no per-user ceiling at all. Drive retries from `Retry-After` and exponential backoff with jitter rather than from the headers. See https://docs.snaptrade.com/docs/ratelimiting.
7
+
8
+ The version of the OpenAPI document: 1.0.0
9
+ Contact: api@snaptrade.com
10
+ Created by: https://snaptrade.com/
11
+ """
12
+
13
+ from datetime import date, datetime # noqa: F401
14
+ import decimal # noqa: F401
15
+ import functools # noqa: F401
16
+ import io # noqa: F401
17
+ import re # noqa: F401
18
+ import typing # noqa: F401
19
+ import typing_extensions # noqa: F401
20
+ import uuid # noqa: F401
21
+
22
+ import frozendict # noqa: F401
23
+
24
+ from snaptrade_client import schemas # noqa: F401
25
+
26
+
27
+ class AccountTransactionsResponse(
28
+ schemas.DictSchema
29
+ ):
30
+ """
31
+ This class is auto generated by Konfig (https://konfigthis.com)
32
+
33
+ A page of account transactions.
34
+ """
35
+
36
+
37
+ class MetaOapg:
38
+ required = {
39
+ "pagination",
40
+ "data",
41
+ }
42
+
43
+ class properties:
44
+
45
+
46
+ class data(
47
+ schemas.ListSchema
48
+ ):
49
+
50
+
51
+ class MetaOapg:
52
+
53
+ @staticmethod
54
+ def items() -> typing.Type['Activity']:
55
+ return Activity
56
+
57
+ def __new__(
58
+ cls,
59
+ arg: typing.Union[typing.Tuple['Activity'], typing.List['Activity']],
60
+ _configuration: typing.Optional[schemas.Configuration] = None,
61
+ ) -> 'data':
62
+ return super().__new__(
63
+ cls,
64
+ arg,
65
+ _configuration=_configuration,
66
+ )
67
+
68
+ def __getitem__(self, i: int) -> 'Activity':
69
+ return super().__getitem__(i)
70
+
71
+
72
+ class pagination(
73
+ schemas.ComposedSchema,
74
+ ):
75
+
76
+
77
+ class MetaOapg:
78
+
79
+ @classmethod
80
+ @functools.lru_cache()
81
+ def all_of(cls):
82
+ # we need this here to make our import statements work
83
+ # we must store _composed_schemas in here so the code is only run
84
+ # when we invoke this method. If we kept this at the class
85
+ # level we would get an error because the class level
86
+ # code would be run when this module is imported, and these composed
87
+ # classes don't exist yet because their module has not finished
88
+ # loading
89
+ return [
90
+ PaginationDetails,
91
+ ]
92
+
93
+
94
+ def __new__(
95
+ cls,
96
+ *args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
97
+ _configuration: typing.Optional[schemas.Configuration] = None,
98
+ **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
99
+ ) -> 'pagination':
100
+ return super().__new__(
101
+ cls,
102
+ *args,
103
+ _configuration=_configuration,
104
+ **kwargs,
105
+ )
106
+ __annotations__ = {
107
+ "data": data,
108
+ "pagination": pagination,
109
+ }
110
+ additional_properties = schemas.AnyTypeSchema
111
+
112
+ pagination: MetaOapg.properties.pagination
113
+ data: MetaOapg.properties.data
114
+
115
+ @typing.overload
116
+ def __getitem__(self, name: typing_extensions.Literal["pagination"]) -> MetaOapg.properties.pagination: ...
117
+
118
+ @typing.overload
119
+ def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ...
120
+
121
+ @typing.overload
122
+ def __getitem__(self, name: str) -> MetaOapg.additional_properties: ...
123
+
124
+ def __getitem__(self, name: typing.Union[typing_extensions.Literal["pagination"], typing_extensions.Literal["data"], str, ]):
125
+ # dict_instance[name] accessor
126
+ return super().__getitem__(name)
127
+
128
+ @typing.overload
129
+ def get_item_oapg(self, name: typing_extensions.Literal["pagination"]) -> MetaOapg.properties.pagination: ...
130
+
131
+ @typing.overload
132
+ def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ...
133
+
134
+ @typing.overload
135
+ def get_item_oapg(self, name: str) -> typing.Union[MetaOapg.additional_properties, schemas.Unset]: ...
136
+
137
+ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["pagination"], typing_extensions.Literal["data"], str, ]):
138
+ return super().get_item_oapg(name)
139
+
140
+ def __new__(
141
+ cls,
142
+ *args: typing.Union[dict, frozendict.frozendict, ],
143
+ pagination: typing.Union[MetaOapg.properties.pagination, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
144
+ data: typing.Union[MetaOapg.properties.data, list, tuple, ],
145
+ _configuration: typing.Optional[schemas.Configuration] = None,
146
+ **kwargs: typing.Union[MetaOapg.additional_properties, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
147
+ ) -> 'AccountTransactionsResponse':
148
+ return super().__new__(
149
+ cls,
150
+ *args,
151
+ pagination=pagination,
152
+ data=data,
153
+ _configuration=_configuration,
154
+ **kwargs,
155
+ )
156
+
157
+ from snaptrade_client.model.activity import Activity
158
+ from snaptrade_client.model.pagination_details import PaginationDetails
@@ -0,0 +1,158 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ SnapTrade
5
+
6
+ Connect brokerage accounts to your app for live positions and trading. ## Rate limiting Two limits apply to requests signed with your `clientId`. The stricter one wins, and exceeding either returns `429 Too Many Requests`. - **Customer-level** — 250 requests/minute by default, scoped to your `clientId` and applied across all endpoints. Reported in `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset`. - **Account-level** — 10 requests/minute per account, scoped to (`clientId`, `accountId`). All covered operations for one account draw on the same bucket — reading balances and reading positions share it — and enforcement does not depend on the HTTP method, so updating an account consumes the same bucket as reading it. Only enforced for Personal users, and only for integrations it has been rolled out to — it is not yet in force for every Personal integration. It also does not apply on every operation that documents a 429 below. Where it applies it is reported in `X-RateLimit-Account-Limit`, `X-RateLimit-Account-Remaining` and `X-RateLimit-Account-Reset`. Do not read the absence of those headers as proof the limit is off — some configurations omit the rate limit headers while still enforcing the limit, so header absence tells you nothing about your allowance. On a 429, `X-RateLimit-Remaining: 0` means you hit the customer-level limit and `X-RateLimit-Account-Remaining: 0` means the account-level one. Wait for the corresponding `*-Reset` value (seconds) before retrying, or fall back to exponential backoff with jitter. Not every 429 is explained by those headers. A separate per-authenticated-user limit, reported in no `X-RateLimit-*` header, covers OAuth-authenticated requests and signed requests in configurations where the customer-level limit is not in effect — on the operations that use the default throttles. A few operations override those and are governed by the customer-level limit alone. The two do not stack: a signed request governed by the customer-level limit above is not additionally subject to the per-user one. If a 429 arrives with no header at zero — or with no `X-RateLimit-*` headers at all — honour `Retry-After` and back off. Treat the remaining counts as a hint, not a guarantee that the next request will succeed. Because the customer-level limit applies everywhere, any signed request can return 429. **OAuth-authenticated requests are an exception.** They are not subject to the customer-level limit and do not receive `X-RateLimit-Limit`, `X-RateLimit-Remaining` or `X-RateLimit-Reset` — do not wait on those headers or design around a customer-level allowance on this path. The account-level limit still applies to them on the account-data endpoints above, reported in the `X-RateLimit-Account-*` headers. On operations using the default throttles the per-user limit above applies to them as well, so an OAuth request can be rejected while the account headers still show capacity; on the few operations that override those throttles, OAuth callers have no per-user ceiling at all. Drive retries from `Retry-After` and exponential backoff with jitter rather than from the headers. See https://docs.snaptrade.com/docs/ratelimiting.
7
+
8
+ The version of the OpenAPI document: 1.0.0
9
+ Contact: api@snaptrade.com
10
+ Created by: https://snaptrade.com/
11
+ """
12
+
13
+ from datetime import date, datetime # noqa: F401
14
+ import decimal # noqa: F401
15
+ import functools # noqa: F401
16
+ import io # noqa: F401
17
+ import re # noqa: F401
18
+ import typing # noqa: F401
19
+ import typing_extensions # noqa: F401
20
+ import uuid # noqa: F401
21
+
22
+ import frozendict # noqa: F401
23
+
24
+ from snaptrade_client import schemas # noqa: F401
25
+
26
+
27
+ class AccountTransactionsResponse(
28
+ schemas.DictSchema
29
+ ):
30
+ """
31
+ This class is auto generated by Konfig (https://konfigthis.com)
32
+
33
+ A page of account transactions.
34
+ """
35
+
36
+
37
+ class MetaOapg:
38
+ required = {
39
+ "pagination",
40
+ "data",
41
+ }
42
+
43
+ class properties:
44
+
45
+
46
+ class data(
47
+ schemas.ListSchema
48
+ ):
49
+
50
+
51
+ class MetaOapg:
52
+
53
+ @staticmethod
54
+ def items() -> typing.Type['Activity']:
55
+ return Activity
56
+
57
+ def __new__(
58
+ cls,
59
+ arg: typing.Union[typing.Tuple['Activity'], typing.List['Activity']],
60
+ _configuration: typing.Optional[schemas.Configuration] = None,
61
+ ) -> 'data':
62
+ return super().__new__(
63
+ cls,
64
+ arg,
65
+ _configuration=_configuration,
66
+ )
67
+
68
+ def __getitem__(self, i: int) -> 'Activity':
69
+ return super().__getitem__(i)
70
+
71
+
72
+ class pagination(
73
+ schemas.ComposedSchema,
74
+ ):
75
+
76
+
77
+ class MetaOapg:
78
+
79
+ @classmethod
80
+ @functools.lru_cache()
81
+ def all_of(cls):
82
+ # we need this here to make our import statements work
83
+ # we must store _composed_schemas in here so the code is only run
84
+ # when we invoke this method. If we kept this at the class
85
+ # level we would get an error because the class level
86
+ # code would be run when this module is imported, and these composed
87
+ # classes don't exist yet because their module has not finished
88
+ # loading
89
+ return [
90
+ PaginationDetails,
91
+ ]
92
+
93
+
94
+ def __new__(
95
+ cls,
96
+ *args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
97
+ _configuration: typing.Optional[schemas.Configuration] = None,
98
+ **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
99
+ ) -> 'pagination':
100
+ return super().__new__(
101
+ cls,
102
+ *args,
103
+ _configuration=_configuration,
104
+ **kwargs,
105
+ )
106
+ __annotations__ = {
107
+ "data": data,
108
+ "pagination": pagination,
109
+ }
110
+ additional_properties = schemas.AnyTypeSchema
111
+
112
+ pagination: MetaOapg.properties.pagination
113
+ data: MetaOapg.properties.data
114
+
115
+ @typing.overload
116
+ def __getitem__(self, name: typing_extensions.Literal["pagination"]) -> MetaOapg.properties.pagination: ...
117
+
118
+ @typing.overload
119
+ def __getitem__(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ...
120
+
121
+ @typing.overload
122
+ def __getitem__(self, name: str) -> MetaOapg.additional_properties: ...
123
+
124
+ def __getitem__(self, name: typing.Union[typing_extensions.Literal["pagination"], typing_extensions.Literal["data"], str, ]):
125
+ # dict_instance[name] accessor
126
+ return super().__getitem__(name)
127
+
128
+ @typing.overload
129
+ def get_item_oapg(self, name: typing_extensions.Literal["pagination"]) -> MetaOapg.properties.pagination: ...
130
+
131
+ @typing.overload
132
+ def get_item_oapg(self, name: typing_extensions.Literal["data"]) -> MetaOapg.properties.data: ...
133
+
134
+ @typing.overload
135
+ def get_item_oapg(self, name: str) -> typing.Union[MetaOapg.additional_properties, schemas.Unset]: ...
136
+
137
+ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["pagination"], typing_extensions.Literal["data"], str, ]):
138
+ return super().get_item_oapg(name)
139
+
140
+ def __new__(
141
+ cls,
142
+ *args: typing.Union[dict, frozendict.frozendict, ],
143
+ pagination: typing.Union[MetaOapg.properties.pagination, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
144
+ data: typing.Union[MetaOapg.properties.data, list, tuple, ],
145
+ _configuration: typing.Optional[schemas.Configuration] = None,
146
+ **kwargs: typing.Union[MetaOapg.additional_properties, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
147
+ ) -> 'AccountTransactionsResponse':
148
+ return super().__new__(
149
+ cls,
150
+ *args,
151
+ pagination=pagination,
152
+ data=data,
153
+ _configuration=_configuration,
154
+ **kwargs,
155
+ )
156
+
157
+ from snaptrade_client.model.activity import Activity
158
+ from snaptrade_client.model.pagination_details import PaginationDetails