snaptrade-python-sdk 13.4.7__py3-none-any.whl → 13.4.9__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 +3 -3
- snaptrade_client/apis/tags/experimental_endpoints_api_generated.py +0 -2
- snaptrade_client/apis/tags/trading_api_generated.py +2 -0
- snaptrade_client/configuration.py +1 -1
- snaptrade_client/model/account_universal_activity.py +16 -2
- snaptrade_client/model/account_universal_activity.pyi +16 -2
- snaptrade_client/model/future_option_instrument.py +2 -2
- snaptrade_client/model/future_option_instrument.pyi +2 -2
- snaptrade_client/operation_parameter_map.py +37 -37
- snaptrade_client/paths/__init__.py +1 -1
- snaptrade_client/paths/accounts/get.py +2 -2
- snaptrade_client/paths/accounts_account_id/get.py +2 -2
- snaptrade_client/paths/accounts_account_id_trading_simple/post.py +2 -2
- snaptrade_client/paths/authorizations_authorization_id_accounts/get.py +6 -2
- snaptrade_client/type/account_universal_activity.py +4 -1
- snaptrade_client/type/activity.py +1 -1
- snaptrade_client/type/universal_activity.py +1 -1
- {snaptrade_python_sdk-13.4.7.dist-info → snaptrade_python_sdk-13.4.9.dist-info}/METADATA +189 -184
- {snaptrade_python_sdk-13.4.7.dist-info → snaptrade_python_sdk-13.4.9.dist-info}/RECORD +23 -23
- {snaptrade_python_sdk-13.4.7.dist-info → snaptrade_python_sdk-13.4.9.dist-info}/LICENSE +0 -0
- {snaptrade_python_sdk-13.4.7.dist-info → snaptrade_python_sdk-13.4.9.dist-info}/WHEEL +0 -0
snaptrade_client/__init__.py
CHANGED
snaptrade_client/api_client.py
CHANGED
|
@@ -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.4.
|
|
1178
|
+
self.user_agent = 'Konfig/13.4.9/python'
|
|
1179
1179
|
|
|
1180
1180
|
def __enter__(self):
|
|
1181
1181
|
return self
|
|
@@ -47,6 +47,7 @@ from snaptrade_client.apis.paths.accounts_account_id_trading_crypto_preview impo
|
|
|
47
47
|
from snaptrade_client.apis.paths.accounts_account_id_trading_crypto import AccountsAccountIdTradingCrypto
|
|
48
48
|
from snaptrade_client.apis.paths.accounts_account_id_trading_cancel import AccountsAccountIdTradingCancel
|
|
49
49
|
from snaptrade_client.apis.paths.accounts_account_id_trading_replace import AccountsAccountIdTradingReplace
|
|
50
|
+
from snaptrade_client.apis.paths.accounts_account_id_trading_simple import AccountsAccountIdTradingSimple
|
|
50
51
|
from snaptrade_client.apis.paths.accounts_account_id_trading_complex import AccountsAccountIdTradingComplex
|
|
51
52
|
from snaptrade_client.apis.paths.snap_trade_partners import SnapTradePartners
|
|
52
53
|
from snaptrade_client.apis.paths.snap_trade_trade_detection_subscriptions import SnapTradeTradeDetectionSubscriptions
|
|
@@ -63,7 +64,6 @@ from snaptrade_client.apis.paths.brokerage_authorization_types import BrokerageA
|
|
|
63
64
|
from snaptrade_client.apis.paths.exchanges import Exchanges
|
|
64
65
|
from snaptrade_client.apis.paths.symbols import Symbols
|
|
65
66
|
from snaptrade_client.apis.paths.symbols_query import SymbolsQuery
|
|
66
|
-
from snaptrade_client.apis.paths.accounts_account_id_trading_simple import AccountsAccountIdTradingSimple
|
|
67
67
|
from snaptrade_client.apis.paths.accounts_account_id_orders_details_v2_brokerage_order_id import AccountsAccountIdOrdersDetailsV2BrokerageOrderId
|
|
68
68
|
|
|
69
69
|
PathToApi = typing_extensions.TypedDict(
|
|
@@ -115,6 +115,7 @@ PathToApi = typing_extensions.TypedDict(
|
|
|
115
115
|
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_CRYPTO: AccountsAccountIdTradingCrypto,
|
|
116
116
|
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_CANCEL: AccountsAccountIdTradingCancel,
|
|
117
117
|
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_REPLACE: AccountsAccountIdTradingReplace,
|
|
118
|
+
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_SIMPLE: AccountsAccountIdTradingSimple,
|
|
118
119
|
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_COMPLEX: AccountsAccountIdTradingComplex,
|
|
119
120
|
PathValues.SNAP_TRADE_PARTNERS: SnapTradePartners,
|
|
120
121
|
PathValues.SNAP_TRADE_TRADE_DETECTION_SUBSCRIPTIONS: SnapTradeTradeDetectionSubscriptions,
|
|
@@ -131,7 +132,6 @@ PathToApi = typing_extensions.TypedDict(
|
|
|
131
132
|
PathValues.EXCHANGES: Exchanges,
|
|
132
133
|
PathValues.SYMBOLS: Symbols,
|
|
133
134
|
PathValues.SYMBOLS_QUERY: SymbolsQuery,
|
|
134
|
-
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_SIMPLE: AccountsAccountIdTradingSimple,
|
|
135
135
|
PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_DETAILS_V2_BROKERAGE_ORDER_ID: AccountsAccountIdOrdersDetailsV2BrokerageOrderId,
|
|
136
136
|
}
|
|
137
137
|
)
|
|
@@ -184,6 +184,7 @@ path_to_api = PathToApi(
|
|
|
184
184
|
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_CRYPTO: AccountsAccountIdTradingCrypto,
|
|
185
185
|
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_CANCEL: AccountsAccountIdTradingCancel,
|
|
186
186
|
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_REPLACE: AccountsAccountIdTradingReplace,
|
|
187
|
+
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_SIMPLE: AccountsAccountIdTradingSimple,
|
|
187
188
|
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_COMPLEX: AccountsAccountIdTradingComplex,
|
|
188
189
|
PathValues.SNAP_TRADE_PARTNERS: SnapTradePartners,
|
|
189
190
|
PathValues.SNAP_TRADE_TRADE_DETECTION_SUBSCRIPTIONS: SnapTradeTradeDetectionSubscriptions,
|
|
@@ -200,7 +201,6 @@ path_to_api = PathToApi(
|
|
|
200
201
|
PathValues.EXCHANGES: Exchanges,
|
|
201
202
|
PathValues.SYMBOLS: Symbols,
|
|
202
203
|
PathValues.SYMBOLS_QUERY: SymbolsQuery,
|
|
203
|
-
PathValues.ACCOUNTS_ACCOUNT_ID_TRADING_SIMPLE: AccountsAccountIdTradingSimple,
|
|
204
204
|
PathValues.ACCOUNTS_ACCOUNT_ID_ORDERS_DETAILS_V2_BROKERAGE_ORDER_ID: AccountsAccountIdOrdersDetailsV2BrokerageOrderId,
|
|
205
205
|
}
|
|
206
206
|
)
|
|
@@ -15,7 +15,6 @@ from snaptrade_client.paths.accounts_account_id_orders_details_v2_brokerage_orde
|
|
|
15
15
|
from snaptrade_client.paths.accounts_account_id_orders_v2.get import GetUserAccountOrdersV2
|
|
16
16
|
from snaptrade_client.paths.accounts_account_id_recent_orders_v2.get import GetUserAccountRecentOrdersV2
|
|
17
17
|
from snaptrade_client.paths.snap_trade_trade_detection_subscriptions.get import ListSubscriptions
|
|
18
|
-
from snaptrade_client.paths.accounts_account_id_trading_simple.post import PlaceSimpleOrder
|
|
19
18
|
import typing
|
|
20
19
|
from snaptrade_client.auth import AuthMode
|
|
21
20
|
|
|
@@ -29,7 +28,6 @@ class ExperimentalEndpointsApiGenerated(
|
|
|
29
28
|
GetUserAccountOrdersV2[TAuth],
|
|
30
29
|
GetUserAccountRecentOrdersV2[TAuth],
|
|
31
30
|
ListSubscriptions[TAuth],
|
|
32
|
-
PlaceSimpleOrder[TAuth],
|
|
33
31
|
):
|
|
34
32
|
"""NOTE:
|
|
35
33
|
This class is auto generated by Konfig (https://konfigthis.com)
|
|
@@ -20,6 +20,7 @@ from snaptrade_client.paths.accounts_account_id_trading_crypto.post import Place
|
|
|
20
20
|
from snaptrade_client.paths.trade_place.post import PlaceForceOrder
|
|
21
21
|
from snaptrade_client.paths.accounts_account_id_trading_options.post import PlaceMlegOrder
|
|
22
22
|
from snaptrade_client.paths.trade_trade_id.post import PlaceOrder
|
|
23
|
+
from snaptrade_client.paths.accounts_account_id_trading_simple.post import PlaceSimpleOrder
|
|
23
24
|
from snaptrade_client.paths.accounts_account_id_trading_crypto_preview.post import PreviewCryptoOrder
|
|
24
25
|
from snaptrade_client.paths.accounts_account_id_trading_replace.post import ReplaceOrder
|
|
25
26
|
from snaptrade_client.paths.accounts_account_id_trading_instruments_cryptocurrency_pairs.get import SearchCryptocurrencyPairInstruments
|
|
@@ -41,6 +42,7 @@ class TradingApiGenerated(
|
|
|
41
42
|
PlaceForceOrder[TAuth],
|
|
42
43
|
PlaceMlegOrder[TAuth],
|
|
43
44
|
PlaceOrder[TAuth],
|
|
45
|
+
PlaceSimpleOrder[TAuth],
|
|
44
46
|
PreviewCryptoOrder[TAuth],
|
|
45
47
|
ReplaceOrder[TAuth],
|
|
46
48
|
SearchCryptocurrencyPairInstruments[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.4.
|
|
540
|
+
"SDK Package Version: 13.4.9".\
|
|
541
541
|
format(env=sys.platform, pyversion=sys.version)
|
|
542
542
|
|
|
543
543
|
def get_host_settings(self):
|
|
@@ -37,6 +37,10 @@ class AccountUniversalActivity(
|
|
|
37
37
|
class MetaOapg:
|
|
38
38
|
|
|
39
39
|
class properties:
|
|
40
|
+
|
|
41
|
+
@staticmethod
|
|
42
|
+
def instrument() -> typing.Type['InstrumentNullable']:
|
|
43
|
+
return InstrumentNullable
|
|
40
44
|
id = schemas.StrSchema
|
|
41
45
|
|
|
42
46
|
@staticmethod
|
|
@@ -148,6 +152,7 @@ class AccountUniversalActivity(
|
|
|
148
152
|
_configuration=_configuration,
|
|
149
153
|
)
|
|
150
154
|
__annotations__ = {
|
|
155
|
+
"instrument": instrument,
|
|
151
156
|
"id": id,
|
|
152
157
|
"symbol": symbol,
|
|
153
158
|
"currency_universal_symbol": currency_universal_symbol,
|
|
@@ -168,6 +173,9 @@ class AccountUniversalActivity(
|
|
|
168
173
|
}
|
|
169
174
|
additional_properties = schemas.AnyTypeSchema
|
|
170
175
|
|
|
176
|
+
@typing.overload
|
|
177
|
+
def __getitem__(self, name: typing_extensions.Literal["instrument"]) -> 'InstrumentNullable': ...
|
|
178
|
+
|
|
171
179
|
@typing.overload
|
|
172
180
|
def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ...
|
|
173
181
|
|
|
@@ -222,10 +230,13 @@ class AccountUniversalActivity(
|
|
|
222
230
|
@typing.overload
|
|
223
231
|
def __getitem__(self, name: str) -> MetaOapg.additional_properties: ...
|
|
224
232
|
|
|
225
|
-
def __getitem__(self, name: typing.Union[typing_extensions.Literal["id"], typing_extensions.Literal["symbol"], typing_extensions.Literal["currency_universal_symbol"], typing_extensions.Literal["option_symbol"], typing_extensions.Literal["price"], typing_extensions.Literal["units"], typing_extensions.Literal["amount"], typing_extensions.Literal["currency"], typing_extensions.Literal["type"], typing_extensions.Literal["option_type"], typing_extensions.Literal["description"], typing_extensions.Literal["trade_date"], typing_extensions.Literal["settlement_date"], typing_extensions.Literal["fee"], typing_extensions.Literal["fx_rate"], typing_extensions.Literal["institution"], typing_extensions.Literal["external_reference_id"], str, ]):
|
|
233
|
+
def __getitem__(self, name: typing.Union[typing_extensions.Literal["instrument"], typing_extensions.Literal["id"], typing_extensions.Literal["symbol"], typing_extensions.Literal["currency_universal_symbol"], typing_extensions.Literal["option_symbol"], typing_extensions.Literal["price"], typing_extensions.Literal["units"], typing_extensions.Literal["amount"], typing_extensions.Literal["currency"], typing_extensions.Literal["type"], typing_extensions.Literal["option_type"], typing_extensions.Literal["description"], typing_extensions.Literal["trade_date"], typing_extensions.Literal["settlement_date"], typing_extensions.Literal["fee"], typing_extensions.Literal["fx_rate"], typing_extensions.Literal["institution"], typing_extensions.Literal["external_reference_id"], str, ]):
|
|
226
234
|
# dict_instance[name] accessor
|
|
227
235
|
return super().__getitem__(name)
|
|
228
236
|
|
|
237
|
+
@typing.overload
|
|
238
|
+
def get_item_oapg(self, name: typing_extensions.Literal["instrument"]) -> typing.Union['InstrumentNullable', schemas.Unset]: ...
|
|
239
|
+
|
|
229
240
|
@typing.overload
|
|
230
241
|
def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.properties.id, schemas.Unset]: ...
|
|
231
242
|
|
|
@@ -280,12 +291,13 @@ class AccountUniversalActivity(
|
|
|
280
291
|
@typing.overload
|
|
281
292
|
def get_item_oapg(self, name: str) -> typing.Union[MetaOapg.additional_properties, schemas.Unset]: ...
|
|
282
293
|
|
|
283
|
-
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id"], typing_extensions.Literal["symbol"], typing_extensions.Literal["currency_universal_symbol"], typing_extensions.Literal["option_symbol"], typing_extensions.Literal["price"], typing_extensions.Literal["units"], typing_extensions.Literal["amount"], typing_extensions.Literal["currency"], typing_extensions.Literal["type"], typing_extensions.Literal["option_type"], typing_extensions.Literal["description"], typing_extensions.Literal["trade_date"], typing_extensions.Literal["settlement_date"], typing_extensions.Literal["fee"], typing_extensions.Literal["fx_rate"], typing_extensions.Literal["institution"], typing_extensions.Literal["external_reference_id"], str, ]):
|
|
294
|
+
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["instrument"], typing_extensions.Literal["id"], typing_extensions.Literal["symbol"], typing_extensions.Literal["currency_universal_symbol"], typing_extensions.Literal["option_symbol"], typing_extensions.Literal["price"], typing_extensions.Literal["units"], typing_extensions.Literal["amount"], typing_extensions.Literal["currency"], typing_extensions.Literal["type"], typing_extensions.Literal["option_type"], typing_extensions.Literal["description"], typing_extensions.Literal["trade_date"], typing_extensions.Literal["settlement_date"], typing_extensions.Literal["fee"], typing_extensions.Literal["fx_rate"], typing_extensions.Literal["institution"], typing_extensions.Literal["external_reference_id"], str, ]):
|
|
284
295
|
return super().get_item_oapg(name)
|
|
285
296
|
|
|
286
297
|
def __new__(
|
|
287
298
|
cls,
|
|
288
299
|
*args: typing.Union[dict, frozendict.frozendict, ],
|
|
300
|
+
instrument: typing.Union['InstrumentNullable', schemas.Unset] = schemas.unset,
|
|
289
301
|
id: typing.Union[MetaOapg.properties.id, str, schemas.Unset] = schemas.unset,
|
|
290
302
|
symbol: typing.Union['SymbolNullable', schemas.Unset] = schemas.unset,
|
|
291
303
|
currency_universal_symbol: typing.Union['SymbolNullable', schemas.Unset] = schemas.unset,
|
|
@@ -309,6 +321,7 @@ class AccountUniversalActivity(
|
|
|
309
321
|
return super().__new__(
|
|
310
322
|
cls,
|
|
311
323
|
*args,
|
|
324
|
+
instrument=instrument,
|
|
312
325
|
id=id,
|
|
313
326
|
symbol=symbol,
|
|
314
327
|
currency_universal_symbol=currency_universal_symbol,
|
|
@@ -331,5 +344,6 @@ class AccountUniversalActivity(
|
|
|
331
344
|
)
|
|
332
345
|
|
|
333
346
|
from snaptrade_client.model.currency_nullable import CurrencyNullable
|
|
347
|
+
from snaptrade_client.model.instrument_nullable import InstrumentNullable
|
|
334
348
|
from snaptrade_client.model.options_symbol_nullable import OptionsSymbolNullable
|
|
335
349
|
from snaptrade_client.model.symbol_nullable import SymbolNullable
|
|
@@ -37,6 +37,10 @@ class AccountUniversalActivity(
|
|
|
37
37
|
class MetaOapg:
|
|
38
38
|
|
|
39
39
|
class properties:
|
|
40
|
+
|
|
41
|
+
@staticmethod
|
|
42
|
+
def instrument() -> typing.Type['InstrumentNullable']:
|
|
43
|
+
return InstrumentNullable
|
|
40
44
|
id = schemas.StrSchema
|
|
41
45
|
|
|
42
46
|
@staticmethod
|
|
@@ -148,6 +152,7 @@ class AccountUniversalActivity(
|
|
|
148
152
|
_configuration=_configuration,
|
|
149
153
|
)
|
|
150
154
|
__annotations__ = {
|
|
155
|
+
"instrument": instrument,
|
|
151
156
|
"id": id,
|
|
152
157
|
"symbol": symbol,
|
|
153
158
|
"currency_universal_symbol": currency_universal_symbol,
|
|
@@ -168,6 +173,9 @@ class AccountUniversalActivity(
|
|
|
168
173
|
}
|
|
169
174
|
additional_properties = schemas.AnyTypeSchema
|
|
170
175
|
|
|
176
|
+
@typing.overload
|
|
177
|
+
def __getitem__(self, name: typing_extensions.Literal["instrument"]) -> 'InstrumentNullable': ...
|
|
178
|
+
|
|
171
179
|
@typing.overload
|
|
172
180
|
def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ...
|
|
173
181
|
|
|
@@ -222,10 +230,13 @@ class AccountUniversalActivity(
|
|
|
222
230
|
@typing.overload
|
|
223
231
|
def __getitem__(self, name: str) -> MetaOapg.additional_properties: ...
|
|
224
232
|
|
|
225
|
-
def __getitem__(self, name: typing.Union[typing_extensions.Literal["id"], typing_extensions.Literal["symbol"], typing_extensions.Literal["currency_universal_symbol"], typing_extensions.Literal["option_symbol"], typing_extensions.Literal["price"], typing_extensions.Literal["units"], typing_extensions.Literal["amount"], typing_extensions.Literal["currency"], typing_extensions.Literal["type"], typing_extensions.Literal["option_type"], typing_extensions.Literal["description"], typing_extensions.Literal["trade_date"], typing_extensions.Literal["settlement_date"], typing_extensions.Literal["fee"], typing_extensions.Literal["fx_rate"], typing_extensions.Literal["institution"], typing_extensions.Literal["external_reference_id"], str, ]):
|
|
233
|
+
def __getitem__(self, name: typing.Union[typing_extensions.Literal["instrument"], typing_extensions.Literal["id"], typing_extensions.Literal["symbol"], typing_extensions.Literal["currency_universal_symbol"], typing_extensions.Literal["option_symbol"], typing_extensions.Literal["price"], typing_extensions.Literal["units"], typing_extensions.Literal["amount"], typing_extensions.Literal["currency"], typing_extensions.Literal["type"], typing_extensions.Literal["option_type"], typing_extensions.Literal["description"], typing_extensions.Literal["trade_date"], typing_extensions.Literal["settlement_date"], typing_extensions.Literal["fee"], typing_extensions.Literal["fx_rate"], typing_extensions.Literal["institution"], typing_extensions.Literal["external_reference_id"], str, ]):
|
|
226
234
|
# dict_instance[name] accessor
|
|
227
235
|
return super().__getitem__(name)
|
|
228
236
|
|
|
237
|
+
@typing.overload
|
|
238
|
+
def get_item_oapg(self, name: typing_extensions.Literal["instrument"]) -> typing.Union['InstrumentNullable', schemas.Unset]: ...
|
|
239
|
+
|
|
229
240
|
@typing.overload
|
|
230
241
|
def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.properties.id, schemas.Unset]: ...
|
|
231
242
|
|
|
@@ -280,12 +291,13 @@ class AccountUniversalActivity(
|
|
|
280
291
|
@typing.overload
|
|
281
292
|
def get_item_oapg(self, name: str) -> typing.Union[MetaOapg.additional_properties, schemas.Unset]: ...
|
|
282
293
|
|
|
283
|
-
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["id"], typing_extensions.Literal["symbol"], typing_extensions.Literal["currency_universal_symbol"], typing_extensions.Literal["option_symbol"], typing_extensions.Literal["price"], typing_extensions.Literal["units"], typing_extensions.Literal["amount"], typing_extensions.Literal["currency"], typing_extensions.Literal["type"], typing_extensions.Literal["option_type"], typing_extensions.Literal["description"], typing_extensions.Literal["trade_date"], typing_extensions.Literal["settlement_date"], typing_extensions.Literal["fee"], typing_extensions.Literal["fx_rate"], typing_extensions.Literal["institution"], typing_extensions.Literal["external_reference_id"], str, ]):
|
|
294
|
+
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["instrument"], typing_extensions.Literal["id"], typing_extensions.Literal["symbol"], typing_extensions.Literal["currency_universal_symbol"], typing_extensions.Literal["option_symbol"], typing_extensions.Literal["price"], typing_extensions.Literal["units"], typing_extensions.Literal["amount"], typing_extensions.Literal["currency"], typing_extensions.Literal["type"], typing_extensions.Literal["option_type"], typing_extensions.Literal["description"], typing_extensions.Literal["trade_date"], typing_extensions.Literal["settlement_date"], typing_extensions.Literal["fee"], typing_extensions.Literal["fx_rate"], typing_extensions.Literal["institution"], typing_extensions.Literal["external_reference_id"], str, ]):
|
|
284
295
|
return super().get_item_oapg(name)
|
|
285
296
|
|
|
286
297
|
def __new__(
|
|
287
298
|
cls,
|
|
288
299
|
*args: typing.Union[dict, frozendict.frozendict, ],
|
|
300
|
+
instrument: typing.Union['InstrumentNullable', schemas.Unset] = schemas.unset,
|
|
289
301
|
id: typing.Union[MetaOapg.properties.id, str, schemas.Unset] = schemas.unset,
|
|
290
302
|
symbol: typing.Union['SymbolNullable', schemas.Unset] = schemas.unset,
|
|
291
303
|
currency_universal_symbol: typing.Union['SymbolNullable', schemas.Unset] = schemas.unset,
|
|
@@ -309,6 +321,7 @@ class AccountUniversalActivity(
|
|
|
309
321
|
return super().__new__(
|
|
310
322
|
cls,
|
|
311
323
|
*args,
|
|
324
|
+
instrument=instrument,
|
|
312
325
|
id=id,
|
|
313
326
|
symbol=symbol,
|
|
314
327
|
currency_universal_symbol=currency_universal_symbol,
|
|
@@ -331,5 +344,6 @@ class AccountUniversalActivity(
|
|
|
331
344
|
)
|
|
332
345
|
|
|
333
346
|
from snaptrade_client.model.currency_nullable import CurrencyNullable
|
|
347
|
+
from snaptrade_client.model.instrument_nullable import InstrumentNullable
|
|
334
348
|
from snaptrade_client.model.options_symbol_nullable import OptionsSymbolNullable
|
|
335
349
|
from snaptrade_client.model.symbol_nullable import SymbolNullable
|
|
@@ -30,9 +30,9 @@ class FutureOptionInstrument(
|
|
|
30
30
|
"""
|
|
31
31
|
This class is auto generated by Konfig (https://konfigthis.com)
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Contract details for an option on a future, including its underlying futures contract.
|
|
34
34
|
|
|
35
|
-
**Beta:** currently returned only for tastytrade and Interactive Brokers connections, and only for partners
|
|
35
|
+
**Beta:** futures-option positions are currently returned only for tastytrade and Interactive Brokers connections, and only for partners enabled for those positions. Tastytrade activities can also identify futures-option contracts. This schema may change.
|
|
36
36
|
|
|
37
37
|
"""
|
|
38
38
|
|
|
@@ -30,9 +30,9 @@ class FutureOptionInstrument(
|
|
|
30
30
|
"""
|
|
31
31
|
This class is auto generated by Konfig (https://konfigthis.com)
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Contract details for an option on a future, including its underlying futures contract.
|
|
34
34
|
|
|
35
|
-
**Beta:** currently returned only for tastytrade and Interactive Brokers connections, and only for partners
|
|
35
|
+
**Beta:** futures-option positions are currently returned only for tastytrade and Interactive Brokers connections, and only for partners enabled for those positions. Tastytrade activities can also identify futures-option contracts. This schema may change.
|
|
36
36
|
|
|
37
37
|
"""
|
|
38
38
|
|
|
@@ -360,43 +360,6 @@ operation_parameter_map = {
|
|
|
360
360
|
'parameters': [
|
|
361
361
|
]
|
|
362
362
|
},
|
|
363
|
-
'/accounts/{accountId}/trading/simple-POST': {
|
|
364
|
-
'parameters': [
|
|
365
|
-
{
|
|
366
|
-
'name': 'order_type'
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
'name': 'time_in_force'
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
'name': 'legs'
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
'name': 'accountId'
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
'name': 'limit_price'
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
'name': 'stop_price'
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
'name': 'price_effect'
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
'name': 'client_order_id'
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
'name': 'expiry_date'
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
'name': 'notional_value'
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
'name': 'trading_session'
|
|
397
|
-
},
|
|
398
|
-
]
|
|
399
|
-
},
|
|
400
363
|
'/management/stats-GET': {
|
|
401
364
|
'parameters': [
|
|
402
365
|
{
|
|
@@ -698,6 +661,43 @@ operation_parameter_map = {
|
|
|
698
661
|
},
|
|
699
662
|
]
|
|
700
663
|
},
|
|
664
|
+
'/accounts/{accountId}/trading/simple-POST': {
|
|
665
|
+
'parameters': [
|
|
666
|
+
{
|
|
667
|
+
'name': 'order_type'
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
'name': 'time_in_force'
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
'name': 'legs'
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
'name': 'accountId'
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
'name': 'limit_price'
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
'name': 'stop_price'
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
'name': 'price_effect'
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
'name': 'client_order_id'
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
'name': 'expiry_date'
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
'name': 'notional_value'
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
'name': 'trading_session'
|
|
698
|
+
},
|
|
699
|
+
]
|
|
700
|
+
},
|
|
701
701
|
'/accounts/{accountId}/trading/crypto/preview-POST': {
|
|
702
702
|
'parameters': [
|
|
703
703
|
{
|
|
@@ -52,6 +52,7 @@ class PathValues(str, enum.Enum):
|
|
|
52
52
|
ACCOUNTS_ACCOUNT_ID_TRADING_CRYPTO = "/accounts/{accountId}/trading/crypto"
|
|
53
53
|
ACCOUNTS_ACCOUNT_ID_TRADING_CANCEL = "/accounts/{accountId}/trading/cancel"
|
|
54
54
|
ACCOUNTS_ACCOUNT_ID_TRADING_REPLACE = "/accounts/{accountId}/trading/replace"
|
|
55
|
+
ACCOUNTS_ACCOUNT_ID_TRADING_SIMPLE = "/accounts/{accountId}/trading/simple"
|
|
55
56
|
ACCOUNTS_ACCOUNT_ID_TRADING_COMPLEX = "/accounts/{accountId}/trading/complex"
|
|
56
57
|
SNAP_TRADE_PARTNERS = "/snapTrade/partners"
|
|
57
58
|
SNAP_TRADE_TRADE_DETECTION_SUBSCRIPTIONS = "/snapTrade/tradeDetection/subscriptions"
|
|
@@ -68,5 +69,4 @@ class PathValues(str, enum.Enum):
|
|
|
68
69
|
EXCHANGES = "/exchanges"
|
|
69
70
|
SYMBOLS = "/symbols"
|
|
70
71
|
SYMBOLS_QUERY = "/symbols/{query}"
|
|
71
|
-
ACCOUNTS_ACCOUNT_ID_TRADING_SIMPLE = "/accounts/{accountId}/trading/simple"
|
|
72
72
|
ACCOUNTS_ACCOUNT_ID_ORDERS_DETAILS_V2_BROKERAGE_ORDER_ID = "/accounts/{accountId}/orders/details/v2/{brokerageOrderId}"
|
|
@@ -449,7 +449,7 @@ class ListUserAccounts(BaseApi, typing.Generic[TAuth]):
|
|
|
449
449
|
ApiResponseForDefault,
|
|
450
450
|
api_client.ApiResponseWithoutDeserialization,
|
|
451
451
|
]:
|
|
452
|
-
""" **Deprecated.** Use the [list all user accounts](/reference/Account%20Information/AccountInformation_listAllUserAccounts) endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, annuity, and mortgage accounts. Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. This endpoint returns Daily data regardless of the customer's plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user's connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/
|
|
452
|
+
""" **Deprecated.** Use the [list all user accounts](/reference/Account%20Information/AccountInformation_listAllUserAccounts) endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, annuity, and mortgage accounts. This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026. Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. This endpoint returns Daily data regardless of the customer's plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user's connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listConnectionAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). """
|
|
453
453
|
args = self._list_user_accounts_mapped_args(
|
|
454
454
|
user_id=user_id,
|
|
455
455
|
user_secret=user_secret,
|
|
@@ -500,7 +500,7 @@ class ApiForget(BaseApi, typing.Generic[TAuth]):
|
|
|
500
500
|
ApiResponseForDefault,
|
|
501
501
|
api_client.ApiResponseWithoutDeserialization,
|
|
502
502
|
]:
|
|
503
|
-
""" **Deprecated.** Use the [list all user accounts](/reference/Account%20Information/AccountInformation_listAllUserAccounts) endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, annuity, and mortgage accounts. Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. This endpoint returns Daily data regardless of the customer's plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user's connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/
|
|
503
|
+
""" **Deprecated.** Use the [list all user accounts](/reference/Account%20Information/AccountInformation_listAllUserAccounts) endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, annuity, and mortgage accounts. This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026. Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user. This endpoint returns Daily data regardless of the customer's plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user's connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listConnectionAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). """
|
|
504
504
|
args = self._list_user_accounts_mapped_args(
|
|
505
505
|
user_id=user_id,
|
|
506
506
|
user_secret=user_secret,
|
|
@@ -580,7 +580,7 @@ class GetUserAccountDetails(BaseApi, typing.Generic[TAuth]):
|
|
|
580
580
|
ApiResponseForDefault,
|
|
581
581
|
api_client.ApiResponseWithoutDeserialization,
|
|
582
582
|
]:
|
|
583
|
-
""" **Deprecated.** Use the [get account details](/reference/Account%20Information/AccountInformation_getAccountDetails) endpoint instead, which supports all account types, including investment, deposit, line of credit, annuity, and mortgage accounts. Returns account detail known to SnapTrade for the specified account. 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: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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. """
|
|
583
|
+
""" **Deprecated.** Use the [get account details](/reference/Account%20Information/AccountInformation_getAccountDetails) endpoint instead, which supports all account types, including investment, deposit, line of credit, annuity, and mortgage accounts. This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026. Returns account detail known to SnapTrade for the specified account. 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: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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. """
|
|
584
584
|
args = self._get_user_account_details_mapped_args(
|
|
585
585
|
path_params=path_params,
|
|
586
586
|
account_id=account_id,
|
|
@@ -641,7 +641,7 @@ class ApiForget(BaseApi, typing.Generic[TAuth]):
|
|
|
641
641
|
ApiResponseForDefault,
|
|
642
642
|
api_client.ApiResponseWithoutDeserialization,
|
|
643
643
|
]:
|
|
644
|
-
""" **Deprecated.** Use the [get account details](/reference/Account%20Information/AccountInformation_getAccountDetails) endpoint instead, which supports all account types, including investment, deposit, line of credit, annuity, and mortgage accounts. Returns account detail known to SnapTrade for the specified account. 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: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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. """
|
|
644
|
+
""" **Deprecated.** Use the [get account details](/reference/Account%20Information/AccountInformation_getAccountDetails) endpoint instead, which supports all account types, including investment, deposit, line of credit, annuity, and mortgage accounts. This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026. Returns account detail known to SnapTrade for the specified account. 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: - If you do, this endpoint returns real-time data. - If you don't, Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. If you need real-time, use the [manual refresh](/reference/Connections/Connections_refreshBrokerageAuthorization) endpoint. 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. """
|
|
645
645
|
args = self._get_user_account_details_mapped_args(
|
|
646
646
|
path_params=path_params,
|
|
647
647
|
account_id=account_id,
|
|
@@ -762,7 +762,7 @@ class PlaceSimpleOrder(BaseApi, typing.Generic[TAuth]):
|
|
|
762
762
|
ApiResponseFor200,
|
|
763
763
|
api_client.ApiResponseWithoutDeserialization,
|
|
764
764
|
]:
|
|
765
|
-
""" **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options.
|
|
765
|
+
""" **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. Breaking changes are possible while this endpoint is in beta. Equity and equity-option orders use the existing brokerage trading capabilities. Futures are supported on tastytrade, Webull US, and TradeStation (live and SIM); future options are supported on tastytrade and TradeStation (live and SIM). Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. Webull US supports single-leg futures orders with buy or sell actions and positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day or gtc duration. Futures options, multi-leg futures, trailing stops, and Webull Canada futures trading are not supported. Webull determines contract availability, margin requirements, and valid price increments. TradeStation and TradeStation SIM support single-leg futures and futures-option orders in Futures accounts, with positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day, gtc, ioc, or fok duration, subject to the contract and route's supported combinations. Futures use buy/sell; futures options use the open/close option actions. Multi-leg futures-family strategies are not supported. Prices are forwarded without rounding; TradeStation determines contract availability, permissions, margin requirements, and valid price increments. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or brokerage-native futures symbols. For tastytrade, use the exact BrokerageInstrument ticker, including any spaces. For Webull US, use a specific unprefixed futures contract symbol such as ESZ6; slash-prefixed aliases, continuous/root-only symbols, and whitespace are not accepted. For TradeStation, use a specific two-digit-year contract such as ESZ26 or @ESZ26, or a futures-option symbol such as `ESZ26 C6000`, preserving the space and any session alias. The optional @ prefix is supported for dated futures contracts and is forwarded unchanged. Slash-prefixed aliases and root-only continuous symbols such as @ES are not accepted. A futures symbol does not need to be present in SnapTrade's local instrument catalog to submit an order. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details. """
|
|
766
766
|
args = self._place_simple_order_mapped_args(
|
|
767
767
|
body=body,
|
|
768
768
|
path_params=path_params,
|
|
@@ -865,7 +865,7 @@ class ApiForpost(BaseApi, typing.Generic[TAuth]):
|
|
|
865
865
|
ApiResponseFor200,
|
|
866
866
|
api_client.ApiResponseWithoutDeserialization,
|
|
867
867
|
]:
|
|
868
|
-
""" **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options.
|
|
868
|
+
""" **Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. Breaking changes are possible while this endpoint is in beta. Equity and equity-option orders use the existing brokerage trading capabilities. Futures are supported on tastytrade, Webull US, and TradeStation (live and SIM); future options are supported on tastytrade and TradeStation (live and SIM). Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages). An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders. Webull US supports single-leg futures orders with buy or sell actions and positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day or gtc duration. Futures options, multi-leg futures, trailing stops, and Webull Canada futures trading are not supported. Webull determines contract availability, margin requirements, and valid price increments. TradeStation and TradeStation SIM support single-leg futures and futures-option orders in Futures accounts, with positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day, gtc, ioc, or fok duration, subject to the contract and route's supported combinations. Futures use buy/sell; futures options use the open/close option actions. Multi-leg futures-family strategies are not supported. Prices are forwarded without rounding; TradeStation determines contract availability, permissions, margin requirements, and valid price increments. All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or brokerage-native futures symbols. For tastytrade, use the exact BrokerageInstrument ticker, including any spaces. For Webull US, use a specific unprefixed futures contract symbol such as ESZ6; slash-prefixed aliases, continuous/root-only symbols, and whitespace are not accepted. For TradeStation, use a specific two-digit-year contract such as ESZ26 or @ESZ26, or a futures-option symbol such as `ESZ26 C6000`, preserving the space and any session alias. The optional @ prefix is supported for dated futures contracts and is forwarded unchanged. Slash-prefixed aliases and root-only continuous symbols such as @ES are not accepted. A futures symbol does not need to be present in SnapTrade's local instrument catalog to submit an order. A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details. """
|
|
869
869
|
args = self._place_simple_order_mapped_args(
|
|
870
870
|
body=body,
|
|
871
871
|
path_params=path_params,
|
|
@@ -494,6 +494,7 @@ class BaseApi(api_client.Api):
|
|
|
494
494
|
class ListBrokerageAuthorizationAccounts(BaseApi, typing.Generic[TAuth]):
|
|
495
495
|
# this class is used by api classes that refer to endpoints with operationId fn names
|
|
496
496
|
|
|
497
|
+
@api_client.DeprecationWarningOnce(prefix="connections")
|
|
497
498
|
async def alist_brokerage_authorization_accounts(
|
|
498
499
|
self,
|
|
499
500
|
authorization_id: typing.Optional[str] = None,
|
|
@@ -521,6 +522,7 @@ class ListBrokerageAuthorizationAccounts(BaseApi, typing.Generic[TAuth]):
|
|
|
521
522
|
**kwargs,
|
|
522
523
|
)
|
|
523
524
|
|
|
525
|
+
@api_client.DeprecationWarningOnce(prefix="connections")
|
|
524
526
|
def list_brokerage_authorization_accounts(
|
|
525
527
|
self,
|
|
526
528
|
authorization_id: typing.Optional[str] = None,
|
|
@@ -534,7 +536,7 @@ class ListBrokerageAuthorizationAccounts(BaseApi, typing.Generic[TAuth]):
|
|
|
534
536
|
ApiResponseFor200,
|
|
535
537
|
api_client.ApiResponseWithoutDeserialization,
|
|
536
538
|
]:
|
|
537
|
-
""" Returns all brokerage accounts that belong to the specified connection for the authenticated user. On Pay as you Go / Real-time, this endpoint refreshes each account's opening date, funding date, and total value live from the brokerage on each call. On Pay as you Go / Daily, this endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. To force a refresh, use the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see whether your plan includes real-time data. """
|
|
539
|
+
""" **Deprecated.** Use the [list accounts](/reference/Connections/Connections_listConnectionAccounts) endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, annuity, and mortgage accounts. This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026. Returns all brokerage accounts that belong to the specified connection for the authenticated user. On Pay as you Go / Real-time, this endpoint refreshes each account's opening date, funding date, and total value live from the brokerage on each call. On Pay as you Go / Daily, this endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. To force a refresh, use the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see whether your plan includes real-time data. """
|
|
538
540
|
args = self._list_brokerage_authorization_accounts_mapped_args(
|
|
539
541
|
path_params=path_params,
|
|
540
542
|
authorization_id=authorization_id,
|
|
@@ -551,6 +553,7 @@ class ListBrokerageAuthorizationAccounts(BaseApi, typing.Generic[TAuth]):
|
|
|
551
553
|
class ApiForget(BaseApi, typing.Generic[TAuth]):
|
|
552
554
|
# this class is used by api classes that refer to endpoints by path and http method names
|
|
553
555
|
|
|
556
|
+
@api_client.DeprecationWarningOnce(prefix="connections")
|
|
554
557
|
async def aget(
|
|
555
558
|
self,
|
|
556
559
|
authorization_id: typing.Optional[str] = None,
|
|
@@ -578,6 +581,7 @@ class ApiForget(BaseApi, typing.Generic[TAuth]):
|
|
|
578
581
|
**kwargs,
|
|
579
582
|
)
|
|
580
583
|
|
|
584
|
+
@api_client.DeprecationWarningOnce(prefix="connections")
|
|
581
585
|
def get(
|
|
582
586
|
self,
|
|
583
587
|
authorization_id: typing.Optional[str] = None,
|
|
@@ -591,7 +595,7 @@ class ApiForget(BaseApi, typing.Generic[TAuth]):
|
|
|
591
595
|
ApiResponseFor200,
|
|
592
596
|
api_client.ApiResponseWithoutDeserialization,
|
|
593
597
|
]:
|
|
594
|
-
""" Returns all brokerage accounts that belong to the specified connection for the authenticated user. On Pay as you Go / Real-time, this endpoint refreshes each account's opening date, funding date, and total value live from the brokerage on each call. On Pay as you Go / Daily, this endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. To force a refresh, use the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see whether your plan includes real-time data. """
|
|
598
|
+
""" **Deprecated.** Use the [list accounts](/reference/Connections/Connections_listConnectionAccounts) endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, annuity, and mortgage accounts. This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026. Returns all brokerage accounts that belong to the specified connection for the authenticated user. On Pay as you Go / Real-time, this endpoint refreshes each account's opening date, funding date, and total value live from the brokerage on each call. On Pay as you Go / Daily, this endpoint returns Daily data. Daily data is cached and refreshed once a day. Exact refresh timing may vary by brokerage. To force a refresh, use the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization). Check your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing) to see whether your plan includes real-time data. """
|
|
595
599
|
args = self._list_brokerage_authorization_accounts_mapped_args(
|
|
596
600
|
path_params=path_params,
|
|
597
601
|
authorization_id=authorization_id,
|
|
@@ -16,6 +16,7 @@ from enum import Enum
|
|
|
16
16
|
from typing_extensions import TypedDict, Literal, TYPE_CHECKING
|
|
17
17
|
|
|
18
18
|
from snaptrade_client.type.currency_nullable import CurrencyNullable
|
|
19
|
+
from snaptrade_client.type.instrument_nullable import InstrumentNullable
|
|
19
20
|
from snaptrade_client.type.options_symbol_nullable import OptionsSymbolNullable
|
|
20
21
|
from snaptrade_client.type.symbol_nullable import SymbolNullable
|
|
21
22
|
|
|
@@ -23,6 +24,8 @@ class RequiredAccountUniversalActivity(TypedDict):
|
|
|
23
24
|
pass
|
|
24
25
|
|
|
25
26
|
class OptionalAccountUniversalActivity(TypedDict, total=False):
|
|
27
|
+
instrument: typing.Optional[InstrumentNullable]
|
|
28
|
+
|
|
26
29
|
# Unique identifier for the transaction. This is the ID used to reference the transaction in SnapTrade. Please note that this ID _can_ change if the transaction is deleted and re-added. Under normal circumstances, SnapTrade does not delete transactions. The only time this would happen is if SnapTrade re-fetches and reprocesses the data from the brokerage, which is rare. If you require a stable ID, please let us know and we can work with you to provide one.
|
|
27
30
|
id: str
|
|
28
31
|
|
|
@@ -43,7 +46,7 @@ class OptionalAccountUniversalActivity(TypedDict, total=False):
|
|
|
43
46
|
|
|
44
47
|
currency: typing.Optional[CurrencyNullable]
|
|
45
48
|
|
|
46
|
-
# A string representing the type of transaction. SnapTrade does a best effort to categorize the brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `SUBSTITUTE_DIVIDEND` - Payment in lieu of a dividend. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `STOCK_DIVIDEND` - A type of dividend where a company distributes shares instead of cash - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `TAX` - A tax related fee. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of asset(s) from one account to another. - `EXTERNAL_ASSET_TRANSFER_IN` - Incoming transfer of an asset from an external account to this account. - `EXTERNAL_ASSET_TRANSFER_OUT` - Outgoing transfer of an asset from this account to an external account. - `SPLIT` - A stock share split. - `ADJUSTMENT` - A one time adjustment of the account's cash balance or shares of an asset
|
|
49
|
+
# A string representing the type of transaction. SnapTrade does a best effort to categorize the brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `SUBSTITUTE_DIVIDEND` - Payment in lieu of a dividend. - `CAPITAL_GAINS_LONG` - Long-term capital-gain distribution. - `CAPITAL_GAINS_SHORT` - Short-term capital-gain distribution. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `STOCK_DIVIDEND` - A type of dividend where a company distributes shares instead of cash - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `TAX` - A tax related fee. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of asset(s) from one account to another. - `EXTERNAL_ASSET_TRANSFER_IN` - Incoming transfer of an asset from an external account to this account. - `EXTERNAL_ASSET_TRANSFER_OUT` - Outgoing transfer of an asset from this account to an external account. - `SPLIT` - A stock share split. - `ADJUSTMENT` - A one time adjustment of the account's cash balance or shares of an asset
|
|
47
50
|
type: str
|
|
48
51
|
|
|
49
52
|
# If an option `BUY` or `SELL` transaction, this further specifies the type of action. The possible values are: - BUY_TO_OPEN - BUY_TO_CLOSE - SELL_TO_OPEN - SELL_TO_CLOSE
|
|
@@ -22,7 +22,7 @@ class RequiredActivity(TypedDict):
|
|
|
22
22
|
# A stable and unique transaction id when available
|
|
23
23
|
transaction_id: typing.Optional[str]
|
|
24
24
|
|
|
25
|
-
# A string representing the type of transaction. SnapTrade does a best effort to categorize the brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `BUY_TO_OPEN` - Option bought to open a long position. - `BUY_TO_CLOSE` - Option bought to close a short position. - `SELL_TO_OPEN` - Option sold to open a short position. - `SELL_TO_CLOSE` - Option sold to close a long position. - `DIVIDEND` - Dividend payout. - `SUBSTITUTE_DIVIDEND` - Payment in lieu of a dividend. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `STOCK_DIVIDEND` - A type of dividend where a company distributes shares instead of cash - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `TAX` - A tax related fee. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of asset(s) from one account to another. - `EXTERNAL_ASSET_TRANSFER_IN` - Incoming transfer of an asset from an external account to this account. - `EXTERNAL_ASSET_TRANSFER_OUT` - Outgoing transfer of an asset from this account to an external account. - `SPLIT` - A stock share split. - `ADJUSTMENT` - A one time adjustment of the account's cash balance or shares of an asset
|
|
25
|
+
# A string representing the type of transaction. SnapTrade does a best effort to categorize the brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `BUY_TO_OPEN` - Option bought to open a long position. - `BUY_TO_CLOSE` - Option bought to close a short position. - `SELL_TO_OPEN` - Option sold to open a short position. - `SELL_TO_CLOSE` - Option sold to close a long position. - `DIVIDEND` - Dividend payout. - `SUBSTITUTE_DIVIDEND` - Payment in lieu of a dividend. - `CAPITAL_GAINS_LONG` - Long-term capital-gain distribution. - `CAPITAL_GAINS_SHORT` - Short-term capital-gain distribution. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `STOCK_DIVIDEND` - A type of dividend where a company distributes shares instead of cash - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `TAX` - A tax related fee. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of asset(s) from one account to another. - `EXTERNAL_ASSET_TRANSFER_IN` - Incoming transfer of an asset from an external account to this account. - `EXTERNAL_ASSET_TRANSFER_OUT` - Outgoing transfer of an asset from this account to an external account. - `SPLIT` - A stock share split. - `ADJUSTMENT` - A one time adjustment of the account's cash balance or shares of an asset
|
|
26
26
|
type: str
|
|
27
27
|
|
|
28
28
|
# Recorded date and time in UTC. Precision depends on what the brokerage supplies.
|
|
@@ -46,7 +46,7 @@ class OptionalUniversalActivity(TypedDict, total=False):
|
|
|
46
46
|
|
|
47
47
|
currency: typing.Optional[CurrencyNullable]
|
|
48
48
|
|
|
49
|
-
# A string representing the type of transaction. SnapTrade does a best effort to categorize the brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `SUBSTITUTE_DIVIDEND` - Payment in lieu of a dividend. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `OPTIONEXPIRATION` - Option expiration event. `option_symbol` contains the related option contract info. - `OPTIONASSIGNMENT` - Option assignment event. `option_symbol` contains the related option contract info. - `OPTIONEXERCISE` - Option exercise event. `option_symbol` contains the related option contract info.
|
|
49
|
+
# A string representing the type of transaction. SnapTrade does a best effort to categorize the brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `SUBSTITUTE_DIVIDEND` - Payment in lieu of a dividend. - `CAPITAL_GAINS_LONG` - Long-term capital-gain distribution. - `CAPITAL_GAINS_SHORT` - Short-term capital-gain distribution. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `OPTIONEXPIRATION` - Option expiration event. `option_symbol` contains the related option contract info. - `OPTIONASSIGNMENT` - Option assignment event. `option_symbol` contains the related option contract info. - `OPTIONEXERCISE` - Option exercise event. `option_symbol` contains the related option contract info.
|
|
50
50
|
type: str
|
|
51
51
|
|
|
52
52
|
# If an option `BUY` or `SELL` transaction, this further specifies the type of action. The possible values are: - BUY_TO_OPEN - BUY_TO_CLOSE - SELL_TO_OPEN - SELL_TO_CLOSE
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: snaptrade-python-sdk
|
|
3
|
-
Version: 13.4.
|
|
3
|
+
Version: 13.4.9
|
|
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
|
-
[](https://pypi.org/project/snaptrade-python-sdk/13.4.9)
|
|
91
91
|
[](https://github.com/passiv/snaptrade-sdks/tree/master/sdks/python#readme)
|
|
92
92
|
[](https://snaptrade.com/)
|
|
93
93
|
|
|
@@ -149,7 +149,6 @@ See https://docs.snaptrade.com/docs/ratelimiting.
|
|
|
149
149
|
* [`snaptrade.experimental_endpoints.get_user_account_orders_v2`](#snaptradeexperimental_endpointsget_user_account_orders_v2)
|
|
150
150
|
* [`snaptrade.experimental_endpoints.get_user_account_recent_orders_v2`](#snaptradeexperimental_endpointsget_user_account_recent_orders_v2)
|
|
151
151
|
* [`snaptrade.experimental_endpoints.list_subscriptions`](#snaptradeexperimental_endpointslist_subscriptions)
|
|
152
|
-
* [`snaptrade.experimental_endpoints.place_simple_order`](#snaptradeexperimental_endpointsplace_simple_order)
|
|
153
152
|
* [`snaptrade.management.get_stats`](#snaptrademanagementget_stats)
|
|
154
153
|
* [`snaptrade.management.get_stats_legacy`](#snaptrademanagementget_stats_legacy)
|
|
155
154
|
* [`snaptrade.reference_data.get_partner_info`](#snaptradereference_dataget_partner_info)
|
|
@@ -172,6 +171,7 @@ See https://docs.snaptrade.com/docs/ratelimiting.
|
|
|
172
171
|
* [`snaptrade.trading.place_force_order`](#snaptradetradingplace_force_order)
|
|
173
172
|
* [`snaptrade.trading.place_mleg_order`](#snaptradetradingplace_mleg_order)
|
|
174
173
|
* [`snaptrade.trading.place_order`](#snaptradetradingplace_order)
|
|
174
|
+
* [`snaptrade.trading.place_simple_order`](#snaptradetradingplace_simple_order)
|
|
175
175
|
* [`snaptrade.trading.preview_crypto_order`](#snaptradetradingpreview_crypto_order)
|
|
176
176
|
* [`snaptrade.trading.replace_order`](#snaptradetradingreplace_order)
|
|
177
177
|
* [`snaptrade.trading.search_cryptocurrency_pair_instruments`](#snaptradetradingsearch_cryptocurrency_pair_instruments)
|
|
@@ -185,7 +185,7 @@ Python >=3.8
|
|
|
185
185
|
## Installation<a id="installation"></a>
|
|
186
186
|
|
|
187
187
|
```sh
|
|
188
|
-
pip install snaptrade-python-sdk==13.4.
|
|
188
|
+
pip install snaptrade-python-sdk==13.4.9
|
|
189
189
|
```
|
|
190
190
|
|
|
191
191
|
## Authentication<a id="authentication"></a>
|
|
@@ -193,7 +193,7 @@ pip install snaptrade-python-sdk==13.4.7
|
|
|
193
193
|
Choose the authentication mode that matches your credentials, then use its client in the reference examples.
|
|
194
194
|
|
|
195
195
|
### Commercial API Key Auth authentication<a id="commercial-api-key-auth-authentication"></a>
|
|
196
|
-
Use
|
|
196
|
+
Use a Commercial API Key when your app manages users and their connection experience.
|
|
197
197
|
|
|
198
198
|
```python
|
|
199
199
|
from snaptrade_client import SnapTrade, SnapTradeAuth
|
|
@@ -509,7 +509,7 @@ An integer that specifies the maximum number of transactions to return. Default
|
|
|
509
509
|
|
|
510
510
|
##### type: `str`<a id="type-str"></a>
|
|
511
511
|
|
|
512
|
-
Optional comma separated list of transaction types to filter by. SnapTrade does a best effort to categorize brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `SUBSTITUTE_DIVIDEND` - Payment in lieu of a dividend. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `STOCK_DIVIDEND` - A type of dividend where a company distributes shares instead of cash - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `TAX` - A tax related fee. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of assets from one account to another. - `SPLIT` - A stock share split.
|
|
512
|
+
Optional comma separated list of transaction types to filter by. SnapTrade does a best effort to categorize brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `DIVIDEND` - Dividend payout. - `SUBSTITUTE_DIVIDEND` - Payment in lieu of a dividend. - `CAPITAL_GAINS_LONG` - Long-term capital-gain distribution. - `CAPITAL_GAINS_SHORT` - Short-term capital-gain distribution. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `STOCK_DIVIDEND` - A type of dividend where a company distributes shares instead of cash - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `TAX` - A tax related fee. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of assets from one account to another. - `SPLIT` - A stock share split.
|
|
513
513
|
|
|
514
514
|
#### 🔄 Return<a id="🔄-return"></a>
|
|
515
515
|
|
|
@@ -857,7 +857,7 @@ Last date to include (UTC). Defaults to the latest available transaction.
|
|
|
857
857
|
|
|
858
858
|
##### type: `str`<a id="type-str"></a>
|
|
859
859
|
|
|
860
|
-
Optional comma separated list of transaction types to filter by. SnapTrade does a best effort to categorize brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `BUY_TO_OPEN` - Option bought to open a long position. - `BUY_TO_CLOSE` - Option bought to close a short position. - `SELL_TO_OPEN` - Option sold to open a short position. - `SELL_TO_CLOSE` - Option sold to close a long position. - `DIVIDEND` - Dividend payout. - `SUBSTITUTE_DIVIDEND` - Payment in lieu of a dividend. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `STOCK_DIVIDEND` - A type of dividend where a company distributes shares instead of cash - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `TAX` - A tax related fee. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of assets from one account to another. - `SPLIT` - A stock share split.
|
|
860
|
+
Optional comma separated list of transaction types to filter by. SnapTrade does a best effort to categorize brokerage transaction types into a common set of values. Here are some of the most popular values: - `BUY` - Asset bought. - `SELL` - Asset sold. - `BUY_TO_OPEN` - Option bought to open a long position. - `BUY_TO_CLOSE` - Option bought to close a short position. - `SELL_TO_OPEN` - Option sold to open a short position. - `SELL_TO_CLOSE` - Option sold to close a long position. - `DIVIDEND` - Dividend payout. - `SUBSTITUTE_DIVIDEND` - Payment in lieu of a dividend. - `CAPITAL_GAINS_LONG` - Long-term capital-gain distribution. - `CAPITAL_GAINS_SHORT` - Short-term capital-gain distribution. - `CONTRIBUTION` - Cash contribution. - `WITHDRAWAL` - Cash withdrawal. - `REI` - Dividend reinvestment. - `STOCK_DIVIDEND` - A type of dividend where a company distributes shares instead of cash - `INTEREST` - Interest deposited into the account. - `FEE` - Fee withdrawn from the account. - `TAX` - A tax related fee. - `OPTIONEXPIRATION` - Option expiration event. - `OPTIONASSIGNMENT` - Option assignment event. - `OPTIONEXERCISE` - Option exercise event. - `TRANSFER` - Transfer of assets from one account to another. - `SPLIT` - A stock share split.
|
|
861
861
|
|
|
862
862
|
##### offset: `int`<a id="offset-int"></a>
|
|
863
863
|
|
|
@@ -1171,6 +1171,8 @@ The client identifies the user in this mode. Do not pass `user_id` `user_secret`
|
|
|
1171
1171
|
|
|
1172
1172
|
**Deprecated.** Use the [get account details](/reference/Account%20Information/AccountInformation_getAccountDetails) endpoint instead, which supports all account types, including investment, deposit, line of credit, annuity, and mortgage accounts.
|
|
1173
1173
|
|
|
1174
|
+
This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026.
|
|
1175
|
+
|
|
1174
1176
|
Returns account detail known to SnapTrade for the specified account.
|
|
1175
1177
|
|
|
1176
1178
|
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:
|
|
@@ -1688,9 +1690,11 @@ The client identifies the user in this mode. Do not pass `user_id` `user_secret`
|
|
|
1688
1690
|
|
|
1689
1691
|
**Deprecated.** Use the [list all user accounts](/reference/Account%20Information/AccountInformation_listAllUserAccounts) endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, annuity, and mortgage accounts.
|
|
1690
1692
|
|
|
1693
|
+
This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026.
|
|
1694
|
+
|
|
1691
1695
|
Returns all brokerage accounts across all connections known to SnapTrade for the authenticated user.
|
|
1692
1696
|
|
|
1693
|
-
This endpoint returns Daily data regardless of the customer's plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user's connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/
|
|
1697
|
+
This endpoint returns Daily data regardless of the customer's plan. Daily data is cached and refreshed once a day, which makes this endpoint fast and well-suited to listing accounts across all of a user's connections in a single call. Exact refresh timing may vary by brokerage. To get real-time data on Pay as you Go / Real-time, use the [list accounts for a connection endpoint](/reference/Connections/Connections_listConnectionAccounts). Customers on Pay as you Go / Daily can force a refresh with the [manual refresh endpoint](/reference/Connections/Connections_refreshBrokerageAuthorization).
|
|
1694
1698
|
|
|
1695
1699
|
|
|
1696
1700
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
@@ -2285,6 +2289,11 @@ The client identifies the user in this mode. Do not pass `user_id` `user_secret`
|
|
|
2285
2289
|
---
|
|
2286
2290
|
|
|
2287
2291
|
### `snaptrade.connections.list_brokerage_authorization_accounts`<a id="snaptradeconnectionslist_brokerage_authorization_accounts"></a>
|
|
2292
|
+

|
|
2293
|
+
|
|
2294
|
+
**Deprecated.** Use the [list accounts](/reference/Connections/Connections_listConnectionAccounts) endpoint instead, which returns all account types in a single response, including investment, deposit, line of credit, annuity, and mortgage accounts.
|
|
2295
|
+
|
|
2296
|
+
This endpoint will return HTTP 410 Gone for all customers that sign up after December 1, 2026.
|
|
2288
2297
|
|
|
2289
2298
|
Returns all brokerage accounts that belong to the specified connection for the authenticated user.
|
|
2290
2299
|
|
|
@@ -3070,182 +3079,6 @@ list_subscriptions_response = (
|
|
|
3070
3079
|
|
|
3071
3080
|
---
|
|
3072
3081
|
|
|
3073
|
-
### `snaptrade.experimental_endpoints.place_simple_order`<a id="snaptradeexperimental_endpointsplace_simple_order"></a>
|
|
3074
|
-
|
|
3075
|
-
**Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. This endpoint is experimental; breaking changes are possible during the experimental phase.
|
|
3076
|
-
|
|
3077
|
-
Equity and equity-option orders use the existing brokerage trading capabilities. Futures are supported on tastytrade, Webull US, and TradeStation (live and SIM); future options are supported on tastytrade and TradeStation (live and SIM). Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages).
|
|
3078
|
-
|
|
3079
|
-
An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders.
|
|
3080
|
-
|
|
3081
|
-
Webull US supports single-leg futures orders with buy or sell actions and positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day or gtc duration. Futures options, multi-leg futures, trailing stops, and Webull Canada futures trading are not supported. Webull determines contract availability, margin requirements, and valid price increments.
|
|
3082
|
-
|
|
3083
|
-
TradeStation and TradeStation SIM support single-leg futures and futures-option orders in Futures accounts, with positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day, gtc, ioc, or fok duration, subject to the contract and route's supported combinations. Futures use buy/sell; futures options use the open/close option actions. Multi-leg futures-family strategies are not supported. Prices are forwarded without rounding; TradeStation determines contract availability, permissions, margin requirements, and valid price increments.
|
|
3084
|
-
|
|
3085
|
-
All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or brokerage-native futures symbols. For tastytrade, use the exact BrokerageInstrument ticker, including any spaces. For Webull US, use a specific unprefixed futures contract symbol such as ESZ6; slash-prefixed aliases, continuous/root-only symbols, and whitespace are not accepted. For TradeStation, use a specific two-digit-year contract such as ESZ26 or @ESZ26, or a futures-option symbol such as `ESZ26 C6000`, preserving the space and any session alias. The optional @ prefix is supported for dated futures contracts and is forwarded unchanged. Slash-prefixed aliases and root-only continuous symbols such as @ES are not accepted. A futures symbol does not need to be present in SnapTrade's local instrument catalog to submit an order.
|
|
3086
|
-
|
|
3087
|
-
A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
3091
|
-
|
|
3092
|
-
##### Commercial API Key Auth<a id="commercial-api-key-auth"></a>
|
|
3093
|
-
|
|
3094
|
-
```python
|
|
3095
|
-
place_simple_order_response = (
|
|
3096
|
-
commercial_api_key_client.experimental_endpoints.place_simple_order(
|
|
3097
|
-
order_type="stop_limit",
|
|
3098
|
-
time_in_force="day",
|
|
3099
|
-
legs=[
|
|
3100
|
-
{
|
|
3101
|
-
"instrument": {
|
|
3102
|
-
"kind": "future",
|
|
3103
|
-
"symbol": "/ESZ6",
|
|
3104
|
-
},
|
|
3105
|
-
"action": "buy",
|
|
3106
|
-
"units": "1.25",
|
|
3107
|
-
}
|
|
3108
|
-
],
|
|
3109
|
-
account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
3110
|
-
limit_price="1.25",
|
|
3111
|
-
stop_price="1.25",
|
|
3112
|
-
price_effect="debit",
|
|
3113
|
-
client_order_id="550e8400-e29b-41d4-a716-446655440000",
|
|
3114
|
-
expiry_date="2026-12-18T20:00:00Z",
|
|
3115
|
-
notional_value="1.25",
|
|
3116
|
-
trading_session="regular",
|
|
3117
|
-
user_id="snaptrade-user-123",
|
|
3118
|
-
user_secret="adf2aa34-8219-40f7-a6b3-60156985cc61",
|
|
3119
|
-
)
|
|
3120
|
-
)
|
|
3121
|
-
```
|
|
3122
|
-
|
|
3123
|
-
Required credentials for this mode:
|
|
3124
|
-
|
|
3125
|
-
- `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.
|
|
3126
|
-
|
|
3127
|
-
- `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).
|
|
3128
|
-
|
|
3129
|
-
##### Personal API Key Auth<a id="personal-api-key-auth"></a>
|
|
3130
|
-
|
|
3131
|
-
```python
|
|
3132
|
-
place_simple_order_response = (
|
|
3133
|
-
personal_api_key_client.experimental_endpoints.place_simple_order(
|
|
3134
|
-
order_type="stop_limit",
|
|
3135
|
-
time_in_force="day",
|
|
3136
|
-
legs=[
|
|
3137
|
-
{
|
|
3138
|
-
"instrument": {
|
|
3139
|
-
"kind": "future",
|
|
3140
|
-
"symbol": "/ESZ6",
|
|
3141
|
-
},
|
|
3142
|
-
"action": "buy",
|
|
3143
|
-
"units": "1.25",
|
|
3144
|
-
}
|
|
3145
|
-
],
|
|
3146
|
-
account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
3147
|
-
limit_price="1.25",
|
|
3148
|
-
stop_price="1.25",
|
|
3149
|
-
price_effect="debit",
|
|
3150
|
-
client_order_id="550e8400-e29b-41d4-a716-446655440000",
|
|
3151
|
-
expiry_date="2026-12-18T20:00:00Z",
|
|
3152
|
-
notional_value="1.25",
|
|
3153
|
-
trading_session="regular",
|
|
3154
|
-
)
|
|
3155
|
-
)
|
|
3156
|
-
```
|
|
3157
|
-
|
|
3158
|
-
The client identifies the user in this mode. Do not pass `user_id` `user_secret` to this method.
|
|
3159
|
-
|
|
3160
|
-
##### OAuth Auth<a id="oauth-auth"></a>
|
|
3161
|
-
|
|
3162
|
-
```python
|
|
3163
|
-
place_simple_order_response = oauth_client.experimental_endpoints.place_simple_order(
|
|
3164
|
-
order_type="stop_limit",
|
|
3165
|
-
time_in_force="day",
|
|
3166
|
-
legs=[
|
|
3167
|
-
{
|
|
3168
|
-
"instrument": {
|
|
3169
|
-
"kind": "future",
|
|
3170
|
-
"symbol": "/ESZ6",
|
|
3171
|
-
},
|
|
3172
|
-
"action": "buy",
|
|
3173
|
-
"units": "1.25",
|
|
3174
|
-
}
|
|
3175
|
-
],
|
|
3176
|
-
account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
3177
|
-
limit_price="1.25",
|
|
3178
|
-
stop_price="1.25",
|
|
3179
|
-
price_effect="debit",
|
|
3180
|
-
client_order_id="550e8400-e29b-41d4-a716-446655440000",
|
|
3181
|
-
expiry_date="2026-12-18T20:00:00Z",
|
|
3182
|
-
notional_value="1.25",
|
|
3183
|
-
trading_session="regular",
|
|
3184
|
-
)
|
|
3185
|
-
```
|
|
3186
|
-
|
|
3187
|
-
The client identifies the user in this mode. Do not pass `user_id` `user_secret` to this method.
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
#### ⚙️ Parameters<a id="⚙️-parameters"></a>
|
|
3191
|
-
|
|
3192
|
-
##### order_type: `str`<a id="order_type-str"></a>
|
|
3193
|
-
|
|
3194
|
-
##### time_in_force: `str`<a id="time_in_force-str"></a>
|
|
3195
|
-
|
|
3196
|
-
Order duration, subject to brokerage and execution-path support. gtd requires expiry_date and a non-market single-leg equity/option order. Existing single-leg option routing does not support ioc. Futures and multi-leg orders do not support gtd through this endpoint. Webull US futures only support day and gtc. TradeStation futures and futures options accept day, gtc, ioc, and fok, subject to the contract and route's supported combinations.
|
|
3197
|
-
|
|
3198
|
-
##### legs: List[`SimpleTradeLeg`]<a id="legs-listsimpletradeleg"></a>
|
|
3199
|
-
|
|
3200
|
-
Legs of one brokerage order. Use equity/option legs or future/future_option legs, without mixing the two families. Brokerage strategy and leg-count limits apply.
|
|
3201
|
-
|
|
3202
|
-
##### account_id: `str`<a id="account_id-str"></a>
|
|
3203
|
-
|
|
3204
|
-
The ID of the account to execute the trade on.
|
|
3205
|
-
|
|
3206
|
-
##### limit_price: `SimpleTradeDecimal`<a id="limit_price-simpletradedecimal"></a>
|
|
3207
|
-
|
|
3208
|
-
Required for limit and stop_limit orders, except that multi-leg price_effect even implies zero. Must be omitted or null for market and stop orders. For multi-leg orders this is the net strategy price. Negative prices are accepted only for futures-family orders, subject to brokerage support.
|
|
3209
|
-
|
|
3210
|
-
##### stop_price: `SimpleTradeDecimal`<a id="stop_price-simpletradedecimal"></a>
|
|
3211
|
-
|
|
3212
|
-
Required for stop and stop_limit orders. Must be omitted or null for market and limit orders. Must be positive for equity/option orders; futures-family trigger prices are subject to brokerage support.
|
|
3213
|
-
|
|
3214
|
-
##### price_effect: `Optional[str]`<a id="price_effect-optionalstr"></a>
|
|
3215
|
-
|
|
3216
|
-
Only applicable to multi-leg limit and stop_limit orders. Requirements and supported values depend on the brokerage; tastytrade requires credit or debit. even implies a zero limit_price, which may be omitted and must be zero if supplied. Single-leg price effects are derived from the action.
|
|
3217
|
-
|
|
3218
|
-
##### client_order_id: `ClientOrderID`<a id="client_order_id-clientorderid"></a>
|
|
3219
|
-
|
|
3220
|
-
Canonical UUID. Required for Wealthsimple multi-leg placement regardless of client-order-ID enablement; reuse it when retrying the same attempt. Wealthsimple multi-leg attempts retain the ID after success or failure, and reuse by the same user across accounts or placement endpoints returns 409 without another submission. A 409 does not establish whether the original attempt was accepted; reconcile it before creating a new order with a new ID. Optional for other orders, forwarded where the existing execution path supports it and for tastytrade, Webull US, and TradeStation futures-family orders. Other orders require the existing client-order-ID enablement; when disabled the value is ignored. Brokerage behavior on duplicates varies. OAuth requests also reject a client_order_id the user has already used with 409. Tastytrade uses this as external-identifier for correlation and does not deduplicate submissions. For Webull US futures, SnapTrade converts the supplied UUID (or its generated order UUID) to lowercase 32-character hexadecimal without hyphens. The original supplied UUID remains in SnapTrade's trade audit; the converted value is returned as brokerage_order_id for subsequent order reads. For TradeStation live and SIM, SnapTrade encodes the supplied UUID (or its generated order UUID) as 22-character URL-safe base64 without padding and sends it as OrderConfirmID for brokerage duplicate prevention; the response contains TradeStation's separate order ID.
|
|
3221
|
-
|
|
3222
|
-
##### expiry_date: `Optional[datetime]`<a id="expiry_date-optionaldatetime"></a>
|
|
3223
|
-
|
|
3224
|
-
ISO 8601 expiry timestamp, required for gtd and invalid with other durations. A missing timezone is treated as UTC. Supported only through existing single-leg Public and Sandbox execution paths.
|
|
3225
|
-
|
|
3226
|
-
##### notional_value: `SimpleTradeDecimal`<a id="notional_value-simpletradedecimal"></a>
|
|
3227
|
-
|
|
3228
|
-
Positive order value, supported only for a single-equity market order on eligible brokerages and partners. Mutually exclusive with leg units. Omit or set units to null when supplied.
|
|
3229
|
-
|
|
3230
|
-
##### trading_session: `str`<a id="trading_session-str"></a>
|
|
3231
|
-
|
|
3232
|
-
extended uses existing single-leg equity/option brokerage support and requires extended-hours enablement. Futures and multi-leg orders only accept regular.
|
|
3233
|
-
|
|
3234
|
-
#### ⚙️ Request Body<a id="⚙️-request-body"></a>
|
|
3235
|
-
|
|
3236
|
-
[`SimpleTradeForm`](./snaptrade_client/type/simple_trade_form.py)
|
|
3237
|
-
#### 🔄 Return<a id="🔄-return"></a>
|
|
3238
|
-
|
|
3239
|
-
[`SimpleTradeResponse`](./snaptrade_client/type/simple_trade_response.py)
|
|
3240
|
-
|
|
3241
|
-
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
|
3242
|
-
|
|
3243
|
-
`/accounts/{accountId}/trading/simple` `post`
|
|
3244
|
-
|
|
3245
|
-
[🔙 **Back to Table of Contents**](#table-of-contents)
|
|
3246
|
-
|
|
3247
|
-
---
|
|
3248
|
-
|
|
3249
3082
|
### `snaptrade.management.get_stats`<a id="snaptrademanagementget_stats"></a>
|
|
3250
3083
|
|
|
3251
3084
|
**Beta.** This endpoint and its response schema may change.
|
|
@@ -4928,6 +4761,178 @@ Optional, defaults to true. Determines if a wait is performed to check on order
|
|
|
4928
4761
|
|
|
4929
4762
|
---
|
|
4930
4763
|
|
|
4764
|
+
### `snaptrade.trading.place_simple_order`<a id="snaptradetradingplace_simple_order"></a>
|
|
4765
|
+
|
|
4766
|
+
**Beta.** Places a single-leg or multi-leg order using a common request format for equities, equity options, futures, and future options. Breaking changes are possible while this endpoint is in beta.
|
|
4767
|
+
|
|
4768
|
+
Equity and equity-option orders use the existing brokerage trading capabilities. Futures are supported on tastytrade, Webull US, and TradeStation (live and SIM); future options are supported on tastytrade and TradeStation (live and SIM). Order types, time in force, optional fields, and strategy combinations remain subject to brokerage support. See the [brokerage trading support page](https://support.snaptrade.com/brokerages).
|
|
4769
|
+
|
|
4770
|
+
An order may contain equity/option legs or future/future_option legs, but cannot mix those two families. Equity/option strategies must share the same underlying symbol. Each strategy is submitted as one brokerage order; unsupported strategies are never split into independent orders. Tastytrade supports single-leg outright futures and up to four future-option legs, and does not support multi-leg market orders.
|
|
4771
|
+
|
|
4772
|
+
Webull US supports single-leg futures orders with buy or sell actions and positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day or gtc duration. Futures options, multi-leg futures, trailing stops, and Webull Canada futures trading are not supported. Webull determines contract availability, margin requirements, and valid price increments.
|
|
4773
|
+
|
|
4774
|
+
TradeStation and TradeStation SIM support single-leg futures and futures-option orders in Futures accounts, with positive whole-contract quantities. Supported order types are market, limit, stop, and stop_limit, with day, gtc, ioc, or fok duration, subject to the contract and route's supported combinations. Futures use buy/sell; futures options use the open/close option actions. Multi-leg futures-family strategies are not supported. Prices are forwarded without rounding; TradeStation determines contract availability, permissions, margin requirements, and valid price increments.
|
|
4775
|
+
|
|
4776
|
+
All string choices use lower snake_case and are case-sensitive. Symbols retain their native format: equity tickers, OCC equity-option symbols, or brokerage-native futures symbols. For tastytrade, use the exact BrokerageInstrument ticker, including any spaces. For Webull US, use a specific unprefixed futures contract symbol such as ESZ6; slash-prefixed aliases, continuous/root-only symbols, and whitespace are not accepted. For TradeStation, use a specific two-digit-year contract such as ESZ26 or @ESZ26, or a futures-option symbol such as `ESZ26 C6000`, preserving the space and any session alias. The optional @ prefix is supported for dated futures contracts and is forwarded unchanged. Slash-prefixed aliases and root-only continuous symbols such as @ES are not accepted. A futures symbol does not need to be present in SnapTrade's local instrument catalog to submit an order.
|
|
4777
|
+
|
|
4778
|
+
A successful response contains only the brokerage order ID. Use the existing order endpoints to retrieve order details.
|
|
4779
|
+
|
|
4780
|
+
|
|
4781
|
+
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
4782
|
+
|
|
4783
|
+
##### Commercial API Key Auth<a id="commercial-api-key-auth"></a>
|
|
4784
|
+
|
|
4785
|
+
```python
|
|
4786
|
+
place_simple_order_response = commercial_api_key_client.trading.place_simple_order(
|
|
4787
|
+
order_type="stop_limit",
|
|
4788
|
+
time_in_force="day",
|
|
4789
|
+
legs=[
|
|
4790
|
+
{
|
|
4791
|
+
"instrument": {
|
|
4792
|
+
"kind": "future",
|
|
4793
|
+
"symbol": "/ESZ6",
|
|
4794
|
+
},
|
|
4795
|
+
"action": "buy",
|
|
4796
|
+
"units": "1.25",
|
|
4797
|
+
}
|
|
4798
|
+
],
|
|
4799
|
+
account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
4800
|
+
limit_price="1.25",
|
|
4801
|
+
stop_price="1.25",
|
|
4802
|
+
price_effect="debit",
|
|
4803
|
+
client_order_id="550e8400-e29b-41d4-a716-446655440000",
|
|
4804
|
+
expiry_date="2026-12-18T20:00:00Z",
|
|
4805
|
+
notional_value="1.25",
|
|
4806
|
+
trading_session="regular",
|
|
4807
|
+
user_id="snaptrade-user-123",
|
|
4808
|
+
user_secret="adf2aa34-8219-40f7-a6b3-60156985cc61",
|
|
4809
|
+
)
|
|
4810
|
+
```
|
|
4811
|
+
|
|
4812
|
+
Required credentials for this mode:
|
|
4813
|
+
|
|
4814
|
+
- `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.
|
|
4815
|
+
|
|
4816
|
+
- `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).
|
|
4817
|
+
|
|
4818
|
+
##### Personal API Key Auth<a id="personal-api-key-auth"></a>
|
|
4819
|
+
|
|
4820
|
+
```python
|
|
4821
|
+
place_simple_order_response = personal_api_key_client.trading.place_simple_order(
|
|
4822
|
+
order_type="stop_limit",
|
|
4823
|
+
time_in_force="day",
|
|
4824
|
+
legs=[
|
|
4825
|
+
{
|
|
4826
|
+
"instrument": {
|
|
4827
|
+
"kind": "future",
|
|
4828
|
+
"symbol": "/ESZ6",
|
|
4829
|
+
},
|
|
4830
|
+
"action": "buy",
|
|
4831
|
+
"units": "1.25",
|
|
4832
|
+
}
|
|
4833
|
+
],
|
|
4834
|
+
account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
4835
|
+
limit_price="1.25",
|
|
4836
|
+
stop_price="1.25",
|
|
4837
|
+
price_effect="debit",
|
|
4838
|
+
client_order_id="550e8400-e29b-41d4-a716-446655440000",
|
|
4839
|
+
expiry_date="2026-12-18T20:00:00Z",
|
|
4840
|
+
notional_value="1.25",
|
|
4841
|
+
trading_session="regular",
|
|
4842
|
+
)
|
|
4843
|
+
```
|
|
4844
|
+
|
|
4845
|
+
The client identifies the user in this mode. Do not pass `user_id` `user_secret` to this method.
|
|
4846
|
+
|
|
4847
|
+
##### OAuth Auth<a id="oauth-auth"></a>
|
|
4848
|
+
|
|
4849
|
+
```python
|
|
4850
|
+
place_simple_order_response = oauth_client.trading.place_simple_order(
|
|
4851
|
+
order_type="stop_limit",
|
|
4852
|
+
time_in_force="day",
|
|
4853
|
+
legs=[
|
|
4854
|
+
{
|
|
4855
|
+
"instrument": {
|
|
4856
|
+
"kind": "future",
|
|
4857
|
+
"symbol": "/ESZ6",
|
|
4858
|
+
},
|
|
4859
|
+
"action": "buy",
|
|
4860
|
+
"units": "1.25",
|
|
4861
|
+
}
|
|
4862
|
+
],
|
|
4863
|
+
account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
4864
|
+
limit_price="1.25",
|
|
4865
|
+
stop_price="1.25",
|
|
4866
|
+
price_effect="debit",
|
|
4867
|
+
client_order_id="550e8400-e29b-41d4-a716-446655440000",
|
|
4868
|
+
expiry_date="2026-12-18T20:00:00Z",
|
|
4869
|
+
notional_value="1.25",
|
|
4870
|
+
trading_session="regular",
|
|
4871
|
+
)
|
|
4872
|
+
```
|
|
4873
|
+
|
|
4874
|
+
The client identifies the user in this mode. Do not pass `user_id` `user_secret` to this method.
|
|
4875
|
+
|
|
4876
|
+
|
|
4877
|
+
#### ⚙️ Parameters<a id="⚙️-parameters"></a>
|
|
4878
|
+
|
|
4879
|
+
##### order_type: `str`<a id="order_type-str"></a>
|
|
4880
|
+
|
|
4881
|
+
##### time_in_force: `str`<a id="time_in_force-str"></a>
|
|
4882
|
+
|
|
4883
|
+
Order duration, subject to brokerage and execution-path support. gtd requires expiry_date and a non-market single-leg equity/option order. Existing single-leg option routing does not support ioc. Futures and multi-leg orders do not support gtd through this endpoint. Webull US futures only support day and gtc. TradeStation futures and futures options accept day, gtc, ioc, and fok, subject to the contract and route's supported combinations.
|
|
4884
|
+
|
|
4885
|
+
##### legs: List[`SimpleTradeLeg`]<a id="legs-listsimpletradeleg"></a>
|
|
4886
|
+
|
|
4887
|
+
Legs of one brokerage order. Use equity/option legs or future/future_option legs, without mixing the two families. Brokerage strategy and leg-count limits apply.
|
|
4888
|
+
|
|
4889
|
+
##### account_id: `str`<a id="account_id-str"></a>
|
|
4890
|
+
|
|
4891
|
+
The ID of the account to execute the trade on.
|
|
4892
|
+
|
|
4893
|
+
##### limit_price: `SimpleTradeDecimal`<a id="limit_price-simpletradedecimal"></a>
|
|
4894
|
+
|
|
4895
|
+
Required for limit and stop_limit orders, except that multi-leg price_effect even implies zero. Must be omitted or null for market and stop orders. For multi-leg orders this is the net strategy price. Negative prices are accepted only for futures-family orders, subject to brokerage support.
|
|
4896
|
+
|
|
4897
|
+
##### stop_price: `SimpleTradeDecimal`<a id="stop_price-simpletradedecimal"></a>
|
|
4898
|
+
|
|
4899
|
+
Required for stop and stop_limit orders. Must be omitted or null for market and limit orders. Must be positive for equity/option orders; futures-family trigger prices are subject to brokerage support.
|
|
4900
|
+
|
|
4901
|
+
##### price_effect: `Optional[str]`<a id="price_effect-optionalstr"></a>
|
|
4902
|
+
|
|
4903
|
+
Only applicable to multi-leg limit and stop_limit orders. Requirements and supported values depend on the brokerage; tastytrade requires credit or debit. even implies a zero limit_price, which may be omitted and must be zero if supplied. Single-leg price effects are derived from the action.
|
|
4904
|
+
|
|
4905
|
+
##### client_order_id: `ClientOrderID`<a id="client_order_id-clientorderid"></a>
|
|
4906
|
+
|
|
4907
|
+
Canonical UUID. Required for Wealthsimple multi-leg placement regardless of client-order-ID enablement; reuse it when retrying the same attempt. Wealthsimple multi-leg attempts retain the ID after success or failure, and reuse by the same user across accounts or placement endpoints returns 409 without another submission. A 409 does not establish whether the original attempt was accepted; reconcile it before creating a new order with a new ID. Optional for other orders, forwarded where the existing execution path supports it and for tastytrade, Webull US, and TradeStation futures-family orders. Other orders require the existing client-order-ID enablement; when disabled the value is ignored. Brokerage behavior on duplicates varies. OAuth requests also reject a client_order_id the user has already used with 409. Tastytrade uses this as external-identifier for correlation and does not deduplicate submissions. For Webull US futures, SnapTrade converts the supplied UUID (or its generated order UUID) to lowercase 32-character hexadecimal without hyphens. The original supplied UUID remains in SnapTrade's trade audit; the converted value is returned as brokerage_order_id for subsequent order reads. For TradeStation live and SIM, SnapTrade encodes the supplied UUID (or its generated order UUID) as 22-character URL-safe base64 without padding and sends it as OrderConfirmID for brokerage duplicate prevention; the response contains TradeStation's separate order ID.
|
|
4908
|
+
|
|
4909
|
+
##### expiry_date: `Optional[datetime]`<a id="expiry_date-optionaldatetime"></a>
|
|
4910
|
+
|
|
4911
|
+
ISO 8601 expiry timestamp, required for gtd and invalid with other durations. A missing timezone is treated as UTC. Supported only through existing single-leg Public and Sandbox execution paths.
|
|
4912
|
+
|
|
4913
|
+
##### notional_value: `SimpleTradeDecimal`<a id="notional_value-simpletradedecimal"></a>
|
|
4914
|
+
|
|
4915
|
+
Positive order value, supported only for a single-equity market order on eligible brokerages and partners. Mutually exclusive with leg units. Omit or set units to null when supplied.
|
|
4916
|
+
|
|
4917
|
+
##### trading_session: `str`<a id="trading_session-str"></a>
|
|
4918
|
+
|
|
4919
|
+
extended uses existing single-leg equity/option brokerage support and requires extended-hours enablement. Futures and multi-leg orders only accept regular.
|
|
4920
|
+
|
|
4921
|
+
#### ⚙️ Request Body<a id="⚙️-request-body"></a>
|
|
4922
|
+
|
|
4923
|
+
[`SimpleTradeForm`](./snaptrade_client/type/simple_trade_form.py)
|
|
4924
|
+
#### 🔄 Return<a id="🔄-return"></a>
|
|
4925
|
+
|
|
4926
|
+
[`SimpleTradeResponse`](./snaptrade_client/type/simple_trade_response.py)
|
|
4927
|
+
|
|
4928
|
+
#### 🌐 Endpoint<a id="🌐-endpoint"></a>
|
|
4929
|
+
|
|
4930
|
+
`/accounts/{accountId}/trading/simple` `post`
|
|
4931
|
+
|
|
4932
|
+
[🔙 **Back to Table of Contents**](#table-of-contents)
|
|
4933
|
+
|
|
4934
|
+
---
|
|
4935
|
+
|
|
4931
4936
|
### `snaptrade.trading.preview_crypto_order`<a id="snaptradetradingpreview_crypto_order"></a>
|
|
4932
4937
|
|
|
4933
4938
|
Previews an order using the specified account.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
snaptrade_client/__init__.py,sha256=
|
|
2
|
-
snaptrade_client/api_client.py,sha256=
|
|
1
|
+
snaptrade_client/__init__.py,sha256=sw_6YBJzBIN2igytsUKJtB0NCJnM9ezDsENNgi6fbT4,4370
|
|
2
|
+
snaptrade_client/api_client.py,sha256=vs6XtorJ7KED82nrB14mmk-GSOweFOrNjWATum4019A,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=
|
|
5
|
+
snaptrade_client/apis/path_to_api.py,sha256=mVg1Wp4Y01Lceb7zgn4y7ElsEcvMglq_x3D_GXaDnEU,16440
|
|
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
|
|
@@ -79,18 +79,18 @@ snaptrade_client/apis/tags/authentication_api_generated.py,sha256=nbbBY2PGHhU2UK
|
|
|
79
79
|
snaptrade_client/apis/tags/connections_api.py,sha256=t86vVzfjvfs8LOL2pVi0oR1a5hH1QH3Nq6T50XfeNlU,241
|
|
80
80
|
snaptrade_client/apis/tags/connections_api_generated.py,sha256=fDuHH28sO9CAM5rd50KyuF2-rBdDINhKhS_d5wVYhug,4932
|
|
81
81
|
snaptrade_client/apis/tags/experimental_endpoints_api.py,sha256=5n1j4_VE0jK9O7w843GRWWaVNuU3K1OSyLVvMl06fvY,293
|
|
82
|
-
snaptrade_client/apis/tags/experimental_endpoints_api_generated.py,sha256=
|
|
82
|
+
snaptrade_client/apis/tags/experimental_endpoints_api_generated.py,sha256=dEQQOxlUILN1SpWlWd-AMTSJivUwbvA2ppkieO-dO4w,4496
|
|
83
83
|
snaptrade_client/apis/tags/management_api.py,sha256=22txFcxw3RXf2m3jgcfbxESS1bzJJwuHssTP-Sin1sw,236
|
|
84
84
|
snaptrade_client/apis/tags/management_api_generated.py,sha256=J1k9WBE4KuafLJ9lbdnpzSytdJzPx5xzULoCPP_y6L4,3841
|
|
85
85
|
snaptrade_client/apis/tags/reference_data_api.py,sha256=GLUSSZXz9T4i_v-I3g3pODinjZA06cOw0KO-vQ1fhZg,253
|
|
86
86
|
snaptrade_client/apis/tags/reference_data_api_generated.py,sha256=OXsQQTwK4BoqEjIG_ZmZBdHlH10aUQgdlLAO5pOAznY,4651
|
|
87
87
|
snaptrade_client/apis/tags/trading_api.py,sha256=Mw_R--Yd53X_OYkiCo25l36ueX85U0bZLneQrmfc5iY,221
|
|
88
|
-
snaptrade_client/apis/tags/trading_api_generated.py,sha256=
|
|
88
|
+
snaptrade_client/apis/tags/trading_api_generated.py,sha256=uNG1py4Toqm9yGykTuP_8x5Sp9SZGv1EjgRLKLrVESo,5537
|
|
89
89
|
snaptrade_client/auth.py,sha256=85VAIdB-s7SGAHoU0xZnPd7pc680Y58ILZgRiKVn2pk,4797
|
|
90
90
|
snaptrade_client/client.py,sha256=ncRPbSzbjqr4YVdjzfm8IrCgFhawclXFRlYJzkHNu98,6361
|
|
91
91
|
snaptrade_client/client.pyi,sha256=s5mcwbmAEVZMJrZOT3fTP9-_r7rf2L0qdJiX8RlnX9o,6358
|
|
92
92
|
snaptrade_client/client_custom.py,sha256=hNQMRFrY_KWEOCgf36fsZBs3sBU2SQtnZin8dAEVyYo,3931
|
|
93
|
-
snaptrade_client/configuration.py,sha256=
|
|
93
|
+
snaptrade_client/configuration.py,sha256=w9GRSZcoLlMjRTIAXOZSQy2jdgKzyt7u4uBVSfX4JRI,26562
|
|
94
94
|
snaptrade_client/exceptions.py,sha256=pRlZiy1hSulcXfTCqqBU5Jys0hRBkxljOiv212M_yeo,10957
|
|
95
95
|
snaptrade_client/exceptions_base.py,sha256=LAQkaC5C61-SdBLfyMjb0K7AYJkWVuLmg2uCvHa71FM,2274
|
|
96
96
|
snaptrade_client/model/__init__.py,sha256=ayi2MIzcf0eAIsY13ToiNplV9tW-pMBFrC0I9yckGM8,350
|
|
@@ -162,8 +162,8 @@ snaptrade_client/model/account_sync_status.py,sha256=VOo7_BCpyhkjOwKbuTg5abpJJE5
|
|
|
162
162
|
snaptrade_client/model/account_sync_status.pyi,sha256=VOo7_BCpyhkjOwKbuTg5abpJJE5dhyVXzRB7cPT9a7I,6624
|
|
163
163
|
snaptrade_client/model/account_transactions_response.py,sha256=S6CR_ViQ3wK4VSjVPbeRhMuVW4aBcEFTBLKrT1YdtlE,9160
|
|
164
164
|
snaptrade_client/model/account_transactions_response.pyi,sha256=S6CR_ViQ3wK4VSjVPbeRhMuVW4aBcEFTBLKrT1YdtlE,9160
|
|
165
|
-
snaptrade_client/model/account_universal_activity.py,sha256=
|
|
166
|
-
snaptrade_client/model/account_universal_activity.pyi,sha256=
|
|
165
|
+
snaptrade_client/model/account_universal_activity.py,sha256=FYrSTibG4Kz_vX6mEoOIZPmn7s3Tr5ERqlyNQP6hrBA,19382
|
|
166
|
+
snaptrade_client/model/account_universal_activity.pyi,sha256=FYrSTibG4Kz_vX6mEoOIZPmn7s3Tr5ERqlyNQP6hrBA,19382
|
|
167
167
|
snaptrade_client/model/account_value_history_item.py,sha256=NhKnupVlNGdY2pwJGL0EW5dBb0fSvYYune8-Ruq36nc,6318
|
|
168
168
|
snaptrade_client/model/account_value_history_item.pyi,sha256=NhKnupVlNGdY2pwJGL0EW5dBb0fSvYYune8-Ruq36nc,6318
|
|
169
169
|
snaptrade_client/model/account_value_history_response.py,sha256=jxgZ5t4gFUXTWPL4WKpqQb5gCLk1WMJyppsMd7DmSF0,7410
|
|
@@ -334,8 +334,8 @@ snaptrade_client/model/figi_instrument_nullable.py,sha256=1dQkdg5YvDIljxnmT0FGgF
|
|
|
334
334
|
snaptrade_client/model/figi_instrument_nullable.pyi,sha256=1dQkdg5YvDIljxnmT0FGgF-ZdEW62DXSf1lKtrjJhGc,7813
|
|
335
335
|
snaptrade_client/model/future_instrument.py,sha256=0gCOtrF64xlezM0iAdyoA20B_PQ7ykwwNN91lxwTx1c,13615
|
|
336
336
|
snaptrade_client/model/future_instrument.pyi,sha256=Dg38UQFLvr7b4BO4hNWGtCRHwA8sn6nIzMlZ0teGXIc,13448
|
|
337
|
-
snaptrade_client/model/future_option_instrument.py,sha256=
|
|
338
|
-
snaptrade_client/model/future_option_instrument.pyi,sha256=
|
|
337
|
+
snaptrade_client/model/future_option_instrument.py,sha256=6sCneiJtOJBUa14gspHl0WVZ4orZml3t_pucvYIl-kM,15695
|
|
338
|
+
snaptrade_client/model/future_option_instrument.pyi,sha256=5wat_jkrTxMJ7L2N-FmU4dQoo1kBL6bM05lLVjrrVVw,15313
|
|
339
339
|
snaptrade_client/model/holdings_status.py,sha256=oQsdOhZer5v1wcYcmbxD5mSSax9RcJa2N856vuZTlX0,7955
|
|
340
340
|
snaptrade_client/model/holdings_status.pyi,sha256=oQsdOhZer5v1wcYcmbxD5mSSax9RcJa2N856vuZTlX0,7955
|
|
341
341
|
snaptrade_client/model/holdings_sync_status_date.py,sha256=y0xzziGTqiffTB_0lCDVWFkA8v9UW9ayHl7N2E7quiA,4418
|
|
@@ -683,13 +683,13 @@ snaptrade_client/model/validated_trade_body.pyi,sha256=KOObe8mGtKr29bjV0l7cdiqKJ
|
|
|
683
683
|
snaptrade_client/models/__init__.py,sha256=6e8A8QkWhkqpauWhmhza0rJHJ4lioUU2CMQITL26PNc,23746
|
|
684
684
|
snaptrade_client/oauth.py,sha256=hld39wsLslZwX7OKRpTC98EE6wv7QyxfYesmWdH-2S8,14009
|
|
685
685
|
snaptrade_client/oauth_device.py,sha256=mgH6ak8zRa0YCLKzd_rKctpS2e71OeC0QHbetQICSWY,10511
|
|
686
|
-
snaptrade_client/operation_parameter_map.py,sha256=
|
|
687
|
-
snaptrade_client/paths/__init__.py,sha256=
|
|
686
|
+
snaptrade_client/operation_parameter_map.py,sha256=3ykPYcb9wyP_MEskMnGFxOpdGd_-zp3_wxgBegZQBdQ,16940
|
|
687
|
+
snaptrade_client/paths/__init__.py,sha256=Uqq9lPFsInbbeVc-lIDChiQqW97HfIx86EFg6k_25qg,4750
|
|
688
688
|
snaptrade_client/paths/accounts/__init__.py,sha256=_Bqi6B13A-kgd0AOpqmcE1vTxJDfoz-r3Hwf-AmwW6A,307
|
|
689
|
-
snaptrade_client/paths/accounts/get.py,sha256=
|
|
689
|
+
snaptrade_client/paths/accounts/get.py,sha256=YTE87lgPUXfq94hIO83-LHHLJPgB7Y-cAMkpvGkxAU8,23435
|
|
690
690
|
snaptrade_client/paths/accounts/get.pyi,sha256=qZR_mDCrgONhDmZiGgc-v7rtaAX82O_3qdWKastVZu0,6469
|
|
691
691
|
snaptrade_client/paths/accounts_account_id/__init__.py,sha256=9aC0eIU_zO4LjW3yibk0-Kz1EM4BdeDGrZKVqb6JT6c,329
|
|
692
|
-
snaptrade_client/paths/accounts_account_id/get.py,sha256=
|
|
692
|
+
snaptrade_client/paths/accounts_account_id/get.py,sha256=_nMs4A_p9wpqOFWsWc1jRv1AjaYyS9-Enn4ECcSdMSc,29128
|
|
693
693
|
snaptrade_client/paths/accounts_account_id/get.pyi,sha256=6mV0qnD_FDnY9Uk5gdcWrC3mjHP25Q4O4kbL0oTEKjE,6962
|
|
694
694
|
snaptrade_client/paths/accounts_account_id/put.py,sha256=3Y-lXvsSObhzkNuKxhCw57vAxG-_sRalJhDN6KbqjbM,27335
|
|
695
695
|
snaptrade_client/paths/accounts_account_id/put.pyi,sha256=aaFp2Xqare_B2l7LY4mozDrosaWo0vjDz5KVYv8l-4M,6927
|
|
@@ -781,7 +781,7 @@ snaptrade_client/paths/accounts_account_id_trading_replace/__init__.py,sha256=k1
|
|
|
781
781
|
snaptrade_client/paths/accounts_account_id_trading_replace/post.py,sha256=1W7A4xTwVArtMUFuXX70yOICrtCjjbjTdFLTaE8Q-1c,32545
|
|
782
782
|
snaptrade_client/paths/accounts_account_id_trading_replace/post.pyi,sha256=0sqi4ug3ZAv36cVxtM4q8KQjEOqT-XTkTfma1mtHmjg,9381
|
|
783
783
|
snaptrade_client/paths/accounts_account_id_trading_simple/__init__.py,sha256=1kfuRO4L1XUyRnv-XbLhv5SrvJ4UqjzjKDfRR9EIu9Y,359
|
|
784
|
-
snaptrade_client/paths/accounts_account_id_trading_simple/post.py,sha256=
|
|
784
|
+
snaptrade_client/paths/accounts_account_id_trading_simple/post.py,sha256=JKutas2ZeO0_DKkoxTtjx14GM48YSAgCsQguyYkiCxQ,43543
|
|
785
785
|
snaptrade_client/paths/accounts_account_id_trading_simple/post.pyi,sha256=R5qYJIO9KXhiWB6tKypprTt-cu3Pgg8q71HxT2hrRjk,10232
|
|
786
786
|
snaptrade_client/paths/accounts_account_id_transactions/__init__.py,sha256=76XTKj8DBa1bSBMoyCdvKgIwOeAYBfrB1wgsAdVXl8k,355
|
|
787
787
|
snaptrade_client/paths/accounts_account_id_transactions/get.py,sha256=TW6jHru7FlGlxwed9PAsUdmqS1iF_SoRSofWLmOLWPg,33105
|
|
@@ -796,7 +796,7 @@ snaptrade_client/paths/authorizations_authorization_id/__init__.py,sha256=0KMrzi
|
|
|
796
796
|
snaptrade_client/paths/authorizations_authorization_id/get.py,sha256=Hdr7TfxRfqrx4ZUICKJMar3qQxGo3tTl5IRQLaQNywE,23883
|
|
797
797
|
snaptrade_client/paths/authorizations_authorization_id/get.pyi,sha256=sPJ3qAxMM2dvOlZ4n5moY9PIf0BtRRIXQPrxdhqR4eU,7051
|
|
798
798
|
snaptrade_client/paths/authorizations_authorization_id_accounts/__init__.py,sha256=cly7ufllfHfuZUXliSN2gJ5wJSbfcyVov0QHqZj1FBw,371
|
|
799
|
-
snaptrade_client/paths/authorizations_authorization_id_accounts/get.py,sha256=
|
|
799
|
+
snaptrade_client/paths/authorizations_authorization_id_accounts/get.py,sha256=xwwtMzPjsQBclxrZyvWcng2Nee0sSMEUAjmhx_ZeoAw,27455
|
|
800
800
|
snaptrade_client/paths/authorizations_authorization_id_accounts/get.pyi,sha256=K9keBOFZDymJbkRRuXGQ7wc2ESqDPJ77G_NCkAFH9Qk,7102
|
|
801
801
|
snaptrade_client/paths/authorizations_authorization_id_disable/__init__.py,sha256=B8PQ51rqBEO_7SKs7i8TVNe98zzTzrfvnHk5xCKF8J8,369
|
|
802
802
|
snaptrade_client/paths/authorizations_authorization_id_disable/post.py,sha256=1GHkuHgRjePwqNXGcUUD6DsAHD2ahWuoE6qL_6-RTKM,27469
|
|
@@ -923,14 +923,14 @@ snaptrade_client/type/account_position.py,sha256=ASQkr3NAlvfx8itY9WQYHXXIkJcrAwr
|
|
|
923
923
|
snaptrade_client/type/account_simple.py,sha256=KjSSOn5v6QkiSHTPdDPa-BtIcJrzlFpaNW82v9ydGf8,4595
|
|
924
924
|
snaptrade_client/type/account_sync_status.py,sha256=SRDcV9Oc5kSorODmW2rB0IRijmhVLsa-hWAAaVeia48,3962
|
|
925
925
|
snaptrade_client/type/account_transactions_response.py,sha256=AEJJs7xCORZ6QQS_-giSmgNHGOZytTqwwDrpyGnypD8,4051
|
|
926
|
-
snaptrade_client/type/account_universal_activity.py,sha256=
|
|
926
|
+
snaptrade_client/type/account_universal_activity.py,sha256=3t7lPFJtclHfhQtavQBAX_-dzCCgR3T4zAjZXn0apxg,8857
|
|
927
927
|
snaptrade_client/type/account_value_history_item.py,sha256=ecKiN6ThkImbc1VTp1ny5jqQUkrdrxpr3KSjHDlCzGM,3989
|
|
928
928
|
snaptrade_client/type/account_value_history_response.py,sha256=kfhjk5Oqu_K1JtGBw7h0kpxpeLTjAYMLOwz49aX57YE,4229
|
|
929
929
|
snaptrade_client/type/action.py,sha256=tfH3z4e0ReZyuUQS_Pmz51fxlrxzj3Y83TxEeKWZbqs,3570
|
|
930
930
|
snaptrade_client/type/action_strict.py,sha256=a15cs4d6xTKZxV3CUh9ottpWUn9cFpJehQ2xQIWjgsI,3595
|
|
931
931
|
snaptrade_client/type/action_strict_v2.py,sha256=wM080CEyRMeojiZb2blFf8RpZEZRBDqKMkomIkivccY,3578
|
|
932
932
|
snaptrade_client/type/action_strict_with_options.py,sha256=djoum-mJZEE_rP_7utEUFC-fz05Fc-sCQOH6J-tE3ng,3670
|
|
933
|
-
snaptrade_client/type/activity.py,sha256=
|
|
933
|
+
snaptrade_client/type/activity.py,sha256=g9TkAOVhfYpSgXP4A4-FkFyhtVdpMM6cTk0elCkrtbs,7009
|
|
934
934
|
snaptrade_client/type/adr_instrument.py,sha256=lVgdmw0k3eFxCeULPQuIeDPkydTtjzIgJHE0zsb5WPI,4405
|
|
935
935
|
snaptrade_client/type/all_account_orders_response.py,sha256=7TZlewwQ94Bjq4XcCx_Tk52NkUTBJfTX0qxJmoINJLo,4105
|
|
936
936
|
snaptrade_client/type/all_account_orders_response_data_freshness.py,sha256=BgOTKIRNLip-oOOyJfGFhgy5r1GzhsTz8TaT0nVWvdI,3949
|
|
@@ -1171,7 +1171,7 @@ snaptrade_client/type/underlying_symbol.py,sha256=gVWCLjhTNcVQMItS27jvr68kmdvfRk
|
|
|
1171
1171
|
snaptrade_client/type/underlying_tokenized_asset_instrument.py,sha256=ZVUs2EXOfq0Y17UQwOt-2KssrrXcITyh1dHPCIpcIgI,3768
|
|
1172
1172
|
snaptrade_client/type/units.py,sha256=_LBGl_6WFm2lEtfY01WH_VtSs1K0NvmBwaseDeBhe3I,3571
|
|
1173
1173
|
snaptrade_client/type/units_nullable.py,sha256=6Nd3bZ7uBKlwOKtPd5xP1wMYu3cqzpi3PINo9yHdiYI,3579
|
|
1174
|
-
snaptrade_client/type/universal_activity.py,sha256=
|
|
1174
|
+
snaptrade_client/type/universal_activity.py,sha256=EXt95dGj0oyj5Te0WCwj8FQZlLzrOdmAQgb4KK8zwm0,8358
|
|
1175
1175
|
snaptrade_client/type/universal_symbol.py,sha256=25h-AomnLDIGrkV8-MxlR3Ccd8d7G7-FRnhjl-gEmeE,5751
|
|
1176
1176
|
snaptrade_client/type/universal_symbol_id.py,sha256=m6BBetrn17EDyr8v8HVxKV7BwD89Chgzc4ig4ZrwSe8,3581
|
|
1177
1177
|
snaptrade_client/type/universal_symbol_id_nullable.py,sha256=n_rp-E-IJnH3MT0ykt7dE4QEmtJ0T-2x4EPYROTLbh4,3589
|
|
@@ -1184,7 +1184,7 @@ snaptrade_client/type/user_secret.py,sha256=B6gpY5ECG6fV4aCV7XH9TK9uW9UsZYZlng56
|
|
|
1184
1184
|
snaptrade_client/type/validated_trade_body.py,sha256=3d5fH-7GtjtWxBTBDyjK2RSmoFcMQpr7Sv6MXgCfKQc,4076
|
|
1185
1185
|
snaptrade_client/type_util.py,sha256=y93VO77G7QTwguvfc3HnevIWtLat__tNZXfpSCSxHoU,3749
|
|
1186
1186
|
snaptrade_client/validation_metadata.py,sha256=VTN5y-NudHXok1X468J4PnGze_tGEAcs1v3gsXmcrb0,3172
|
|
1187
|
-
snaptrade_python_sdk-13.4.
|
|
1188
|
-
snaptrade_python_sdk-13.4.
|
|
1189
|
-
snaptrade_python_sdk-13.4.
|
|
1190
|
-
snaptrade_python_sdk-13.4.
|
|
1187
|
+
snaptrade_python_sdk-13.4.9.dist-info/LICENSE,sha256=GxvPdqYTCDLPwtMD70oHKcnAL8Os4eOjPVhERWpJ5Cs,1081
|
|
1188
|
+
snaptrade_python_sdk-13.4.9.dist-info/METADATA,sha256=YAy5JJhANyNmnC2BGHsJhpmAt4Hixx46dd8AqECX3-4,216391
|
|
1189
|
+
snaptrade_python_sdk-13.4.9.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
1190
|
+
snaptrade_python_sdk-13.4.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|