snaptrade-python-sdk 11.0.123__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/apis/path_to_api.py +0 -9
- snaptrade_client/apis/tags/options_api_generated.py +0 -6
- snaptrade_client/configuration.py +1 -1
- snaptrade_client/operation_parameter_map.py +0 -63
- snaptrade_client/paths/__init__.py +0 -3
- 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.123.dist-info → snaptrade_python_sdk-11.0.125.dist-info}/METADATA +16 -158
- {snaptrade_python_sdk-11.0.123.dist-info → snaptrade_python_sdk-11.0.125.dist-info}/RECORD +15 -27
- snaptrade_client/apis/paths/accounts_account_id_option_strategy.py +0 -7
- snaptrade_client/apis/paths/accounts_account_id_option_strategy_option_strategy_id.py +0 -7
- snaptrade_client/apis/paths/accounts_account_id_option_strategy_option_strategy_id_execute.py +0 -7
- snaptrade_client/paths/accounts_account_id_option_strategy/__init__.py +0 -7
- snaptrade_client/paths/accounts_account_id_option_strategy/post.py +0 -731
- snaptrade_client/paths/accounts_account_id_option_strategy/post.pyi +0 -714
- snaptrade_client/paths/accounts_account_id_option_strategy_option_strategy_id/__init__.py +0 -7
- snaptrade_client/paths/accounts_account_id_option_strategy_option_strategy_id/get.py +0 -537
- snaptrade_client/paths/accounts_account_id_option_strategy_option_strategy_id/get.pyi +0 -526
- snaptrade_client/paths/accounts_account_id_option_strategy_option_strategy_id_execute/__init__.py +0 -7
- snaptrade_client/paths/accounts_account_id_option_strategy_option_strategy_id_execute/post.py +0 -723
- snaptrade_client/paths/accounts_account_id_option_strategy_option_strategy_id_execute/post.pyi +0 -712
- {snaptrade_python_sdk-11.0.123.dist-info → snaptrade_python_sdk-11.0.125.dist-info}/LICENSE +0 -0
- {snaptrade_python_sdk-11.0.123.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
|
|
@@ -26,9 +26,6 @@ from snaptrade_client.apis.paths.accounts_account_id_return_rates import Account
|
|
|
26
26
|
from snaptrade_client.apis.paths.accounts_account_id_activities import AccountsAccountIdActivities
|
|
27
27
|
from snaptrade_client.apis.paths.accounts_account_id_options import AccountsAccountIdOptions
|
|
28
28
|
from snaptrade_client.apis.paths.accounts_account_id_options_chain import AccountsAccountIdOptionsChain
|
|
29
|
-
from snaptrade_client.apis.paths.accounts_account_id_option_strategy import AccountsAccountIdOptionStrategy
|
|
30
|
-
from snaptrade_client.apis.paths.accounts_account_id_option_strategy_option_strategy_id import AccountsAccountIdOptionStrategyOptionStrategyId
|
|
31
|
-
from snaptrade_client.apis.paths.accounts_account_id_option_strategy_option_strategy_id_execute import AccountsAccountIdOptionStrategyOptionStrategyIdExecute
|
|
32
29
|
from snaptrade_client.apis.paths.activities import Activities
|
|
33
30
|
from snaptrade_client.apis.paths.performance_custom import PerformanceCustom
|
|
34
31
|
from snaptrade_client.apis.paths.accounts_account_id_quotes import AccountsAccountIdQuotes
|
|
@@ -85,9 +82,6 @@ PathToApi = typing_extensions.TypedDict(
|
|
|
85
82
|
PathValues.ACCOUNTS_ACCOUNT_ID_ACTIVITIES: AccountsAccountIdActivities,
|
|
86
83
|
PathValues.ACCOUNTS_ACCOUNT_ID_OPTIONS: AccountsAccountIdOptions,
|
|
87
84
|
PathValues.ACCOUNTS_ACCOUNT_ID_OPTIONS_CHAIN: AccountsAccountIdOptionsChain,
|
|
88
|
-
PathValues.ACCOUNTS_ACCOUNT_ID_OPTION_STRATEGY: AccountsAccountIdOptionStrategy,
|
|
89
|
-
PathValues.ACCOUNTS_ACCOUNT_ID_OPTION_STRATEGY_OPTION_STRATEGY_ID: AccountsAccountIdOptionStrategyOptionStrategyId,
|
|
90
|
-
PathValues.ACCOUNTS_ACCOUNT_ID_OPTION_STRATEGY_OPTION_STRATEGY_ID_EXECUTE: AccountsAccountIdOptionStrategyOptionStrategyIdExecute,
|
|
91
85
|
PathValues.ACTIVITIES: Activities,
|
|
92
86
|
PathValues.PERFORMANCE_CUSTOM: PerformanceCustom,
|
|
93
87
|
PathValues.ACCOUNTS_ACCOUNT_ID_QUOTES: AccountsAccountIdQuotes,
|
|
@@ -145,9 +139,6 @@ path_to_api = PathToApi(
|
|
|
145
139
|
PathValues.ACCOUNTS_ACCOUNT_ID_ACTIVITIES: AccountsAccountIdActivities,
|
|
146
140
|
PathValues.ACCOUNTS_ACCOUNT_ID_OPTIONS: AccountsAccountIdOptions,
|
|
147
141
|
PathValues.ACCOUNTS_ACCOUNT_ID_OPTIONS_CHAIN: AccountsAccountIdOptionsChain,
|
|
148
|
-
PathValues.ACCOUNTS_ACCOUNT_ID_OPTION_STRATEGY: AccountsAccountIdOptionStrategy,
|
|
149
|
-
PathValues.ACCOUNTS_ACCOUNT_ID_OPTION_STRATEGY_OPTION_STRATEGY_ID: AccountsAccountIdOptionStrategyOptionStrategyId,
|
|
150
|
-
PathValues.ACCOUNTS_ACCOUNT_ID_OPTION_STRATEGY_OPTION_STRATEGY_ID_EXECUTE: AccountsAccountIdOptionStrategyOptionStrategyIdExecute,
|
|
151
142
|
PathValues.ACTIVITIES: Activities,
|
|
152
143
|
PathValues.PERFORMANCE_CUSTOM: PerformanceCustom,
|
|
153
144
|
PathValues.ACCOUNTS_ACCOUNT_ID_QUOTES: AccountsAccountIdQuotes,
|
|
@@ -9,19 +9,13 @@
|
|
|
9
9
|
Created by: https://snaptrade.com/
|
|
10
10
|
"""
|
|
11
11
|
|
|
12
|
-
from snaptrade_client.paths.accounts_account_id_option_strategy.post import GetOptionStrategy
|
|
13
12
|
from snaptrade_client.paths.accounts_account_id_options_chain.get import GetOptionsChain
|
|
14
|
-
from snaptrade_client.paths.accounts_account_id_option_strategy_option_strategy_id.get import GetOptionsStrategyQuote
|
|
15
13
|
from snaptrade_client.paths.accounts_account_id_options.get import ListOptionHoldings
|
|
16
|
-
from snaptrade_client.paths.accounts_account_id_option_strategy_option_strategy_id_execute.post import PlaceOptionStrategy
|
|
17
14
|
|
|
18
15
|
|
|
19
16
|
class OptionsApiGenerated(
|
|
20
|
-
GetOptionStrategy,
|
|
21
17
|
GetOptionsChain,
|
|
22
|
-
GetOptionsStrategyQuote,
|
|
23
18
|
ListOptionHoldings,
|
|
24
|
-
PlaceOptionStrategy,
|
|
25
19
|
):
|
|
26
20
|
"""NOTE:
|
|
27
21
|
This class is auto generated by Konfig (https://konfigthis.com)
|
|
@@ -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):
|
|
@@ -327,28 +327,6 @@ operation_parameter_map = {
|
|
|
327
327
|
},
|
|
328
328
|
]
|
|
329
329
|
},
|
|
330
|
-
'/accounts/{accountId}/optionStrategy-POST': {
|
|
331
|
-
'parameters': [
|
|
332
|
-
{
|
|
333
|
-
'name': 'underlying_symbol_id'
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
'name': 'legs'
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
'name': 'strategy_type'
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
'name': 'userId'
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
'name': 'userSecret'
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
'name': 'accountId'
|
|
349
|
-
},
|
|
350
|
-
]
|
|
351
|
-
},
|
|
352
330
|
'/accounts/{accountId}/optionsChain-GET': {
|
|
353
331
|
'parameters': [
|
|
354
332
|
{
|
|
@@ -365,22 +343,6 @@ operation_parameter_map = {
|
|
|
365
343
|
},
|
|
366
344
|
]
|
|
367
345
|
},
|
|
368
|
-
'/accounts/{accountId}/optionStrategy/{optionStrategyId}-GET': {
|
|
369
|
-
'parameters': [
|
|
370
|
-
{
|
|
371
|
-
'name': 'userId'
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
'name': 'userSecret'
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
'name': 'accountId'
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
'name': 'optionStrategyId'
|
|
381
|
-
},
|
|
382
|
-
]
|
|
383
|
-
},
|
|
384
346
|
'/accounts/{accountId}/options-GET': {
|
|
385
347
|
'parameters': [
|
|
386
348
|
{
|
|
@@ -394,31 +356,6 @@ operation_parameter_map = {
|
|
|
394
356
|
},
|
|
395
357
|
]
|
|
396
358
|
},
|
|
397
|
-
'/accounts/{accountId}/optionStrategy/{optionStrategyId}/execute-POST': {
|
|
398
|
-
'parameters': [
|
|
399
|
-
{
|
|
400
|
-
'name': 'order_type'
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
'name': 'time_in_force'
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
'name': 'userId'
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
'name': 'userSecret'
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
'name': 'accountId'
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
'name': 'optionStrategyId'
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
'name': 'price'
|
|
419
|
-
},
|
|
420
|
-
]
|
|
421
|
-
},
|
|
422
359
|
'/currencies/rates/{currencyPair}-GET': {
|
|
423
360
|
'parameters': [
|
|
424
361
|
{
|
|
@@ -31,9 +31,6 @@ class PathValues(str, enum.Enum):
|
|
|
31
31
|
ACCOUNTS_ACCOUNT_ID_ACTIVITIES = "/accounts/{accountId}/activities"
|
|
32
32
|
ACCOUNTS_ACCOUNT_ID_OPTIONS = "/accounts/{accountId}/options"
|
|
33
33
|
ACCOUNTS_ACCOUNT_ID_OPTIONS_CHAIN = "/accounts/{accountId}/optionsChain"
|
|
34
|
-
ACCOUNTS_ACCOUNT_ID_OPTION_STRATEGY = "/accounts/{accountId}/optionStrategy"
|
|
35
|
-
ACCOUNTS_ACCOUNT_ID_OPTION_STRATEGY_OPTION_STRATEGY_ID = "/accounts/{accountId}/optionStrategy/{optionStrategyId}"
|
|
36
|
-
ACCOUNTS_ACCOUNT_ID_OPTION_STRATEGY_OPTION_STRATEGY_ID_EXECUTE = "/accounts/{accountId}/optionStrategy/{optionStrategyId}/execute"
|
|
37
34
|
ACTIVITIES = "/activities"
|
|
38
35
|
PERFORMANCE_CUSTOM = "/performance/custom"
|
|
39
36
|
ACCOUNTS_ACCOUNT_ID_QUOTES = "/accounts/{accountId}/quotes"
|
|
@@ -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.123.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
|
|
|
@@ -70,11 +70,8 @@ Connect brokerage accounts to your app for live positions and trading
|
|
|
70
70
|
* [`snaptrade.connections.remove_brokerage_authorization`](#snaptradeconnectionsremove_brokerage_authorization)
|
|
71
71
|
* [`snaptrade.connections.return_rates`](#snaptradeconnectionsreturn_rates)
|
|
72
72
|
* [`snaptrade.connections.session_events`](#snaptradeconnectionssession_events)
|
|
73
|
-
* [`snaptrade.options.get_option_strategy`](#snaptradeoptionsget_option_strategy)
|
|
74
73
|
* [`snaptrade.options.get_options_chain`](#snaptradeoptionsget_options_chain)
|
|
75
|
-
* [`snaptrade.options.get_options_strategy_quote`](#snaptradeoptionsget_options_strategy_quote)
|
|
76
74
|
* [`snaptrade.options.list_option_holdings`](#snaptradeoptionslist_option_holdings)
|
|
77
|
-
* [`snaptrade.options.place_option_strategy`](#snaptradeoptionsplace_option_strategy)
|
|
78
75
|
* [`snaptrade.reference_data.get_currency_exchange_rate_pair`](#snaptradereference_dataget_currency_exchange_rate_pair)
|
|
79
76
|
* [`snaptrade.reference_data.get_partner_info`](#snaptradereference_dataget_partner_info)
|
|
80
77
|
* [`snaptrade.reference_data.get_security_types`](#snaptradereference_dataget_security_types)
|
|
@@ -112,7 +109,7 @@ Python >=3.8
|
|
|
112
109
|
## Installation<a id="installation"></a>
|
|
113
110
|
|
|
114
111
|
```sh
|
|
115
|
-
pip install snaptrade-python-sdk==11.0.
|
|
112
|
+
pip install snaptrade-python-sdk==11.0.125
|
|
116
113
|
```
|
|
117
114
|
|
|
118
115
|
## Getting Started<a id="getting-started"></a>
|
|
@@ -404,7 +401,11 @@ get_user_account_details_response = (
|
|
|
404
401
|
|
|
405
402
|
### `snaptrade.account_information.get_user_account_order_detail`<a id="snaptradeaccount_informationget_user_account_order_detail"></a>
|
|
406
403
|
|
|
407
|
-
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.
|
|
408
409
|
|
|
409
410
|
|
|
410
411
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
@@ -1184,61 +1185,6 @@ Optional comma separated list of session IDs used to filter the request on speci
|
|
|
1184
1185
|
|
|
1185
1186
|
---
|
|
1186
1187
|
|
|
1187
|
-
### `snaptrade.options.get_option_strategy`<a id="snaptradeoptionsget_option_strategy"></a>
|
|
1188
|
-
|
|
1189
|
-
Creates an option strategy object that will be used to place an option strategy order.
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
1193
|
-
|
|
1194
|
-
```python
|
|
1195
|
-
get_option_strategy_response = snaptrade.options.get_option_strategy(
|
|
1196
|
-
underlying_symbol_id="2bcd7cc3-e922-4976-bce1-9858296801c3",
|
|
1197
|
-
legs=[
|
|
1198
|
-
{
|
|
1199
|
-
"action": "BUY_TO_OPEN",
|
|
1200
|
-
"option_symbol_id": "SPY220819P00200000",
|
|
1201
|
-
"quantity": 1,
|
|
1202
|
-
}
|
|
1203
|
-
],
|
|
1204
|
-
strategy_type="CUSTOM",
|
|
1205
|
-
user_id="snaptrade-user-123",
|
|
1206
|
-
user_secret="adf2aa34-8219-40f7-a6b3-60156985cc61",
|
|
1207
|
-
account_id="accountId_example",
|
|
1208
|
-
)
|
|
1209
|
-
```
|
|
1210
|
-
|
|
1211
|
-
#### ⚙️ Parameters<a id="⚙️-parameters"></a>
|
|
1212
|
-
|
|
1213
|
-
##### underlying_symbol_id: `str`<a id="underlying_symbol_id-str"></a>
|
|
1214
|
-
|
|
1215
|
-
##### legs: List[`OptionLeg`]<a id="legs-listoptionleg"></a>
|
|
1216
|
-
|
|
1217
|
-
##### strategy_type: `str`<a id="strategy_type-str"></a>
|
|
1218
|
-
|
|
1219
|
-
##### user_id: `str`<a id="user_id-str"></a>
|
|
1220
|
-
|
|
1221
|
-
##### user_secret: `str`<a id="user_secret-str"></a>
|
|
1222
|
-
|
|
1223
|
-
##### account_id: `str`<a id="account_id-str"></a>
|
|
1224
|
-
|
|
1225
|
-
The ID of the account to create the option strategy object in.
|
|
1226
|
-
|
|
1227
|
-
#### ⚙️ Request Body<a id="⚙️-request-body"></a>
|
|
1228
|
-
|
|
1229
|
-
[`Any`](./snaptrade_client/type/typing_any.py)
|
|
1230
|
-
#### 🔄 Return<a id="🔄-return"></a>
|
|
1231
|
-
|
|
1232
|
-
[`StrategyQuotes`](./snaptrade_client/type/strategy_quotes.py)
|
|
1233
|
-
|
|
1234
|
-
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
|
1235
|
-
|
|
1236
|
-
`/accounts/{accountId}/optionStrategy` `post`
|
|
1237
|
-
|
|
1238
|
-
[🔙 **Back to Table of Contents**](#table-of-contents)
|
|
1239
|
-
|
|
1240
|
-
---
|
|
1241
|
-
|
|
1242
1188
|
### `snaptrade.options.get_options_chain`<a id="snaptradeoptionsget_options_chain"></a>
|
|
1243
1189
|
|
|
1244
1190
|
Returns the option chain for the specified symbol in the specified account.
|
|
@@ -1280,48 +1226,6 @@ Universal symbol ID if symbol
|
|
|
1280
1226
|
|
|
1281
1227
|
---
|
|
1282
1228
|
|
|
1283
|
-
### `snaptrade.options.get_options_strategy_quote`<a id="snaptradeoptionsget_options_strategy_quote"></a>
|
|
1284
|
-
|
|
1285
|
-
Returns a Strategy Quotes object which has latest market data of the specified option strategy.
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
1289
|
-
|
|
1290
|
-
```python
|
|
1291
|
-
get_options_strategy_quote_response = snaptrade.options.get_options_strategy_quote(
|
|
1292
|
-
user_id="snaptrade-user-123",
|
|
1293
|
-
user_secret="adf2aa34-8219-40f7-a6b3-60156985cc61",
|
|
1294
|
-
account_id="accountId_example",
|
|
1295
|
-
option_strategy_id="2bcd7cc3-e922-4976-bce1-9858296801c3",
|
|
1296
|
-
)
|
|
1297
|
-
```
|
|
1298
|
-
|
|
1299
|
-
#### ⚙️ Parameters<a id="⚙️-parameters"></a>
|
|
1300
|
-
|
|
1301
|
-
##### user_id: `str`<a id="user_id-str"></a>
|
|
1302
|
-
|
|
1303
|
-
##### user_secret: `str`<a id="user_secret-str"></a>
|
|
1304
|
-
|
|
1305
|
-
##### account_id: `str`<a id="account_id-str"></a>
|
|
1306
|
-
|
|
1307
|
-
The ID of the account the strategy will be placed in.
|
|
1308
|
-
|
|
1309
|
-
##### option_strategy_id: `str`<a id="option_strategy_id-str"></a>
|
|
1310
|
-
|
|
1311
|
-
Option strategy id obtained from response when creating option strategy object
|
|
1312
|
-
|
|
1313
|
-
#### 🔄 Return<a id="🔄-return"></a>
|
|
1314
|
-
|
|
1315
|
-
[`StrategyQuotes`](./snaptrade_client/type/strategy_quotes.py)
|
|
1316
|
-
|
|
1317
|
-
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
|
1318
|
-
|
|
1319
|
-
`/accounts/{accountId}/optionStrategy/{optionStrategyId}` `get`
|
|
1320
|
-
|
|
1321
|
-
[🔙 **Back to Table of Contents**](#table-of-contents)
|
|
1322
|
-
|
|
1323
|
-
---
|
|
1324
|
-
|
|
1325
1229
|
### `snaptrade.options.list_option_holdings`<a id="snaptradeoptionslist_option_holdings"></a>
|
|
1326
1230
|
|
|
1327
1231
|
Returns a list of option positions in the specified account. For stock/ETF/crypto/mutual fund positions, please use the [positions endpoint](/reference/Account%20Information/AccountInformation_getUserAccountPositions).
|
|
@@ -1359,59 +1263,6 @@ list_option_holdings_response = snaptrade.options.list_option_holdings(
|
|
|
1359
1263
|
|
|
1360
1264
|
---
|
|
1361
1265
|
|
|
1362
|
-
### `snaptrade.options.place_option_strategy`<a id="snaptradeoptionsplace_option_strategy"></a>
|
|
1363
|
-
|
|
1364
|
-
Places the option strategy order and returns the order record received from the brokerage.
|
|
1365
|
-
|
|
1366
|
-
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
1367
|
-
|
|
1368
|
-
```python
|
|
1369
|
-
place_option_strategy_response = snaptrade.options.place_option_strategy(
|
|
1370
|
-
order_type="Market",
|
|
1371
|
-
time_in_force="Day",
|
|
1372
|
-
user_id="snaptrade-user-123",
|
|
1373
|
-
user_secret="adf2aa34-8219-40f7-a6b3-60156985cc61",
|
|
1374
|
-
account_id="2bcd7cc3-e922-4976-bce1-9858296801c3",
|
|
1375
|
-
option_strategy_id="2bcd7cc3-e922-4976-bce1-9858296801c3",
|
|
1376
|
-
price=31.33,
|
|
1377
|
-
)
|
|
1378
|
-
```
|
|
1379
|
-
|
|
1380
|
-
#### ⚙️ Parameters<a id="⚙️-parameters"></a>
|
|
1381
|
-
|
|
1382
|
-
##### order_type: [`OrderTypeStrict`](./snaptrade_client/type/order_type_strict.py)<a id="order_type-ordertypestrictsnaptrade_clienttypeorder_type_strictpy"></a>
|
|
1383
|
-
|
|
1384
|
-
##### time_in_force: [`TimeInForceStrict`](./snaptrade_client/type/time_in_force_strict.py)<a id="time_in_force-timeinforcestrictsnaptrade_clienttypetime_in_force_strictpy"></a>
|
|
1385
|
-
|
|
1386
|
-
##### user_id: `str`<a id="user_id-str"></a>
|
|
1387
|
-
|
|
1388
|
-
##### user_secret: `str`<a id="user_secret-str"></a>
|
|
1389
|
-
|
|
1390
|
-
##### account_id: `str`<a id="account_id-str"></a>
|
|
1391
|
-
|
|
1392
|
-
The ID of the account to execute the strategy in.
|
|
1393
|
-
|
|
1394
|
-
##### option_strategy_id: `str`<a id="option_strategy_id-str"></a>
|
|
1395
|
-
|
|
1396
|
-
Option strategy id obtained from response when creating option strategy object
|
|
1397
|
-
|
|
1398
|
-
##### price: [`Price`](./snaptrade_client/type/price.py)<a id="price-pricesnaptrade_clienttypepricepy"></a>
|
|
1399
|
-
|
|
1400
|
-
#### ⚙️ Request Body<a id="⚙️-request-body"></a>
|
|
1401
|
-
|
|
1402
|
-
[`Any`](./snaptrade_client/type/typing_any.py)
|
|
1403
|
-
#### 🔄 Return<a id="🔄-return"></a>
|
|
1404
|
-
|
|
1405
|
-
[`StrategyOrderRecord`](./snaptrade_client/type/strategy_order_record.py)
|
|
1406
|
-
|
|
1407
|
-
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
|
1408
|
-
|
|
1409
|
-
`/accounts/{accountId}/optionStrategy/{optionStrategyId}/execute` `post`
|
|
1410
|
-
|
|
1411
|
-
[🔙 **Back to Table of Contents**](#table-of-contents)
|
|
1412
|
-
|
|
1413
|
-
---
|
|
1414
|
-
|
|
1415
1266
|
### `snaptrade.reference_data.get_currency_exchange_rate_pair`<a id="snaptradereference_dataget_currency_exchange_rate_pair"></a>
|
|
1416
1267
|
|
|
1417
1268
|
Returns an Exchange Rate Pair object for the specified Currency Pair.
|
|
@@ -1951,7 +1802,14 @@ The price at which a stop order is triggered for `Stop` and `StopLimit` orders.
|
|
|
1951
1802
|
|
|
1952
1803
|
### `snaptrade.trading.get_user_account_quotes`<a id="snaptradetradingget_user_account_quotes"></a>
|
|
1953
1804
|
|
|
1954
|
-
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
|
+
|
|
1955
1813
|
|
|
1956
1814
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
1957
1815
|
|
|
@@ -1,17 +1,14 @@
|
|
|
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
|
-
snaptrade_client/apis/path_to_api.py,sha256=
|
|
5
|
+
snaptrade_client/apis/path_to_api.py,sha256=TAkgurFDUikq9Y0iZNyipgF_-Lz2RQtesp80-ZRw1C0,12417
|
|
6
6
|
snaptrade_client/apis/paths/__init__.py,sha256=oIb-tz_ei5m0RWOOB0qXTkBKu61nYtwOUlWvQbD5gFE,243
|
|
7
7
|
snaptrade_client/apis/paths/accounts.py,sha256=aHSwrwNqPSa2ikmR-WP0dg2LbRBSNBB3n3_2OTCcxs4,103
|
|
8
8
|
snaptrade_client/apis/paths/accounts_account_id.py,sha256=Xv0hHwov50tVcdtqCS-Np0BmqMhUwrvjIQLaa9yPF3U,207
|
|
9
9
|
snaptrade_client/apis/paths/accounts_account_id_activities.py,sha256=ZzMgswkVGj_a9X3IoTm_wQ8yyHOMCVM2FVXlC2p7ntM,144
|
|
10
10
|
snaptrade_client/apis/paths/accounts_account_id_balances.py,sha256=dxrBnM_kJmk-yawUtuhDDzbbARl9s0DUStB4VdRWQCY,140
|
|
11
11
|
snaptrade_client/apis/paths/accounts_account_id_holdings.py,sha256=QCqmgaPTw1AhlKeS0d0Wjcp7juKTjvmLte2iZr6ue7M,140
|
|
12
|
-
snaptrade_client/apis/paths/accounts_account_id_option_strategy.py,sha256=UA4KKdFD0gU5sfP9IXPZJn4sgGbzq-nVKqfUEQer3i0,156
|
|
13
|
-
snaptrade_client/apis/paths/accounts_account_id_option_strategy_option_strategy_id.py,sha256=b_qgQ0FG2SVG4z2tnzMUvbrAqoPWOYM6vUsQfdcBmZE,188
|
|
14
|
-
snaptrade_client/apis/paths/accounts_account_id_option_strategy_option_strategy_id_execute.py,sha256=G5-xavqn_Hxe4SynfmG_BLF2qWxDO_dExaAdycnybIg,206
|
|
15
12
|
snaptrade_client/apis/paths/accounts_account_id_options.py,sha256=Q2BpJm_phHSqbhC-fSqsnCkL2GTGhaoHuVC51x_pLoI,138
|
|
16
13
|
snaptrade_client/apis/paths/accounts_account_id_options_chain.py,sha256=0x2p_tMUy8K8Kx1R0KQVdp5M03qwddDufPS2aZbtqO8,149
|
|
17
14
|
snaptrade_client/apis/paths/accounts_account_id_orders.py,sha256=2rP-vnv9VQm1Acdw0d8iaFYGFI5XqiP0XBYXeJ9kHaw,136
|
|
@@ -70,7 +67,7 @@ snaptrade_client/apis/tags/authentication_api_generated.py,sha256=Gt6muDG-vWm-Z8
|
|
|
70
67
|
snaptrade_client/apis/tags/connections_api.py,sha256=pNGuSjvX2Fg2IJymMvM3DcoUllKUmUQQpTtLVbY2Yi8,163
|
|
71
68
|
snaptrade_client/apis/tags/connections_api_generated.py,sha256=inWc0qR9q4SFyTWsfw_iI8foMNGaQ6oeZ1LaQy_qnjQ,1242
|
|
72
69
|
snaptrade_client/apis/tags/options_api.py,sha256=tl2HI1JChvEGrE5mcSLN85Ah5AHtjVa4n8Hx7GY-ZNA,147
|
|
73
|
-
snaptrade_client/apis/tags/options_api_generated.py,sha256=
|
|
70
|
+
snaptrade_client/apis/tags/options_api_generated.py,sha256=cZibnPAKx1t5eoDBuMrjE1Gty5Kso9jqzTsUhE-M4Jg,582
|
|
74
71
|
snaptrade_client/apis/tags/reference_data_api.py,sha256=DdmRsoiG7nLk8EgXWT1KvurcQnPYAlr1Dz0kdpdWGRQ,172
|
|
75
72
|
snaptrade_client/apis/tags/reference_data_api_generated.py,sha256=F5uv2WsIYX7z8P86b8W8gjMjJU46L6GWs6WFJjKW17Y,1635
|
|
76
73
|
snaptrade_client/apis/tags/trading_api.py,sha256=J0L9w7V4uoH3_fkvmJhpVQTIUQCACBgrb_QQ7VTILqI,147
|
|
@@ -80,7 +77,7 @@ snaptrade_client/apis/tags/transactions_and_reporting_api_generated.py,sha256=Tw
|
|
|
80
77
|
snaptrade_client/client.py,sha256=goDwWRv9909OPXDnGGYst_mr53bg6RUs4PwIvnrl_kE,2116
|
|
81
78
|
snaptrade_client/client.pyi,sha256=goDwWRv9909OPXDnGGYst_mr53bg6RUs4PwIvnrl_kE,2116
|
|
82
79
|
snaptrade_client/client_custom.py,sha256=Jx9ulCzelMFlESjzVFQSjBlYcH4dWxSJJWZDMPLyetM,745
|
|
83
|
-
snaptrade_client/configuration.py,sha256=
|
|
80
|
+
snaptrade_client/configuration.py,sha256=CyItPT1RPvAazNoyZQwKENGYjd2ROt7_jTuzwWkVTO4,19262
|
|
84
81
|
snaptrade_client/exceptions.py,sha256=X0apI_sgQpGpa-qIqPUClReCdHAxeSuA6GW0YH_RsWg,7771
|
|
85
82
|
snaptrade_client/exceptions_base.py,sha256=LAQkaC5C61-SdBLfyMjb0K7AYJkWVuLmg2uCvHa71FM,2274
|
|
86
83
|
snaptrade_client/model/__init__.py,sha256=ayi2MIzcf0eAIsY13ToiNplV9tW-pMBFrC0I9yckGM8,350
|
|
@@ -425,8 +422,8 @@ snaptrade_client/model/user_secret.pyi,sha256=7xf__S566WtTq7VthmdVtrCBIfgpnYWYqE
|
|
|
425
422
|
snaptrade_client/model/validated_trade_body.py,sha256=NkTel1ulgSjBd6K7vur6puEbfrg3u1vdmtUKArOu8ws,3085
|
|
426
423
|
snaptrade_client/model/validated_trade_body.pyi,sha256=NkTel1ulgSjBd6K7vur6puEbfrg3u1vdmtUKArOu8ws,3085
|
|
427
424
|
snaptrade_client/models/__init__.py,sha256=nEO5bHCM19h-AQp0rl6XNHrTZ4Aw4ffqVOPRYOPOr_I,13312
|
|
428
|
-
snaptrade_client/operation_parameter_map.py,sha256=
|
|
429
|
-
snaptrade_client/paths/__init__.py,sha256=
|
|
425
|
+
snaptrade_client/operation_parameter_map.py,sha256=aXkhPW_v25cynvWzMJv_wU1sC9jXILRekK0kXdg4s1E,18261
|
|
426
|
+
snaptrade_client/paths/__init__.py,sha256=pcsKbVvTXfw8DZBrryYmzOi4vIFJc9ZPjdYk9Z2NWVc,3556
|
|
430
427
|
snaptrade_client/paths/accounts/__init__.py,sha256=_Bqi6B13A-kgd0AOpqmcE1vTxJDfoz-r3Hwf-AmwW6A,307
|
|
431
428
|
snaptrade_client/paths/accounts/get.py,sha256=MDE_4VCylBroYDkMQe9II1qCGf6gTTDGCShFyGLXf00,16463
|
|
432
429
|
snaptrade_client/paths/accounts/get.pyi,sha256=gna7qIU-95WqOFl6qTsP18ZY7SKi9CYEBAbARPAPPF4,16261
|
|
@@ -444,15 +441,6 @@ snaptrade_client/paths/accounts_account_id_balances/get.pyi,sha256=pQlaEfeXDY54g
|
|
|
444
441
|
snaptrade_client/paths/accounts_account_id_holdings/__init__.py,sha256=EkzRO4nxKZWuVWU5PkA0nQsIcAupunq2k_d_Vnc3X0M,347
|
|
445
442
|
snaptrade_client/paths/accounts_account_id_holdings/get.py,sha256=vWl7i6q7QfNg6MTe-f2ru6hUfz8sNeHX0xN7rQpaiuQ,22278
|
|
446
443
|
snaptrade_client/paths/accounts_account_id_holdings/get.pyi,sha256=jLqtCn7zB5R-S3PzqsJTkmJGIAjozugdMDKlRotBffQ,21994
|
|
447
|
-
snaptrade_client/paths/accounts_account_id_option_strategy/__init__.py,sha256=aFDN3JIm4g9X2B-i7vZkRKwdztdB78Ed1VfIV6zjBbE,361
|
|
448
|
-
snaptrade_client/paths/accounts_account_id_option_strategy/post.py,sha256=_kTczP_ajfD3Y4S8dkV3OVxE9Qm_wy4_hSuiMuVHibc,26705
|
|
449
|
-
snaptrade_client/paths/accounts_account_id_option_strategy/post.pyi,sha256=ku06Wjc73YadgzIfQts61LGrYC0r5k0CK1ges1mAsHg,26344
|
|
450
|
-
snaptrade_client/paths/accounts_account_id_option_strategy_option_strategy_id/__init__.py,sha256=QYccRHHPlpyZdjj2QTvLdOjCHLLiL13Dgd4lCk5QHjg,399
|
|
451
|
-
snaptrade_client/paths/accounts_account_id_option_strategy_option_strategy_id/get.py,sha256=I_JXXcTkykOcUPtztdGJTVv12SlwatMP0M_oqS7X2OA,19567
|
|
452
|
-
snaptrade_client/paths/accounts_account_id_option_strategy_option_strategy_id/get.pyi,sha256=PbKAVG6n55yUoSaelu5EFDb2M1D4h6E3uql1356c-_I,19373
|
|
453
|
-
snaptrade_client/paths/accounts_account_id_option_strategy_option_strategy_id_execute/__init__.py,sha256=Xy7rBnDDwAvVB7PRDOlVUr0VThHszLehz5tCDoY7GV4,415
|
|
454
|
-
snaptrade_client/paths/accounts_account_id_option_strategy_option_strategy_id_execute/post.py,sha256=9A1z8nf3Fzgxgb7wN0VUqQYC6LH8thy9x-yuh3iLhBY,26707
|
|
455
|
-
snaptrade_client/paths/accounts_account_id_option_strategy_option_strategy_id_execute/post.pyi,sha256=kqAk9ZEbwPFhLzikucrovL0T-LtSyS3gfsNMcabodBg,26513
|
|
456
444
|
snaptrade_client/paths/accounts_account_id_options/__init__.py,sha256=lo1mHnLsrOOIWOjzgIxryXLAXohM1empUmzef0JxjKI,345
|
|
457
445
|
snaptrade_client/paths/accounts_account_id_options/get.py,sha256=AqhezvFIo6LY5EfOJBrv4ArKT1X5ls5Wq2RLfv-GbVs,20237
|
|
458
446
|
snaptrade_client/paths/accounts_account_id_options/get.pyi,sha256=ksbiMPjTnYBYSslVmbtslODY48SHGSQmMaWJOd0U6m0,20043
|
|
@@ -463,8 +451,8 @@ snaptrade_client/paths/accounts_account_id_orders/__init__.py,sha256=zHuTi8F_iUe
|
|
|
463
451
|
snaptrade_client/paths/accounts_account_id_orders/get.py,sha256=G995P3DYTYjlbOmqO1iyJSPjtO6KmFUOfGCBaozjeUU,21877
|
|
464
452
|
snaptrade_client/paths/accounts_account_id_orders/get.pyi,sha256=N23jjsdpQiilZqFXOF5Gj31PLdOXqEpKytqUwiB_AiI,21462
|
|
465
453
|
snaptrade_client/paths/accounts_account_id_orders_brokerage_order_id/__init__.py,sha256=HRMFYdm8PGjoYJ-0S1O80PZjXt3H4SBbiPvfGFFB9M0,381
|
|
466
|
-
snaptrade_client/paths/accounts_account_id_orders_brokerage_order_id/get.py,sha256=
|
|
467
|
-
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
|
|
468
456
|
snaptrade_client/paths/accounts_account_id_orders_cancel/__init__.py,sha256=UIeHlsXhxZyqf4ADkLxYxJUH6ChCcSkpeML1XWjxGdI,357
|
|
469
457
|
snaptrade_client/paths/accounts_account_id_orders_cancel/post.py,sha256=PipHEDsFEytBeeXn5ydOnD5bCTHcDfW5EWmaRuuWQyQ,24559
|
|
470
458
|
snaptrade_client/paths/accounts_account_id_orders_cancel/post.pyi,sha256=r1JJmy3TEKzeu7WAXPGP5RocDF6dDwFScC_-ffesP9E,24335
|
|
@@ -472,8 +460,8 @@ snaptrade_client/paths/accounts_account_id_positions/__init__.py,sha256=UB-B0t2O
|
|
|
472
460
|
snaptrade_client/paths/accounts_account_id_positions/get.py,sha256=mT1qThSd9z8ggJa0uXGdWA_N8cs0NH_ijLRsPIVnuWY,20204
|
|
473
461
|
snaptrade_client/paths/accounts_account_id_positions/get.pyi,sha256=wHZruGOsjMfVd6GW3qB8jPhMQNfr2dP4TbB71taNUVk,20002
|
|
474
462
|
snaptrade_client/paths/accounts_account_id_quotes/__init__.py,sha256=_EWd0irMSNiZtx_chO_X9TCy_WWzFQoySf3yLEkAh2I,343
|
|
475
|
-
snaptrade_client/paths/accounts_account_id_quotes/get.py,sha256=
|
|
476
|
-
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
|
|
477
465
|
snaptrade_client/paths/accounts_account_id_recent_orders/__init__.py,sha256=9ZDFg99fFJZ_6RAxHQkzGxuUu5HjiU25zdIc3huER-c,357
|
|
478
466
|
snaptrade_client/paths/accounts_account_id_recent_orders/get.py,sha256=Zk0LjeDzTXQyPqdN7uFW3a0wX2gE8kAZw-kbLIMWAaE,21345
|
|
479
467
|
snaptrade_client/paths/accounts_account_id_recent_orders/get.pyi,sha256=pmwZbqLBIRSQEE6RT0YFSgmxT8r_9gh_b42t9uIgE80,21121
|
|
@@ -775,7 +763,7 @@ snaptrade_client/type/user_secret.py,sha256=pKCVhqf1rROHwa6tvoyA5OAKXCBAmNDvIQCf
|
|
|
775
763
|
snaptrade_client/type/validated_trade_body.py,sha256=ZIPBQWii_a-9zHaBCJ6bQtmL1_I7AG0zwuvkY-ZQ6R4,890
|
|
776
764
|
snaptrade_client/type_util.py,sha256=JIrMYgJzd4IJ8Ne2vqcahlPA9dVmphL9sn8gwccCB4Y,563
|
|
777
765
|
snaptrade_client/validation_metadata.py,sha256=VTN5y-NudHXok1X468J4PnGze_tGEAcs1v3gsXmcrb0,3172
|
|
778
|
-
snaptrade_python_sdk-11.0.
|
|
779
|
-
snaptrade_python_sdk-11.0.
|
|
780
|
-
snaptrade_python_sdk-11.0.
|
|
781
|
-
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,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
# do not import all endpoints into this module because that uses a lot of memory and stack frames
|
|
2
|
-
# if you need the ability to import all endpoints from this module, import them with
|
|
3
|
-
# from snaptrade_client.paths.accounts_account_id_option_strategy import Api
|
|
4
|
-
|
|
5
|
-
from snaptrade_client.paths import PathValues
|
|
6
|
-
|
|
7
|
-
path = PathValues.ACCOUNTS_ACCOUNT_ID_OPTION_STRATEGY
|