snaptrade-python-sdk 11.0.131__py3-none-any.whl → 11.0.132__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_orders_details/post.py +2 -2
- snaptrade_client/paths/accounts_account_id_orders_details/post.pyi +2 -2
- {snaptrade_python_sdk-11.0.131.dist-info → snaptrade_python_sdk-11.0.132.dist-info}/METADATA +5 -3
- {snaptrade_python_sdk-11.0.131.dist-info → snaptrade_python_sdk-11.0.132.dist-info}/RECORD +9 -9
- {snaptrade_python_sdk-11.0.131.dist-info → snaptrade_python_sdk-11.0.132.dist-info}/LICENSE +0 -0
- {snaptrade_python_sdk-11.0.131.dist-info → snaptrade_python_sdk-11.0.132.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.132/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.132".\
|
|
442
442
|
format(env=sys.platform, pyversion=sys.version)
|
|
443
443
|
|
|
444
444
|
def get_host_settings(self):
|
|
@@ -610,7 +610,7 @@ class GetUserAccountOrderDetail(BaseApi):
|
|
|
610
610
|
ApiResponseFor200,
|
|
611
611
|
api_client.ApiResponseWithoutDeserialization,
|
|
612
612
|
]:
|
|
613
|
-
""" Returns the detail of a single order using the external order ID provided in the request body. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint. """
|
|
613
|
+
""" Returns the detail of a single order using the external order ID provided in the request body. This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint. """
|
|
614
614
|
args = self._get_user_account_order_detail_mapped_args(
|
|
615
615
|
body=body,
|
|
616
616
|
query_params=query_params,
|
|
@@ -673,7 +673,7 @@ class ApiForpost(BaseApi):
|
|
|
673
673
|
ApiResponseFor200,
|
|
674
674
|
api_client.ApiResponseWithoutDeserialization,
|
|
675
675
|
]:
|
|
676
|
-
""" Returns the detail of a single order using the external order ID provided in the request body. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint. """
|
|
676
|
+
""" Returns the detail of a single order using the external order ID provided in the request body. This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint. """
|
|
677
677
|
args = self._get_user_account_order_detail_mapped_args(
|
|
678
678
|
body=body,
|
|
679
679
|
query_params=query_params,
|
|
@@ -597,7 +597,7 @@ class GetUserAccountOrderDetail(BaseApi):
|
|
|
597
597
|
ApiResponseFor200,
|
|
598
598
|
api_client.ApiResponseWithoutDeserialization,
|
|
599
599
|
]:
|
|
600
|
-
""" Returns the detail of a single order using the external order ID provided in the request body. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint. """
|
|
600
|
+
""" Returns the detail of a single order using the external order ID provided in the request body. This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint. """
|
|
601
601
|
args = self._get_user_account_order_detail_mapped_args(
|
|
602
602
|
body=body,
|
|
603
603
|
query_params=query_params,
|
|
@@ -660,7 +660,7 @@ class ApiForpost(BaseApi):
|
|
|
660
660
|
ApiResponseFor200,
|
|
661
661
|
api_client.ApiResponseWithoutDeserialization,
|
|
662
662
|
]:
|
|
663
|
-
""" Returns the detail of a single order using the external order ID provided in the request body. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint. """
|
|
663
|
+
""" Returns the detail of a single order using the external order ID provided in the request body. This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint. """
|
|
664
664
|
args = self._get_user_account_order_detail_mapped_args(
|
|
665
665
|
body=body,
|
|
666
666
|
query_params=query_params,
|
{snaptrade_python_sdk-11.0.131.dist-info → snaptrade_python_sdk-11.0.132.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.132
|
|
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.132)
|
|
34
34
|
[](https://github.com/passiv/snaptrade-sdks/tree/master/sdks/python#readme)
|
|
35
35
|
[](https://snaptrade.com/)
|
|
36
36
|
|
|
@@ -109,7 +109,7 @@ Python >=3.8
|
|
|
109
109
|
## Installation<a id="installation"></a>
|
|
110
110
|
|
|
111
111
|
```sh
|
|
112
|
-
pip install snaptrade-python-sdk==11.0.
|
|
112
|
+
pip install snaptrade-python-sdk==11.0.132
|
|
113
113
|
```
|
|
114
114
|
|
|
115
115
|
## Getting Started<a id="getting-started"></a>
|
|
@@ -403,6 +403,8 @@ get_user_account_details_response = (
|
|
|
403
403
|
|
|
404
404
|
Returns the detail of a single order using the external order ID provided in the request body.
|
|
405
405
|
|
|
406
|
+
This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future.
|
|
407
|
+
|
|
406
408
|
This endpoint is always realtime and does not rely on cached data.
|
|
407
409
|
|
|
408
410
|
This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
snaptrade_client/__init__.py,sha256=
|
|
2
|
-
snaptrade_client/api_client.py,sha256=
|
|
1
|
+
snaptrade_client/__init__.py,sha256=o5kWDgQohHOYNAkyPLllKT9y-JVoQh__10EviDwVYXk,820
|
|
2
|
+
snaptrade_client/api_client.py,sha256=WCxhvUcsEDTMdCIXyGkRzNjNf82FRWQwPNcz32n3xMo,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=4kldxcVXHcyd6XM8UFe7zlFSHj02tf9s3TFXDZwfEHY,12312
|
|
@@ -77,7 +77,7 @@ snaptrade_client/apis/tags/transactions_and_reporting_api_generated.py,sha256=Tw
|
|
|
77
77
|
snaptrade_client/client.py,sha256=goDwWRv9909OPXDnGGYst_mr53bg6RUs4PwIvnrl_kE,2116
|
|
78
78
|
snaptrade_client/client.pyi,sha256=goDwWRv9909OPXDnGGYst_mr53bg6RUs4PwIvnrl_kE,2116
|
|
79
79
|
snaptrade_client/client_custom.py,sha256=Jx9ulCzelMFlESjzVFQSjBlYcH4dWxSJJWZDMPLyetM,745
|
|
80
|
-
snaptrade_client/configuration.py,sha256=
|
|
80
|
+
snaptrade_client/configuration.py,sha256=oZKxptS8Hv2j1M7Z6UYK6cxYioEOc2Gxn-jV_ZzTiOQ,19262
|
|
81
81
|
snaptrade_client/exceptions.py,sha256=X0apI_sgQpGpa-qIqPUClReCdHAxeSuA6GW0YH_RsWg,7771
|
|
82
82
|
snaptrade_client/exceptions_base.py,sha256=LAQkaC5C61-SdBLfyMjb0K7AYJkWVuLmg2uCvHa71FM,2274
|
|
83
83
|
snaptrade_client/model/__init__.py,sha256=ayi2MIzcf0eAIsY13ToiNplV9tW-pMBFrC0I9yckGM8,350
|
|
@@ -454,8 +454,8 @@ snaptrade_client/paths/accounts_account_id_orders_cancel/__init__.py,sha256=UIeH
|
|
|
454
454
|
snaptrade_client/paths/accounts_account_id_orders_cancel/post.py,sha256=sPmESQzGN6Y_ah1zE9JqB5f8SucQUeQnJYSsIOhCgCg,24634
|
|
455
455
|
snaptrade_client/paths/accounts_account_id_orders_cancel/post.pyi,sha256=7rGmssodCjE7gL93TszNkejW8aPyQuoMehuPecNUpbE,24410
|
|
456
456
|
snaptrade_client/paths/accounts_account_id_orders_details/__init__.py,sha256=6PWLMs5Y6WxEM5h99FQSSpvq7Btg4dfrgMkWk3mhBYo,359
|
|
457
|
-
snaptrade_client/paths/accounts_account_id_orders_details/post.py,sha256=
|
|
458
|
-
snaptrade_client/paths/accounts_account_id_orders_details/post.pyi,sha256=
|
|
457
|
+
snaptrade_client/paths/accounts_account_id_orders_details/post.py,sha256=sKlgBkbf_3AYG1i-Te5DNON5B74Lp_I7tMNYzT0gwiI,25690
|
|
458
|
+
snaptrade_client/paths/accounts_account_id_orders_details/post.pyi,sha256=UDhFYZKTQJ47rIh37A2cbiVVwmNjJbDZaOJ9Y5pwEx4,25436
|
|
459
459
|
snaptrade_client/paths/accounts_account_id_positions/__init__.py,sha256=UB-B0t2OnlP8QvI9ptBNhqYsywmYsFZz9G8NJkVZBTM,349
|
|
460
460
|
snaptrade_client/paths/accounts_account_id_positions/get.py,sha256=mT1qThSd9z8ggJa0uXGdWA_N8cs0NH_ijLRsPIVnuWY,20204
|
|
461
461
|
snaptrade_client/paths/accounts_account_id_positions/get.pyi,sha256=wHZruGOsjMfVd6GW3qB8jPhMQNfr2dP4TbB71taNUVk,20002
|
|
@@ -763,7 +763,7 @@ snaptrade_client/type/user_secret.py,sha256=pKCVhqf1rROHwa6tvoyA5OAKXCBAmNDvIQCf
|
|
|
763
763
|
snaptrade_client/type/validated_trade_body.py,sha256=ZIPBQWii_a-9zHaBCJ6bQtmL1_I7AG0zwuvkY-ZQ6R4,890
|
|
764
764
|
snaptrade_client/type_util.py,sha256=JIrMYgJzd4IJ8Ne2vqcahlPA9dVmphL9sn8gwccCB4Y,563
|
|
765
765
|
snaptrade_client/validation_metadata.py,sha256=VTN5y-NudHXok1X468J4PnGze_tGEAcs1v3gsXmcrb0,3172
|
|
766
|
-
snaptrade_python_sdk-11.0.
|
|
767
|
-
snaptrade_python_sdk-11.0.
|
|
768
|
-
snaptrade_python_sdk-11.0.
|
|
769
|
-
snaptrade_python_sdk-11.0.
|
|
766
|
+
snaptrade_python_sdk-11.0.132.dist-info/LICENSE,sha256=W_1kcxEzOnZXIYJ1GVUipbmUu6dNLt-Pc-OI55h3k-A,1081
|
|
767
|
+
snaptrade_python_sdk-11.0.132.dist-info/METADATA,sha256=H8a06IDegCEnIhbG4aFoCTY0RPGyBkW1x8F_c6-0L3k,93512
|
|
768
|
+
snaptrade_python_sdk-11.0.132.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
769
|
+
snaptrade_python_sdk-11.0.132.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|