snaptrade-python-sdk 13.2.0__py3-none-any.whl → 13.2.1__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__ = "13.2.0"
15
+ __version__ = "13.2.1"
16
16
 
17
17
  # import ApiClient
18
18
  from snaptrade_client.api_client import ApiClient
@@ -1175,7 +1175,7 @@ class ApiClient(typing.Generic[TAuth]):
1175
1175
  self.default_headers[header_name] = header_value
1176
1176
  self.cookie = cookie
1177
1177
  # Set default User-Agent.
1178
- self.user_agent = 'Konfig/13.2.0/python'
1178
+ self.user_agent = 'Konfig/13.2.1/python'
1179
1179
 
1180
1180
  def __enter__(self):
1181
1181
  return self
@@ -25,11 +25,14 @@ from snaptrade_client.apis.paths.accounts_account_id_balances import AccountsAcc
25
25
  from snaptrade_client.apis.paths.accounts_account_id_balances_v2 import AccountsAccountIdBalancesV2
26
26
  from snaptrade_client.apis.paths.accounts_account_id_positions_all import AccountsAccountIdPositionsAll
27
27
  from snaptrade_client.apis.paths.accounts_account_id_orders import AccountsAccountIdOrders
28
+ from snaptrade_client.apis.paths.accounts_account_id_orders_all import AccountsAccountIdOrdersAll
28
29
  from snaptrade_client.apis.paths.accounts_account_id_balance_history import AccountsAccountIdBalanceHistory
29
30
  from snaptrade_client.apis.paths.accounts_account_id_recent_orders import AccountsAccountIdRecentOrders
31
+ from snaptrade_client.apis.paths.accounts_account_id_orders_recent import AccountsAccountIdOrdersRecent
30
32
  from snaptrade_client.apis.paths.accounts_account_id_return_rates import AccountsAccountIdReturnRates
31
33
  from snaptrade_client.apis.paths.accounts_account_id_activities import AccountsAccountIdActivities
32
34
  from snaptrade_client.apis.paths.accounts_account_id_orders_details import AccountsAccountIdOrdersDetails
35
+ from snaptrade_client.apis.paths.accounts_account_id_orders_brokerage_order_id import AccountsAccountIdOrdersBrokerageOrderId
33
36
  from snaptrade_client.apis.paths.accounts_account_id_quotes import AccountsAccountIdQuotes
34
37
  from snaptrade_client.apis.paths.trade_impact import TradeImpact
35
38
  from snaptrade_client.apis.paths.accounts_account_id_trading_options_impact import AccountsAccountIdTradingOptionsImpact
@@ -50,9 +53,7 @@ from snaptrade_client.apis.paths.snap_trade_trade_detection_subscriptions_cancel
50
53
  from snaptrade_client.apis.paths.management_stats import ManagementStats
51
54
  from snaptrade_client.apis.paths.snap_trade_stats import SnapTradeStats
52
55
  from snaptrade_client.apis.paths.accounts_account_id_orders_v2 import AccountsAccountIdOrdersV2
53
- from snaptrade_client.apis.paths.accounts_account_id_orders_all import AccountsAccountIdOrdersAll
54
56
  from snaptrade_client.apis.paths.accounts_account_id_recent_orders_v2 import AccountsAccountIdRecentOrdersV2
55
- from snaptrade_client.apis.paths.accounts_account_id_orders_recent import AccountsAccountIdOrdersRecent
56
57
  from snaptrade_client.apis.paths.accounts_account_id_symbols import AccountsAccountIdSymbols
57
58
  from snaptrade_client.apis.paths.brokerages import Brokerages
58
59
  from snaptrade_client.apis.paths.institutions import Institutions
@@ -63,7 +64,6 @@ from snaptrade_client.apis.paths.symbols import Symbols
63
64
  from snaptrade_client.apis.paths.symbols_query import SymbolsQuery
64
65
  from snaptrade_client.apis.paths.accounts_account_id_trading_simple import AccountsAccountIdTradingSimple
65
66
  from snaptrade_client.apis.paths.accounts_account_id_orders_details_v2_brokerage_order_id import AccountsAccountIdOrdersDetailsV2BrokerageOrderId
66
- from snaptrade_client.apis.paths.accounts_account_id_orders_brokerage_order_id import AccountsAccountIdOrdersBrokerageOrderId
67
67
 
