snaptrade-python-sdk 11.0.104__py3-none-any.whl → 11.0.105__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/model/account.py +5 -0
- snaptrade_client/model/account.pyi +5 -0
- snaptrade_client/type/account.py +1 -1
- {snaptrade_python_sdk-11.0.104.dist-info → snaptrade_python_sdk-11.0.105.dist-info}/METADATA +3 -3
- {snaptrade_python_sdk-11.0.104.dist-info → snaptrade_python_sdk-11.0.105.dist-info}/RECORD +10 -10
- {snaptrade_python_sdk-11.0.104.dist-info → snaptrade_python_sdk-11.0.105.dist-info}/LICENSE +0 -0
- {snaptrade_python_sdk-11.0.104.dist-info → snaptrade_python_sdk-11.0.105.dist-info}/WHEEL +0 -0
snaptrade_client/__init__.py
CHANGED
snaptrade_client/api_client.py
CHANGED
|
@@ -1155,7 +1155,7 @@ class ApiClient:
|
|
|
1155
1155
|
self.default_headers[header_name] = header_value
|
|
1156
1156
|
self.cookie = cookie
|
|
1157
1157
|
# Set default User-Agent.
|
|
1158
|
-
self.user_agent = 'Konfig/11.0.
|
|
1158
|
+
self.user_agent = 'Konfig/11.0.105/python'
|
|
1159
1159
|
|
|
1160
1160
|
def __enter__(self):
|
|
1161
1161
|
return self
|
|
@@ -438,7 +438,7 @@ conf = snaptrade_client.Configuration(
|
|
|
438
438
|
"OS: {env}\n"\
|
|
439
439
|
"Python Version: {pyversion}\n"\
|
|
440
440
|
"Version of the API: 1.0.0\n"\
|
|
441
|
-
"SDK Package Version: 11.0.
|
|
441
|
+
"SDK Package Version: 11.0.105".\
|
|
442
442
|
format(env=sys.platform, pyversion=sys.version)
|
|
443
443
|
|
|
444
444
|
def get_host_settings(self):
|
|
@@ -131,6 +131,7 @@ class Account(
|
|
|
131
131
|
enum_value_to_name = {
|
|
132
132
|
"open": "OPEN",
|
|
133
133
|
"closed": "CLOSED",
|
|
134
|
+
"archived": "ARCHIVED",
|
|
134
135
|
}
|
|
135
136
|
|
|
136
137
|
@schemas.classproperty
|
|
@@ -140,6 +141,10 @@ class Account(
|
|
|
140
141
|
@schemas.classproperty
|
|
141
142
|
def CLOSED(cls):
|
|
142
143
|
return cls("closed")
|
|
144
|
+
|
|
145
|
+
@schemas.classproperty
|
|
146
|
+
def ARCHIVED(cls):
|
|
147
|
+
return cls("archived")
|
|
143
148
|
|
|
144
149
|
|
|
145
150
|
def __new__(
|
|
@@ -131,6 +131,7 @@ class Account(
|
|
|
131
131
|
enum_value_to_name = {
|
|
132
132
|
"open": "OPEN",
|
|
133
133
|
"closed": "CLOSED",
|
|
134
|
+
"archived": "ARCHIVED",
|
|
134
135
|
}
|
|
135
136
|
|
|
136
137
|
@schemas.classproperty
|
|
@@ -140,6 +141,10 @@ class Account(
|
|
|
140
141
|
@schemas.classproperty
|
|
141
142
|
def CLOSED(cls):
|
|
142
143
|
return cls("closed")
|
|
144
|
+
|
|
145
|
+
@schemas.classproperty
|
|
146
|
+
def ARCHIVED(cls):
|
|
147
|
+
return cls("archived")
|
|
143
148
|
|
|
144
149
|
|
|
145
150
|
def __new__(
|
snaptrade_client/type/account.py
CHANGED
|
@@ -45,7 +45,7 @@ class RequiredAccount(TypedDict):
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
class OptionalAccount(TypedDict, total=False):
|
|
48
|
-
# The current status of the account. Can be either \"open\", \"closed\", or null if the status is unknown or not provided by the brokerage.
|
|
48
|
+
# The current status of the account. Can be either \"open\", \"closed\", \"archived\" or null if the status is unknown or not provided by the brokerage.
|
|
49
49
|
status: typing.Optional[str]
|
|
50
50
|
|
|
51
51
|
# The account type as provided by the brokerage
|
{snaptrade_python_sdk-11.0.104.dist-info → snaptrade_python_sdk-11.0.105.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: snaptrade-python-sdk
|
|
3
|
-
Version: 11.0.
|
|
3
|
+
Version: 11.0.105
|
|
4
4
|
Summary: Client for SnapTrade
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: SnapTrade
|
|
@@ -30,7 +30,7 @@ Description-Content-Type: text/markdown
|
|
|
30
30
|
Connect brokerage accounts to your app for live positions and trading
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
[](https://pypi.org/project/snaptrade-python-sdk/11.0.105)
|
|
34
34
|
[](https://github.com/passiv/snaptrade-sdks/tree/master/sdks/python#readme)
|
|
35
35
|
[](https://snaptrade.com/)
|
|
36
36
|
|
|
@@ -110,7 +110,7 @@ Python >=3.8
|
|
|
110
110
|
## Installation<a id="installation"></a>
|
|
111
111
|
|
|
112
112
|
```sh
|
|
113
|
-
pip install snaptrade-python-sdk==11.0.
|
|
113
|
+
pip install snaptrade-python-sdk==11.0.105
|
|
114
114
|
```
|
|
115
115
|
|
|
116
116
|
## Getting Started<a id="getting-started"></a>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
snaptrade_client/__init__.py,sha256=
|
|
2
|
-
snaptrade_client/api_client.py,sha256=
|
|
1
|
+
snaptrade_client/__init__.py,sha256=MJ8m7cij_dCfD9GhYtqJxqdgnbH6JnX7abq0hTbspLg,820
|
|
2
|
+
snaptrade_client/api_client.py,sha256=bQ4wMA0OHslADdc4iyrZgxy2M5KIBLkBSx2CHrm12KU,73975
|
|
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=fDtFd8AqFO8oDYvdEAFTO9PrVL_qMSjlch1YRVeidlk,13189
|
|
@@ -78,12 +78,12 @@ snaptrade_client/apis/tags/transactions_and_reporting_api_generated.py,sha256=Tw
|
|
|
78
78
|
snaptrade_client/client.py,sha256=goDwWRv9909OPXDnGGYst_mr53bg6RUs4PwIvnrl_kE,2116
|
|
79
79
|
snaptrade_client/client.pyi,sha256=goDwWRv9909OPXDnGGYst_mr53bg6RUs4PwIvnrl_kE,2116
|
|
80
80
|
snaptrade_client/client_custom.py,sha256=Jx9ulCzelMFlESjzVFQSjBlYcH4dWxSJJWZDMPLyetM,745
|
|
81
|
-
snaptrade_client/configuration.py,sha256
|
|
81
|
+
snaptrade_client/configuration.py,sha256=-fu_8aMHGcHZj7xipJXC8_wIdSubO-Fdwd1RWYHX2Ds,19262
|
|
82
82
|
snaptrade_client/exceptions.py,sha256=X0apI_sgQpGpa-qIqPUClReCdHAxeSuA6GW0YH_RsWg,7771
|
|
83
83
|
snaptrade_client/exceptions_base.py,sha256=LAQkaC5C61-SdBLfyMjb0K7AYJkWVuLmg2uCvHa71FM,2274
|
|
84
84
|
snaptrade_client/model/__init__.py,sha256=ayi2MIzcf0eAIsY13ToiNplV9tW-pMBFrC0I9yckGM8,350
|
|
85
|
-
snaptrade_client/model/account.py,sha256=
|
|
86
|
-
snaptrade_client/model/account.pyi,sha256=
|
|
85
|
+
snaptrade_client/model/account.py,sha256=6J4LckV3N2mLN7_4YbusJXQJNK1CSwQfIHxCS92Mda0,14890
|
|
86
|
+
snaptrade_client/model/account.pyi,sha256=6J4LckV3N2mLN7_4YbusJXQJNK1CSwQfIHxCS92Mda0,14890
|
|
87
87
|
snaptrade_client/model/account_balance.py,sha256=ymF9edctposRKBwnaXBx1M-8n41Rcx7sF5A3keZ_LfI,5726
|
|
88
88
|
snaptrade_client/model/account_balance.pyi,sha256=ymF9edctposRKBwnaXBx1M-8n41Rcx7sF5A3keZ_LfI,5726
|
|
89
89
|
snaptrade_client/model/account_cash_restrictions.py,sha256=k23jFvKGgT18Vpw_uUfUyzcTFRdKA9fVyWxQzxXhcQk,1281
|
|
@@ -581,7 +581,7 @@ snaptrade_client/request_before_url_hook.py,sha256=BDDHBJ5nxDTEYvlXEBmxU2OJFoh--
|
|
|
581
581
|
snaptrade_client/rest.py,sha256=lfRDJY_itGJnSc441cmmDhIqS7AtpK-YvP5TPuQBpgY,11033
|
|
582
582
|
snaptrade_client/schemas.py,sha256=PDgpxzIO5UZUoUbsY5lB9qpKu7av8n3HB5c-cEX2L0E,96080
|
|
583
583
|
snaptrade_client/type/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
584
|
-
snaptrade_client/type/account.py,sha256=
|
|
584
|
+
snaptrade_client/type/account.py,sha256=PVEvCLQk7qR9N49wEd0Z1BGqcHBpSnvXYUtTqFWF_YU,2561
|
|
585
585
|
snaptrade_client/type/account_balance.py,sha256=LMZTMiyn8wh1HqrDol68hqtlm_arHZppF2-ZQAzLIj0,832
|
|
586
586
|
snaptrade_client/type/account_cash_restrictions.py,sha256=tDIaP1SJ810Ca0XFESrl5WOMU_0RN7spfddQ8oBtmT8,414
|
|
587
587
|
snaptrade_client/type/account_holdings.py,sha256=kyntdmzWVjP3BgLz2aGKwcGI2xp7q7v0ktdMygKiYmg,1079
|
|
@@ -746,7 +746,7 @@ snaptrade_client/type/user_secret.py,sha256=pKCVhqf1rROHwa6tvoyA5OAKXCBAmNDvIQCf
|
|
|
746
746
|
snaptrade_client/type/validated_trade_body.py,sha256=ZIPBQWii_a-9zHaBCJ6bQtmL1_I7AG0zwuvkY-ZQ6R4,890
|
|
747
747
|
snaptrade_client/type_util.py,sha256=JIrMYgJzd4IJ8Ne2vqcahlPA9dVmphL9sn8gwccCB4Y,563
|
|
748
748
|
snaptrade_client/validation_metadata.py,sha256=VTN5y-NudHXok1X468J4PnGze_tGEAcs1v3gsXmcrb0,3172
|
|
749
|
-
snaptrade_python_sdk-11.0.
|
|
750
|
-
snaptrade_python_sdk-11.0.
|
|
751
|
-
snaptrade_python_sdk-11.0.
|
|
752
|
-
snaptrade_python_sdk-11.0.
|
|
749
|
+
snaptrade_python_sdk-11.0.105.dist-info/LICENSE,sha256=W_1kcxEzOnZXIYJ1GVUipbmUu6dNLt-Pc-OI55h3k-A,1081
|
|
750
|
+
snaptrade_python_sdk-11.0.105.dist-info/METADATA,sha256=97zuux52WjL1BlyremWKMFYNXtln24zo_WVbPiWndJ4,94702
|
|
751
|
+
snaptrade_python_sdk-11.0.105.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
752
|
+
snaptrade_python_sdk-11.0.105.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|