snaptrade-python-sdk 11.0.117__py3-none-any.whl → 11.0.118__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/brokerages_brokerage_id_instruments/get.py +4 -4
- snaptrade_client/paths/brokerages_brokerage_id_instruments/get.pyi +4 -4
- {snaptrade_python_sdk-11.0.117.dist-info → snaptrade_python_sdk-11.0.118.dist-info}/METADATA +4 -4
- {snaptrade_python_sdk-11.0.117.dist-info → snaptrade_python_sdk-11.0.118.dist-info}/RECORD +9 -9
- {snaptrade_python_sdk-11.0.117.dist-info → snaptrade_python_sdk-11.0.118.dist-info}/LICENSE +0 -0
- {snaptrade_python_sdk-11.0.117.dist-info → snaptrade_python_sdk-11.0.118.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.118/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.118".\
|
|
442
442
|
format(env=sys.platform, pyversion=sys.version)
|
|
443
443
|
|
|
444
444
|
def get_host_settings(self):
|
|
@@ -143,7 +143,7 @@ class BaseApi(api_client.Api):
|
|
|
143
143
|
AsyncGeneratorResponse,
|
|
144
144
|
]:
|
|
145
145
|
"""
|
|
146
|
-
Get
|
|
146
|
+
Get brokerage instruments
|
|
147
147
|
:param skip_deserialization: If true then api_response.response will be set but
|
|
148
148
|
api_response.body and api_response.headers will not be deserialized into schema
|
|
149
149
|
class instances
|
|
@@ -260,7 +260,7 @@ class BaseApi(api_client.Api):
|
|
|
260
260
|
api_client.ApiResponseWithoutDeserialization,
|
|
261
261
|
]:
|
|
262
262
|
"""
|
|
263
|
-
Get
|
|
263
|
+
Get brokerage instruments
|
|
264
264
|
:param skip_deserialization: If true then api_response.response will be set but
|
|
265
265
|
api_response.body and api_response.headers will not be deserialized into schema
|
|
266
266
|
class instances
|
|
@@ -365,7 +365,7 @@ class ListAllBrokerageInstruments(BaseApi):
|
|
|
365
365
|
ApiResponseForDefault,
|
|
366
366
|
api_client.ApiResponseWithoutDeserialization,
|
|
367
367
|
]:
|
|
368
|
-
""" Returns a list of all brokerage instruments available for a given brokerage
|
|
368
|
+
""" Returns a list of all brokerage instruments available for a given brokerage. Not all brokerages support this. The ones that don't will return an empty list. """
|
|
369
369
|
args = self._list_all_brokerage_instruments_mapped_args(
|
|
370
370
|
path_params=path_params,
|
|
371
371
|
brokerage_id=brokerage_id,
|
|
@@ -406,7 +406,7 @@ class ApiForget(BaseApi):
|
|
|
406
406
|
ApiResponseForDefault,
|
|
407
407
|
api_client.ApiResponseWithoutDeserialization,
|
|
408
408
|
]:
|
|
409
|
-
""" Returns a list of all brokerage instruments available for a given brokerage
|
|
409
|
+
""" Returns a list of all brokerage instruments available for a given brokerage. Not all brokerages support this. The ones that don't will return an empty list. """
|
|
410
410
|
args = self._list_all_brokerage_instruments_mapped_args(
|
|
411
411
|
path_params=path_params,
|
|
412
412
|
brokerage_id=brokerage_id,
|
|
@@ -132,7 +132,7 @@ class BaseApi(api_client.Api):
|
|
|
132
132
|
AsyncGeneratorResponse,
|
|
133
133
|
]:
|
|
134
134
|
"""
|
|
135
|
-
Get
|
|
135
|
+
Get brokerage instruments
|
|
136
136
|
:param skip_deserialization: If true then api_response.response will be set but
|
|
137
137
|
api_response.body and api_response.headers will not be deserialized into schema
|
|
138
138
|
class instances
|
|
@@ -249,7 +249,7 @@ class BaseApi(api_client.Api):
|
|
|
249
249
|
api_client.ApiResponseWithoutDeserialization,
|
|
250
250
|
]:
|
|
251
251
|
"""
|
|
252
|
-
Get
|
|
252
|
+
Get brokerage instruments
|
|
253
253
|
:param skip_deserialization: If true then api_response.response will be set but
|
|
254
254
|
api_response.body and api_response.headers will not be deserialized into schema
|
|
255
255
|
class instances
|
|
@@ -354,7 +354,7 @@ class ListAllBrokerageInstruments(BaseApi):
|
|
|
354
354
|
ApiResponseForDefault,
|
|
355
355
|
api_client.ApiResponseWithoutDeserialization,
|
|
356
356
|
]:
|
|
357
|
-
""" Returns a list of all brokerage instruments available for a given brokerage
|
|
357
|
+
""" Returns a list of all brokerage instruments available for a given brokerage. Not all brokerages support this. The ones that don't will return an empty list. """
|
|
358
358
|
args = self._list_all_brokerage_instruments_mapped_args(
|
|
359
359
|
path_params=path_params,
|
|
360
360
|
brokerage_id=brokerage_id,
|
|
@@ -395,7 +395,7 @@ class ApiForget(BaseApi):
|
|
|
395
395
|
ApiResponseForDefault,
|
|
396
396
|
api_client.ApiResponseWithoutDeserialization,
|
|
397
397
|
]:
|
|
398
|
-
""" Returns a list of all brokerage instruments available for a given brokerage
|
|
398
|
+
""" Returns a list of all brokerage instruments available for a given brokerage. Not all brokerages support this. The ones that don't will return an empty list. """
|
|
399
399
|
args = self._list_all_brokerage_instruments_mapped_args(
|
|
400
400
|
path_params=path_params,
|
|
401
401
|
brokerage_id=brokerage_id,
|
{snaptrade_python_sdk-11.0.117.dist-info → snaptrade_python_sdk-11.0.118.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.118
|
|
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.118)
|
|
34
34
|
[](https://github.com/passiv/snaptrade-sdks/tree/master/sdks/python#readme)
|
|
35
35
|
[](https://snaptrade.com/)
|
|
36
36
|
|
|
@@ -111,7 +111,7 @@ Python >=3.8
|
|
|
111
111
|
## Installation<a id="installation"></a>
|
|
112
112
|
|
|
113
113
|
```sh
|
|
114
|
-
pip install snaptrade-python-sdk==11.0.
|
|
114
|
+
pip install snaptrade-python-sdk==11.0.118
|
|
115
115
|
```
|
|
116
116
|
|
|
117
117
|
## Getting Started<a id="getting-started"></a>
|
|
@@ -1568,7 +1568,7 @@ Comma separated value of brokerage slugs
|
|
|
1568
1568
|
|
|
1569
1569
|
### `snaptrade.reference_data.list_all_brokerage_instruments`<a id="snaptradereference_datalist_all_brokerage_instruments"></a>
|
|
1570
1570
|
|
|
1571
|
-
Returns a list of all brokerage instruments available for a given brokerage
|
|
1571
|
+
Returns a list of all brokerage instruments available for a given brokerage. Not all brokerages support this. The ones that don't will return an empty list.
|
|
1572
1572
|
|
|
1573
1573
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
1574
1574
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
snaptrade_client/__init__.py,sha256=
|
|
2
|
-
snaptrade_client/api_client.py,sha256=
|
|
1
|
+
snaptrade_client/__init__.py,sha256=euDqgfgsC8l3aBYyaTJBYiZdOiANp7QCR8TSpvwUu4U,820
|
|
2
|
+
snaptrade_client/api_client.py,sha256=esk2QuEZ6PIukxwNdlkHbG3EbBXAcnItjAdJShjqi6M,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=SLpwK1E1PS-eT3afsaLab3u8QJLq3zHBN8ccXt0JD30,13334
|
|
@@ -79,7 +79,7 @@ snaptrade_client/apis/tags/transactions_and_reporting_api_generated.py,sha256=Tw
|
|
|
79
79
|
snaptrade_client/client.py,sha256=goDwWRv9909OPXDnGGYst_mr53bg6RUs4PwIvnrl_kE,2116
|
|
80
80
|
snaptrade_client/client.pyi,sha256=goDwWRv9909OPXDnGGYst_mr53bg6RUs4PwIvnrl_kE,2116
|
|
81
81
|
snaptrade_client/client_custom.py,sha256=Jx9ulCzelMFlESjzVFQSjBlYcH4dWxSJJWZDMPLyetM,745
|
|
82
|
-
snaptrade_client/configuration.py,sha256=
|
|
82
|
+
snaptrade_client/configuration.py,sha256=5TH28GVCCKjkNMpeczF6jsetdj0YgJ4zoXUg8JVM_T8,19262
|
|
83
83
|
snaptrade_client/exceptions.py,sha256=X0apI_sgQpGpa-qIqPUClReCdHAxeSuA6GW0YH_RsWg,7771
|
|
84
84
|
snaptrade_client/exceptions_base.py,sha256=LAQkaC5C61-SdBLfyMjb0K7AYJkWVuLmg2uCvHa71FM,2274
|
|
85
85
|
snaptrade_client/model/__init__.py,sha256=ayi2MIzcf0eAIsY13ToiNplV9tW-pMBFrC0I9yckGM8,350
|
|
@@ -526,8 +526,8 @@ snaptrade_client/paths/brokerages/__init__.py,sha256=iSOrQi0W3HabeDgu9IRT-PYS_bY
|
|
|
526
526
|
snaptrade_client/paths/brokerages/get.py,sha256=C9ygoXqROqHL58spj0nISr13o9mXMLUE6tmUiK6i-eQ,11862
|
|
527
527
|
snaptrade_client/paths/brokerages/get.pyi,sha256=s3n13JswLTx30uVTItV8eUVDa0cpJSrcUOOQ8SSgOdo,11660
|
|
528
528
|
snaptrade_client/paths/brokerages_brokerage_id_instruments/__init__.py,sha256=VWl2ZJ5JNeTtYHcavRnLjDKfQ7PsLTh7z1EyYzlhG44,361
|
|
529
|
-
snaptrade_client/paths/brokerages_brokerage_id_instruments/get.py,sha256=
|
|
530
|
-
snaptrade_client/paths/brokerages_brokerage_id_instruments/get.pyi,sha256=
|
|
529
|
+
snaptrade_client/paths/brokerages_brokerage_id_instruments/get.py,sha256=zl3IhD7ERu0R5ERDw-FYiPBnf8VTF2iDZhHceWAnXps,14779
|
|
530
|
+
snaptrade_client/paths/brokerages_brokerage_id_instruments/get.pyi,sha256=2b4RaF0owgMO0Tj2wu3krAVGEE6YH7ju8bxWqzQUA4w,14577
|
|
531
531
|
snaptrade_client/paths/currencies/__init__.py,sha256=E_ExjRD9lsd051A5rYxbZjMI8EuzoNNqca6NnHUmGGg,311
|
|
532
532
|
snaptrade_client/paths/currencies/get.py,sha256=T6INxssyN58AqwmlhUy363i9YRezc-xVnoqWeRMgkco,11848
|
|
533
533
|
snaptrade_client/paths/currencies/get.pyi,sha256=NeZH1if9QF_KPdhEME-vuJV-JTILX2CuG9wNSs9MXMA,11646
|
|
@@ -765,7 +765,7 @@ snaptrade_client/type/user_secret.py,sha256=pKCVhqf1rROHwa6tvoyA5OAKXCBAmNDvIQCf
|
|
|
765
765
|
snaptrade_client/type/validated_trade_body.py,sha256=ZIPBQWii_a-9zHaBCJ6bQtmL1_I7AG0zwuvkY-ZQ6R4,890
|
|
766
766
|
snaptrade_client/type_util.py,sha256=JIrMYgJzd4IJ8Ne2vqcahlPA9dVmphL9sn8gwccCB4Y,563
|
|
767
767
|
snaptrade_client/validation_metadata.py,sha256=VTN5y-NudHXok1X468J4PnGze_tGEAcs1v3gsXmcrb0,3172
|
|
768
|
-
snaptrade_python_sdk-11.0.
|
|
769
|
-
snaptrade_python_sdk-11.0.
|
|
770
|
-
snaptrade_python_sdk-11.0.
|
|
771
|
-
snaptrade_python_sdk-11.0.
|
|
768
|
+
snaptrade_python_sdk-11.0.118.dist-info/LICENSE,sha256=W_1kcxEzOnZXIYJ1GVUipbmUu6dNLt-Pc-OI55h3k-A,1081
|
|
769
|
+
snaptrade_python_sdk-11.0.118.dist-info/METADATA,sha256=9_Ht2y_-zbn8sl9yVPRBsgGGPLwXycGI6-upCjIJoT0,95918
|
|
770
|
+
snaptrade_python_sdk-11.0.118.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
771
|
+
snaptrade_python_sdk-11.0.118.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|