68
68
  PathToApi = typing_extensions.TypedDict(
69
69
  'PathToApi',
@@ -92,11 +92,14 @@ PathToApi = typing_extensions.TypedDict(
92
92
  PathValues.ACCOUNTS_ACCOUNT_ID_BALANCES_V2: AccountsAccountIdBalancesV2,
93
93
  PathValues.ACCOUNTS_ACCOUNT_ID_POSITIONS_ALL: AccountsAccountIdPositionsAll,
94
94
  PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS: AccountsAccountIdOrders,
95
+ PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_ALL: AccountsAccountIdOrdersAll,
95
96
  PathValues.ACCOUNTS_ACCOUNT_ID_BALANCE_HISTORY: AccountsAccountIdBalanceHistory,
96
97
  PathValues.ACCOUNTS_ACCOUNT_ID_RECENT_ORDERS: AccountsAccountIdRecentOrders,
98
+ PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_RECENT: AccountsAccountIdOrdersRecent,
97
99
  PathValues.ACCOUNTS_ACCOUNT_ID_RETURN_RATES: AccountsAccountIdReturnRates,
98
100
  PathValues.ACCOUNTS_ACCOUNT_ID_ACTIVITIES: AccountsAccountIdActivities,
99
101
  PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_DETAILS: AccountsAccountIdOrdersDetails,
102
+ PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_BROKERAGE_ORDER_ID: AccountsAccountIdOrdersBrokerageOrderId,
100
103
  PathValues.ACCOUNTS_ACCOUNT_ID_QUOTES: AccountsAccountIdQuotes,
101
104
  PathValues.TRADE_IMPACT: TradeImpact,
102
105
  PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_OPTIONS_IMPACT: AccountsAccountIdTradingOptionsImpact,
@@ -117,9 +120,7 @@ PathToApi = typing_extensions.TypedDict(
117
120
  PathValues.MANAGEMENT_STATS: ManagementStats,
118
121
  PathValues.SNAP_TRADE_STATS: SnapTradeStats,
119
122
  PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_V2: AccountsAccountIdOrdersV2,
120
- PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_ALL: AccountsAccountIdOrdersAll,
121
123
  PathValues.ACCOUNTS_ACCOUNT_ID_RECENT_ORDERS_V2: AccountsAccountIdRecentOrdersV2,
122
- PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_RECENT: AccountsAccountIdOrdersRecent,
123
124
  PathValues.ACCOUNTS_ACCOUNT_ID_SYMBOLS: AccountsAccountIdSymbols,
124
125
  PathValues.BROKERAGES: Brokerages,
125
126
  PathValues.INSTITUTIONS: Institutions,
@@ -130,7 +131,6 @@ PathToApi = typing_extensions.TypedDict(
130
131
  PathValues.SYMBOLS_QUERY: SymbolsQuery,
131
132
  PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_SIMPLE: AccountsAccountIdTradingSimple,
132
133
  PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_DETAILS_V2_BROKERAGE_ORDER_ID: AccountsAccountIdOrdersDetailsV2BrokerageOrderId,
133
- PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_BROKERAGE_ORDER_ID: AccountsAccountIdOrdersBrokerageOrderId,
134
134
  }
135
135
  )
136
136
 
@@ -160,11 +160,14 @@ path_to_api = PathToApi(
160
160
  PathValues.ACCOUNTS_ACCOUNT_ID_BALANCES_V2: AccountsAccountIdBalancesV2,
161
161
  PathValues.ACCOUNTS_ACCOUNT_ID_POSITIONS_ALL: AccountsAccountIdPositionsAll,
162
162
  PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS: AccountsAccountIdOrders,
163
+ PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_ALL: AccountsAccountIdOrdersAll,
163
164
  PathValues.ACCOUNTS_ACCOUNT_ID_BALANCE_HISTORY: AccountsAccountIdBalanceHistory,
164
165
  PathValues.ACCOUNTS_ACCOUNT_ID_RECENT_ORDERS: AccountsAccountIdRecentOrders,
166
+ PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_RECENT: AccountsAccountIdOrdersRecent,
165
167
  PathValues.ACCOUNTS_ACCOUNT_ID_RETURN_RATES: AccountsAccountIdReturnRates,
166
168
  PathValues.ACCOUNTS_ACCOUNT_ID_ACTIVITIES: AccountsAccountIdActivities,
167
169
  PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_DETAILS: AccountsAccountIdOrdersDetails,
170
+ PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_BROKERAGE_ORDER_ID: AccountsAccountIdOrdersBrokerageOrderId,
168
171
  PathValues.ACCOUNTS_ACCOUNT_ID_QUOTES: AccountsAccountIdQuotes,
169
172
  PathValues.TRADE_IMPACT: TradeImpact,
170
173
  PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_OPTIONS_IMPACT: AccountsAccountIdTradingOptionsImpact,
@@ -185,9 +188,7 @@ path_to_api = PathToApi(
185
188
  PathValues.MANAGEMENT_STATS: ManagementStats,
186
189
  PathValues.SNAP_TRADE_STATS: SnapTradeStats,
187
190
  PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_V2: AccountsAccountIdOrdersV2,
188
- PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_ALL: AccountsAccountIdOrdersAll,
189
191
  PathValues.ACCOUNTS_ACCOUNT_ID_RECENT_ORDERS_V2: AccountsAccountIdRecentOrdersV2,
190
- PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_RECENT: AccountsAccountIdOrdersRecent,
191
192
  PathValues.ACCOUNTS_ACCOUNT_ID_SYMBOLS: AccountsAccountIdSymbols,
192
193
  PathValues.BROKERAGES: Brokerages,
193
194
  PathValues.INSTITUTIONS: Institutions,
@@ -198,6 +199,5 @@ path_to_api = PathToApi(
198
199
  PathValues.SYMBOLS_QUERY: SymbolsQuery,
199
200
  PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_SIMPLE: AccountsAccountIdTradingSimple,
200
201
  PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_DETAILS_V2_BROKERAGE_ORDER_ID: AccountsAccountIdOrdersDetailsV2BrokerageOrderId,
201
- PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_BROKERAGE_ORDER_ID: AccountsAccountIdOrdersBrokerageOrderId,
202
202
  }
203
203
  )
@@ -13,7 +13,10 @@ from snaptrade_client.paths.accounts_account_id_activities.get import GetAccount
13
13
  from snaptrade_client.paths.accounts_account_id_balance_history.get import GetAccountBalanceHistory
14
14
  from snaptrade_client.paths.accounts_account_id_balances_v2.get import GetAccountBalancesV2
15
15
  from snaptrade_client.paths.accounts_account_id_details.get import GetAccountDetails
16
+ from snaptrade_client.paths.accounts_account_id_orders_brokerage_order_id.get import GetAccountOrder
17
+ from snaptrade_client.paths.accounts_account_id_orders_all.get import GetAllAccountOrders
16
18
  from snaptrade_client.paths.accounts_account_id_positions_all.get import GetAllAccountPositions
19
+ from snaptrade_client.paths.accounts_account_id_orders_recent.get import GetAllAccountRecentOrders
17
20
  from snaptrade_client.paths.accounts_account_id_balances.get import GetUserAccountBalance
18
21
  from snaptrade_client.paths.accounts_account_id.get import GetUserAccountDetails
19
22
  from snaptrade_client.paths.accounts_account_id_orders_details.post import GetUserAccountOrderDetail
@@ -35,7 +38,10 @@ class AccountInformationApiGenerated(
35
38
  GetAccountBalanceHistory[TAuth],
36
39
  GetAccountBalancesV2[TAuth],
37
40
  GetAccountDetails[TAuth],
41
+ GetAccountOrder[TAuth],
42
+ GetAllAccountOrders[TAuth],
38
43
  GetAllAccountPositions[TAuth],
44
+ GetAllAccountRecentOrders[TAuth],
39
45
  GetUserAccountBalance[TAuth],
40
46
  GetUserAccountDetails[TAuth],
41
47
  GetUserAccountOrderDetail[TAuth],
@@ -11,9 +11,6 @@
11
11
 
12
12
  from snaptrade_client.paths.snap_trade_trade_detection_subscriptions.post import AddSubscription
13
13
  from snaptrade_client.paths.snap_trade_trade_detection_subscriptions_cancel.post import CancelSubscription
14
- from snaptrade_client.paths.accounts_account_id_orders_brokerage_order_id.get import GetAccountOrder
15
- from snaptrade_client.paths.accounts_account_id_orders_all.get import GetAllAccountOrders
16
- from snaptrade_client.paths.accounts_account_id_orders_recent.get import GetAllAccountRecentOrders
17
14
  from snaptrade_client.paths.accounts_account_id_orders_details_v2_brokerage_order_id.get import GetUserAccountOrderDetailV2
18
15
  from snaptrade_client.paths.accounts_account_id_orders_v2.get import GetUserAccountOrdersV2
19
16
  from snaptrade_client.paths.accounts_account_id_recent_orders_v2.get import GetUserAccountRecentOrdersV2
@@ -28,9 +25,6 @@ TAuth = typing.TypeVar("TAuth", bound=AuthMode)
28
25
  class ExperimentalEndpointsApiGenerated(
29
26
  AddSubscription[TAuth],
30
27
  CancelSubscription[TAuth],
31
- GetAccountOrder[TAuth],
32
- GetAllAccountOrders[TAuth],
33
- GetAllAccountRecentOrders[TAuth],
34
28
  GetUserAccountOrderDetailV2[TAuth],
35
29
  GetUserAccountOrdersV2[TAuth],
36
30
  GetUserAccountRecentOrdersV2[TAuth],
@@ -537,7 +537,7 @@ conf = snaptrade_client.Configuration(
537
537
  "OS: {env}\n"\
538
538
  "Python Version: {pyversion}\n"\
539
539
  "Version of the API: 1.0.0\n"\
540
- "SDK Package Version: 13.2.0".\
540
+ "SDK Package Version: 13.2.1".\
541
541
  format(env=sys.platform, pyversion=sys.version)
542
542
 
543
543
  def get_host_settings(self):
@@ -42,6 +42,29 @@ operation_parameter_map = {
42
42
  },
43
43
  ]
44
44
  },
45
+ '/accounts/{accountId}/orders/{brokerageOrderId}-GET': {
46
+ 'parameters': [
47
+ {
48
+ 'name': 'accountId'
49
+ },
50
+ {
51
+ 'name': 'brokerageOrderId'
52
+ },
53
+ ]
54
+ },
55
+ '/accounts/{accountId}/orders/all-GET': {
56
+ 'parameters': [
57
+ {
58
+ 'name': 'accountId'
59
+ },
60
+ {
61
+ 'name': 'state'
62
+ },
63
+ {
64
+ 'name': 'days'
65
+ },
66
+ ]
67
+ },
45
68
  '/accounts/{accountId}/positions/all-GET': {
46
69
  'parameters': [
47
70
  {
@@ -49,6 +72,16 @@ operation_parameter_map = {
49
72
  },
50
73
  ]
51
74
  },
75
+ '/accounts/{accountId}/orders/recent-GET': {
76
+ 'parameters': [
77
+ {
78
+ 'name': 'accountId'
79
+ },
80
+ {
81
+ 'name': 'only_executed'
82
+ },
83
+ ]
84
+ },
52
85
  '/accounts/{accountId}/balances-GET': {
53
86
  'parameters': [
54
87
  {
@@ -268,39 +301,6 @@ operation_parameter_map = {
268
301
  },
269
302
  ]
270
303
  },
271
- '/accounts/{accountId}/orders/{brokerageOrderId}-GET': {
272
- 'parameters': [
273
- {
274
- 'name': 'accountId'
275
- },
276
- {
277
- 'name': 'brokerageOrderId'
278
- },
279
- ]
280
- },
281
- '/accounts/{accountId}/orders/all-GET': {
282
- 'parameters': [
283
- {
284
- 'name': 'accountId'
285
- },
286
- {
287
- 'name': 'state'
288
- },
289
- {
290
- 'name': 'days'
291
- },
292
- ]
293
- },
294
- '/accounts/{accountId}/orders/recent-GET': {
295
- 'parameters': [
296
- {
297
- 'name': 'accountId'
298
- },
299
- {
300
- 'name': 'only_executed'
301
- },
302
- ]
303
- },
304
304
  '/accounts/{accountId}/orders/details/v2/{brokerageOrderId}-GET': {
305
305
  'parameters': [
306
306
  {
@@ -30,11 +30,14 @@ class PathValues(str, enum.Enum):
30
30
  ACCOUNTS_ACCOUNT_ID_BALANCES_V2 = "/accounts/{accountId}/balances/v2"
31
31
  ACCOUNTS_ACCOUNT_ID_POSITIONS_ALL = "/accounts/{accountId}/positions/all"
32
32
  ACCOUNTS_ACCOUNT_ID_ORDERS = "/accounts/{accountId}/orders"
33
+ ACCOUNTS_ACCOUNT_ID_ORDERS_ALL = "/accounts/{accountId}/orders/all"
33
34
  ACCOUNTS_ACCOUNT_ID_BALANCE_HISTORY = "/accounts/{accountId}/balanceHistory"
34
35
  ACCOUNTS_ACCOUNT_ID_RECENT_ORDERS = "/accounts/{accountId}/recentOrders"
36
+ ACCOUNTS_ACCOUNT_ID_ORDERS_RECENT = "/accounts/{accountId}/orders/recent"
35
37
  ACCOUNTS_ACCOUNT_ID_RETURN_RATES = "/accounts/{accountId}/returnRates"
36
38
  ACCOUNTS_ACCOUNT_ID_ACTIVITIES = "/accounts/{accountId}/activities"
37
39
  ACCOUNTS_ACCOUNT_ID_ORDERS_DETAILS = "/accounts/{accountId}/orders/details"
40
+ ACCOUNTS_ACCOUNT_ID_ORDERS_BROKERAGE_ORDER_ID = "/accounts/{accountId}/orders/{brokerageOrderId}"
38
41
  ACCOUNTS_ACCOUNT_ID_QUOTES = "/accounts/{accountId}/quotes"
39
42
  TRADE_IMPACT = "/trade/impact"
40
43
  ACCOUNTS_ACCOUNT_ID_TRADING_OPTIONS_IMPACT = "/accounts/{accountId}/trading/options/impact"
@@ -55,9 +58,7 @@ class PathValues(str, enum.Enum):
55
58
  MANAGEMENT_STATS = "/management/stats"
56
59
  SNAP_TRADE_STATS = "/snapTrade/stats"
57
60
  ACCOUNTS_ACCOUNT_ID_ORDERS_V2 = "/accounts/{accountId}/orders/v2"
58
- ACCOUNTS_ACCOUNT_ID_ORDERS_ALL = "/accounts/{accountId}/orders/all"
59
61
  ACCOUNTS_ACCOUNT_ID_RECENT_ORDERS_V2 = "/accounts/{accountId}/recentOrders/v2"
60
- ACCOUNTS_ACCOUNT_ID_ORDERS_RECENT = "/accounts/{accountId}/orders/recent"
61
62
  ACCOUNTS_ACCOUNT_ID_SYMBOLS = "/accounts/{accountId}/symbols"
62
63
  BROKERAGES = "/brokerages"
63
64
  INSTITUTIONS = "/institutions"
@@ -68,4 +69,3 @@ class PathValues(str, enum.Enum):
68
69
  SYMBOLS_QUERY = "/symbols/{query}"
69
70
  ACCOUNTS_ACCOUNT_ID_TRADING_SIMPLE = "/accounts/{accountId}/trading/simple"
70
71
  ACCOUNTS_ACCOUNT_ID_ORDERS_DETAILS_V2_BROKERAGE_ORDER_ID = "/accounts/{accountId}/orders/details/v2/{brokerageOrderId}"
71
- ACCOUNTS_ACCOUNT_ID_ORDERS_BROKERAGE_ORDER_ID = "/accounts/{accountId}/orders/{brokerageOrderId}"
@@ -703,7 +703,7 @@ class GetAllAccountOrders(BaseApi, typing.Generic[TAuth]):
703
703
  ApiResponseFor200,
704
704
  api_client.ApiResponseWithoutDeserialization,
705
705
  ]:
706
- """ Returns a list of recent orders in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/positions/all`. Every order carries a `legs` list with at least one leg. Each leg's `instrument` uses the same `Instrument` union as positions; switch on `instrument.kind` to know which fields are present. Multi-leg orders (spreads, strangles, covered calls) are a single order with multiple legs. Orders that belong to a complex order group (OCO, OTO, OTOCO) share a `group.id`. `order_type` is an object discriminated by `kind`. Each kind declares the price fields it requires (`limit_price` on `limit`, `stop_price` on `stop`, both on `stop_limit`, `trail` on `trailing_stop`), so a consumer never has to null-check a price that cannot exist for that kind. When the brokerage reports an order type we cannot normalize, `kind` is `other` and the brokerage's own label is in `raw_type`. **Experimental:** this endpoint may change without notice. 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. """
706
+ """ Returns a list of recent orders in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/positions/all`. Every order carries a `legs` list with at least one leg. Each leg's `instrument` uses the same `Instrument` union as positions; switch on `instrument.kind` to know which fields are present. Multi-leg orders (spreads, strangles, covered calls) are a single order with multiple legs. Orders that belong to a complex order group (OCO, OTO, OTOCO) share a `group.id`. `order_type` is an object discriminated by `kind`. Each kind declares the price fields it requires (`limit_price` on `limit`, `stop_price` on `stop`, both on `stop_limit`, `trail` on `trailing_stop`), so a consumer never has to null-check a price that cannot exist for that kind. When the brokerage reports an order type we cannot normalize, `kind` is `other` and the brokerage's own label is in `raw_type`. **Beta:** this endpoint and its response schema may change. 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. """
707
707
  args = self._get_all_account_orders_mapped_args(
708
708
  query_params=query_params,
709
709
  path_params=path_params,
@@ -770,7 +770,7 @@ class ApiForget(BaseApi, typing.Generic[TAuth]):
770
770
  ApiResponseFor200,
771
771
  api_client.ApiResponseWithoutDeserialization,
772
772
  ]:
773
- """ Returns a list of recent orders in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/positions/all`. Every order carries a `legs` list with at least one leg. Each leg's `instrument` uses the same `Instrument` union as positions; switch on `instrument.kind` to know which fields are present. Multi-leg orders (spreads, strangles, covered calls) are a single order with multiple legs. Orders that belong to a complex order group (OCO, OTO, OTOCO) share a `group.id`. `order_type` is an object discriminated by `kind`. Each kind declares the price fields it requires (`limit_price` on `limit`, `stop_price` on `stop`, both on `stop_limit`, `trail` on `trailing_stop`), so a consumer never has to null-check a price that cannot exist for that kind. When the brokerage reports an order type we cannot normalize, `kind` is `other` and the brokerage's own label is in `raw_type`. **Experimental:** this endpoint may change without notice. 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. """
773
+ """ Returns a list of recent orders in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/positions/all`. Every order carries a `legs` list with at least one leg. Each leg's `instrument` uses the same `Instrument` union as positions; switch on `instrument.kind` to know which fields are present. Multi-leg orders (spreads, strangles, covered calls) are a single order with multiple legs. Orders that belong to a complex order group (OCO, OTO, OTOCO) share a `group.id`. `order_type` is an object discriminated by `kind`. Each kind declares the price fields it requires (`limit_price` on `limit`, `stop_price` on `stop`, both on `stop_limit`, `trail` on `trailing_stop`), so a consumer never has to null-check a price that cannot exist for that kind. When the brokerage reports an order type we cannot normalize, `kind` is `other` and the brokerage's own label is in `raw_type`. **Beta:** this endpoint and its response schema may change. 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. """
774
774
  args = self._get_all_account_orders_mapped_args(
775
775
  query_params=query_params,
776
776
  path_params=path_params,
@@ -679,7 +679,7 @@ class GetAccountOrder(BaseApi, typing.Generic[TAuth]):
679
679
  ApiResponseFor200,
680
680
  api_client.ApiResponseWithoutDeserialization,
681
681
  ]:
682
- """ Returns the detail of a single order, identified by the brokerage order ID in the path, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. The order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. Multi-leg orders are a single order with multiple legs. This endpoint is always realtime and does not rely on cached data, except that an order in a terminal state (executed, canceled, rejected, failed, expired, replaced) may be served from a short-lived cache since it can no longer change. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint. **Experimental:** this endpoint may change without notice. """
682
+ """ Returns the detail of a single order, identified by the brokerage order ID in the path, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. The order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. Multi-leg orders are a single order with multiple legs. This endpoint is always realtime and does not rely on cached data, except that an order in a terminal state (executed, canceled, rejected, failed, expired, replaced) may be served from a short-lived cache since it can no longer change. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint. **Beta:** this endpoint and its response schema may change. """
683
683
  args = self._get_account_order_mapped_args(
684
684
  path_params=path_params,
685
685
  account_id=account_id,
@@ -740,7 +740,7 @@ class ApiForget(BaseApi, typing.Generic[TAuth]):
740
740
  ApiResponseFor200,
741
741
  api_client.ApiResponseWithoutDeserialization,
742
742
  ]:
743
- """ Returns the detail of a single order, identified by the brokerage order ID in the path, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. The order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. Multi-leg orders are a single order with multiple legs. This endpoint is always realtime and does not rely on cached data, except that an order in a terminal state (executed, canceled, rejected, failed, expired, replaced) may be served from a short-lived cache since it can no longer change. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint. **Experimental:** this endpoint may change without notice. """
743
+ """ Returns the detail of a single order, identified by the brokerage order ID in the path, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. The order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. Multi-leg orders are a single order with multiple legs. This endpoint is always realtime and does not rely on cached data, except that an order in a terminal state (executed, canceled, rejected, failed, expired, replaced) may be served from a short-lived cache since it can no longer change. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint. **Beta:** this endpoint and its response schema may change. """
744
744
  args = self._get_account_order_mapped_args(
745
745
  path_params=path_params,
746
746
  account_id=account_id,
@@ -700,7 +700,7 @@ class GetAllAccountRecentOrders(BaseApi, typing.Generic[TAuth]):
700
700
  ApiResponseFor200,
701
701
  api_client.ApiResponseWithoutDeserialization,
702
702
  ]:
703
- """ A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. 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 `/accounts/{accountId}/orders/all` in that it is always 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. Every order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. `data_freshness.as_of` is the time of this live request. **Experimental:** this endpoint may change without notice. **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)** """
703
+ """ A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. 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 `/accounts/{accountId}/orders/all` in that it is always 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. Every order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. `data_freshness.as_of` is the time of this live request. **Beta:** this endpoint and its response schema may change. **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)** """
704
704
  args = self._get_all_account_recent_orders_mapped_args(
705
705
  query_params=query_params,
706
706
  path_params=path_params,
@@ -763,7 +763,7 @@ class ApiForget(BaseApi, typing.Generic[TAuth]):
763
763
  ApiResponseFor200,
764
764
  api_client.ApiResponseWithoutDeserialization,
765
765
  ]:
766
- """ A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. 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 `/accounts/{accountId}/orders/all` in that it is always 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. Every order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. `data_freshness.as_of` is the time of this live request. **Experimental:** this endpoint may change without notice. **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)** """
766
+ """ A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders. 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 `/accounts/{accountId}/orders/all` in that it is always 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. Every order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. `data_freshness.as_of` is the time of this live request. **Beta:** this endpoint and its response schema may change. **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)** """
767
767
  args = self._get_all_account_recent_orders_mapped_args(
768
768
  query_params=query_params,
769
769
  path_params=path_params,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: snaptrade-python-sdk
3
- Version: 13.2.0
3
+ Version: 13.2.1
4
4
  Summary: Client for SnapTrade
5
5
  License: MIT
6
6
  Author: SnapTrade
@@ -87,7 +87,7 @@ See https://docs.snaptrade.com/docs/ratelimiting.
87
87
 
88
88
 
89
89
 
90
- [![PyPI](https://img.shields.io/badge/PyPI-v13.2.0-blue)](https://pypi.org/project/snaptrade-python-sdk/13.2.0)
90
+ [![PyPI](https://img.shields.io/badge/PyPI-v13.2.1-blue)](https://pypi.org/project/snaptrade-python-sdk/13.2.1)
91
91
  [![README.md](https://img.shields.io/badge/README-Click%20Here-green)](https://github.com/passiv/snaptrade-sdks/tree/master/sdks/python#readme)
92
92
  [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://snaptrade.com/)
93
93
 
@@ -112,7 +112,10 @@ See https://docs.snaptrade.com/docs/ratelimiting.
112
112
  * [`snaptrade.account_information.get_account_balance_history`](#snaptradeaccount_informationget_account_balance_history)
113
113
  * [`snaptrade.account_information.get_account_balances_v2`](#snaptradeaccount_informationget_account_balances_v2)
114
114
  * [`snaptrade.account_information.get_account_details`](#snaptradeaccount_informationget_account_details)
115
+ * [`snaptrade.account_information.get_account_order`](#snaptradeaccount_informationget_account_order)
116
+ * [`snaptrade.account_information.get_all_account_orders`](#snaptradeaccount_informationget_all_account_orders)
115
117
  * [`snaptrade.account_information.get_all_account_positions`](#snaptradeaccount_informationget_all_account_positions)
118
+ * [`snaptrade.account_information.get_all_account_recent_orders`](#snaptradeaccount_informationget_all_account_recent_orders)
116
119
  * [`snaptrade.account_information.get_user_account_balance`](#snaptradeaccount_informationget_user_account_balance)
117
120
  * [`snaptrade.account_information.get_user_account_details`](#snaptradeaccount_informationget_user_account_details)
118
121
  * [`snaptrade.account_information.get_user_account_order_detail`](#snaptradeaccount_informationget_user_account_order_detail)
@@ -140,9 +143,6 @@ See https://docs.snaptrade.com/docs/ratelimiting.
140
143
  * [`snaptrade.connections.sync_brokerage_authorization_transactions`](#snaptradeconnectionssync_brokerage_authorization_transactions)
141
144
  * [`snaptrade.experimental_endpoints.add_subscription`](#snaptradeexperimental_endpointsadd_subscription)
142
145
  * [`snaptrade.experimental_endpoints.cancel_subscription`](#snaptradeexperimental_endpointscancel_subscription)
143
- * [`snaptrade.experimental_endpoints.get_account_order`](#snaptradeexperimental_endpointsget_account_order)
144
- * [`snaptrade.experimental_endpoints.get_all_account_orders`](#snaptradeexperimental_endpointsget_all_account_orders)
145
- * [`snaptrade.experimental_endpoints.get_all_account_recent_orders`](#snaptradeexperimental_endpointsget_all_account_recent_orders)
146
146
  * [`snaptrade.experimental_endpoints.get_user_account_order_detail_v2`](#snaptradeexperimental_endpointsget_user_account_order_detail_v2)
147
147
  * [`snaptrade.experimental_endpoints.get_user_account_orders_v2`](#snaptradeexperimental_endpointsget_user_account_orders_v2)
148
148
  * [`snaptrade.experimental_endpoints.get_user_account_recent_orders_v2`](#snaptradeexperimental_endpointsget_user_account_recent_orders_v2)
@@ -183,7 +183,7 @@ Python >=3.8
183
183
  ## Installation<a id="installation"></a>
184
184
 
185
185
  ```sh
186
- pip install snaptrade-python-sdk==13.2.0
186
+ pip install snaptrade-python-sdk==13.2.1
187
187
  ```
188
188
 
189
189
  ## Authentication<a id="authentication"></a>
@@ -352,8 +352,8 @@ async def main():
352
352
  get_account_activities_response = (
353
353
  await snaptrade.account_information.aget_account_activities(
354
354
  account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
355
- start_date="2022-01-24T00:00:00.000Z",
356
- end_date="2022-01-24T00:00:00.000Z",
355
+ start_date="2022-01-24",
356
+ end_date="2022-01-24",
357
357
  offset=0,
358
358
  limit=1,
359
359
  type="BUY,SELL,DIVIDEND",
@@ -405,8 +405,8 @@ If the connection has become disabled, it can no longer access the latest data f
405
405
  get_account_activities_response = (
406
406
  commercial_api_key_client.account_information.get_account_activities(
407
407
  account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
408
- start_date="2022-01-24T00:00:00.000Z",
409
- end_date="2022-01-24T00:00:00.000Z",
408
+ start_date="2022-01-24",
409
+ end_date="2022-01-24",
410
410
  offset=0,
411
411
  limit=1,
412
412
  type="BUY,SELL,DIVIDEND",
@@ -428,8 +428,8 @@ Required credentials for this mode:
428
428
  get_account_activities_response = (
429
429
  personal_api_key_client.account_information.get_account_activities(
430
430
  account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
431
- start_date="2022-01-24T00:00:00.000Z",
432
- end_date="2022-01-24T00:00:00.000Z",
431
+ start_date="2022-01-24",
432
+ end_date="2022-01-24",
433
433
  offset=0,
434
434
  limit=1,
435
435
  type="BUY,SELL,DIVIDEND",
@@ -445,8 +445,8 @@ The client identifies the user in this mode. Do not pass `user_id` `user_secret`
445
445
  get_account_activities_response = (
446
446
  oauth_client.account_information.get_account_activities(
447
447
  account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
448
- start_date="2022-01-24T00:00:00.000Z",
449
- end_date="2022-01-24T00:00:00.000Z",
448
+ start_date="2022-01-24",
449
+ end_date="2022-01-24",
450
450
  offset=0,
451
451
  limit=1,
452
452
  type="BUY,SELL,DIVIDEND",
@@ -697,6 +697,146 @@ The client identifies the user in this mode. Do not pass `user_id` `user_secret`
697
697
 
698
698
  ---
699
699
 
700
+ ### `snaptrade.account_information.get_account_order`<a id="snaptradeaccount_informationget_account_order"></a>
701
+
702
+ Returns the detail of a single order, identified by the brokerage order ID in the path, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`.
703
+
704
+ The order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. Multi-leg orders are a single order with multiple legs.
705
+
706
+ This endpoint is always realtime and does not rely on cached data, except that an order in a terminal state (executed, canceled, rejected, failed, expired, replaced) may be served from a short-lived cache since it can no longer change.
707
+
708
+ This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
709
+
710
+ **Beta:** this endpoint and its response schema may change.
711
+
712
+
713
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
714
+
715
+ ##### Commercial API Key Auth<a id="commercial-api-key-auth"></a>
716
+
717
+ ```python
718
+ get_account_order_response = (
719
+ commercial_api_key_client.account_information.get_account_order(
720
+ account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
721
+ brokerage_order_id="66a033fa-da74-4fcf-b527-feefdec9257e",
722
+ user_id="snaptrade-user-123",
723
+ user_secret="adf2aa34-8219-40f7-a6b3-60156985cc61",
724
+ )
725
+ )
726
+ ```
727
+
728
+ Required credentials for this mode:
729
+
730
+ - `user_id` (str, required): SnapTrade User ID. This is chosen by the API partner and can be any string that is a) unique to the user, and b) immutable for the user. It is recommended to NOT use email addresses for this property because they are usually not immutable.
731
+
732
+ - `user_secret` (str, required): SnapTrade User Secret. This is a randomly generated string and should be stored securely. If compromised, please rotate it via the [rotate user secret endpoint](/reference/Authentication/Authentication_resetSnapTradeUserSecret).
733
+
734
+ ##### Personal API Key Auth<a id="personal-api-key-auth"></a>
735
+
736
+ ```python
737
+ get_account_order_response = (
738
+ personal_api_key_client.account_information.get_account_order(
739
+ account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
740
+ brokerage_order_id="66a033fa-da74-4fcf-b527-feefdec9257e",
741
+ )
742
+ )
743
+ ```
744
+
745
+ The client identifies the user in this mode. Do not pass `user_id` `user_secret` to this method.
746
+
747
+
748
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
749
+
750
+ ##### account_id: `str`<a id="account_id-str"></a>
751
+
752
+ ##### brokerage_order_id: `str`<a id="brokerage_order_id-str"></a>
753
+
754
+ #### 🔄 Return<a id="🔄-return"></a>
755
+
756
+ [`AccountOrder`](./snaptrade_client/type/account_order.py)
757
+
758
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
759
+
760
+ `/accounts/{accountId}/orders/{brokerageOrderId}` `get`
761
+
762
+ [🔙 **Back to Table of Contents**](#table-of-contents)
763
+
764
+ ---
765
+
766
+ ### `snaptrade.account_information.get_all_account_orders`<a id="snaptradeaccount_informationget_all_account_orders"></a>
767
+
768
+ Returns a list of recent orders in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/positions/all`.
769
+
770
+ Every order carries a `legs` list with at least one leg. Each leg's `instrument` uses the same `Instrument` union as positions; switch on `instrument.kind` to know which fields are present. Multi-leg orders (spreads, strangles, covered calls) are a single order with multiple legs. Orders that belong to a complex order group (OCO, OTO, OTOCO) share a `group.id`.
771
+
772
+ `order_type` is an object discriminated by `kind`. Each kind declares the price fields it requires (`limit_price` on `limit`, `stop_price` on `stop`, both on `stop_limit`, `trail` on `trailing_stop`), so a consumer never has to null-check a price that cannot exist for that kind. When the brokerage reports an order type we cannot normalize, `kind` is `other` and the brokerage's own label is in `raw_type`.
773
+
774
+ **Beta:** this endpoint and its response schema may change.
775
+
776
+ 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.
777
+
778
+
779
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
780
+
781
+ ##### Commercial API Key Auth<a id="commercial-api-key-auth"></a>
782
+
783
+ ```python
784
+ get_all_account_orders_response = (
785
+ commercial_api_key_client.account_information.get_all_account_orders(
786
+ account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
787
+ state="all",
788
+ days=30,
789
+ user_id="snaptrade-user-123",
790
+ user_secret="adf2aa34-8219-40f7-a6b3-60156985cc61",
791
+ )
792
+ )
793
+ ```
794
+
795
+ Required credentials for this mode:
796
+
797
+ - `user_id` (str, required): SnapTrade User ID. This is chosen by the API partner and can be any string that is a) unique to the user, and b) immutable for the user. It is recommended to NOT use email addresses for this property because they are usually not immutable.
798
+
799
+ - `user_secret` (str, required): SnapTrade User Secret. This is a randomly generated string and should be stored securely. If compromised, please rotate it via the [rotate user secret endpoint](/reference/Authentication/Authentication_resetSnapTradeUserSecret).
800
+
801
+ ##### Personal API Key Auth<a id="personal-api-key-auth"></a>
802
+
803
+ ```python
804
+ get_all_account_orders_response = (
805
+ personal_api_key_client.account_information.get_all_account_orders(
806
+ account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
807
+ state="all",
808
+ days=30,
809
+ )
810
+ )
811
+ ```
812
+
813
+ The client identifies the user in this mode. Do not pass `user_id` `user_secret` to this method.
814
+
815
+
816
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
817
+
818
+ ##### account_id: `str`<a id="account_id-str"></a>
819
+
820
+ ##### state: `str`<a id="state-str"></a>
821
+
822
+ defaults to \"all\"
823
+
824
+ ##### days: `int`<a id="days-int"></a>
825
+
826
+ Number of days in the past to fetch the most recent orders. Defaults to the last 30 days if no value is passed in. Values greater than 90 will be capped at 90.
827
+
828
+ #### 🔄 Return<a id="🔄-return"></a>
829
+
830
+ [`AllAccountOrdersResponse`](./snaptrade_client/type/all_account_orders_response.py)
831
+
832
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
833
+
834
+ `/accounts/{accountId}/orders/all` `get`
835
+
836
+ [🔙 **Back to Table of Contents**](#table-of-contents)
837
+
838
+ ---
839
+
700
840
  ### `snaptrade.account_information.get_all_account_positions`<a id="snaptradeaccount_informationget_all_account_positions"></a>
701
841
 
702
842
  Returns a list of all positions in the specified account.
@@ -771,6 +911,75 @@ The client identifies the user in this mode. Do not pass `user_id` `user_secret`
771
911
 
772
912
  ---
773
913
 
914
+ ### `snaptrade.account_information.get_all_account_recent_orders`<a id="snaptradeaccount_informationget_all_account_recent_orders"></a>
915
+
916
+ A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders.
917
+ 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.
918
+ Differs from `/accounts/{accountId}/orders/all` in that it is always realtime, and only checks the last 24 hours as opposed to the last 30 days.
919
+ By default only returns executed orders, but that can be changed by setting *only_executed* to false.
920
+
921
+ Every order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. `data_freshness.as_of` is the time of this live request.
922
+
923
+ **Beta:** this endpoint and its response schema may change.
924
+
925
+ **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)**
926
+
927
+
928
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
929
+
930
+ ##### Commercial API Key Auth<a id="commercial-api-key-auth"></a>
931
+
932
+ ```python
933
+ get_all_account_recent_orders_response = (
934
+ commercial_api_key_client.account_information.get_all_account_recent_orders(
935
+ account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
936
+ only_executed=True,
937
+ user_id="snaptrade-user-123",
938
+ user_secret="adf2aa34-8219-40f7-a6b3-60156985cc61",
939
+ )
940
+ )
941
+ ```
942
+
943
+ Required credentials for this mode:
944
+
945
+ - `user_id` (str, required): SnapTrade User ID. This is chosen by the API partner and can be any string that is a) unique to the user, and b) immutable for the user. It is recommended to NOT use email addresses for this property because they are usually not immutable.
946
+
947
+ - `user_secret` (str, required): SnapTrade User Secret. This is a randomly generated string and should be stored securely. If compromised, please rotate it via the [rotate user secret endpoint](/reference/Authentication/Authentication_resetSnapTradeUserSecret).
948
+
949
+ ##### Personal API Key Auth<a id="personal-api-key-auth"></a>
950
+
951
+ ```python
952
+ get_all_account_recent_orders_response = (
953
+ personal_api_key_client.account_information.get_all_account_recent_orders(
954
+ account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
955
+ only_executed=True,
956
+ )
957
+ )
958
+ ```
959
+
960
+ The client identifies the user in this mode. Do not pass `user_id` `user_secret` to this method.
961
+
962
+
963
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
964
+
965
+ ##### account_id: `str`<a id="account_id-str"></a>
966
+
967
+ ##### only_executed: `bool`<a id="only_executed-bool"></a>
968
+
969
+ Defaults to true. Indicates if request should fetch only executed orders. Set to false to retrieve non executed orders as well
970
+
971
+ #### 🔄 Return<a id="🔄-return"></a>
972
+
973
+ [`AllAccountOrdersResponse`](./snaptrade_client/type/all_account_orders_response.py)
974
+
975
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
976
+
977
+ `/accounts/{accountId}/orders/recent` `get`
978
+
979
+ [🔙 **Back to Table of Contents**](#table-of-contents)
980
+
981
+ ---
982
+
774
983
  ### `snaptrade.account_information.get_user_account_balance`<a id="snaptradeaccount_informationget_user_account_balance"></a>
775
984
 
776
985
  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).
@@ -2474,215 +2683,6 @@ Unique identifier for the connected brokerage account. This is the UUID used to
2474
2683
 
2475
2684
  ---
2476
2685
 
2477
- ### `snaptrade.experimental_endpoints.get_account_order`<a id="snaptradeexperimental_endpointsget_account_order"></a>
2478
-
2479
- Returns the detail of a single order, identified by the brokerage order ID in the path, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`.
2480
-
2481
- The order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. Multi-leg orders are a single order with multiple legs.
2482
-
2483
- This endpoint is always realtime and does not rely on cached data, except that an order in a terminal state (executed, canceled, rejected, failed, expired, replaced) may be served from a short-lived cache since it can no longer change.
2484
-
2485
- This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
2486
-
2487
- **Experimental:** this endpoint may change without notice.
2488
-
2489
-
2490
- #### 🛠️ Usage<a id="🛠️-usage"></a>
2491
-
2492
- ##### Commercial API Key Auth<a id="commercial-api-key-auth"></a>
2493
-
2494
- ```python
2495
- get_account_order_response = (
2496
- commercial_api_key_client.experimental_endpoints.get_account_order(
2497
- account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
2498
- brokerage_order_id="66a033fa-da74-4fcf-b527-feefdec9257e",
2499
- user_id="snaptrade-user-123",
2500
- user_secret="adf2aa34-8219-40f7-a6b3-60156985cc61",
2501
- )
2502
- )
2503
- ```
2504
-
2505
- Required credentials for this mode:
2506
-
2507
- - `user_id` (str, required): SnapTrade User ID. This is chosen by the API partner and can be any string that is a) unique to the user, and b) immutable for the user. It is recommended to NOT use email addresses for this property because they are usually not immutable.
2508
-
2509
- - `user_secret` (str, required): SnapTrade User Secret. This is a randomly generated string and should be stored securely. If compromised, please rotate it via the [rotate user secret endpoint](/reference/Authentication/Authentication_resetSnapTradeUserSecret).
2510
-
2511
- ##### Personal API Key Auth<a id="personal-api-key-auth"></a>
2512
-
2513
- ```python
2514
- get_account_order_response = (
2515
- personal_api_key_client.experimental_endpoints.get_account_order(
2516
- account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
2517
- brokerage_order_id="66a033fa-da74-4fcf-b527-feefdec9257e",
2518
- )
2519
- )
2520
- ```
2521
-
2522
- The client identifies the user in this mode. Do not pass `user_id` `user_secret` to this method.
2523
-
2524
-
2525
- #### ⚙️ Parameters<a id="⚙️-parameters"></a>
2526
-
2527
- ##### account_id: `str`<a id="account_id-str"></a>
2528
-
2529
- ##### brokerage_order_id: `str`<a id="brokerage_order_id-str"></a>
2530
-
2531
- #### 🔄 Return<a id="🔄-return"></a>
2532
-
2533
- [`AccountOrder`](./snaptrade_client/type/account_order.py)
2534
-
2535
- #### 🌐 Endpoint<a id="🌐-endpoint"></a>
2536
-
2537
- `/accounts/{accountId}/orders/{brokerageOrderId}` `get`
2538
-
2539
- [🔙 **Back to Table of Contents**](#table-of-contents)
2540
-
2541
- ---
2542
-
2543
- ### `snaptrade.experimental_endpoints.get_all_account_orders`<a id="snaptradeexperimental_endpointsget_all_account_orders"></a>
2544
-
2545
- Returns a list of recent orders in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/positions/all`.
2546
-
2547
- Every order carries a `legs` list with at least one leg. Each leg's `instrument` uses the same `Instrument` union as positions; switch on `instrument.kind` to know which fields are present. Multi-leg orders (spreads, strangles, covered calls) are a single order with multiple legs. Orders that belong to a complex order group (OCO, OTO, OTOCO) share a `group.id`.
2548
-
2549
- `order_type` is an object discriminated by `kind`. Each kind declares the price fields it requires (`limit_price` on `limit`, `stop_price` on `stop`, both on `stop_limit`, `trail` on `trailing_stop`), so a consumer never has to null-check a price that cannot exist for that kind. When the brokerage reports an order type we cannot normalize, `kind` is `other` and the brokerage's own label is in `raw_type`.
2550
-
2551
- **Experimental:** this endpoint may change without notice.
2552
-
2553
- 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.
2554
-
2555
-
2556
- #### 🛠️ Usage<a id="🛠️-usage"></a>
2557
-
2558
- ##### Commercial API Key Auth<a id="commercial-api-key-auth"></a>
2559
-
2560
- ```python
2561
- get_all_account_orders_response = (
2562
- commercial_api_key_client.experimental_endpoints.get_all_account_orders(
2563
- account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
2564
- state="all",
2565
- days=30,
2566
- user_id="snaptrade-user-123",
2567
- user_secret="adf2aa34-8219-40f7-a6b3-60156985cc61",
2568
- )
2569
- )
2570
- ```
2571
-
2572
- Required credentials for this mode:
2573
-
2574
- - `user_id` (str, required): SnapTrade User ID. This is chosen by the API partner and can be any string that is a) unique to the user, and b) immutable for the user. It is recommended to NOT use email addresses for this property because they are usually not immutable.
2575
-
2576
- - `user_secret` (str, required): SnapTrade User Secret. This is a randomly generated string and should be stored securely. If compromised, please rotate it via the [rotate user secret endpoint](/reference/Authentication/Authentication_resetSnapTradeUserSecret).
2577
-
2578
- ##### Personal API Key Auth<a id="personal-api-key-auth"></a>
2579
-
2580
- ```python
2581
- get_all_account_orders_response = (
2582
- personal_api_key_client.experimental_endpoints.get_all_account_orders(
2583
- account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
2584
- state="all",
2585
- days=30,
2586
- )
2587
- )
2588
- ```
2589
-
2590
- The client identifies the user in this mode. Do not pass `user_id` `user_secret` to this method.
2591
-
2592
-
2593
- #### ⚙️ Parameters<a id="⚙️-parameters"></a>
2594
-
2595
- ##### account_id: `str`<a id="account_id-str"></a>
2596
-
2597
- ##### state: `str`<a id="state-str"></a>
2598
-
2599
- defaults to \"all\"
2600
-
2601
- ##### days: `int`<a id="days-int"></a>
2602
-
2603
- Number of days in the past to fetch the most recent orders. Defaults to the last 30 days if no value is passed in. Values greater than 90 will be capped at 90.
2604
-
2605
- #### 🔄 Return<a id="🔄-return"></a>
2606
-
2607
- [`AllAccountOrdersResponse`](./snaptrade_client/type/all_account_orders_response.py)
2608
-
2609
- #### 🌐 Endpoint<a id="🌐-endpoint"></a>
2610
-
2611
- `/accounts/{accountId}/orders/all` `get`
2612
-
2613
- [🔙 **Back to Table of Contents**](#table-of-contents)
2614
-
2615
- ---
2616
-
2617
- ### `snaptrade.experimental_endpoints.get_all_account_recent_orders`<a id="snaptradeexperimental_endpointsget_all_account_recent_orders"></a>
2618
-
2619
- A lightweight endpoint that returns the latest page of orders placed in the last 24 hours in the specified account, in the same `kind`-discriminated format as `/accounts/{accountId}/orders/all`. For most brokerages, the default page size is 100 meaning the endpoint will return a max of 100 orders.
2620
- 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.
2621
- Differs from `/accounts/{accountId}/orders/all` in that it is always realtime, and only checks the last 24 hours as opposed to the last 30 days.
2622
- By default only returns executed orders, but that can be changed by setting *only_executed* to false.
2623
-
2624
- Every order carries a `legs` list with at least one leg; switch on `legs[].instrument.kind` and `order_type.kind` to know which fields are present. `data_freshness.as_of` is the time of this live request.
2625
-
2626
- **Experimental:** this endpoint may change without notice.
2627
-
2628
- **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)**
2629
-
2630
-
2631
- #### 🛠️ Usage<a id="🛠️-usage"></a>
2632
-
2633
- ##### Commercial API Key Auth<a id="commercial-api-key-auth"></a>
2634
-
2635
- ```python
2636
- get_all_account_recent_orders_response = (
2637
- commercial_api_key_client.experimental_endpoints.get_all_account_recent_orders(
2638
- account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
2639
- only_executed=True,
2640
- user_id="snaptrade-user-123",
2641
- user_secret="adf2aa34-8219-40f7-a6b3-60156985cc61",
2642
- )
2643
- )
2644
- ```
2645
-
2646
- Required credentials for this mode:
2647
-
2648
- - `user_id` (str, required): SnapTrade User ID. This is chosen by the API partner and can be any string that is a) unique to the user, and b) immutable for the user. It is recommended to NOT use email addresses for this property because they are usually not immutable.
2649
-
2650
- - `user_secret` (str, required): SnapTrade User Secret. This is a randomly generated string and should be stored securely. If compromised, please rotate it via the [rotate user secret endpoint](/reference/Authentication/Authentication_resetSnapTradeUserSecret).
2651
-
2652
- ##### Personal API Key Auth<a id="personal-api-key-auth"></a>
2653
-
2654
- ```python
2655
- get_all_account_recent_orders_response = (
2656
- personal_api_key_client.experimental_endpoints.get_all_account_recent_orders(
2657
- account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
2658
- only_executed=True,
2659
- )
2660
- )
2661
- ```
2662
-
2663
- The client identifies the user in this mode. Do not pass `user_id` `user_secret` to this method.
2664
-
2665
-
2666
- #### ⚙️ Parameters<a id="⚙️-parameters"></a>
2667
-
2668
- ##### account_id: `str`<a id="account_id-str"></a>
2669
-
2670
- ##### only_executed: `bool`<a id="only_executed-bool"></a>
2671
-
2672
- Defaults to true. Indicates if request should fetch only executed orders. Set to false to retrieve non executed orders as well
2673
-
2674
- #### 🔄 Return<a id="🔄-return"></a>
2675
-
2676
- [`AllAccountOrdersResponse`](./snaptrade_client/type/all_account_orders_response.py)
2677
-
2678
- #### 🌐 Endpoint<a id="🌐-endpoint"></a>
2679
-
2680
- `/accounts/{accountId}/orders/recent` `get`
2681
-
2682
- [🔙 **Back to Table of Contents**](#table-of-contents)
2683
-
2684
- ---
2685
-
2686
2686
  ### `snaptrade.experimental_endpoints.get_user_account_order_detail_v2`<a id="snaptradeexperimental_endpointsget_user_account_order_detail_v2"></a>
2687
2687
 
2688
2688
  Returns the detail of a single order using the brokerage order ID provided as a path parameter.
@@ -2998,7 +2998,7 @@ place_simple_order_response = (
2998
2998
  stop_price="1.25",
2999
2999
  price_effect="debit",
3000
3000
  client_order_id="550e8400-e29b-41d4-a716-446655440000",
3001
- expiry_date="2026-12-18T20:00:00.000Z",
3001
+ expiry_date="2026-12-18T20:00:00Z",
3002
3002
  notional_value="1.25",
3003
3003
  trading_session="regular",
3004
3004
  user_id="snaptrade-user-123",
@@ -3035,7 +3035,7 @@ place_simple_order_response = (
3035
3035
  stop_price="1.25",
3036
3036
  price_effect="debit",
3037
3037
  client_order_id="550e8400-e29b-41d4-a716-446655440000",
3038
- expiry_date="2026-12-18T20:00:00.000Z",
3038
+ expiry_date="2026-12-18T20:00:00Z",
3039
3039
  notional_value="1.25",
3040
3040
  trading_session="regular",
3041
3041
  )
@@ -3065,7 +3065,7 @@ place_simple_order_response = oauth_client.experimental_endpoints.place_simple_o
3065
3065
  stop_price="1.25",
3066
3066
  price_effect="debit",
3067
3067
  client_order_id="550e8400-e29b-41d4-a716-446655440000",
3068
- expiry_date="2026-12-18T20:00:00.000Z",
3068
+ expiry_date="2026-12-18T20:00:00Z",
3069
3069
  notional_value="1.25",
3070
3070
  trading_session="regular",
3071
3071
  )
@@ -4351,7 +4351,7 @@ place_crypto_order_response = commercial_api_key_client.trading.place_crypto_ord
4351
4351
  limit_price="123.45",
4352
4352
  stop_price="123.45",
4353
4353
  post_only=False,
4354
- expiration_date="2024-01-01T00:00:00.000Z",
4354
+ expiration_date="2024-01-01T00:00:00Z",
4355
4355
  user_id="snaptrade-user-123",
4356
4356
  user_secret="adf2aa34-8219-40f7-a6b3-60156985cc61",
4357
4357
  )
@@ -4379,7 +4379,7 @@ place_crypto_order_response = personal_api_key_client.trading.place_crypto_order
4379
4379
  limit_price="123.45",
4380
4380
  stop_price="123.45",
4381
4381
  post_only=False,
4382
- expiration_date="2024-01-01T00:00:00.000Z",
4382
+ expiration_date="2024-01-01T00:00:00Z",
4383
4383
  )
4384
4384
  ```
4385
4385
 
@@ -4401,7 +4401,7 @@ place_crypto_order_response = oauth_client.trading.place_crypto_order(
4401
4401
  limit_price="123.45",
4402
4402
  stop_price="123.45",
4403
4403
  post_only=False,
4404
- expiration_date="2024-01-01T00:00:00.000Z",
4404
+ expiration_date="2024-01-01T00:00:00Z",
4405
4405
  )
4406
4406
  ```
4407
4407
 
@@ -4822,7 +4822,7 @@ preview_crypto_order_response = commercial_api_key_client.trading.preview_crypto
4822
4822
  limit_price="123.45",
4823
4823
  stop_price="123.45",
4824
4824
  post_only=False,
4825
- expiration_date="2024-01-01T00:00:00.000Z",
4825
+ expiration_date="2024-01-01T00:00:00Z",
4826
4826
  user_id="snaptrade-user-123",
4827
4827
  user_secret="adf2aa34-8219-40f7-a6b3-60156985cc61",
4828
4828
  )
@@ -4850,7 +4850,7 @@ preview_crypto_order_response = personal_api_key_client.trading.preview_crypto_o
4850
4850
  limit_price="123.45",
4851
4851
  stop_price="123.45",
4852
4852
  post_only=False,
4853
- expiration_date="2024-01-01T00:00:00.000Z",
4853
+ expiration_date="2024-01-01T00:00:00Z",
4854
4854
  )
4855
4855
  ```
4856
4856
 
@@ -4872,7 +4872,7 @@ preview_crypto_order_response = oauth_client.trading.preview_crypto_order(
4872
4872
  limit_price="123.45",
4873
4873
  stop_price="123.45",
4874
4874
  post_only=False,
4875
- expiration_date="2024-01-01T00:00:00.000Z",
4875
+ expiration_date="2024-01-01T00:00:00Z",
4876
4876
  )
4877
4877
  ```
4878
4878
 
@@ -1,8 +1,8 @@
1
- snaptrade_client/__init__.py,sha256=mA5ebbx_Am86E0-gOzhiSN-Kr2-1tH4I-AqQJUxbmlc,4258
2
- snaptrade_client/api_client.py,sha256=yH-bOl4RhiD70zbOvv9fJdPqVD3QaLBlmbVjhq8iJpY,78308
1
+ snaptrade_client/__init__.py,sha256=w4vYHXynAI1sMfjbCYQ6E63JYnPLIIpAF2ixJ0lnsTk,4258
2
+ snaptrade_client/api_client.py,sha256=6ShlzhlCj_fbocBadhOLI8CrvHU21B_4jixRaLjIHiE,78308
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=Xmnnh5KP_tmQPMpVdTZ1WHgCB01V5HPGiWDLn6GDKlE,16169
5
+ snaptrade_client/apis/path_to_api.py,sha256=xHjhZWAnlLIvvtGOQYUE-WmdDRZqhgkpB_auzT3rHG8,16169
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
@@ -70,7 +70,7 @@ snaptrade_client/apis/paths/trade_trade_id.py,sha256=obGSPVLZRpWmozwuCrxnDL2NQzN
70
70
  snaptrade_client/apis/tag_to_api.py,sha256=KSuu2zO4u9Pm3kXzkp4lFRxzlxDAYwZVoP0JCgny-zQ,1598
71
71
  snaptrade_client/apis/tags/__init__.py,sha256=2hdytDDDFAsanigZi31HYj79W2DYeARD-sf2m_OWuqI,583
72
72
  snaptrade_client/apis/tags/account_information_api.py,sha256=Nl9m3ez185UVXkdNSx2ZP5Bf4JeV_eJxNijF8zUf8Fw,278
73
- snaptrade_client/apis/tags/account_information_api_generated.py,sha256=2BdVxwOSCpcutQNl5o9jlVMUPWF5QtWpFOjuCvNTgeU,5487
73
+ snaptrade_client/apis/tags/account_information_api_generated.py,sha256=i0bBcsL3uVz4rBZraPyW_DM6z-JRDKhPhkfvpVN5_BI,5875
74
74
  snaptrade_client/apis/tags/api_status_api.py,sha256=eFuAu3bWvw8zjLpE-jDzfqy_amtcAXJzVrPc071j0vQ,233
75
75
  snaptrade_client/apis/tags/api_status_api_generated.py,sha256=f9YRsvHsfXpWLFEfw6MfKlSjU0XPMH8loucf9CBhbNc,3724
76
76
  snaptrade_client/apis/tags/authentication_api.py,sha256=-N8aCyaWjyUFtX_ko4E0_0mW8evsJ6y8hrywIlYHdgg,256
@@ -78,7 +78,7 @@ snaptrade_client/apis/tags/authentication_api_generated.py,sha256=nbbBY2PGHhU2UK
78
78
  snaptrade_client/apis/tags/connections_api.py,sha256=t86vVzfjvfs8LOL2pVi0oR1a5hH1QH3Nq6T50XfeNlU,241
79
79
  snaptrade_client/apis/tags/connections_api_generated.py,sha256=fDuHH28sO9CAM5rd50KyuF2-rBdDINhKhS_d5wVYhug,4932
80
80
  snaptrade_client/apis/tags/experimental_endpoints_api.py,sha256=5n1j4_VE0jK9O7w843GRWWaVNuU3K1OSyLVvMl06fvY,293
81
- snaptrade_client/apis/tags/experimental_endpoints_api_generated.py,sha256=9dmkmwWZKTIMajF438MWidnl1NaJZjIXm8WRy1N3E_g,5005
81
+ snaptrade_client/apis/tags/experimental_endpoints_api_generated.py,sha256=TeqreV38EdH7siZdCCCJm2Hy6SZQPQr1obVEO-4HAZs,4617
82
82
  snaptrade_client/apis/tags/management_api.py,sha256=22txFcxw3RXf2m3jgcfbxESS1bzJJwuHssTP-Sin1sw,236
83
83
  snaptrade_client/apis/tags/management_api_generated.py,sha256=J1k9WBE4KuafLJ9lbdnpzSytdJzPx5xzULoCPP_y6L4,3841
84
84
  snaptrade_client/apis/tags/reference_data_api.py,sha256=GLUSSZXz9T4i_v-I3g3pODinjZA06cOw0KO-vQ1fhZg,253
@@ -89,7 +89,7 @@ snaptrade_client/auth.py,sha256=85VAIdB-s7SGAHoU0xZnPd7pc680Y58ILZgRiKVn2pk,4797
89
89
  snaptrade_client/client.py,sha256=ncRPbSzbjqr4YVdjzfm8IrCgFhawclXFRlYJzkHNu98,6361
90
90
  snaptrade_client/client.pyi,sha256=s5mcwbmAEVZMJrZOT3fTP9-_r7rf2L0qdJiX8RlnX9o,6358
91
91
  snaptrade_client/client_custom.py,sha256=hNQMRFrY_KWEOCgf36fsZBs3sBU2SQtnZin8dAEVyYo,3931
92
- snaptrade_client/configuration.py,sha256=Y8ehza4WVB3OrxTlrYda7tFb86RaWTwY35IQ8SFfrlU,26562
92
+ snaptrade_client/configuration.py,sha256=S_Qr8Jx5UD24KAkrUVhvNY09Hh6STBl22ARdFXB_0v4,26562
93
93
  snaptrade_client/exceptions.py,sha256=pRlZiy1hSulcXfTCqqBU5Jys0hRBkxljOiv212M_yeo,10957
94
94
  snaptrade_client/exceptions_base.py,sha256=LAQkaC5C61-SdBLfyMjb0K7AYJkWVuLmg2uCvHa71FM,2274
95
95
  snaptrade_client/model/__init__.py,sha256=ayi2MIzcf0eAIsY13ToiNplV9tW-pMBFrC0I9yckGM8,350
@@ -675,8 +675,8 @@ snaptrade_client/model/validated_trade_body.py,sha256=KOObe8mGtKr29bjV0l7cdiqKJQ
675
675
  snaptrade_client/model/validated_trade_body.pyi,sha256=KOObe8mGtKr29bjV0l7cdiqKJQn3E22WqNIfHG-1Kig,6271
676
676
  snaptrade_client/models/__init__.py,sha256=E9m_lnITxLRwD-bl4a5KWafO0hXIhFgXmGyb3PYIMm0,23526
677
677
  snaptrade_client/oauth_device.py,sha256=mgH6ak8zRa0YCLKzd_rKctpS2e71OeC0QHbetQICSWY,10511
678
- snaptrade_client/operation_parameter_map.py,sha256=03zQzwQPRP9uGbP_MudxwuaRLgwNLjANunZvzN5GXNM,16333
679
- snaptrade_client/paths/__init__.py,sha256=c4MO9RmTBHw9imE30yFGFQKWL9dAAjxxxi5oSApMQXU,4674
678
+ snaptrade_client/operation_parameter_map.py,sha256=3yq6LEXUrKBoJr3GndRRcv91ARt5EjJ5WN5mxI7byrM,16333
679
+ snaptrade_client/paths/__init__.py,sha256=yaQWUIwysHW1tT2SwK_Cwg23E_669h0dWNBPmyJNMW0,4674
680
680
  snaptrade_client/paths/accounts/__init__.py,sha256=_Bqi6B13A-kgd0AOpqmcE1vTxJDfoz-r3Hwf-AmwW6A,307
681
681
  snaptrade_client/paths/accounts/get.py,sha256=F98YMykYXcue37Y30SUiV4eXp4FzBFwgWR_m2-0Rla4,23267
682
682
  snaptrade_client/paths/accounts/get.pyi,sha256=qZR_mDCrgONhDmZiGgc-v7rtaAX82O_3qdWKastVZu0,6469
@@ -707,10 +707,10 @@ snaptrade_client/paths/accounts_account_id_orders/__init__.py,sha256=zHuTi8F_iUe
707
707
  snaptrade_client/paths/accounts_account_id_orders/get.py,sha256=Fek604yKrDzFT1w8jMaYaZ0bbIDVSF-1OaF78cwX7xA,35126
708
708
  snaptrade_client/paths/accounts_account_id_orders/get.pyi,sha256=bu357Bmexe4DCmvGVtXxsSPtNi-o4zrB5D5ezgTXH2M,7476
709
709
  snaptrade_client/paths/accounts_account_id_orders_all/__init__.py,sha256=52gtp4_ab8UJcoy18ZUPmjOl39ALS_MzJ8_mQu7bTzQ,351
710
- snaptrade_client/paths/accounts_account_id_orders_all/get.py,sha256=Jc3Iygrd9F4xXA2MxYZGffYv6sQbVF2Y_kc_xbiUFKE,33693
710
+ snaptrade_client/paths/accounts_account_id_orders_all/get.py,sha256=-lHifNTRxwOLz6VgQLbOqZbS0RRTYsmGHUTldCtGts4,33695
711
711
  snaptrade_client/paths/accounts_account_id_orders_all/get.pyi,sha256=1Ye82U3F8OyNvk3qfkg--N2VbrOmU9mVJdXCiOjQXcU,6187
712
712
  snaptrade_client/paths/accounts_account_id_orders_brokerage_order_id/__init__.py,sha256=HRMFYdm8PGjoYJ-0S1O80PZjXt3H4SBbiPvfGFFB9M0,381
713
- snaptrade_client/paths/accounts_account_id_orders_brokerage_order_id/get.py,sha256=p-NSVNvgzmcaw2MffuapZS6a-0xqNFXBevo-T6mooFE,32529
713
+ snaptrade_client/paths/accounts_account_id_orders_brokerage_order_id/get.py,sha256=S_tGVtfFrQ71AbgqQJ9Wpd-hodvL0dXoW0aHaaS8eGo,32531
714
714
  snaptrade_client/paths/accounts_account_id_orders_brokerage_order_id/get.pyi,sha256=qvXx3e65dYDz2Mkd8V7hnfvUblFzS2gDleQD9B03jHk,5945
715
715
  snaptrade_client/paths/accounts_account_id_orders_details/__init__.py,sha256=6PWLMs5Y6WxEM5h99FQSSpvq7Btg4dfrgMkWk3mhBYo,359
716
716
  snaptrade_client/paths/accounts_account_id_orders_details/post.py,sha256=v-EiWozE4qoviNm3igvDiF9TDbyhWS9YY-tn5swxj_U,34937
@@ -719,7 +719,7 @@ snaptrade_client/paths/accounts_account_id_orders_details_v2_brokerage_order_id/
719
719
  snaptrade_client/paths/accounts_account_id_orders_details_v2_brokerage_order_id/get.py,sha256=1FYKDaSRGvImpRPwb15mTD_DwJ6421GfTVQra41qQVI,30527
720
720
  snaptrade_client/paths/accounts_account_id_orders_details_v2_brokerage_order_id/get.pyi,sha256=Jrdu1oG2NvaEZevdrwmOmJDDuIIpKeBBuy28PbFpyA8,7214
721
721
  snaptrade_client/paths/accounts_account_id_orders_recent/__init__.py,sha256=SjULL4ef2jdpEAiMolNfdIgpBtONl96XUD7LKn-yMG0,357
722
- snaptrade_client/paths/accounts_account_id_orders_recent/get.py,sha256=_HfxVrHRwRzbZYG6V8IQmmVkkkEB_dCz3LTHy3G0Gis,34467
722
+ snaptrade_client/paths/accounts_account_id_orders_recent/get.py,sha256=KakkUkUBo-4RvdW9gfm7fuuNbhHW_bIqpMMAIDnZxGs,34469
723
723
  snaptrade_client/paths/accounts_account_id_orders_recent/get.pyi,sha256=XKKO5n-c078UYGK6psqynWrr_evXHtLAg_XOIQRNhx0,6089
724
724
  snaptrade_client/paths/accounts_account_id_orders_v2/__init__.py,sha256=bLxvW4BvuS8smxB8nP-1X0-OjS-Mcty5RRl1Bbe2AVE,349
725
725
  snaptrade_client/paths/accounts_account_id_orders_v2/get.py,sha256=RuVTBuLSy8tUT9jRriu0I0-X8GibFsqpPm1CuP5vQn4,32299
@@ -1170,7 +1170,7 @@ snaptrade_client/type/user_secret.py,sha256=B6gpY5ECG6fV4aCV7XH9TK9uW9UsZYZlng56
1170
1170
  snaptrade_client/type/validated_trade_body.py,sha256=3d5fH-7GtjtWxBTBDyjK2RSmoFcMQpr7Sv6MXgCfKQc,4076
1171
1171
  snaptrade_client/type_util.py,sha256=y93VO77G7QTwguvfc3HnevIWtLat__tNZXfpSCSxHoU,3749
1172
1172
  snaptrade_client/validation_metadata.py,sha256=VTN5y-NudHXok1X468J4PnGze_tGEAcs1v3gsXmcrb0,3172
1173
- snaptrade_python_sdk-13.2.0.dist-info/LICENSE,sha256=GxvPdqYTCDLPwtMD70oHKcnAL8Os4eOjPVhERWpJ5Cs,1081
1174
- snaptrade_python_sdk-13.2.0.dist-info/METADATA,sha256=JyWlqQBlzi4ECjkMoy6nngcyCBp3mDNC6NDuPDMAoso,207805
1175
- snaptrade_python_sdk-13.2.0.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
1176
- snaptrade_python_sdk-13.2.0.dist-info/RECORD,,
1173
+ snaptrade_python_sdk-13.2.1.dist-info/LICENSE,sha256=GxvPdqYTCDLPwtMD70oHKcnAL8Os4eOjPVhERWpJ5Cs,1081
1174
+ snaptrade_python_sdk-13.2.1.dist-info/METADATA,sha256=vljeese9WiqCc44rjGVo-puWcwTG4uBenA_JFFktfeg,207606
1175
+ snaptrade_python_sdk-13.2.1.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
1176
+ snaptrade_python_sdk-13.2.1.dist-info/RECORD,,