snaptrade-python-sdk 11.0.124__py3-none-any.whl → 11.0.125__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_brokerage_order_id/get.py +2 -2
- snaptrade_client/paths/accounts_account_id_orders_brokerage_order_id/get.pyi +2 -2
- snaptrade_client/paths/accounts_account_id_quotes/get.py +2 -2
- snaptrade_client/paths/accounts_account_id_quotes/get.pyi +2 -2
- {snaptrade_python_sdk-11.0.124.dist-info → snaptrade_python_sdk-11.0.125.dist-info}/METADATA +16 -5
- {snaptrade_python_sdk-11.0.124.dist-info → snaptrade_python_sdk-11.0.125.dist-info}/RECORD +11 -11
- {snaptrade_python_sdk-11.0.124.dist-info → snaptrade_python_sdk-11.0.125.dist-info}/LICENSE +0 -0
- {snaptrade_python_sdk-11.0.124.dist-info → snaptrade_python_sdk-11.0.125.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.125/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.125".\
|
|
442
442
|
format(env=sys.platform, pyversion=sys.version)
|
|
443
443
|
|
|
444
444
|
def get_host_settings(self):
|
|
@@ -488,7 +488,7 @@ class GetUserAccountOrderDetail(BaseApi):
|
|
|
488
488
|
ApiResponseFor200,
|
|
489
489
|
api_client.ApiResponseWithoutDeserialization,
|
|
490
490
|
]:
|
|
491
|
-
""" Returns the detail of a single order in the specified account.
|
|
491
|
+
""" Returns the detail of a single order in the specified account. 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. """
|
|
492
492
|
args = self._get_user_account_order_detail_mapped_args(
|
|
493
493
|
query_params=query_params,
|
|
494
494
|
path_params=path_params,
|
|
@@ -545,7 +545,7 @@ class ApiForget(BaseApi):
|
|
|
545
545
|
ApiResponseFor200,
|
|
546
546
|
api_client.ApiResponseWithoutDeserialization,
|
|
547
547
|
]:
|
|
548
|
-
""" Returns the detail of a single order in the specified account.
|
|
548
|
+
""" Returns the detail of a single order in the specified account. 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. """
|
|
549
549
|
args = self._get_user_account_order_detail_mapped_args(
|
|
550
550
|
query_params=query_params,
|
|
551
551
|
path_params=path_params,
|
|
@@ -476,7 +476,7 @@ class GetUserAccountOrderDetail(BaseApi):
|
|
|
476
476
|
ApiResponseFor200,
|
|
477
477
|
api_client.ApiResponseWithoutDeserialization,
|
|
478
478
|
]:
|
|
479
|
-
""" Returns the detail of a single order in the specified account.
|
|
479
|
+
""" Returns the detail of a single order in the specified account. 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. """
|
|
480
480
|
args = self._get_user_account_order_detail_mapped_args(
|
|
481
481
|
query_params=query_params,
|
|
482
482
|
path_params=path_params,
|
|
@@ -533,7 +533,7 @@ class ApiForget(BaseApi):
|
|
|
533
533
|
ApiResponseFor200,
|
|
534
534
|
api_client.ApiResponseWithoutDeserialization,
|
|
535
535
|
]:
|
|
536
|
-
""" Returns the detail of a single order in the specified account.
|
|
536
|
+
""" Returns the detail of a single order in the specified account. 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. """
|
|
537
537
|
args = self._get_user_account_order_detail_mapped_args(
|
|
538
538
|
query_params=query_params,
|
|
539
539
|
path_params=path_params,
|
|
@@ -481,7 +481,7 @@ class GetUserAccountQuotes(BaseApi):
|
|
|
481
481
|
ApiResponseFor200,
|
|
482
482
|
api_client.ApiResponseWithoutDeserialization,
|
|
483
483
|
]:
|
|
484
|
-
""" Returns quotes from the brokerage for the specified symbols and account.
|
|
484
|
+
""" Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed. """
|
|
485
485
|
args = self._get_user_account_quotes_mapped_args(
|
|
486
486
|
query_params=query_params,
|
|
487
487
|
path_params=path_params,
|
|
@@ -542,7 +542,7 @@ class ApiForget(BaseApi):
|
|
|
542
542
|
ApiResponseFor200,
|
|
543
543
|
api_client.ApiResponseWithoutDeserialization,
|
|
544
544
|
]:
|
|
545
|
-
""" Returns quotes from the brokerage for the specified symbols and account.
|
|
545
|
+
""" Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed. """
|
|
546
546
|
args = self._get_user_account_quotes_mapped_args(
|
|
547
547
|
query_params=query_params,
|
|
548
548
|
path_params=path_params,
|
|
@@ -470,7 +470,7 @@ class GetUserAccountQuotes(BaseApi):
|
|
|
470
470
|
ApiResponseFor200,
|
|
471
471
|
api_client.ApiResponseWithoutDeserialization,
|
|
472
472
|
]:
|
|
473
|
-
""" Returns quotes from the brokerage for the specified symbols and account.
|
|
473
|
+
""" Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed. """
|
|
474
474
|
args = self._get_user_account_quotes_mapped_args(
|
|
475
475
|
query_params=query_params,
|
|
476
476
|
path_params=path_params,
|
|
@@ -531,7 +531,7 @@ class ApiForget(BaseApi):
|
|
|
531
531
|
ApiResponseFor200,
|
|
532
532
|
api_client.ApiResponseWithoutDeserialization,
|
|
533
533
|
]:
|
|
534
|
-
""" Returns quotes from the brokerage for the specified symbols and account.
|
|
534
|
+
""" Returns quotes from the brokerage for the specified symbols and account. The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint. This endpoint does not work for options quotes. This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed. """
|
|
535
535
|
args = self._get_user_account_quotes_mapped_args(
|
|
536
536
|
query_params=query_params,
|
|
537
537
|
path_params=path_params,
|
{snaptrade_python_sdk-11.0.124.dist-info → snaptrade_python_sdk-11.0.125.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.125
|
|
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.125)
|
|
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.125
|
|
113
113
|
```
|
|
114
114
|
|
|
115
115
|
## Getting Started<a id="getting-started"></a>
|
|
@@ -401,7 +401,11 @@ get_user_account_details_response = (
|
|
|
401
401
|
|
|
402
402
|
### `snaptrade.account_information.get_user_account_order_detail`<a id="snaptradeaccount_informationget_user_account_order_detail"></a>
|
|
403
403
|
|
|
404
|
-
Returns the detail of a single order in the specified account.
|
|
404
|
+
Returns the detail of a single order in the specified account.
|
|
405
|
+
|
|
406
|
+
This endpoint is always realtime and does not rely on cached data.
|
|
407
|
+
|
|
408
|
+
This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
|
|
405
409
|
|
|
406
410
|
|
|
407
411
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
@@ -1798,7 +1802,14 @@ The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
|
|
|
1798
1802
|
|
|
1799
1803
|
### `snaptrade.trading.get_user_account_quotes`<a id="snaptradetradingget_user_account_quotes"></a>
|
|
1800
1804
|
|
|
1801
|
-
Returns quotes from the brokerage for the specified symbols and account.
|
|
1805
|
+
Returns quotes from the brokerage for the specified symbols and account.
|
|
1806
|
+
|
|
1807
|
+
The quotes returned can be delayed depending on the brokerage the account belongs to. It is highly recommended that you use your own market data provider for real-time quotes instead of relying on this endpoint.
|
|
1808
|
+
|
|
1809
|
+
This endpoint does not work for options quotes.
|
|
1810
|
+
|
|
1811
|
+
This endpoint is disabled for free plans by default. Please contact support to enable this endpoint if needed.
|
|
1812
|
+
|
|
1802
1813
|
|
|
1803
1814
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
1804
1815
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
snaptrade_client/__init__.py,sha256=
|
|
2
|
-
snaptrade_client/api_client.py,sha256=
|
|
1
|
+
snaptrade_client/__init__.py,sha256=CaZ0gsPD-2DyMcCttt6VBvo0Fiuv3zIdDC9GcU5zWgU,820
|
|
2
|
+
snaptrade_client/api_client.py,sha256=wRKCeKghBrIu3gxY47ss9kSpJf866QODOC5mLx0A9TM,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=TAkgurFDUikq9Y0iZNyipgF_-Lz2RQtesp80-ZRw1C0,12417
|
|
@@ -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=CyItPT1RPvAazNoyZQwKENGYjd2ROt7_jTuzwWkVTO4,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
|
|
@@ -451,8 +451,8 @@ snaptrade_client/paths/accounts_account_id_orders/__init__.py,sha256=zHuTi8F_iUe
|
|
|
451
451
|
snaptrade_client/paths/accounts_account_id_orders/get.py,sha256=G995P3DYTYjlbOmqO1iyJSPjtO6KmFUOfGCBaozjeUU,21877
|
|
452
452
|
snaptrade_client/paths/accounts_account_id_orders/get.pyi,sha256=N23jjsdpQiilZqFXOF5Gj31PLdOXqEpKytqUwiB_AiI,21462
|
|
453
453
|
snaptrade_client/paths/accounts_account_id_orders_brokerage_order_id/__init__.py,sha256=HRMFYdm8PGjoYJ-0S1O80PZjXt3H4SBbiPvfGFFB9M0,381
|
|
454
|
-
snaptrade_client/paths/accounts_account_id_orders_brokerage_order_id/get.py,sha256=
|
|
455
|
-
snaptrade_client/paths/accounts_account_id_orders_brokerage_order_id/get.pyi,sha256=
|
|
454
|
+
snaptrade_client/paths/accounts_account_id_orders_brokerage_order_id/get.py,sha256=cY-r37PYauAK3_7rH3ZIy3k9qvyW15F1R3vSr1u6XvU,20819
|
|
455
|
+
snaptrade_client/paths/accounts_account_id_orders_brokerage_order_id/get.pyi,sha256=rkDYVT-32--8_hC3vzgaXCvKFEddTpD83nhCAyHiKxA,20595
|
|
456
456
|
snaptrade_client/paths/accounts_account_id_orders_cancel/__init__.py,sha256=UIeHlsXhxZyqf4ADkLxYxJUH6ChCcSkpeML1XWjxGdI,357
|
|
457
457
|
snaptrade_client/paths/accounts_account_id_orders_cancel/post.py,sha256=PipHEDsFEytBeeXn5ydOnD5bCTHcDfW5EWmaRuuWQyQ,24559
|
|
458
458
|
snaptrade_client/paths/accounts_account_id_orders_cancel/post.pyi,sha256=r1JJmy3TEKzeu7WAXPGP5RocDF6dDwFScC_-ffesP9E,24335
|
|
@@ -460,8 +460,8 @@ snaptrade_client/paths/accounts_account_id_positions/__init__.py,sha256=UB-B0t2O
|
|
|
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
|
|
462
462
|
snaptrade_client/paths/accounts_account_id_quotes/__init__.py,sha256=_EWd0irMSNiZtx_chO_X9TCy_WWzFQoySf3yLEkAh2I,343
|
|
463
|
-
snaptrade_client/paths/accounts_account_id_quotes/get.py,sha256=
|
|
464
|
-
snaptrade_client/paths/accounts_account_id_quotes/get.pyi,sha256=
|
|
463
|
+
snaptrade_client/paths/accounts_account_id_quotes/get.py,sha256=JADR5PB0JVGiRBwWaKhRj4w4BlRMu96p6WPEvVVivE0,20735
|
|
464
|
+
snaptrade_client/paths/accounts_account_id_quotes/get.pyi,sha256=xsIXCJCcHZ8aCS-ammQ75NSiPP1HJdyf4IExstlmysk,20541
|
|
465
465
|
snaptrade_client/paths/accounts_account_id_recent_orders/__init__.py,sha256=9ZDFg99fFJZ_6RAxHQkzGxuUu5HjiU25zdIc3huER-c,357
|
|
466
466
|
snaptrade_client/paths/accounts_account_id_recent_orders/get.py,sha256=Zk0LjeDzTXQyPqdN7uFW3a0wX2gE8kAZw-kbLIMWAaE,21345
|
|
467
467
|
snaptrade_client/paths/accounts_account_id_recent_orders/get.pyi,sha256=pmwZbqLBIRSQEE6RT0YFSgmxT8r_9gh_b42t9uIgE80,21121
|
|
@@ -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.125.dist-info/LICENSE,sha256=W_1kcxEzOnZXIYJ1GVUipbmUu6dNLt-Pc-OI55h3k-A,1081
|
|
767
|
+
snaptrade_python_sdk-11.0.125.dist-info/METADATA,sha256=mL9_2CMGt2XIbof0HvViUh2f9kY10NDfssqyYNyRWOQ,92645
|
|
768
|
+
snaptrade_python_sdk-11.0.125.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
769
|
+
snaptrade_python_sdk-11.0.125.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|