snaptrade-python-sdk 13.4.3__py3-none-any.whl → 13.4.4__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.
- snaptrade_client/__init__.py +1 -1
- snaptrade_client/api_client.py +1 -1
- snaptrade_client/configuration.py +1 -1
- snaptrade_client/paths/accounts_account_id_transactions/get.py +2 -2
- snaptrade_client/type/activity.py +1 -1
- {snaptrade_python_sdk-13.4.3.dist-info → snaptrade_python_sdk-13.4.4.dist-info}/METADATA +6 -6
- {snaptrade_python_sdk-13.4.3.dist-info → snaptrade_python_sdk-13.4.4.dist-info}/RECORD +9 -9
- {snaptrade_python_sdk-13.4.3.dist-info → snaptrade_python_sdk-13.4.4.dist-info}/LICENSE +0 -0
- {snaptrade_python_sdk-13.4.3.dist-info → snaptrade_python_sdk-13.4.4.dist-info}/WHEEL +0 -0
snaptrade_client/__init__.py
CHANGED
snaptrade_client/api_client.py
CHANGED
|
@@ -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.
|
|
1178
|
+
self.user_agent = 'Konfig/13.4.4/python'
|
|
1179
1179
|
|
|
1180
1180
|
def __enter__(self):
|
|
1181
1181
|
return self
|
|
@@ -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.
|
|
540
|
+
"SDK Package Version: 13.4.4".\
|
|
541
541
|
format(env=sys.platform, pyversion=sys.version)
|
|
542
542
|
|
|
543
543
|
def get_host_settings(self):
|
|
@@ -717,7 +717,7 @@ class GetAccountTransactions(BaseApi, typing.Generic[TAuth]):
|
|
|
717
717
|
ApiResponseForDefault,
|
|
718
718
|
api_client.ApiResponseWithoutDeserialization,
|
|
719
719
|
]:
|
|
720
|
-
""" Returns the account's cached transaction history, most recent
|
|
720
|
+
""" Returns the account's cached transaction history, most recent date first. Transactions with the same timestamp are ordered by descending internal activity ID. History refreshes daily. Timing and available history depend on the brokerage. A disabled connection continues to return its last cached history. """
|
|
721
721
|
args = self._get_account_transactions_mapped_args(
|
|
722
722
|
query_params=query_params,
|
|
723
723
|
path_params=path_params,
|
|
@@ -798,7 +798,7 @@ class ApiForget(BaseApi, typing.Generic[TAuth]):
|
|
|
798
798
|
ApiResponseForDefault,
|
|
799
799
|
api_client.ApiResponseWithoutDeserialization,
|
|
800
800
|
]:
|
|
801
|
-
""" Returns the account's cached transaction history, most recent
|
|
801
|
+
""" Returns the account's cached transaction history, most recent date first. Transactions with the same timestamp are ordered by descending internal activity ID. History refreshes daily. Timing and available history depend on the brokerage. A disabled connection continues to return its last cached history. """
|
|
802
802
|
args = self._get_account_transactions_mapped_args(
|
|
803
803
|
query_params=query_params,
|
|
804
804
|
path_params=path_params,
|
|
@@ -25,7 +25,7 @@ class RequiredActivity(TypedDict):
|
|
|
25
25
|
# Best-effort activity classification. A reported option action takes precedence over its base type. Common values include BUY, SELL, BUY_TO_OPEN, BUY_TO_CLOSE, SELL_TO_OPEN, SELL_TO_CLOSE, DIVIDEND, INTEREST, CONTRIBUTION, WITHDRAWAL, TRANSFER and FEE. Clients must accept unfamiliar values.
|
|
26
26
|
type: str
|
|
27
27
|
|
|
28
|
-
# Recorded
|
|
28
|
+
# Recorded date and time in UTC. Precision depends on what the brokerage supplies.
|
|
29
29
|
date: datetime
|
|
30
30
|
|
|
31
31
|
# Brokerage activity description, including an unresolved brokerage symbol's name when available.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: snaptrade-python-sdk
|
|
3
|
-
Version: 13.4.
|
|
3
|
+
Version: 13.4.4
|
|
4
4
|
Summary: Client for SnapTrade
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: SnapTrade
|
|
@@ -87,7 +87,7 @@ See https://docs.snaptrade.com/docs/ratelimiting.
|
|
|
87
87
|
|
|
88
88
|
|
|
89
89
|
|
|
90
|
-
[](https://pypi.org/project/snaptrade-python-sdk/13.4.4)
|
|
91
91
|
[](https://github.com/passiv/snaptrade-sdks/tree/master/sdks/python#readme)
|
|
92
92
|
[](https://snaptrade.com/)
|
|
93
93
|
|
|
@@ -185,7 +185,7 @@ Python >=3.8
|
|
|
185
185
|
## Installation<a id="installation"></a>
|
|
186
186
|
|
|
187
187
|
```sh
|
|
188
|
-
pip install snaptrade-python-sdk==13.4.
|
|
188
|
+
pip install snaptrade-python-sdk==13.4.4
|
|
189
189
|
```
|
|
190
190
|
|
|
191
191
|
## Authentication<a id="authentication"></a>
|
|
@@ -795,7 +795,7 @@ The client identifies the user in this mode. Do not pass `user_id` `user_secret`
|
|
|
795
795
|
|
|
796
796
|
### `snaptrade.account_information.get_account_transactions`<a id="snaptradeaccount_informationget_account_transactions"></a>
|
|
797
797
|
|
|
798
|
-
Returns the account's cached transaction history, most recent
|
|
798
|
+
Returns the account's cached transaction history, most recent date first. Transactions with the same timestamp are ordered by descending internal activity ID.
|
|
799
799
|
|
|
800
800
|
History refreshes daily. Timing and available history depend on the brokerage. A disabled connection continues to return its last cached history.
|
|
801
801
|
|
|
@@ -849,11 +849,11 @@ The client identifies the user in this mode. Do not pass `user_id` `user_secret`
|
|
|
849
849
|
|
|
850
850
|
##### start_date: `date`<a id="start_date-date"></a>
|
|
851
851
|
|
|
852
|
-
First
|
|
852
|
+
First date to include (UTC). Defaults to the earliest available transaction.
|
|
853
853
|
|
|
854
854
|
##### end_date: `date`<a id="end_date-date"></a>
|
|
855
855
|
|
|
856
|
-
Last
|
|
856
|
+
Last date to include (UTC). Defaults to the latest available transaction.
|
|
857
857
|
|
|
858
858
|
##### type: `str`<a id="type-str"></a>
|
|
859
859
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
snaptrade_client/__init__.py,sha256=
|
|
2
|
-
snaptrade_client/api_client.py,sha256=
|
|
1
|
+
snaptrade_client/__init__.py,sha256=xwt3n7iFl9QU0dPnHbv7L3h7pwhfiAzPxSW4nummVTA,4370
|
|
2
|
+
snaptrade_client/api_client.py,sha256=s0qTXRsJjj4HuVqd-eagS2nGFZZmBc6fnyUF7x66C0I,78308
|
|
3
3
|
snaptrade_client/api_response.py,sha256=mZn18p_TNr6OY0HXTZW5InL9iXfqsJWstYGeGD-euPA,663
|
|
4
4
|
snaptrade_client/apis/__init__.py,sha256=RTosXhMn41tMsKPUjIy-VK-_efOWzhkKiuGggJ3A6E0,214
|
|
5
5
|
snaptrade_client/apis/path_to_api.py,sha256=I3lF7OdUdyvziA34H8Yd2wBYWKy_YLXfcWwpo6zBpb4,16440
|
|
@@ -90,7 +90,7 @@ snaptrade_client/auth.py,sha256=85VAIdB-s7SGAHoU0xZnPd7pc680Y58ILZgRiKVn2pk,4797
|
|
|
90
90
|
snaptrade_client/client.py,sha256=ncRPbSzbjqr4YVdjzfm8IrCgFhawclXFRlYJzkHNu98,6361
|
|
91
91
|
snaptrade_client/client.pyi,sha256=s5mcwbmAEVZMJrZOT3fTP9-_r7rf2L0qdJiX8RlnX9o,6358
|
|
92
92
|
snaptrade_client/client_custom.py,sha256=hNQMRFrY_KWEOCgf36fsZBs3sBU2SQtnZin8dAEVyYo,3931
|
|
93
|
-
snaptrade_client/configuration.py,sha256=
|
|
93
|
+
snaptrade_client/configuration.py,sha256=TG4jAc69I2CODOAT14hWdJJypmItseao2BSw2JrXcf0,26562
|
|
94
94
|
snaptrade_client/exceptions.py,sha256=pRlZiy1hSulcXfTCqqBU5Jys0hRBkxljOiv212M_yeo,10957
|
|
95
95
|
snaptrade_client/exceptions_base.py,sha256=LAQkaC5C61-SdBLfyMjb0K7AYJkWVuLmg2uCvHa71FM,2274
|
|
96
96
|
snaptrade_client/model/__init__.py,sha256=ayi2MIzcf0eAIsY13ToiNplV9tW-pMBFrC0I9yckGM8,350
|
|
@@ -784,7 +784,7 @@ snaptrade_client/paths/accounts_account_id_trading_simple/__init__.py,sha256=1kf
|
|
|
784
784
|
snaptrade_client/paths/accounts_account_id_trading_simple/post.py,sha256=Q40_L-SWnphWi0ldRCnG6HlfHDjHJqc5GNIwTs3f-4M,43603
|
|
785
785
|
snaptrade_client/paths/accounts_account_id_trading_simple/post.pyi,sha256=R5qYJIO9KXhiWB6tKypprTt-cu3Pgg8q71HxT2hrRjk,10232
|
|
786
786
|
snaptrade_client/paths/accounts_account_id_transactions/__init__.py,sha256=76XTKj8DBa1bSBMoyCdvKgIwOeAYBfrB1wgsAdVXl8k,355
|
|
787
|
-
snaptrade_client/paths/accounts_account_id_transactions/get.py,sha256=
|
|
787
|
+
snaptrade_client/paths/accounts_account_id_transactions/get.py,sha256=TW6jHru7FlGlxwed9PAsUdmqS1iF_SoRSofWLmOLWPg,33105
|
|
788
788
|
snaptrade_client/paths/accounts_account_id_transactions/get.pyi,sha256=ld1DvyLq8-mZUtiDAn8XA4NhaZn2IFMZcaws9amChL4,6775
|
|
789
789
|
snaptrade_client/paths/accounts_all/__init__.py,sha256=QNCPmT8vkXvEp_dX9yDa06R84bOYZzUvcYD5Yb4dqgI,315
|
|
790
790
|
snaptrade_client/paths/accounts_all/get.py,sha256=5HBfWqT0GNSuvuV9ddXs5B8Ca89Myg1onNq9PuPiSjQ,22350
|
|
@@ -930,7 +930,7 @@ snaptrade_client/type/action.py,sha256=tfH3z4e0ReZyuUQS_Pmz51fxlrxzj3Y83TxEeKWZb
|
|
|
930
930
|
snaptrade_client/type/action_strict.py,sha256=a15cs4d6xTKZxV3CUh9ottpWUn9cFpJehQ2xQIWjgsI,3595
|
|
931
931
|
snaptrade_client/type/action_strict_v2.py,sha256=wM080CEyRMeojiZb2blFf8RpZEZRBDqKMkomIkivccY,3578
|
|
932
932
|
snaptrade_client/type/action_strict_with_options.py,sha256=djoum-mJZEE_rP_7utEUFC-fz05Fc-sCQOH6J-tE3ng,3670
|
|
933
|
-
snaptrade_client/type/activity.py,sha256=
|
|
933
|
+
snaptrade_client/type/activity.py,sha256=ZkgDqi35wMXf4FBBmeBALLoorMOxnfQV8zu0AfmtJO8,5314
|
|
934
934
|
snaptrade_client/type/adr_instrument.py,sha256=lVgdmw0k3eFxCeULPQuIeDPkydTtjzIgJHE0zsb5WPI,4405
|
|
935
935
|
snaptrade_client/type/all_account_orders_response.py,sha256=7TZlewwQ94Bjq4XcCx_Tk52NkUTBJfTX0qxJmoINJLo,4105
|
|
936
936
|
snaptrade_client/type/all_account_orders_response_data_freshness.py,sha256=BgOTKIRNLip-oOOyJfGFhgy5r1GzhsTz8TaT0nVWvdI,3949
|
|
@@ -1184,7 +1184,7 @@ snaptrade_client/type/user_secret.py,sha256=B6gpY5ECG6fV4aCV7XH9TK9uW9UsZYZlng56
|
|
|
1184
1184
|
snaptrade_client/type/validated_trade_body.py,sha256=3d5fH-7GtjtWxBTBDyjK2RSmoFcMQpr7Sv6MXgCfKQc,4076
|
|
1185
1185
|
snaptrade_client/type_util.py,sha256=y93VO77G7QTwguvfc3HnevIWtLat__tNZXfpSCSxHoU,3749
|
|
1186
1186
|
snaptrade_client/validation_metadata.py,sha256=VTN5y-NudHXok1X468J4PnGze_tGEAcs1v3gsXmcrb0,3172
|
|
1187
|
-
snaptrade_python_sdk-13.4.
|
|
1188
|
-
snaptrade_python_sdk-13.4.
|
|
1189
|
-
snaptrade_python_sdk-13.4.
|
|
1190
|
-
snaptrade_python_sdk-13.4.
|
|
1187
|
+
snaptrade_python_sdk-13.4.4.dist-info/LICENSE,sha256=GxvPdqYTCDLPwtMD70oHKcnAL8Os4eOjPVhERWpJ5Cs,1081
|
|
1188
|
+
snaptrade_python_sdk-13.4.4.dist-info/METADATA,sha256=-hh4Xj0b6NIFaX7M1ssPQEqdwpVng2tvikakCIdgoHc,212627
|
|
1189
|
+
snaptrade_python_sdk-13.4.4.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
1190
|
+
snaptrade_python_sdk-13.4.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|