snaptrade-python-sdk 11.0.151__py3-none-any.whl → 11.0.153__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.
@@ -12,7 +12,7 @@
12
12
  Created by: https://snaptrade.com/
13
13
  """
14
14
 
15
- __version__ = "11.0.151"
15
+ __version__ = "11.0.153"
16
16
 
17
17
  # import ApiClient
18
18
  from snaptrade_client.api_client import ApiClient
@@ -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.151/python'
1158
+ self.user_agent = 'Konfig/11.0.153/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.151".\
441
+ "SDK Package Version: 11.0.153".\
442
442
  format(env=sys.platform, pyversion=sys.version)
443
443
 
444
444
  def get_host_settings(self):
@@ -488,7 +488,7 @@ class GetUserAccountRecentOrders(BaseApi):
488
488
  ApiResponseFor200,
489
489
  api_client.ApiResponseWithoutDeserialization,
490
490
  ]:
491
- """ A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** """
491
+ """ A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false """
492
492
  args = self._get_user_account_recent_orders_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
- """ A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** """
548
+ """ A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false """
549
549
  args = self._get_user_account_recent_orders_mapped_args(
550
550
  query_params=query_params,
551
551
  path_params=path_params,
@@ -476,7 +476,7 @@ class GetUserAccountRecentOrders(BaseApi):
476
476
  ApiResponseFor200,
477
477
  api_client.ApiResponseWithoutDeserialization,
478
478
  ]:
479
- """ A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** """
479
+ """ A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false """
480
480
  args = self._get_user_account_recent_orders_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
- """ A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** """
536
+ """ A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false """
537
537
  args = self._get_user_account_recent_orders_mapped_args(
538
538
  query_params=query_params,
539
539
  path_params=path_params,
@@ -42,7 +42,7 @@ class OptionalAccountUniversalActivity(TypedDict, total=False):
42
42
  # The currency in which the transaction `price` and `amount` is denominated.
43
43
  currency: Currency
44
44
 
45
- # A string representing the type of transaction. SnapTrade does a best effort to categorize the brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `STOCK_DIVIDEND` - A type of dividend where a company distributes shares instead of cash - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `TAX`` - A tax related fee. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of assets from one account to another. - `SPLIT` - A stock share split.
45
+ # A string representing the type of transaction. SnapTrade does a best effort to categorize the brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `STOCK_DIVIDEND` - A type of dividend where a company distributes shares instead of cash - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `TAX` - A tax related fee. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of asset(s) from one account to another. - `EXTERNAL_ASSET_TRANSFER_IN` - Incoming transfer of an asset from an external account to this account. - `EXTERNAL_ASSET_TRANSFER_OUT` - Outgoing transfer of an asset from this account to an external account. - `SPLIT` - A stock share split. - `ADJUSTMENT` - A one time adjustment of the account's cash balance or shares of an asset
46
46
  type: str
47
47
 
48
48
  # If an option `BUY` or `SELL` transaction, this further specifies the type of action. The possible values are: - BUY_TO_OPEN - BUY_TO_CLOSE - SELL_TO_OPEN - SELL_TO_CLOSE
@@ -18,7 +18,7 @@ from typing_extensions import TypedDict, Literal, TYPE_CHECKING
18
18
  from snaptrade_client.type.mleg_instrument_type import MlegInstrumentType
19
19
 
20
20
  class RequiredMlegTradingInstrument(TypedDict):
21
- # The security's trading ticker symbol. This currently supports stock symbols and Options symbols in the 21 character OCC format. For example `AAPL 131124C00240000` represents a call option on AAPL expiring on 2024-11-13 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format)
21
+ # The security's trading ticker symbol. This currently supports stock symbols and Options symbols in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format)
22
22
  symbol: str
23
23
 
24
24
  instrument_type: MlegInstrumentType
@@ -17,7 +17,7 @@ from typing_extensions import TypedDict, Literal, TYPE_CHECKING
17
17
 
18
18
 
19
19
  class RequiredTradingInstrument(TypedDict):
20
- # The instrument's trading ticker symbol. This currently supports stock symbols and Options symbols in the 21 character OCC format. For example `AAPL 131124C00240000` represents a call option on AAPL expiring on 2024-11-13 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format)
20
+ # The instrument's trading ticker symbol. This currently supports stock symbols and Options symbols in the 21 character OCC format. For example `AAPL 251114C00240000` represents a call option on AAPL expiring on 2025-11-14 with a strike price of $240. For more information on the OCC format, see [here](https://en.wikipedia.org/wiki/Option_symbol#OCC_format)
21
21
  symbol: str
22
22
 
23
23
  # The instrument's type
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: snaptrade-python-sdk
3
- Version: 11.0.151
3
+ Version: 11.0.153
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
- [![PyPI](https://img.shields.io/badge/PyPI-v11.0.151-blue)](https://pypi.org/project/snaptrade-python-sdk/11.0.151)
33
+ [![PyPI](https://img.shields.io/badge/PyPI-v11.0.153-blue)](https://pypi.org/project/snaptrade-python-sdk/11.0.153)
34
34
  [![README.md](https://img.shields.io/badge/README-Click%20Here-green)](https://github.com/passiv/snaptrade-sdks/tree/master/sdks/python#readme)
35
35
  [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](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.151
114
+ pip install snaptrade-python-sdk==11.0.153
115
115
  ```
116
116
 
117
117
  ## Getting Started<a id="getting-started"></a>
@@ -564,7 +564,6 @@ A lightweight endpoint that returns a list of orders executed in the last 24 hou
564
564
  This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders
565
565
  Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days
566
566
  By default only returns executed orders, but that can be changed by setting *only_executed* to false
567
- **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
568
567
 
569
568
 
570
569
  #### 🛠️ Usage<a id="🛠️-usage"></a>
@@ -1,5 +1,5 @@
1
- snaptrade_client/__init__.py,sha256=c0k94uw7JUhpDW21LgkmZRwf1hNfW_R-Atdub9zOM60,820
2
- snaptrade_client/api_client.py,sha256=LC63RQ8dTwrGAs1Fop3SINfHeEfwX9nMHo-0cUqiJ74,73975
1
+ snaptrade_client/__init__.py,sha256=4kgpE-qldZ-dV5V-qSKvRtPro_D5NM8Hy8um3TgRqUM,820
2
+ snaptrade_client/api_client.py,sha256=hJ40OSGcS5AlBG0p-Xi1XOJujOPsB3Po32PHTqb2PpI,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=U2W6P3ea6gIUTB16bJ16y4fIBuaOF_TqUyGmuFF6STM,12851
@@ -81,7 +81,7 @@ snaptrade_client/apis/tags/transactions_and_reporting_api_generated.py,sha256=Tw
81
81
  snaptrade_client/client.py,sha256=p-1j4DS7DHuwClS8Kh4VHbTFB7jf-DMpkrh5PcCmYTg,2308
82
82
  snaptrade_client/client.pyi,sha256=p-1j4DS7DHuwClS8Kh4VHbTFB7jf-DMpkrh5PcCmYTg,2308
83
83
  snaptrade_client/client_custom.py,sha256=Jx9ulCzelMFlESjzVFQSjBlYcH4dWxSJJWZDMPLyetM,745
84
- snaptrade_client/configuration.py,sha256=DxepDWo1wIp-JWfFynY-mDN-xBA1g-geg5_Ppx_ucHo,19262
84
+ snaptrade_client/configuration.py,sha256=x_Laq1PKAlXFaAb-FHa_fFCkko76g4EYAVJcdd4yfX4,19262
85
85
  snaptrade_client/exceptions.py,sha256=X0apI_sgQpGpa-qIqPUClReCdHAxeSuA6GW0YH_RsWg,7771
86
86
  snaptrade_client/exceptions_base.py,sha256=LAQkaC5C61-SdBLfyMjb0K7AYJkWVuLmg2uCvHa71FM,2274
87
87
  snaptrade_client/model/__init__.py,sha256=ayi2MIzcf0eAIsY13ToiNplV9tW-pMBFrC0I9yckGM8,350
@@ -490,8 +490,8 @@ snaptrade_client/paths/accounts_account_id_quotes/__init__.py,sha256=_EWd0irMSNi
490
490
  snaptrade_client/paths/accounts_account_id_quotes/get.py,sha256=JADR5PB0JVGiRBwWaKhRj4w4BlRMu96p6WPEvVVivE0,20735
491
491
  snaptrade_client/paths/accounts_account_id_quotes/get.pyi,sha256=xsIXCJCcHZ8aCS-ammQ75NSiPP1HJdyf4IExstlmysk,20541
492
492
  snaptrade_client/paths/accounts_account_id_recent_orders/__init__.py,sha256=9ZDFg99fFJZ_6RAxHQkzGxuUu5HjiU25zdIc3huER-c,357
493
- snaptrade_client/paths/accounts_account_id_recent_orders/get.py,sha256=84L0viTmOUCXL0N5HjYNpvdTtOLeAbvTb7GaBMR3AOM,21657
494
- snaptrade_client/paths/accounts_account_id_recent_orders/get.pyi,sha256=tuVF4yvT-SuGmssaNoEI-_DzbXdC_tQC7_8Rg4UXEtY,21433
493
+ snaptrade_client/paths/accounts_account_id_recent_orders/get.py,sha256=RlXmtJechnB0fy4k9Oc_IORIOI1EBJRtXjMw25ZDyOo,21181
494
+ snaptrade_client/paths/accounts_account_id_recent_orders/get.pyi,sha256=UUIoxVf2ftAabGnqc0i4QKrw93NUm9lZKCLu0MutAhc,20957
495
495
  snaptrade_client/paths/accounts_account_id_recent_orders_v2/__init__.py,sha256=3K2mIfhY1oJOi2Dh8VB4JIVmm7d_ycX84OIJrIeA6GI,363
496
496
  snaptrade_client/paths/accounts_account_id_recent_orders_v2/get.py,sha256=Y6ojHr2wzxogyQJE74RiO8gmgS0vVCnq2Q_NSZ_cK1Q,21796
497
497
  snaptrade_client/paths/accounts_account_id_recent_orders_v2/get.pyi,sha256=25qOuNimxw0x2CB6Mn9tL1FduTa27vtZuvEa-QVMvl8,21572
@@ -639,7 +639,7 @@ snaptrade_client/type/account_order_record_v2.py,sha256=NTXb_MdxQpisEDff7Agl_oaD
639
639
  snaptrade_client/type/account_orders_v2_response.py,sha256=HD_kh69S73Cd7zKLxaMyTZrIV0KqDEfhgt0DhoIUTAA,773
640
640
  snaptrade_client/type/account_simple.py,sha256=4vmKftyvxG72FXtiS0wG4IK81rfBvjcFcGO0j1NVvDo,1133
641
641
  snaptrade_client/type/account_sync_status.py,sha256=i85qixRiLAFDJo0sYiSATocIuPv-ZEgwPkZaiMjKD58,776
642
- snaptrade_client/type/account_universal_activity.py,sha256=D0u1v5AyhYmCv8Fxo15bra7kKO7C3NF0CWmPoqzpYLk,4966
642
+ snaptrade_client/type/account_universal_activity.py,sha256=PAe4CLgFZJMyrlxD8XvI6styZ6X9UKumCuHejg2zYMk,5275
643
643
  snaptrade_client/type/action.py,sha256=BzULR2JGyYNDNh6nVrwt3TFY0t-sJHAcudzC0UFxio4,384
644
644
  snaptrade_client/type/action_strict.py,sha256=9My8RBJY53S5Ou7fqF8n_yOw0exE02uCqQ1kz45dwUg,409
645
645
  snaptrade_client/type/action_strict_v2.py,sha256=7vKcG-RLpVYIXV5aNH99mC3XwTeZLSvB7NSQhqj6wC4,392
@@ -712,7 +712,7 @@ snaptrade_client/type/mleg_order_type_strict.py,sha256=H0ohzOGBhguMfcPcivR6okWmi
712
712
  snaptrade_client/type/mleg_price_effect_strict.py,sha256=FLgR9dsd7-6Jef80Oru6HxHPB-NY_T3hEDU8XCZCMl8,430
713
713
  snaptrade_client/type/mleg_price_effect_strict_nullable.py,sha256=gmek61AQ4HoAcND-PGFoq9n0tZFejMF-2EVRZD4ijTY,438
714
714
  snaptrade_client/type/mleg_trade_form.py,sha256=IYc3n_Ne1bLJhvWqUHAUU8aaWuWcm-0OYc3WasfY2e0,1254
715
- snaptrade_client/type/mleg_trading_instrument.py,sha256=fut3MIv6W_khvmMThzgzYJcldDo0PBtZv015nejd4_4,1084
715
+ snaptrade_client/type/mleg_trading_instrument.py,sha256=2e4Bpbswk6ZaQNUueWKXkWggcfdIWXQMIwErTJzl-ss,1084
716
716
  snaptrade_client/type/model400_failed_request_response.py,sha256=qPCGjN-VGmrou9vOFqcN28P-nIMqGOFbBY7VnQslV3A,810
717
717
  snaptrade_client/type/model401_failed_request_response.py,sha256=6FpcrEI32paLdxMpqwpRHOQjU5PH5mIzybQqJAmoTW8,810
718
718
  snaptrade_client/type/model402_brokerage_auth_already_disabled_exception.py,sha256=tsq_LdzJcBnCREMnpu6qGnCCd2YVj9UVJ0ra9TolbxE,874
@@ -785,7 +785,7 @@ snaptrade_client/type/time.py,sha256=8wOcPUj4gua_yXsX_ywzTW7rVXSOh7zY-x-BSiQfiaY
785
785
  snaptrade_client/type/time_in_force.py,sha256=KNosd1xbe4B8AFAZFi0P68wPreUz9w8W0gZWGvKeDEM,389
786
786
  snaptrade_client/type/time_in_force_strict.py,sha256=opH8YGpacD-5SD11dF_fpESJ1TERnbnkLvlKjs-dYQY,427
787
787
  snaptrade_client/type/trade_id.py,sha256=4iIIlK2A4Shut27nLvw6HRPv6BXGDHNJ5Xer84K9i8s,385
788
- snaptrade_client/type/trading_instrument.py,sha256=SiJ4-of50dQuHccuZA5iozAR7rMjicxpTe8wqTt-BAU,994
788
+ snaptrade_client/type/trading_instrument.py,sha256=WHsPcNzF97CY_Ko7OJv9kbEJDM3X4JtmMFUBoqGiauw,994
789
789
  snaptrade_client/type/trading_session.py,sha256=hbmiQ9mRl0qQvAqLyj1FCD9whTNIprGOW1UWI3pH5Z8,419
790
790
  snaptrade_client/type/transactions_status.py,sha256=W-SlpGb9dhxOBY7d2KNSi1H1sDw4oAUX7c0kYuA-GsM,1199
791
791
  snaptrade_client/type/underlying_symbol.py,sha256=lne2ye556eJXKZxpureuSKd4Ebd4KrhWN8RmySjzkX0,2526
@@ -803,7 +803,7 @@ snaptrade_client/type/user_secret.py,sha256=pKCVhqf1rROHwa6tvoyA5OAKXCBAmNDvIQCf
803
803
  snaptrade_client/type/validated_trade_body.py,sha256=ZIPBQWii_a-9zHaBCJ6bQtmL1_I7AG0zwuvkY-ZQ6R4,890
804
804
  snaptrade_client/type_util.py,sha256=JIrMYgJzd4IJ8Ne2vqcahlPA9dVmphL9sn8gwccCB4Y,563
805
805
  snaptrade_client/validation_metadata.py,sha256=VTN5y-NudHXok1X468J4PnGze_tGEAcs1v3gsXmcrb0,3172
806
- snaptrade_python_sdk-11.0.151.dist-info/LICENSE,sha256=W_1kcxEzOnZXIYJ1GVUipbmUu6dNLt-Pc-OI55h3k-A,1081
807
- snaptrade_python_sdk-11.0.151.dist-info/METADATA,sha256=hZu8ngNjiFjx3aLUgckefS0fr4c4ZDz1r5mxxbvyP9E,100996
808
- snaptrade_python_sdk-11.0.151.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
809
- snaptrade_python_sdk-11.0.151.dist-info/RECORD,,
806
+ snaptrade_python_sdk-11.0.153.dist-info/LICENSE,sha256=W_1kcxEzOnZXIYJ1GVUipbmUu6dNLt-Pc-OI55h3k-A,1081
807
+ snaptrade_python_sdk-11.0.153.dist-info/METADATA,sha256=Vtt2Hrae8ZHG_vaWRH0m7yjki9xAtvdrPQuD_fxKOTo,100758
808
+ snaptrade_python_sdk-11.0.153.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
809
+ snaptrade_python_sdk-11.0.153.dist-info/RECORD,,