snaptrade-python-sdk 11.0.143__py3-none-any.whl → 11.0.145__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 +6 -0
- snaptrade_client/apis/paths/accounts_account_id_orders_v2.py +7 -0
- snaptrade_client/apis/paths/accounts_account_id_recent_orders_v2.py +7 -0
- snaptrade_client/apis/tag_to_api.py +3 -0
- snaptrade_client/apis/tags/__init__.py +1 -0
- snaptrade_client/apis/tags/experimental_endpoints_api.py +6 -0
- snaptrade_client/apis/tags/experimental_endpoints_api_generated.py +23 -0
- snaptrade_client/client.py +2 -0
- snaptrade_client/client.pyi +2 -0
- snaptrade_client/configuration.py +1 -1
- snaptrade_client/model/account_order_record_leg.py +252 -0
- snaptrade_client/model/account_order_record_leg.pyi +252 -0
- snaptrade_client/model/account_order_record_leg_instrument.py +137 -0
- snaptrade_client/model/account_order_record_leg_instrument.pyi +137 -0
- snaptrade_client/model/account_order_record_status_v2.py +90 -0
- snaptrade_client/model/account_order_record_status_v2.pyi +75 -0
- snaptrade_client/model/account_order_record_status_v2_nullable.py +105 -0
- snaptrade_client/model/account_order_record_status_v2_nullable.pyi +105 -0
- snaptrade_client/model/account_order_record_v2.py +309 -0
- snaptrade_client/model/account_order_record_v2.pyi +309 -0
- snaptrade_client/model/account_orders_v2_response.py +110 -0
- snaptrade_client/model/account_orders_v2_response.pyi +110 -0
- snaptrade_client/model/action_strict_v2.py +25 -0
- snaptrade_client/model/action_strict_v2.pyi +25 -0
- snaptrade_client/models/__init__.py +7 -0
- snaptrade_client/operation_parameter_map.py +35 -0
- snaptrade_client/paths/__init__.py +2 -0
- snaptrade_client/paths/accounts/get.py +2 -2
- snaptrade_client/paths/accounts/get.pyi +2 -2
- snaptrade_client/paths/accounts_account_id/get.py +2 -2
- snaptrade_client/paths/accounts_account_id/get.pyi +2 -2
- snaptrade_client/paths/accounts_account_id_balances/get.py +2 -2
- snaptrade_client/paths/accounts_account_id_balances/get.pyi +2 -2
- snaptrade_client/paths/accounts_account_id_holdings/get.py +2 -2
- snaptrade_client/paths/accounts_account_id_holdings/get.pyi +2 -2
- snaptrade_client/paths/accounts_account_id_options/get.py +2 -2
- snaptrade_client/paths/accounts_account_id_options/get.pyi +2 -2
- snaptrade_client/paths/accounts_account_id_orders/get.py +2 -2
- snaptrade_client/paths/accounts_account_id_orders/get.pyi +2 -2
- snaptrade_client/paths/accounts_account_id_orders_v2/__init__.py +7 -0
- snaptrade_client/paths/accounts_account_id_orders_v2/get.py +592 -0
- snaptrade_client/paths/accounts_account_id_orders_v2/get.pyi +569 -0
- snaptrade_client/paths/accounts_account_id_positions/get.py +2 -2
- snaptrade_client/paths/accounts_account_id_positions/get.pyi +2 -2
- snaptrade_client/paths/accounts_account_id_recent_orders_v2/__init__.py +7 -0
- snaptrade_client/paths/accounts_account_id_recent_orders_v2/get.py +561 -0
- snaptrade_client/paths/accounts_account_id_recent_orders_v2/get.pyi +549 -0
- snaptrade_client/paths/authorizations_authorization_id_refresh/post.py +2 -2
- snaptrade_client/paths/authorizations_authorization_id_refresh/post.pyi +2 -2
- snaptrade_client/type/account_order_record_leg.py +48 -0
- snaptrade_client/type/account_order_record_leg_instrument.py +39 -0
- snaptrade_client/type/account_order_record_status_v2.py +19 -0
- snaptrade_client/type/account_order_record_status_v2_nullable.py +19 -0
- snaptrade_client/type/account_order_record_v2.py +58 -0
- snaptrade_client/type/account_orders_v2_response.py +28 -0
- snaptrade_client/type/action_strict_v2.py +19 -0
- {snaptrade_python_sdk-11.0.143.dist-info → snaptrade_python_sdk-11.0.145.dist-info}/METADATA +124 -11
- {snaptrade_python_sdk-11.0.143.dist-info → snaptrade_python_sdk-11.0.145.dist-info}/RECORD +62 -31
- {snaptrade_python_sdk-11.0.143.dist-info → snaptrade_python_sdk-11.0.145.dist-info}/LICENSE +0 -0
- {snaptrade_python_sdk-11.0.143.dist-info → snaptrade_python_sdk-11.0.145.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
SnapTrade
|
|
5
|
+
|
|
6
|
+
Connect brokerage accounts to your app for live positions and trading
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Contact: api@snaptrade.com
|
|
10
|
+
Created by: https://snaptrade.com/
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from datetime import datetime, date
|
|
14
|
+
import typing
|
|
15
|
+
from enum import Enum
|
|
16
|
+
from typing_extensions import TypedDict, Literal, TYPE_CHECKING
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
AccountOrderRecordStatusV2 = Literal["PENDING", "REJECTED", "CANCELED", "CANCEL_PENDING", "PARTIAL_CANCELED", "EXECUTED", "PARTIALLY_EXECUTED", "REPLACED", "REPLACE_PENDING", "EXPIRED"]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
SnapTrade
|
|
5
|
+
|
|
6
|
+
Connect brokerage accounts to your app for live positions and trading
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Contact: api@snaptrade.com
|
|
10
|
+
Created by: https://snaptrade.com/
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from datetime import datetime, date
|
|
14
|
+
import typing
|
|
15
|
+
from enum import Enum
|
|
16
|
+
from typing_extensions import TypedDict, Literal, TYPE_CHECKING
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
AccountOrderRecordStatusV2Nullable = Literal["PENDING", "REJECTED", "CANCELED", "CANCEL_PENDING", "PARTIAL_CANCELED", "EXECUTED", "PARTIALLY_EXECUTED", "REPLACED", "REPLACE_PENDING", "EXPIRED"]
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
SnapTrade
|
|
5
|
+
|
|
6
|
+
Connect brokerage accounts to your app for live positions and trading
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Contact: api@snaptrade.com
|
|
10
|
+
Created by: https://snaptrade.com/
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from datetime import datetime, date
|
|
14
|
+
import typing
|
|
15
|
+
from enum import Enum
|
|
16
|
+
from typing_extensions import TypedDict, Literal, TYPE_CHECKING
|
|
17
|
+
|
|
18
|
+
from snaptrade_client.type.account_order_record_leg import AccountOrderRecordLeg
|
|
19
|
+
from snaptrade_client.type.account_order_record_status import AccountOrderRecordStatus
|
|
20
|
+
|
|
21
|
+
class RequiredAccountOrderRecordV2(TypedDict):
|
|
22
|
+
pass
|
|
23
|
+
|
|
24
|
+
class OptionalAccountOrderRecordV2(TypedDict, total=False):
|
|
25
|
+
# Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
|
|
26
|
+
brokerage_order_id: str
|
|
27
|
+
|
|
28
|
+
status: AccountOrderRecordStatus
|
|
29
|
+
|
|
30
|
+
# The type of order placed. - `MARKET` - `LIMIT` - `STOP` - `STOP_LIMIT`
|
|
31
|
+
order_type: typing.Optional[str]
|
|
32
|
+
|
|
33
|
+
# The Time in Force type for the order. This field indicates how long the order will remain active before it is executed or expires. We try our best to map brokerage time in force values to the following. When mapping fails, we will return the brokerage's time in force value. - `DAY` - Day. The order is valid only for the trading day on which it is placed. - `GTC` - Good Til Canceled. The order is valid until it is executed or canceled. - `FOK` - Fill Or Kill. The order must be executed in its entirety immediately or be canceled completely. - `IOC` - Immediate Or Cancel. The order must be executed immediately. Any portion of the order that cannot be filled immediately will be canceled. - `GTD` - Good Til Date. The order is valid until the specified date. - `MOO` - Market On Open. The order is to be executed at the day's opening price. - `EHP` - Extended Hours P.M. The order is to be placed during extended hour trading, after markets close.
|
|
34
|
+
time_in_force: str
|
|
35
|
+
|
|
36
|
+
# The time the order was placed. This is the time the order was submitted to the brokerage.
|
|
37
|
+
time_placed: datetime
|
|
38
|
+
|
|
39
|
+
# The time the order was executed in the brokerage system. This value is not always available from the brokerage.
|
|
40
|
+
time_executed: typing.Optional[datetime]
|
|
41
|
+
|
|
42
|
+
# Quote currency code for the order.
|
|
43
|
+
quote_currency: str
|
|
44
|
+
|
|
45
|
+
# The price at which the order was executed.
|
|
46
|
+
execution_price: typing.Optional[typing.Union[int, float]]
|
|
47
|
+
|
|
48
|
+
# The limit price is maximum price one is willing to pay for a buy order or the minimum price one is willing to accept for a sell order. Should only apply to `Limit` and `StopLimit` orders.
|
|
49
|
+
limit_price: typing.Optional[typing.Union[int, float]]
|
|
50
|
+
|
|
51
|
+
# The stop price is the price at which a stop order is triggered. Should only apply to `Stop` and `StopLimit` orders.
|
|
52
|
+
stop_price: typing.Optional[typing.Union[int, float]]
|
|
53
|
+
|
|
54
|
+
# List of legs that make up the order.
|
|
55
|
+
legs: typing.List[AccountOrderRecordLeg]
|
|
56
|
+
|
|
57
|
+
class AccountOrderRecordV2(RequiredAccountOrderRecordV2, OptionalAccountOrderRecordV2):
|
|
58
|
+
pass
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
SnapTrade
|
|
5
|
+
|
|
6
|
+
Connect brokerage accounts to your app for live positions and trading
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Contact: api@snaptrade.com
|
|
10
|
+
Created by: https://snaptrade.com/
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from datetime import datetime, date
|
|
14
|
+
import typing
|
|
15
|
+
from enum import Enum
|
|
16
|
+
from typing_extensions import TypedDict, Literal, TYPE_CHECKING
|
|
17
|
+
|
|
18
|
+
from snaptrade_client.type.account_order_record_v2 import AccountOrderRecordV2
|
|
19
|
+
|
|
20
|
+
class RequiredAccountOrdersV2Response(TypedDict):
|
|
21
|
+
# List of orders returned by the endpoint.
|
|
22
|
+
orders: typing.List[AccountOrderRecordV2]
|
|
23
|
+
|
|
24
|
+
class OptionalAccountOrdersV2Response(TypedDict, total=False):
|
|
25
|
+
pass
|
|
26
|
+
|
|
27
|
+
class AccountOrdersV2Response(RequiredAccountOrdersV2Response, OptionalAccountOrdersV2Response):
|
|
28
|
+
pass
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
SnapTrade
|
|
5
|
+
|
|
6
|
+
Connect brokerage accounts to your app for live positions and trading
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Contact: api@snaptrade.com
|
|
10
|
+
Created by: https://snaptrade.com/
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from datetime import datetime, date
|
|
14
|
+
import typing
|
|
15
|
+
from enum import Enum
|
|
16
|
+
from typing_extensions import TypedDict, Literal, TYPE_CHECKING
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
ActionStrictV2 = str
|
{snaptrade_python_sdk-11.0.143.dist-info → snaptrade_python_sdk-11.0.145.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.145
|
|
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.145)
|
|
34
34
|
[](https://github.com/passiv/snaptrade-sdks/tree/master/sdks/python#readme)
|
|
35
35
|
[](https://snaptrade.com/)
|
|
36
36
|
|
|
@@ -70,6 +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.experimental_endpoints.get_user_account_orders_v2`](#snaptradeexperimental_endpointsget_user_account_orders_v2)
|
|
74
|
+
* [`snaptrade.experimental_endpoints.get_user_account_recent_orders_v2`](#snaptradeexperimental_endpointsget_user_account_recent_orders_v2)
|
|
73
75
|
* [`snaptrade.options.get_options_chain`](#snaptradeoptionsget_options_chain)
|
|
74
76
|
* [`snaptrade.options.list_option_holdings`](#snaptradeoptionslist_option_holdings)
|
|
75
77
|
* [`snaptrade.reference_data.get_currency_exchange_rate_pair`](#snaptradereference_dataget_currency_exchange_rate_pair)
|
|
@@ -109,7 +111,7 @@ Python >=3.8
|
|
|
109
111
|
## Installation<a id="installation"></a>
|
|
110
112
|
|
|
111
113
|
```sh
|
|
112
|
-
pip install snaptrade-python-sdk==11.0.
|
|
114
|
+
pip install snaptrade-python-sdk==11.0.145
|
|
113
115
|
```
|
|
114
116
|
|
|
115
117
|
## Getting Started<a id="getting-started"></a>
|
|
@@ -327,7 +329,9 @@ Optional. Comma separated list of authorization IDs (only use if filtering is ne
|
|
|
327
329
|
|
|
328
330
|
Returns a list of balances for the account. Each element of the list has a distinct currency. Some brokerages like Questrade [allows holding multiple currencies in the same account](https://www.questrade.com/learning/questrade-basics/balances-and-reports/understanding-your-account-balances).
|
|
329
331
|
|
|
330
|
-
|
|
332
|
+
Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
|
|
333
|
+
- If you do, this endpoint returns real-time data.
|
|
334
|
+
- If you don't, the data is cached and refreshed once a day. How long the data is cached for varies by brokerage. Check the [brokerage integrations doc](https://snaptrade.notion.site/66793431ad0b416489eaabaf248d0afb?v=d16c4c97b8d5438bbb2d8581ac53b11e) and look for "Cache Expiry Time" to see the exact value for a specific brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
|
|
331
335
|
|
|
332
336
|
If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
333
337
|
|
|
@@ -368,7 +372,9 @@ get_user_account_balance_response = (
|
|
|
368
372
|
|
|
369
373
|
Returns account detail known to SnapTrade for the specified account.
|
|
370
374
|
|
|
371
|
-
|
|
375
|
+
Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
|
|
376
|
+
- If you do, this endpoint returns real-time data.
|
|
377
|
+
- If you don't, the data is cached and refreshed once a day. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
|
|
372
378
|
|
|
373
379
|
If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
374
380
|
|
|
@@ -460,7 +466,9 @@ Order ID returned by brokerage. This is the unique identifier for the order in t
|
|
|
460
466
|
|
|
461
467
|
Returns a list of recent orders in the specified account.
|
|
462
468
|
|
|
463
|
-
|
|
469
|
+
Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
|
|
470
|
+
- If you do, this endpoint returns real-time data.
|
|
471
|
+
- If you don't, the data is cached and refreshed once a day. How long the data is cached for varies by brokerage. Check the [brokerage integrations doc](https://snaptrade.notion.site/66793431ad0b416489eaabaf248d0afb?v=d16c4c97b8d5438bbb2d8581ac53b11e) and look for "Cache Expiry Time" to see the exact value for a specific brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
|
|
464
472
|
|
|
465
473
|
If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
466
474
|
|
|
@@ -511,7 +519,9 @@ Number of days in the past to fetch the most recent orders. Defaults to the last
|
|
|
511
519
|
|
|
512
520
|
Returns a list of stock/ETF/crypto/mutual fund positions in the specified account. For option positions, please use the [options endpoint](/reference/Options/Options_listOptionHoldings).
|
|
513
521
|
|
|
514
|
-
|
|
522
|
+
Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
|
|
523
|
+
- If you do, this endpoint returns real-time data.
|
|
524
|
+
- If you don't, the data is cached and refreshed once a day. How long the data is cached for varies by brokerage. Check the [brokerage integrations doc](https://snaptrade.notion.site/66793431ad0b416489eaabaf248d0afb?v=d16c4c97b8d5438bbb2d8581ac53b11e) and look for "Cache Expiry Time" to see the exact value for a specific brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
|
|
515
525
|
|
|
516
526
|
If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
517
527
|
|
|
@@ -635,7 +645,9 @@ get_user_account_return_rates_response = (
|
|
|
635
645
|
|
|
636
646
|
Returns a list of balances, positions, and recent orders for the specified account. The data returned is similar to the data returned over the more fine-grained [balances](/reference/Account%20Information/AccountInformation_getUserAccountBalance), [positions](/reference/Account%20Information/AccountInformation_getUserAccountPositions) and [orders](/reference/Account%20Information/AccountInformation_getUserAccountOrders) endpoints. __The finer-grained APIs are preferred. They are easier to work with, faster, and have better error handling than this coarse-grained API.__
|
|
637
647
|
|
|
638
|
-
|
|
648
|
+
Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
|
|
649
|
+
- If you do, this endpoint returns real-time data.
|
|
650
|
+
- If you don't, the data is cached and refreshed once a day. How long the data is cached for varies by brokerage. Check the [brokerage integrations doc](https://snaptrade.notion.site/66793431ad0b416489eaabaf248d0afb?v=d16c4c97b8d5438bbb2d8581ac53b11e) and look for "Cache Expiry Time" to see the exact value for a specific brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
|
|
639
651
|
|
|
640
652
|
If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
641
653
|
|
|
@@ -674,7 +686,9 @@ get_user_holdings_response = snaptrade.account_information.get_user_holdings(
|
|
|
674
686
|
|
|
675
687
|
Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user.
|
|
676
688
|
|
|
677
|
-
|
|
689
|
+
Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
|
|
690
|
+
- If you do, this endpoint returns real-time data.
|
|
691
|
+
- If you don't, the data is cached and refreshed once a day. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
|
|
678
692
|
|
|
679
693
|
|
|
680
694
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
@@ -1075,7 +1089,7 @@ list_brokerage_authorizations_response = (
|
|
|
1075
1089
|
Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection.
|
|
1076
1090
|
This endpoint will also trigger a transaction sync for the past day if one has not yet occurred.
|
|
1077
1091
|
|
|
1078
|
-
**
|
|
1092
|
+
**Because of the cost of refreshing a connection, 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)**
|
|
1079
1093
|
|
|
1080
1094
|
|
|
1081
1095
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
@@ -1209,6 +1223,103 @@ Optional comma separated list of session IDs used to filter the request on speci
|
|
|
1209
1223
|
|
|
1210
1224
|
---
|
|
1211
1225
|
|
|
1226
|
+
### `snaptrade.experimental_endpoints.get_user_account_orders_v2`<a id="snaptradeexperimental_endpointsget_user_account_orders_v2"></a>
|
|
1227
|
+
|
|
1228
|
+
Returns a list of recent orders in the specified account.
|
|
1229
|
+
|
|
1230
|
+
The V2 order response format will include all legs of each order in the `legs` list field. If the order is single legged, `legs` will be a list of one leg.
|
|
1231
|
+
|
|
1232
|
+
If the connection has become disabled, it can no longer access the latest data from the brokerage, but will continue to return the last available cached state. Please see [this guide](/docs/fix-broken-connections) on how to fix a disabled connection.
|
|
1233
|
+
|
|
1234
|
+
|
|
1235
|
+
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
1236
|
+
|
|
1237
|
+
```python
|
|
1238
|
+
get_user_account_orders_v2_response = (
|
|
1239
|
+
snaptrade.experimental_endpoints.get_user_account_orders_v2(
|
|
1240
|
+
user_id="snaptrade-user-123",
|
|
1241
|
+
user_secret="adf2aa34-8219-40f7-a6b3-60156985cc61",
|
|
1242
|
+
account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
1243
|
+
state="all",
|
|
1244
|
+
days=30,
|
|
1245
|
+
)
|
|
1246
|
+
)
|
|
1247
|
+
```
|
|
1248
|
+
|
|
1249
|
+
#### ⚙️ Parameters<a id="⚙️-parameters"></a>
|
|
1250
|
+
|
|
1251
|
+
##### user_id: `str`<a id="user_id-str"></a>
|
|
1252
|
+
|
|
1253
|
+
##### user_secret: `str`<a id="user_secret-str"></a>
|
|
1254
|
+
|
|
1255
|
+
##### account_id: `str`<a id="account_id-str"></a>
|
|
1256
|
+
|
|
1257
|
+
##### state: `str`<a id="state-str"></a>
|
|
1258
|
+
|
|
1259
|
+
defaults value is set to \"all\"
|
|
1260
|
+
|
|
1261
|
+
##### days: `int`<a id="days-int"></a>
|
|
1262
|
+
|
|
1263
|
+
Number of days in the past to fetch the most recent orders. Defaults to the last 30 days if no value is passed in.
|
|
1264
|
+
|
|
1265
|
+
#### 🔄 Return<a id="🔄-return"></a>
|
|
1266
|
+
|
|
1267
|
+
[`AccountOrdersV2Response`](./snaptrade_client/type/account_orders_v2_response.py)
|
|
1268
|
+
|
|
1269
|
+
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
|
1270
|
+
|
|
1271
|
+
`/accounts/{accountId}/orders/v2` `get`
|
|
1272
|
+
|
|
1273
|
+
[🔙 **Back to Table of Contents**](#table-of-contents)
|
|
1274
|
+
|
|
1275
|
+
---
|
|
1276
|
+
|
|
1277
|
+
### `snaptrade.experimental_endpoints.get_user_account_recent_orders_v2`<a id="snaptradeexperimental_endpointsget_user_account_recent_orders_v2"></a>
|
|
1278
|
+
|
|
1279
|
+
A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account using the V2 order format.
|
|
1280
|
+
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.
|
|
1281
|
+
Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days.
|
|
1282
|
+
By default only returns executed orders, but that can be changed by setting *only_executed* to false.
|
|
1283
|
+
**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)**
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
1287
|
+
|
|
1288
|
+
```python
|
|
1289
|
+
get_user_account_recent_orders_v2_response = (
|
|
1290
|
+
snaptrade.experimental_endpoints.get_user_account_recent_orders_v2(
|
|
1291
|
+
user_id="snaptrade-user-123",
|
|
1292
|
+
user_secret="adf2aa34-8219-40f7-a6b3-60156985cc61",
|
|
1293
|
+
account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
1294
|
+
only_executed=True,
|
|
1295
|
+
)
|
|
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
|
+
##### only_executed: `bool`<a id="only_executed-bool"></a>
|
|
1308
|
+
|
|
1309
|
+
Defaults to true. Indicates if request should fetch only executed orders. Set to false to retrieve non executed orders as well
|
|
1310
|
+
|
|
1311
|
+
#### 🔄 Return<a id="🔄-return"></a>
|
|
1312
|
+
|
|
1313
|
+
[`AccountOrdersV2Response`](./snaptrade_client/type/account_orders_v2_response.py)
|
|
1314
|
+
|
|
1315
|
+
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
|
1316
|
+
|
|
1317
|
+
`/accounts/{accountId}/recentOrders/v2` `get`
|
|
1318
|
+
|
|
1319
|
+
[🔙 **Back to Table of Contents**](#table-of-contents)
|
|
1320
|
+
|
|
1321
|
+
---
|
|
1322
|
+
|
|
1212
1323
|
### `snaptrade.options.get_options_chain`<a id="snaptradeoptionsget_options_chain"></a>
|
|
1213
1324
|
|
|
1214
1325
|
Returns the option chain for the specified symbol in the specified account.
|
|
@@ -1254,7 +1365,9 @@ Universal symbol ID if symbol
|
|
|
1254
1365
|
|
|
1255
1366
|
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).
|
|
1256
1367
|
|
|
1257
|
-
|
|
1368
|
+
Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see if you have real-time data access:
|
|
1369
|
+
- If you do, this endpoint returns real-time data.
|
|
1370
|
+
- If you don't, the data is cached and refreshed once a day. How long the data is cached for varies by brokerage. Check the [brokerage integrations doc](https://snaptrade.notion.site/66793431ad0b416489eaabaf248d0afb?v=d16c4c97b8d5438bbb2d8581ac53b11e) and look for "Cache Expiry Time" to see the exact value for a specific brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint.
|
|
1258
1371
|
|
|
1259
1372
|
|
|
1260
1373
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
snaptrade_client/__init__.py,sha256=
|
|
2
|
-
snaptrade_client/api_client.py,sha256=
|
|
1
|
+
snaptrade_client/__init__.py,sha256=JU0rCX1ldtG61pT2IoZ7TRxvZqiuT8H2WD6lTXmTuf4,820
|
|
2
|
+
snaptrade_client/api_client.py,sha256=JReS7OGFJ8Mt7B1TUGlvuqkxqM3fNc1PScRnboUc6QI,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=U2W6P3ea6gIUTB16bJ16y4fIBuaOF_TqUyGmuFF6STM,12851
|
|
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
|
|
@@ -14,9 +14,11 @@ snaptrade_client/apis/paths/accounts_account_id_options_chain.py,sha256=0x2p_tMU
|
|
|
14
14
|
snaptrade_client/apis/paths/accounts_account_id_orders.py,sha256=2rP-vnv9VQm1Acdw0d8iaFYGFI5XqiP0XBYXeJ9kHaw,136
|
|
15
15
|
snaptrade_client/apis/paths/accounts_account_id_orders_cancel.py,sha256=JPwBTe7P9cKjrJzw0vfApfYBZXwtWExU7xpTgV50zKE,152
|
|
16
16
|
snaptrade_client/apis/paths/accounts_account_id_orders_details.py,sha256=CN3IJK-lgcfT00uJIQjJMu82S58fFGwg3gR7QRNnOn0,154
|
|
17
|
+
snaptrade_client/apis/paths/accounts_account_id_orders_v2.py,sha256=M3R_rOJ8LnyOyomildPh38bBSba1B3giWrK0FqvuBXc,141
|
|
17
18
|
snaptrade_client/apis/paths/accounts_account_id_positions.py,sha256=ovywLJiI569NLjYSgCcl1_6QGBeUT_02OAYYTHLq8Cc,142
|
|
18
19
|
snaptrade_client/apis/paths/accounts_account_id_quotes.py,sha256=_2v0DiUngr6a-Mi1EUrCfOn94e45pDhnH5Q9RdquIMA,136
|
|
19
20
|
snaptrade_client/apis/paths/accounts_account_id_recent_orders.py,sha256=EeY-phJr21kpUIrZ-wBc2y6v4qP75R5t54hSqlqmw6k,149
|
|
21
|
+
snaptrade_client/apis/paths/accounts_account_id_recent_orders_v2.py,sha256=OZIxblzZEdFZGNr7BM5Svb0Kz3TeLxQzSZTlG3gf2zc,154
|
|
20
22
|
snaptrade_client/apis/paths/accounts_account_id_return_rates.py,sha256=2SjRXGvVAuR8JRGSBr_sFYBTM6VJiC1QamBonvmuI80,147
|
|
21
23
|
snaptrade_client/apis/paths/accounts_account_id_symbols.py,sha256=_ol99FPuyBGqr7jPZt6ktaWOE3rB73271UX2D51mVFY,141
|
|
22
24
|
snaptrade_client/apis/paths/accounts_account_id_trading_bracket.py,sha256=YmDB1r26n-xXHkwsAmj0zyPqJQPk3PD3Us2gXFd4OkA,156
|
|
@@ -56,8 +58,8 @@ snaptrade_client/apis/paths/symbols_query.py,sha256=A8docGGmlT-C-DqhATL5eXMP2WEQ
|
|
|
56
58
|
snaptrade_client/apis/paths/trade_impact.py,sha256=IPndLeDc_GS9wJmB5jTpnRZhJAdbbNiCf58CyLzDN-k,113
|
|
57
59
|
snaptrade_client/apis/paths/trade_place.py,sha256=ejaerOFMV2hpLsWk7f5-jq_xNN8v2ekuwpGKeZ7yDbE,111
|
|
58
60
|
snaptrade_client/apis/paths/trade_trade_id.py,sha256=obGSPVLZRpWmozwuCrxnDL2NQzNNUMJ_QppjrljIjKo,116
|
|
59
|
-
snaptrade_client/apis/tag_to_api.py,sha256=
|
|
60
|
-
snaptrade_client/apis/tags/__init__.py,sha256=
|
|
61
|
+
snaptrade_client/apis/tag_to_api.py,sha256=vCAHSp5uBEMRkEN5BfF_viLOI_lC-9AT7tSkDL3XfWo,1828
|
|
62
|
+
snaptrade_client/apis/tags/__init__.py,sha256=ELack-84JFnQhy2t58qDvXQveRDXXhcO8WuVZTD1Eb0,639
|
|
61
63
|
snaptrade_client/apis/tags/account_information_api.py,sha256=lbGNEG6xu9Y7xjiQnNKxafMIMwx2NA-kJraqymyd-j4,192
|
|
62
64
|
snaptrade_client/apis/tags/account_information_api_generated.py,sha256=jueUAgDMo1XuHPrWXuy4w7wDuFEVd9aImNmUfe88Vac,1726
|
|
63
65
|
snaptrade_client/apis/tags/api_status_api.py,sha256=N4rdI4EmxVg5mxhu-Q2UVkIKgDKrZWhRmO7R_T1IkZw,156
|
|
@@ -66,6 +68,8 @@ snaptrade_client/apis/tags/authentication_api.py,sha256=9QKQmKP326PcQusLJaW5XDaC
|
|
|
66
68
|
snaptrade_client/apis/tags/authentication_api_generated.py,sha256=Gt6muDG-vWm-Z8tkCPG3Ae2Dh0C-LhuTMG33czSpl9I,921
|
|
67
69
|
snaptrade_client/apis/tags/connections_api.py,sha256=pNGuSjvX2Fg2IJymMvM3DcoUllKUmUQQpTtLVbY2Yi8,163
|
|
68
70
|
snaptrade_client/apis/tags/connections_api_generated.py,sha256=inWc0qR9q4SFyTWsfw_iI8foMNGaQ6oeZ1LaQy_qnjQ,1242
|
|
71
|
+
snaptrade_client/apis/tags/experimental_endpoints_api.py,sha256=eyniA9I0b58Ns-Uz55a2yQnuwr39BMiW0W1SaLS8MgY,204
|
|
72
|
+
snaptrade_client/apis/tags/experimental_endpoints_api_generated.py,sha256=z183cw7FXcGixI2UN2hgfsxIZpSBApCBO8v8RzocWt0,635
|
|
69
73
|
snaptrade_client/apis/tags/options_api.py,sha256=tl2HI1JChvEGrE5mcSLN85Ah5AHtjVa4n8Hx7GY-ZNA,147
|
|
70
74
|
snaptrade_client/apis/tags/options_api_generated.py,sha256=cZibnPAKx1t5eoDBuMrjE1Gty5Kso9jqzTsUhE-M4Jg,582
|
|
71
75
|
snaptrade_client/apis/tags/reference_data_api.py,sha256=DdmRsoiG7nLk8EgXWT1KvurcQnPYAlr1Dz0kdpdWGRQ,172
|
|
@@ -74,10 +78,10 @@ snaptrade_client/apis/tags/trading_api.py,sha256=J0L9w7V4uoH3_fkvmJhpVQTIUQCACBg
|
|
|
74
78
|
snaptrade_client/apis/tags/trading_api_generated.py,sha256=dbNWUjGnGVNg_ZFEPI0yw7EF4_DjonpEjhjBU5lsfQc,1898
|
|
75
79
|
snaptrade_client/apis/tags/transactions_and_reporting_api.py,sha256=4qC3MPU73Cj2ePSxD_GIjrvvxLbjEEsan2VcDqVZXd4,217
|
|
76
80
|
snaptrade_client/apis/tags/transactions_and_reporting_api_generated.py,sha256=Tw43o6-dzwGDnD5hPtc5Vz2f7EdM-yFw8FQkLI5suak,573
|
|
77
|
-
snaptrade_client/client.py,sha256=
|
|
78
|
-
snaptrade_client/client.pyi,sha256=
|
|
81
|
+
snaptrade_client/client.py,sha256=p-1j4DS7DHuwClS8Kh4VHbTFB7jf-DMpkrh5PcCmYTg,2308
|
|
82
|
+
snaptrade_client/client.pyi,sha256=p-1j4DS7DHuwClS8Kh4VHbTFB7jf-DMpkrh5PcCmYTg,2308
|
|
79
83
|
snaptrade_client/client_custom.py,sha256=Jx9ulCzelMFlESjzVFQSjBlYcH4dWxSJJWZDMPLyetM,745
|
|
80
|
-
snaptrade_client/configuration.py,sha256=
|
|
84
|
+
snaptrade_client/configuration.py,sha256=WSOYxfisl73pS9PxO2o055YiPa-4AidVAhKKRjQtVTI,19262
|
|
81
85
|
snaptrade_client/exceptions.py,sha256=X0apI_sgQpGpa-qIqPUClReCdHAxeSuA6GW0YH_RsWg,7771
|
|
82
86
|
snaptrade_client/exceptions_base.py,sha256=LAQkaC5C61-SdBLfyMjb0K7AYJkWVuLmg2uCvHa71FM,2274
|
|
83
87
|
snaptrade_client/model/__init__.py,sha256=ayi2MIzcf0eAIsY13ToiNplV9tW-pMBFrC0I9yckGM8,350
|
|
@@ -99,8 +103,20 @@ snaptrade_client/model/account_meta.py,sha256=DinCJws8L_EvoyL0TaZ3mxqmF7WHP8qdgj
|
|
|
99
103
|
snaptrade_client/model/account_meta.pyi,sha256=DinCJws8L_EvoyL0TaZ3mxqmF7WHP8qdgjmQpMMuyVM,1877
|
|
100
104
|
snaptrade_client/model/account_order_record.py,sha256=8iJAzCQm73UqoVmMr3bNlc1cMzk4_S90qAIbs4ZnBWA,31710
|
|
101
105
|
snaptrade_client/model/account_order_record.pyi,sha256=8iJAzCQm73UqoVmMr3bNlc1cMzk4_S90qAIbs4ZnBWA,31710
|
|
106
|
+
snaptrade_client/model/account_order_record_leg.py,sha256=Zgqrj6UmF3mknjtppSUjcKJDCMkpx83AC02zNrNRo0U,10571
|
|
107
|
+
snaptrade_client/model/account_order_record_leg.pyi,sha256=Zgqrj6UmF3mknjtppSUjcKJDCMkpx83AC02zNrNRo0U,10571
|
|
108
|
+
snaptrade_client/model/account_order_record_leg_instrument.py,sha256=zzJVJo4Utc4WQqrqdc_NhFoajpBnTaqUSUzCVe2N_7Y,5661
|
|
109
|
+
snaptrade_client/model/account_order_record_leg_instrument.pyi,sha256=zzJVJo4Utc4WQqrqdc_NhFoajpBnTaqUSUzCVe2N_7Y,5661
|
|
102
110
|
snaptrade_client/model/account_order_record_status.py,sha256=TaZl_CIulyjOpUj6qfl5e1lVZincJOkqyhyEvDlzbwU,3727
|
|
103
111
|
snaptrade_client/model/account_order_record_status.pyi,sha256=9DRPTVdVxnRZtLu4fFHr7hC-KAREWyXomZz-m6XG8jc,2882
|
|
112
|
+
snaptrade_client/model/account_order_record_status_v2.py,sha256=c03lnNl7zXZ0nQxl8IUSSi8RN3JtSCcIdsnlmnL5mLE,2255
|
|
113
|
+
snaptrade_client/model/account_order_record_status_v2.pyi,sha256=vQMRYiu5juuYND6W5caqWu_EDcm922NveU_jz6rvljM,1774
|
|
114
|
+
snaptrade_client/model/account_order_record_status_v2_nullable.py,sha256=gEgtXtJInnWd6IbeOYD9XiOLP5OQVqLAHuEPFom3Fi0,2642
|
|
115
|
+
snaptrade_client/model/account_order_record_status_v2_nullable.pyi,sha256=gEgtXtJInnWd6IbeOYD9XiOLP5OQVqLAHuEPFom3Fi0,2642
|
|
116
|
+
snaptrade_client/model/account_order_record_v2.py,sha256=WIjkNTeT5ky38zjz2EIM486Rfh2UsBHC5bBzrvP5CUU,13438
|
|
117
|
+
snaptrade_client/model/account_order_record_v2.pyi,sha256=WIjkNTeT5ky38zjz2EIM486Rfh2UsBHC5bBzrvP5CUU,13438
|
|
118
|
+
snaptrade_client/model/account_orders_v2_response.py,sha256=7YFT2nka9j0Q1inXk0ZL9UNYlMaqtOQ7piXszMQddmU,3573
|
|
119
|
+
snaptrade_client/model/account_orders_v2_response.pyi,sha256=7YFT2nka9j0Q1inXk0ZL9UNYlMaqtOQ7piXszMQddmU,3573
|
|
104
120
|
snaptrade_client/model/account_simple.py,sha256=wn9QxG5mIsGTRA10XWCJGUsJ8x_CUyYFRcP2DzVUMyE,4291
|
|
105
121
|
snaptrade_client/model/account_simple.pyi,sha256=wn9QxG5mIsGTRA10XWCJGUsJ8x_CUyYFRcP2DzVUMyE,4291
|
|
106
122
|
snaptrade_client/model/account_sync_status.py,sha256=YGFS1jThbDrDQu7HemWOWDNR9Y9zytv-MS5PLe7I0g8,3438
|
|
@@ -111,6 +127,8 @@ snaptrade_client/model/action.py,sha256=ghW1AlJ_opoTqpz2Af0WV3NSoMSqOwe5P1TvLOtj
|
|
|
111
127
|
snaptrade_client/model/action.pyi,sha256=ghW1AlJ_opoTqpz2Af0WV3NSoMSqOwe5P1TvLOtjgXI,596
|
|
112
128
|
snaptrade_client/model/action_strict.py,sha256=RDqCwM5SU8ZX_WojgH3xHCZSEKBMjSQ2uQk0ZSfQiiE,1082
|
|
113
129
|
snaptrade_client/model/action_strict.pyi,sha256=t9mulK4IvbwkuIqgf1HNZii-MUK0NKLjVWkBqeQAY98,965
|
|
130
|
+
snaptrade_client/model/action_strict_v2.py,sha256=cxhxY7v7luKBTuF4HX82Py1PGqZAe6XnTk5BXa9lH7Q,604
|
|
131
|
+
snaptrade_client/model/action_strict_v2.pyi,sha256=cxhxY7v7luKBTuF4HX82Py1PGqZAe6XnTk5BXa9lH7Q,604
|
|
114
132
|
snaptrade_client/model/action_strict_with_options.py,sha256=JUxd1JzC17RlWc9VymBQLHSQnGyCJq5MHSxDB8aZFCs,1744
|
|
115
133
|
snaptrade_client/model/action_strict_with_options.pyi,sha256=TmKZHWsdn8dwXP3h_D38l0Ev-e0imo7iLXTLyU3DePg,1451
|
|
116
134
|
snaptrade_client/model/balance.py,sha256=twGYvYvG1Ltay7cj3oVzwS4LGAEwgfMZTXwqKVGC_Po,6901
|
|
@@ -423,50 +441,56 @@ snaptrade_client/model/user_secret.py,sha256=7xf__S566WtTq7VthmdVtrCBIfgpnYWYqE9
|
|
|
423
441
|
snaptrade_client/model/user_secret.pyi,sha256=7xf__S566WtTq7VthmdVtrCBIfgpnYWYqE9cmz9vBMc,600
|
|
424
442
|
snaptrade_client/model/validated_trade_body.py,sha256=NkTel1ulgSjBd6K7vur6puEbfrg3u1vdmtUKArOu8ws,3085
|
|
425
443
|
snaptrade_client/model/validated_trade_body.pyi,sha256=NkTel1ulgSjBd6K7vur6puEbfrg3u1vdmtUKArOu8ws,3085
|
|
426
|
-
snaptrade_client/models/__init__.py,sha256=
|
|
427
|
-
snaptrade_client/operation_parameter_map.py,sha256=
|
|
428
|
-
snaptrade_client/paths/__init__.py,sha256=
|
|
444
|
+
snaptrade_client/models/__init__.py,sha256=eCdmaEzyV2CT4K3PKgsBWDTBs4JmW4DsB9BCb2gRjeo,13999
|
|
445
|
+
snaptrade_client/operation_parameter_map.py,sha256=8DEC0BfPisWdf9-TncvKm8bxar5Ze-J2rIYUc5hqk1Q,19073
|
|
446
|
+
snaptrade_client/paths/__init__.py,sha256=O5AyZd3nQk5HAoQSp2mwdtnBGBmnOhYS6m3JBRk244c,3672
|
|
429
447
|
snaptrade_client/paths/accounts/__init__.py,sha256=_Bqi6B13A-kgd0AOpqmcE1vTxJDfoz-r3Hwf-AmwW6A,307
|
|
430
|
-
snaptrade_client/paths/accounts/get.py,sha256=
|
|
431
|
-
snaptrade_client/paths/accounts/get.pyi,sha256=
|
|
448
|
+
snaptrade_client/paths/accounts/get.py,sha256=XR5J2YLyYQrfHRVSK0hfUJKhVsu-6P7ii5AeRgGz8Ao,16835
|
|
449
|
+
snaptrade_client/paths/accounts/get.pyi,sha256=6fsjWz70WuEn-bupBDeaHJ46o7TJikwp0akJqKaob88,16633
|
|
432
450
|
snaptrade_client/paths/accounts_account_id/__init__.py,sha256=9aC0eIU_zO4LjW3yibk0-Kz1EM4BdeDGrZKVqb6JT6c,329
|
|
433
|
-
snaptrade_client/paths/accounts_account_id/get.py,sha256=
|
|
434
|
-
snaptrade_client/paths/accounts_account_id/get.pyi,sha256=
|
|
451
|
+
snaptrade_client/paths/accounts_account_id/get.py,sha256=dhQZvchTeIf6JKvLMcwU7KoPCXpyz-KW7xrDQleGZCI,19670
|
|
452
|
+
snaptrade_client/paths/accounts_account_id/get.pyi,sha256=iGPQC1hXzNp89COsHRuD6QTzsHkjJmF4dKFlfOf6XxI,19468
|
|
435
453
|
snaptrade_client/paths/accounts_account_id/put.py,sha256=yUtU_Ztlb4LcRBE9RbkthicOIW9YKg9gkp9LXFjPTIw,18935
|
|
436
454
|
snaptrade_client/paths/accounts_account_id/put.pyi,sha256=x_GjR3jkoxPvy-NzjnD-f5Hb8EZL3NJxVwMHVSmWpGA,18733
|
|
437
455
|
snaptrade_client/paths/accounts_account_id_activities/__init__.py,sha256=qlDvsgw0WG71ArqzcRK7BinKmGDD87MuNTgRF3qsiak,351
|
|
438
456
|
snaptrade_client/paths/accounts_account_id_activities/get.py,sha256=swwM-uLT8uFfypqhz5-84SvfSkYcET0CkRSiMBPpsPY,23602
|
|
439
457
|
snaptrade_client/paths/accounts_account_id_activities/get.pyi,sha256=V0KadGSbTa8Cszc7Tqr4GbcVowbew3cZ1YR45paRRYo,23264
|
|
440
458
|
snaptrade_client/paths/accounts_account_id_balances/__init__.py,sha256=LMzd1SUmXEbRDIfESN0Aap2D2FQT9N_QI-MrJsHFA6M,347
|
|
441
|
-
snaptrade_client/paths/accounts_account_id_balances/get.py,sha256=
|
|
442
|
-
snaptrade_client/paths/accounts_account_id_balances/get.pyi,sha256=
|
|
459
|
+
snaptrade_client/paths/accounts_account_id_balances/get.py,sha256=DJ90z6YHYWmxjEhCIOg3UH9Sd8LkNTkvFAD_Xc9FYf0,21312
|
|
460
|
+
snaptrade_client/paths/accounts_account_id_balances/get.pyi,sha256=xUBNL44R5tOY0EUjrZ3QPsvxfeAZ92dtCZxlp_XsmK8,21110
|
|
443
461
|
snaptrade_client/paths/accounts_account_id_holdings/__init__.py,sha256=EkzRO4nxKZWuVWU5PkA0nQsIcAupunq2k_d_Vnc3X0M,347
|
|
444
|
-
snaptrade_client/paths/accounts_account_id_holdings/get.py,sha256=
|
|
445
|
-
snaptrade_client/paths/accounts_account_id_holdings/get.pyi,sha256
|
|
462
|
+
snaptrade_client/paths/accounts_account_id_holdings/get.py,sha256=A9vQ3QnQLWST_oCukPEEZdHx7NL9Qb-mPDg307DIuZU,23218
|
|
463
|
+
snaptrade_client/paths/accounts_account_id_holdings/get.pyi,sha256=azePL-mBfCxtI-FqUh2Ov4XKZLCrr4-DR4FQC2ftLII,22934
|
|
446
464
|
snaptrade_client/paths/accounts_account_id_options/__init__.py,sha256=lo1mHnLsrOOIWOjzgIxryXLAXohM1empUmzef0JxjKI,345
|
|
447
|
-
snaptrade_client/paths/accounts_account_id_options/get.py,sha256=
|
|
448
|
-
snaptrade_client/paths/accounts_account_id_options/get.pyi,sha256=
|
|
465
|
+
snaptrade_client/paths/accounts_account_id_options/get.py,sha256=b7cH-9DaT8Z6A0bKxd6p5etTddRRdnNtNI05zygTpNM,20673
|
|
466
|
+
snaptrade_client/paths/accounts_account_id_options/get.pyi,sha256=MU-7bomnVBwZB0IyFkPwtoiBga872I32i9htXQdMLl0,20479
|
|
449
467
|
snaptrade_client/paths/accounts_account_id_options_chain/__init__.py,sha256=ork46e4Gd8LcCS8jQSBwwDuM7h2L9L6VJX4KOMlro2M,357
|
|
450
468
|
snaptrade_client/paths/accounts_account_id_options_chain/get.py,sha256=9wE6K2qLBKMxJBGuXCkVKVHOeAGquEzGQYrw_Yv44DU,19093
|
|
451
469
|
snaptrade_client/paths/accounts_account_id_options_chain/get.pyi,sha256=7qu-rIKEaRegnMZLruZMmC3ON-bCy-dX3R2Umsep0nU,18899
|
|
452
470
|
snaptrade_client/paths/accounts_account_id_orders/__init__.py,sha256=zHuTi8F_iUeJNBtI08jQZe2-gAFrIDAYEl1B5y0XpTM,343
|
|
453
|
-
snaptrade_client/paths/accounts_account_id_orders/get.py,sha256=
|
|
454
|
-
snaptrade_client/paths/accounts_account_id_orders/get.pyi,sha256=
|
|
471
|
+
snaptrade_client/paths/accounts_account_id_orders/get.py,sha256=_a2ZD1RrteTno5TaADXO2AmhXHpKKt2o1eGjxXgOJvs,22817
|
|
472
|
+
snaptrade_client/paths/accounts_account_id_orders/get.pyi,sha256=OjinIFRFGF31JAS279Mffc-BsyKgKHCq1ZBTsBAarwE,22402
|
|
455
473
|
snaptrade_client/paths/accounts_account_id_orders_cancel/__init__.py,sha256=UIeHlsXhxZyqf4ADkLxYxJUH6ChCcSkpeML1XWjxGdI,357
|
|
456
474
|
snaptrade_client/paths/accounts_account_id_orders_cancel/post.py,sha256=sPmESQzGN6Y_ah1zE9JqB5f8SucQUeQnJYSsIOhCgCg,24634
|
|
457
475
|
snaptrade_client/paths/accounts_account_id_orders_cancel/post.pyi,sha256=7rGmssodCjE7gL93TszNkejW8aPyQuoMehuPecNUpbE,24410
|
|
458
476
|
snaptrade_client/paths/accounts_account_id_orders_details/__init__.py,sha256=6PWLMs5Y6WxEM5h99FQSSpvq7Btg4dfrgMkWk3mhBYo,359
|
|
459
477
|
snaptrade_client/paths/accounts_account_id_orders_details/post.py,sha256=sKlgBkbf_3AYG1i-Te5DNON5B74Lp_I7tMNYzT0gwiI,25690
|
|
460
478
|
snaptrade_client/paths/accounts_account_id_orders_details/post.pyi,sha256=UDhFYZKTQJ47rIh37A2cbiVVwmNjJbDZaOJ9Y5pwEx4,25436
|
|
479
|
+
snaptrade_client/paths/accounts_account_id_orders_v2/__init__.py,sha256=bLxvW4BvuS8smxB8nP-1X0-OjS-Mcty5RRl1Bbe2AVE,349
|
|
480
|
+
snaptrade_client/paths/accounts_account_id_orders_v2/get.py,sha256=bNxhD1o7ZWyCAxXbElbRkX_zSZ107nwBbfyjoVSzsU4,21226
|
|
481
|
+
snaptrade_client/paths/accounts_account_id_orders_v2/get.pyi,sha256=xuyziqQ2H4YxTYnyLLeyaRO6M0nakQNth9LZqJtBYQo,20811
|
|
461
482
|
snaptrade_client/paths/accounts_account_id_positions/__init__.py,sha256=UB-B0t2OnlP8QvI9ptBNhqYsywmYsFZz9G8NJkVZBTM,349
|
|
462
|
-
snaptrade_client/paths/accounts_account_id_positions/get.py,sha256=
|
|
463
|
-
snaptrade_client/paths/accounts_account_id_positions/get.pyi,sha256=
|
|
483
|
+
snaptrade_client/paths/accounts_account_id_positions/get.py,sha256=tM59585FZGE4Ld6l5H6NdmWU02I-DofPxZu8BHyZNZA,21144
|
|
484
|
+
snaptrade_client/paths/accounts_account_id_positions/get.pyi,sha256=hfVLsaU1yhgd_0UDZcCBNy6PigfxYYYfWIMgHlMCeqo,20942
|
|
464
485
|
snaptrade_client/paths/accounts_account_id_quotes/__init__.py,sha256=_EWd0irMSNiZtx_chO_X9TCy_WWzFQoySf3yLEkAh2I,343
|
|
465
486
|
snaptrade_client/paths/accounts_account_id_quotes/get.py,sha256=JADR5PB0JVGiRBwWaKhRj4w4BlRMu96p6WPEvVVivE0,20735
|
|
466
487
|
snaptrade_client/paths/accounts_account_id_quotes/get.pyi,sha256=xsIXCJCcHZ8aCS-ammQ75NSiPP1HJdyf4IExstlmysk,20541
|
|
467
488
|
snaptrade_client/paths/accounts_account_id_recent_orders/__init__.py,sha256=9ZDFg99fFJZ_6RAxHQkzGxuUu5HjiU25zdIc3huER-c,357
|
|
468
489
|
snaptrade_client/paths/accounts_account_id_recent_orders/get.py,sha256=84L0viTmOUCXL0N5HjYNpvdTtOLeAbvTb7GaBMR3AOM,21657
|
|
469
490
|
snaptrade_client/paths/accounts_account_id_recent_orders/get.pyi,sha256=tuVF4yvT-SuGmssaNoEI-_DzbXdC_tQC7_8Rg4UXEtY,21433
|
|
491
|
+
snaptrade_client/paths/accounts_account_id_recent_orders_v2/__init__.py,sha256=3K2mIfhY1oJOi2Dh8VB4JIVmm7d_ycX84OIJrIeA6GI,363
|
|
492
|
+
snaptrade_client/paths/accounts_account_id_recent_orders_v2/get.py,sha256=Y6ojHr2wzxogyQJE74RiO8gmgS0vVCnq2Q_NSZ_cK1Q,21796
|
|
493
|
+
snaptrade_client/paths/accounts_account_id_recent_orders_v2/get.pyi,sha256=25qOuNimxw0x2CB6Mn9tL1FduTa27vtZuvEa-QVMvl8,21572
|
|
470
494
|
snaptrade_client/paths/accounts_account_id_return_rates/__init__.py,sha256=oxMvoGv1lRCOvfyU2kAcqTig8iFDZY_QJ_I-r_afYD0,355
|
|
471
495
|
snaptrade_client/paths/accounts_account_id_return_rates/get.py,sha256=ZeigsPa2MX9GU0PXo2Fto_QdQr_9Wqo4cnkkBotKkok,19616
|
|
472
496
|
snaptrade_client/paths/accounts_account_id_return_rates/get.pyi,sha256=T1v2xFhH6S96FaggQQa6jN9qAYDCyUBUmv_rizUXhZA,19392
|
|
@@ -512,8 +536,8 @@ snaptrade_client/paths/authorizations_authorization_id_disable/__init__.py,sha25
|
|
|
512
536
|
snaptrade_client/paths/authorizations_authorization_id_disable/post.py,sha256=MvCClKi8kjlh1z22Zb121gVX64fFcb6TUFZO5PYzfFk,22307
|
|
513
537
|
snaptrade_client/paths/authorizations_authorization_id_disable/post.pyi,sha256=sfD_WnNCjcP51ugfkf7oRoP6F9Gdk4HgYJTWfZAMkTU,22023
|
|
514
538
|
snaptrade_client/paths/authorizations_authorization_id_refresh/__init__.py,sha256=Yv0ig0vQjYxadUU_TEo19MralKnO0CyDG9pz47kf2iw,369
|
|
515
|
-
snaptrade_client/paths/authorizations_authorization_id_refresh/post.py,sha256=
|
|
516
|
-
snaptrade_client/paths/authorizations_authorization_id_refresh/post.pyi,sha256=
|
|
539
|
+
snaptrade_client/paths/authorizations_authorization_id_refresh/post.py,sha256=qFz6PoP15U9xtOuVlnLujq7t_hqY9ImlctvVkbAa6r0,22535
|
|
540
|
+
snaptrade_client/paths/authorizations_authorization_id_refresh/post.pyi,sha256=RZ2n1RQlfZ5p9b-4Amh0uTdnLrTDJf79GKcxAauJjXQ,22251
|
|
517
541
|
snaptrade_client/paths/authorizations_authorization_id_return_rates/__init__.py,sha256=BsRP258HY68VEwqvdmNWhMsIUDwjXFesJZvURpMXrgY,379
|
|
518
542
|
snaptrade_client/paths/authorizations_authorization_id_return_rates/get.py,sha256=faV5MOuOJZ7hxKRt2GCgD4l4lGLrEdNoIyCFLNYhwns,19561
|
|
519
543
|
snaptrade_client/paths/authorizations_authorization_id_return_rates/get.pyi,sha256=maUAQtJJQrtuUg5BTzSZqvNcBb3R8BV1_WNX0SuiNsg,19337
|
|
@@ -602,12 +626,19 @@ snaptrade_client/type/account_id.py,sha256=6xYSAdrRj15wXu1OIXIgpS_bhxXaLNT-bAYW1
|
|
|
602
626
|
snaptrade_client/type/account_ids.py,sha256=tD7-0yhINoqozMbLIKQ_XTVVQdNOTXMvhATvjAP4OCs,388
|
|
603
627
|
snaptrade_client/type/account_meta.py,sha256=LuUXBeqct8pJwTvL-BlRhxHqn5IMLqlfguCUPSGnLz0,390
|
|
604
628
|
snaptrade_client/type/account_order_record.py,sha256=fR62IbSHjdeZBXnWMUhqk400fLy6racYQcLYdI05UR0,5731
|
|
629
|
+
snaptrade_client/type/account_order_record_leg.py,sha256=8uq6kFuaeMoSwIRrGmJnBpynZfw4dzJj2ORWnQUWnlk,1717
|
|
630
|
+
snaptrade_client/type/account_order_record_leg_instrument.py,sha256=7l94hunOiq2MH3_cEwZAU1YQefY4TfzuH2JsXoNZ8CQ,1076
|
|
605
631
|
snaptrade_client/type/account_order_record_status.py,sha256=7UCcPLIE_QVcBm488PfbuIwnQFetCu7wANTmsrg_NMg,677
|
|
632
|
+
snaptrade_client/type/account_order_record_status_v2.py,sha256=xIQ2rrNfsN_TLY0qJz3bYjGyz75VUxHwjFybzYcV5tU,557
|
|
633
|
+
snaptrade_client/type/account_order_record_status_v2_nullable.py,sha256=BHfryYJTaw5GCd5CCvU-S5YCfSIERS8BbLVlNWSKa_0,565
|
|
634
|
+
snaptrade_client/type/account_order_record_v2.py,sha256=NTXb_MdxQpisEDff7Agl_oaDk0YARV0HIKnSnkbpd_M,3038
|
|
635
|
+
snaptrade_client/type/account_orders_v2_response.py,sha256=HD_kh69S73Cd7zKLxaMyTZrIV0KqDEfhgt0DhoIUTAA,773
|
|
606
636
|
snaptrade_client/type/account_simple.py,sha256=4vmKftyvxG72FXtiS0wG4IK81rfBvjcFcGO0j1NVvDo,1133
|
|
607
637
|
snaptrade_client/type/account_sync_status.py,sha256=i85qixRiLAFDJo0sYiSATocIuPv-ZEgwPkZaiMjKD58,776
|
|
608
638
|
snaptrade_client/type/account_universal_activity.py,sha256=D0u1v5AyhYmCv8Fxo15bra7kKO7C3NF0CWmPoqzpYLk,4966
|
|
609
639
|
snaptrade_client/type/action.py,sha256=BzULR2JGyYNDNh6nVrwt3TFY0t-sJHAcudzC0UFxio4,384
|
|
610
640
|
snaptrade_client/type/action_strict.py,sha256=9My8RBJY53S5Ou7fqF8n_yOw0exE02uCqQ1kz45dwUg,409
|
|
641
|
+
snaptrade_client/type/action_strict_v2.py,sha256=7vKcG-RLpVYIXV5aNH99mC3XwTeZLSvB7NSQhqj6wC4,392
|
|
611
642
|
snaptrade_client/type/action_strict_with_options.py,sha256=Rz_Mp9hZrod2wr2fc6sqg0vIQM-uBtJ3n_3CycUOMpY,484
|
|
612
643
|
snaptrade_client/type/balance.py,sha256=E3uLbXAZBLu5f8Zoy3d2_CIweg8vqUHddXO1sGQ-WOs,1086
|
|
613
644
|
snaptrade_client/type/brokerage.py,sha256=hf2lpZ7w7Ldh8f46DIY5KGZqHGPB7N1cKB-q0xLFuvQ,2489
|
|
@@ -766,7 +797,7 @@ snaptrade_client/type/user_secret.py,sha256=pKCVhqf1rROHwa6tvoyA5OAKXCBAmNDvIQCf
|
|
|
766
797
|
snaptrade_client/type/validated_trade_body.py,sha256=ZIPBQWii_a-9zHaBCJ6bQtmL1_I7AG0zwuvkY-ZQ6R4,890
|
|
767
798
|
snaptrade_client/type_util.py,sha256=JIrMYgJzd4IJ8Ne2vqcahlPA9dVmphL9sn8gwccCB4Y,563
|
|
768
799
|
snaptrade_client/validation_metadata.py,sha256=VTN5y-NudHXok1X468J4PnGze_tGEAcs1v3gsXmcrb0,3172
|
|
769
|
-
snaptrade_python_sdk-11.0.
|
|
770
|
-
snaptrade_python_sdk-11.0.
|
|
771
|
-
snaptrade_python_sdk-11.0.
|
|
772
|
-
snaptrade_python_sdk-11.0.
|
|
800
|
+
snaptrade_python_sdk-11.0.145.dist-info/LICENSE,sha256=W_1kcxEzOnZXIYJ1GVUipbmUu6dNLt-Pc-OI55h3k-A,1081
|
|
801
|
+
snaptrade_python_sdk-11.0.145.dist-info/METADATA,sha256=Cxj112-lmzn49w7jOiwmonCP18p1WcOAoV_2jJKaBmw,100860
|
|
802
|
+
snaptrade_python_sdk-11.0.145.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
803
|
+
snaptrade_python_sdk-11.0.145.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|