snaptrade-python-sdk 13.4.5__py3-none-any.whl → 13.4.7__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/configuration.py +1 -1
- snaptrade_client/model/client_order_id.py +5 -5
- snaptrade_client/model/client_order_id.pyi +5 -5
- snaptrade_client/model/client_order_id_nullable.py +5 -5
- snaptrade_client/model/client_order_id_nullable.pyi +5 -5
- snaptrade_client/model/mleg_trade_form.py +12 -2
- snaptrade_client/model/mleg_trade_form.pyi +12 -2
- snaptrade_client/operation_parameter_map.py +6 -0
- snaptrade_client/paths/accounts_account_id_trading_options/post.py +103 -2
- snaptrade_client/paths/accounts_account_id_trading_options/post.pyi +6 -0
- snaptrade_client/paths/accounts_account_id_trading_options_impact/post.py +11 -0
- snaptrade_client/paths/accounts_account_id_trading_options_impact/post.pyi +6 -0
- snaptrade_client/type/account_universal_activity.py +1 -1
- snaptrade_client/type/activity.py +5 -5
- snaptrade_client/type/mleg_trade_form.py +3 -0
- snaptrade_client/type/simple_trade_form.py +1 -1
- {snaptrade_python_sdk-13.4.5.dist-info → snaptrade_python_sdk-13.4.7.dist-info}/METADATA +23 -7
- {snaptrade_python_sdk-13.4.5.dist-info → snaptrade_python_sdk-13.4.7.dist-info}/RECORD +22 -22
- {snaptrade_python_sdk-13.4.5.dist-info → snaptrade_python_sdk-13.4.7.dist-info}/LICENSE +0 -0
- {snaptrade_python_sdk-13.4.5.dist-info → snaptrade_python_sdk-13.4.7.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.7/python'
|
|
1179
1179
|
|
|
1180
1180
|
def __enter__(self):
|
|
1181
1181
|
return self
|
|
@@ -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.7".\
|
|
541
541
|
format(env=sys.platform, pyversion=sys.version)
|
|
542
542
|
|
|
543
543
|
def get_host_settings(self):
|
|
@@ -34,11 +34,11 @@ class ClientOrderID(
|
|
|
34
34
|
"""
|
|
35
35
|
This class is auto generated by Konfig (https://konfigthis.com)
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
documentation for behavior on duplicate submission.
|
|
37
|
+
Caller-supplied canonical 36-character UUID. Required for Wealthsimple multi-leg
|
|
38
|
+
placement and optional for other orders. SnapTrade rejects reuse by the same user
|
|
39
|
+
for Wealthsimple multi-leg placement and OAuth requests. Otherwise, forwarding
|
|
40
|
+
and duplicate prevention depend on the endpoint and brokerage. Refer to the
|
|
41
|
+
request schema and per-brokerage documentation for behavior on duplicate submission.
|
|
42
42
|
|
|
43
43
|
"""
|
|
44
44
|
|
|
@@ -34,11 +34,11 @@ class ClientOrderID(
|
|
|
34
34
|
"""
|
|
35
35
|
This class is auto generated by Konfig (https://konfigthis.com)
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
documentation for behavior on duplicate submission.
|
|
37
|
+
Caller-supplied canonical 36-character UUID. Required for Wealthsimple multi-leg
|
|
38
|
+
placement and optional for other orders. SnapTrade rejects reuse by the same user
|
|
39
|
+
for Wealthsimple multi-leg placement and OAuth requests. Otherwise, forwarding
|
|
40
|
+
and duplicate prevention depend on the endpoint and brokerage. Refer to the
|
|
41
|
+
request schema and per-brokerage documentation for behavior on duplicate submission.
|
|
42
42
|
|
|
43
43
|
"""
|
|
44
44
|
|
|
@@ -34,11 +34,11 @@ class ClientOrderIDNullable(
|
|
|
34
34
|
"""
|
|
35
35
|
This class is auto generated by Konfig (https://konfigthis.com)
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
documentation for behavior on duplicate submission.
|
|
37
|
+
Caller-supplied canonical 36-character UUID. Required for Wealthsimple multi-leg
|
|
38
|
+
placement and optional for other orders. SnapTrade rejects reuse by the same user
|
|
39
|
+
for Wealthsimple multi-leg placement and OAuth requests. Otherwise, forwarding
|
|
40
|
+
and duplicate prevention depend on the endpoint and brokerage. Refer to the
|
|
41
|
+
request schema and per-brokerage documentation for behavior on duplicate submission.
|
|
42
42
|
|
|
43
43
|
"""
|
|
44
44
|
|
|
@@ -34,11 +34,11 @@ class ClientOrderIDNullable(
|
|
|
34
34
|
"""
|
|
35
35
|
This class is auto generated by Konfig (https://konfigthis.com)
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
documentation for behavior on duplicate submission.
|
|
37
|
+
Caller-supplied canonical 36-character UUID. Required for Wealthsimple multi-leg
|
|
38
|
+
placement and optional for other orders. SnapTrade rejects reuse by the same user
|
|
39
|
+
for Wealthsimple multi-leg placement and OAuth requests. Otherwise, forwarding
|
|
40
|
+
and duplicate prevention depend on the endpoint and brokerage. Refer to the
|
|
41
|
+
request schema and per-brokerage documentation for behavior on duplicate submission.
|
|
42
42
|
|
|
43
43
|
"""
|
|
44
44
|
|
|
@@ -76,6 +76,7 @@ class MlegTradeForm(
|
|
|
76
76
|
|
|
77
77
|
def __getitem__(self, i: int) -> 'MlegLeg':
|
|
78
78
|
return super().__getitem__(i)
|
|
79
|
+
client_order_id = schemas.UUIDSchema
|
|
79
80
|
|
|
80
81
|
|
|
81
82
|
class limit_price(
|
|
@@ -132,6 +133,7 @@ class MlegTradeForm(
|
|
|
132
133
|
"order_type": order_type,
|
|
133
134
|
"time_in_force": time_in_force,
|
|
134
135
|
"legs": legs,
|
|
136
|
+
"client_order_id": client_order_id,
|
|
135
137
|
"limit_price": limit_price,
|
|
136
138
|
"stop_price": stop_price,
|
|
137
139
|
"price_effect": price_effect,
|
|
@@ -150,6 +152,9 @@ class MlegTradeForm(
|
|
|
150
152
|
@typing.overload
|
|
151
153
|
def __getitem__(self, name: typing_extensions.Literal["legs"]) -> MetaOapg.properties.legs: ...
|
|
152
154
|
|
|
155
|
+
@typing.overload
|
|
156
|
+
def __getitem__(self, name: typing_extensions.Literal["client_order_id"]) -> MetaOapg.properties.client_order_id: ...
|
|
157
|
+
|
|
153
158
|
@typing.overload
|
|
154
159
|
def __getitem__(self, name: typing_extensions.Literal["limit_price"]) -> MetaOapg.properties.limit_price: ...
|
|
155
160
|
|
|
@@ -162,7 +167,7 @@ class MlegTradeForm(
|
|
|
162
167
|
@typing.overload
|
|
163
168
|
def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
|
|
164
169
|
|
|
165
|
-
def __getitem__(self, name: typing.Union[typing_extensions.Literal["order_type", "time_in_force", "legs", "limit_price", "stop_price", "price_effect", ], str]):
|
|
170
|
+
def __getitem__(self, name: typing.Union[typing_extensions.Literal["order_type", "time_in_force", "legs", "client_order_id", "limit_price", "stop_price", "price_effect", ], str]):
|
|
166
171
|
# dict_instance[name] accessor
|
|
167
172
|
return super().__getitem__(name)
|
|
168
173
|
|
|
@@ -176,6 +181,9 @@ class MlegTradeForm(
|
|
|
176
181
|
@typing.overload
|
|
177
182
|
def get_item_oapg(self, name: typing_extensions.Literal["legs"]) -> MetaOapg.properties.legs: ...
|
|
178
183
|
|
|
184
|
+
@typing.overload
|
|
185
|
+
def get_item_oapg(self, name: typing_extensions.Literal["client_order_id"]) -> typing.Union[MetaOapg.properties.client_order_id, schemas.Unset]: ...
|
|
186
|
+
|
|
179
187
|
@typing.overload
|
|
180
188
|
def get_item_oapg(self, name: typing_extensions.Literal["limit_price"]) -> typing.Union[MetaOapg.properties.limit_price, schemas.Unset]: ...
|
|
181
189
|
|
|
@@ -188,7 +196,7 @@ class MlegTradeForm(
|
|
|
188
196
|
@typing.overload
|
|
189
197
|
def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
|
|
190
198
|
|
|
191
|
-
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["order_type", "time_in_force", "legs", "limit_price", "stop_price", "price_effect", ], str]):
|
|
199
|
+
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["order_type", "time_in_force", "legs", "client_order_id", "limit_price", "stop_price", "price_effect", ], str]):
|
|
192
200
|
return super().get_item_oapg(name)
|
|
193
201
|
|
|
194
202
|
|
|
@@ -198,6 +206,7 @@ class MlegTradeForm(
|
|
|
198
206
|
time_in_force: 'TimeInForceStrict',
|
|
199
207
|
legs: typing.Union[MetaOapg.properties.legs, list, tuple, ],
|
|
200
208
|
order_type: 'MlegOrderTypeStrict',
|
|
209
|
+
client_order_id: typing.Union[MetaOapg.properties.client_order_id, str, uuid.UUID, schemas.Unset] = schemas.unset,
|
|
201
210
|
limit_price: typing.Union[MetaOapg.properties.limit_price, None, str, schemas.Unset] = schemas.unset,
|
|
202
211
|
stop_price: typing.Union[MetaOapg.properties.stop_price, None, str, schemas.Unset] = schemas.unset,
|
|
203
212
|
price_effect: typing.Union['MlegPriceEffectStrictNullable', schemas.Unset] = schemas.unset,
|
|
@@ -210,6 +219,7 @@ class MlegTradeForm(
|
|
|
210
219
|
time_in_force=time_in_force,
|
|
211
220
|
legs=legs,
|
|
212
221
|
order_type=order_type,
|
|
222
|
+
client_order_id=client_order_id,
|
|
213
223
|
limit_price=limit_price,
|
|
214
224
|
stop_price=stop_price,
|
|
215
225
|
price_effect=price_effect,
|
|
@@ -76,6 +76,7 @@ class MlegTradeForm(
|
|
|
76
76
|
|
|
77
77
|
def __getitem__(self, i: int) -> 'MlegLeg':
|
|
78
78
|
return super().__getitem__(i)
|
|
79
|
+
client_order_id = schemas.UUIDSchema
|
|
79
80
|
|
|
80
81
|
|
|
81
82
|
class limit_price(
|
|
@@ -132,6 +133,7 @@ class MlegTradeForm(
|
|
|
132
133
|
"order_type": order_type,
|
|
133
134
|
"time_in_force": time_in_force,
|
|
134
135
|
"legs": legs,
|
|
136
|
+
"client_order_id": client_order_id,
|
|
135
137
|
"limit_price": limit_price,
|
|
136
138
|
"stop_price": stop_price,
|
|
137
139
|
"price_effect": price_effect,
|
|
@@ -150,6 +152,9 @@ class MlegTradeForm(
|
|
|
150
152
|
@typing.overload
|
|
151
153
|
def __getitem__(self, name: typing_extensions.Literal["legs"]) -> MetaOapg.properties.legs: ...
|
|
152
154
|
|
|
155
|
+
@typing.overload
|
|
156
|
+
def __getitem__(self, name: typing_extensions.Literal["client_order_id"]) -> MetaOapg.properties.client_order_id: ...
|
|
157
|
+
|
|
153
158
|
@typing.overload
|
|
154
159
|
def __getitem__(self, name: typing_extensions.Literal["limit_price"]) -> MetaOapg.properties.limit_price: ...
|
|
155
160
|
|
|
@@ -162,7 +167,7 @@ class MlegTradeForm(
|
|
|
162
167
|
@typing.overload
|
|
163
168
|
def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
|
|
164
169
|
|
|
165
|
-
def __getitem__(self, name: typing.Union[typing_extensions.Literal["order_type", "time_in_force", "legs", "limit_price", "stop_price", "price_effect", ], str]):
|
|
170
|
+
def __getitem__(self, name: typing.Union[typing_extensions.Literal["order_type", "time_in_force", "legs", "client_order_id", "limit_price", "stop_price", "price_effect", ], str]):
|
|
166
171
|
# dict_instance[name] accessor
|
|
167
172
|
return super().__getitem__(name)
|
|
168
173
|
|
|
@@ -176,6 +181,9 @@ class MlegTradeForm(
|
|
|
176
181
|
@typing.overload
|
|
177
182
|
def get_item_oapg(self, name: typing_extensions.Literal["legs"]) -> MetaOapg.properties.legs: ...
|
|
178
183
|
|
|
184
|
+
@typing.overload
|
|
185
|
+
def get_item_oapg(self, name: typing_extensions.Literal["client_order_id"]) -> typing.Union[MetaOapg.properties.client_order_id, schemas.Unset]: ...
|
|
186
|
+
|
|
179
187
|
@typing.overload
|
|
180
188
|
def get_item_oapg(self, name: typing_extensions.Literal["limit_price"]) -> typing.Union[MetaOapg.properties.limit_price, schemas.Unset]: ...
|
|
181
189
|
|
|
@@ -188,7 +196,7 @@ class MlegTradeForm(
|
|
|
188
196
|
@typing.overload
|
|
189
197
|
def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
|
|
190
198
|
|
|
191
|
-
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["order_type", "time_in_force", "legs", "limit_price", "stop_price", "price_effect", ], str]):
|
|
199
|
+
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["order_type", "time_in_force", "legs", "client_order_id", "limit_price", "stop_price", "price_effect", ], str]):
|
|
192
200
|
return super().get_item_oapg(name)
|
|
193
201
|
|
|
194
202
|
|
|
@@ -198,6 +206,7 @@ class MlegTradeForm(
|
|
|
198
206
|
time_in_force: 'TimeInForceStrict',
|
|
199
207
|
legs: typing.Union[MetaOapg.properties.legs, list, tuple, ],
|
|
200
208
|
order_type: 'MlegOrderTypeStrict',
|
|
209
|
+
client_order_id: typing.Union[MetaOapg.properties.client_order_id, str, uuid.UUID, schemas.Unset] = schemas.unset,
|
|
201
210
|
limit_price: typing.Union[MetaOapg.properties.limit_price, None, str, schemas.Unset] = schemas.unset,
|
|
202
211
|
stop_price: typing.Union[MetaOapg.properties.stop_price, None, str, schemas.Unset] = schemas.unset,
|
|
203
212
|
price_effect: typing.Union['MlegPriceEffectStrictNullable', schemas.Unset] = schemas.unset,
|
|
@@ -210,6 +219,7 @@ class MlegTradeForm(
|
|
|
210
219
|
time_in_force=time_in_force,
|
|
211
220
|
legs=legs,
|
|
212
221
|
order_type=order_type,
|
|
222
|
+
client_order_id=client_order_id,
|
|
213
223
|
limit_price=limit_price,
|
|
214
224
|
stop_price=stop_price,
|
|
215
225
|
price_effect=price_effect,
|
|
@@ -499,6 +499,9 @@ operation_parameter_map = {
|
|
|
499
499
|
{
|
|
500
500
|
'name': 'accountId'
|
|
501
501
|
},
|
|
502
|
+
{
|
|
503
|
+
'name': 'client_order_id'
|
|
504
|
+
},
|
|
502
505
|
{
|
|
503
506
|
'name': 'limit_price'
|
|
504
507
|
},
|
|
@@ -671,6 +674,9 @@ operation_parameter_map = {
|
|
|
671
674
|
{
|
|
672
675
|
'name': 'accountId'
|
|
673
676
|
},
|
|
677
|
+
{
|
|
678
|
+
'name': 'client_order_id'
|
|
679
|
+
},
|
|
674
680
|
{
|
|
675
681
|
'name': 'limit_price'
|
|
676
682
|
},
|
|
@@ -185,6 +185,95 @@ _response_for_400 = api_client.OpenApiResponse(
|
|
|
185
185
|
)
|
|
186
186
|
|
|
187
187
|
|
|
188
|
+
class SchemaFor409ResponseBodyApplicationJson(
|
|
189
|
+
schemas.DictSchema
|
|
190
|
+
):
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
class MetaOapg:
|
|
194
|
+
|
|
195
|
+
class properties:
|
|
196
|
+
detail = schemas.StrSchema
|
|
197
|
+
status_code = schemas.IntSchema
|
|
198
|
+
code = schemas.StrSchema
|
|
199
|
+
__annotations__ = {
|
|
200
|
+
"detail": detail,
|
|
201
|
+
"status_code": status_code,
|
|
202
|
+
"code": code,
|
|
203
|
+
}
|
|
204
|
+
additional_properties = schemas.AnyTypeSchema
|
|
205
|
+
|
|
206
|
+
@typing.overload
|
|
207
|
+
def __getitem__(self, name: typing_extensions.Literal["detail"]) -> MetaOapg.properties.detail: ...
|
|
208
|
+
|
|
209
|
+
@typing.overload
|
|
210
|
+
def __getitem__(self, name: typing_extensions.Literal["status_code"]) -> MetaOapg.properties.status_code: ...
|
|
211
|
+
|
|
212
|
+
@typing.overload
|
|
213
|
+
def __getitem__(self, name: typing_extensions.Literal["code"]) -> MetaOapg.properties.code: ...
|
|
214
|
+
|
|
215
|
+
@typing.overload
|
|
216
|
+
def __getitem__(self, name: str) -> MetaOapg.additional_properties: ...
|
|
217
|
+
|
|
218
|
+
def __getitem__(self, name: typing.Union[typing_extensions.Literal["detail"], typing_extensions.Literal["status_code"], typing_extensions.Literal["code"], str, ]):
|
|
219
|
+
# dict_instance[name] accessor
|
|
220
|
+
return super().__getitem__(name)
|
|
221
|
+
|
|
222
|
+
@typing.overload
|
|
223
|
+
def get_item_oapg(self, name: typing_extensions.Literal["detail"]) -> typing.Union[MetaOapg.properties.detail, schemas.Unset]: ...
|
|
224
|
+
|
|
225
|
+
@typing.overload
|
|
226
|
+
def get_item_oapg(self, name: typing_extensions.Literal["status_code"]) -> typing.Union[MetaOapg.properties.status_code, schemas.Unset]: ...
|
|
227
|
+
|
|
228
|
+
@typing.overload
|
|
229
|
+
def get_item_oapg(self, name: typing_extensions.Literal["code"]) -> typing.Union[MetaOapg.properties.code, schemas.Unset]: ...
|
|
230
|
+
|
|
231
|
+
@typing.overload
|
|
232
|
+
def get_item_oapg(self, name: str) -> typing.Union[MetaOapg.additional_properties, schemas.Unset]: ...
|
|
233
|
+
|
|
234
|
+
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["detail"], typing_extensions.Literal["status_code"], typing_extensions.Literal["code"], str, ]):
|
|
235
|
+
return super().get_item_oapg(name)
|
|
236
|
+
|
|
237
|
+
def __new__(
|
|
238
|
+
cls,
|
|
239
|
+
*args: typing.Union[dict, frozendict.frozendict, ],
|
|
240
|
+
detail: typing.Union[MetaOapg.properties.detail, str, schemas.Unset] = schemas.unset,
|
|
241
|
+
status_code: typing.Union[MetaOapg.properties.status_code, decimal.Decimal, int, schemas.Unset] = schemas.unset,
|
|
242
|
+
code: typing.Union[MetaOapg.properties.code, str, schemas.Unset] = schemas.unset,
|
|
243
|
+
_configuration: typing.Optional[schemas.Configuration] = None,
|
|
244
|
+
**kwargs: typing.Union[MetaOapg.additional_properties, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
|
|
245
|
+
) -> 'SchemaFor409ResponseBodyApplicationJson':
|
|
246
|
+
return super().__new__(
|
|
247
|
+
cls,
|
|
248
|
+
*args,
|
|
249
|
+
detail=detail,
|
|
250
|
+
status_code=status_code,
|
|
251
|
+
code=code,
|
|
252
|
+
_configuration=_configuration,
|
|
253
|
+
**kwargs,
|
|
254
|
+
)
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
@dataclass
|
|
258
|
+
class ApiResponseFor409(api_client.ApiResponse):
|
|
259
|
+
body: typing.Dict[str, typing.Union[bool, date, datetime, dict, float, int, list, str, None]]
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
@dataclass
|
|
263
|
+
class ApiResponseFor409Async(api_client.AsyncApiResponse):
|
|
264
|
+
body: typing.Dict[str, typing.Union[bool, date, datetime, dict, float, int, list, str, None]]
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
_response_for_409 = api_client.OpenApiResponse(
|
|
268
|
+
response_cls=ApiResponseFor409,
|
|
269
|
+
response_cls_async=ApiResponseFor409Async,
|
|
270
|
+
content={
|
|
271
|
+
'application/json': api_client.MediaType(
|
|
272
|
+
schema=SchemaFor409ResponseBodyApplicationJson),
|
|
273
|
+
},
|
|
274
|
+
)
|
|
275
|
+
|
|
276
|
+
|
|
188
277
|
@dataclass
|
|
189
278
|
class ApiResponseFor500(api_client.ApiResponse):
|
|
190
279
|
body: schemas.Unset = schemas.unset
|
|
@@ -202,6 +291,7 @@ _response_for_500 = api_client.OpenApiResponse(
|
|
|
202
291
|
_status_code_to_response = {
|
|
203
292
|
'200': _response_for_200,
|
|
204
293
|
'400': _response_for_400,
|
|
294
|
+
'409': _response_for_409,
|
|
205
295
|
'500': _response_for_500,
|
|
206
296
|
}
|
|
207
297
|
_all_accept_content_types = (
|
|
@@ -218,6 +308,7 @@ class BaseApi(api_client.Api):
|
|
|
218
308
|
time_in_force: typing.Optional[TimeInForceStrict] = None,
|
|
219
309
|
legs: typing.Optional[typing.List[MlegLeg]] = None,
|
|
220
310
|
account_id: typing.Optional[str] = None,
|
|
311
|
+
client_order_id: typing.Optional[str] = None,
|
|
221
312
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
222
313
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
223
314
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -232,6 +323,8 @@ class BaseApi(api_client.Api):
|
|
|
232
323
|
_header_params = {}
|
|
233
324
|
_path_params = {}
|
|
234
325
|
_body = {}
|
|
326
|
+
if client_order_id is not None:
|
|
327
|
+
_body["client_order_id"] = client_order_id
|
|
235
328
|
if order_type is not None:
|
|
236
329
|
_body["order_type"] = order_type
|
|
237
330
|
if time_in_force is not None:
|
|
@@ -547,6 +640,7 @@ class PlaceMlegOrder(BaseApi, typing.Generic[TAuth]):
|
|
|
547
640
|
time_in_force: typing.Optional[TimeInForceStrict] = None,
|
|
548
641
|
legs: typing.Optional[typing.List[MlegLeg]] = None,
|
|
549
642
|
account_id: typing.Optional[str] = None,
|
|
643
|
+
client_order_id: typing.Optional[str] = None,
|
|
550
644
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
551
645
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
552
646
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -568,6 +662,7 @@ class PlaceMlegOrder(BaseApi, typing.Generic[TAuth]):
|
|
|
568
662
|
time_in_force=time_in_force,
|
|
569
663
|
legs=legs,
|
|
570
664
|
account_id=account_id,
|
|
665
|
+
client_order_id=client_order_id,
|
|
571
666
|
limit_price=limit_price,
|
|
572
667
|
stop_price=stop_price,
|
|
573
668
|
price_effect=price_effect,
|
|
@@ -589,6 +684,7 @@ class PlaceMlegOrder(BaseApi, typing.Generic[TAuth]):
|
|
|
589
684
|
time_in_force: typing.Optional[TimeInForceStrict] = None,
|
|
590
685
|
legs: typing.Optional[typing.List[MlegLeg]] = None,
|
|
591
686
|
account_id: typing.Optional[str] = None,
|
|
687
|
+
client_order_id: typing.Optional[str] = None,
|
|
592
688
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
593
689
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
594
690
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -602,7 +698,7 @@ class PlaceMlegOrder(BaseApi, typing.Generic[TAuth]):
|
|
|
602
698
|
ApiResponseFor200,
|
|
603
699
|
api_client.ApiResponseWithoutDeserialization,
|
|
604
700
|
]:
|
|
605
|
-
""" Places a multi-leg option order. Only supported on certain option trading brokerages. https://support.snaptrade.com/brokerages has information on brokerage trading support """
|
|
701
|
+
""" Places a multi-leg option order. Only supported on certain option trading brokerages. https://support.snaptrade.com/brokerages has information on brokerage trading support Wealthsimple placement with two or more legs requires a canonical UUID `client_order_id`. Reuse it for retries of the same attempt. SnapTrade returns 409 for an ID already used by that user, including across accounts and after a lost placement response. Reconcile the original attempt before submitting a genuinely new order with a new ID. """
|
|
606
702
|
args = self._place_mleg_order_mapped_args(
|
|
607
703
|
body=body,
|
|
608
704
|
path_params=path_params,
|
|
@@ -610,6 +706,7 @@ class PlaceMlegOrder(BaseApi, typing.Generic[TAuth]):
|
|
|
610
706
|
time_in_force=time_in_force,
|
|
611
707
|
legs=legs,
|
|
612
708
|
account_id=account_id,
|
|
709
|
+
client_order_id=client_order_id,
|
|
613
710
|
limit_price=limit_price,
|
|
614
711
|
stop_price=stop_price,
|
|
615
712
|
price_effect=price_effect,
|
|
@@ -634,6 +731,7 @@ class ApiForpost(BaseApi, typing.Generic[TAuth]):
|
|
|
634
731
|
time_in_force: typing.Optional[TimeInForceStrict] = None,
|
|
635
732
|
legs: typing.Optional[typing.List[MlegLeg]] = None,
|
|
636
733
|
account_id: typing.Optional[str] = None,
|
|
734
|
+
client_order_id: typing.Optional[str] = None,
|
|
637
735
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
638
736
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
639
737
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -655,6 +753,7 @@ class ApiForpost(BaseApi, typing.Generic[TAuth]):
|
|
|
655
753
|
time_in_force=time_in_force,
|
|
656
754
|
legs=legs,
|
|
657
755
|
account_id=account_id,
|
|
756
|
+
client_order_id=client_order_id,
|
|
658
757
|
limit_price=limit_price,
|
|
659
758
|
stop_price=stop_price,
|
|
660
759
|
price_effect=price_effect,
|
|
@@ -676,6 +775,7 @@ class ApiForpost(BaseApi, typing.Generic[TAuth]):
|
|
|
676
775
|
time_in_force: typing.Optional[TimeInForceStrict] = None,
|
|
677
776
|
legs: typing.Optional[typing.List[MlegLeg]] = None,
|
|
678
777
|
account_id: typing.Optional[str] = None,
|
|
778
|
+
client_order_id: typing.Optional[str] = None,
|
|
679
779
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
680
780
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
681
781
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -689,7 +789,7 @@ class ApiForpost(BaseApi, typing.Generic[TAuth]):
|
|
|
689
789
|
ApiResponseFor200,
|
|
690
790
|
api_client.ApiResponseWithoutDeserialization,
|
|
691
791
|
]:
|
|
692
|
-
""" Places a multi-leg option order. Only supported on certain option trading brokerages. https://support.snaptrade.com/brokerages has information on brokerage trading support """
|
|
792
|
+
""" Places a multi-leg option order. Only supported on certain option trading brokerages. https://support.snaptrade.com/brokerages has information on brokerage trading support Wealthsimple placement with two or more legs requires a canonical UUID `client_order_id`. Reuse it for retries of the same attempt. SnapTrade returns 409 for an ID already used by that user, including across accounts and after a lost placement response. Reconcile the original attempt before submitting a genuinely new order with a new ID. """
|
|
693
793
|
args = self._place_mleg_order_mapped_args(
|
|
694
794
|
body=body,
|
|
695
795
|
path_params=path_params,
|
|
@@ -697,6 +797,7 @@ class ApiForpost(BaseApi, typing.Generic[TAuth]):
|
|
|
697
797
|
time_in_force=time_in_force,
|
|
698
798
|
legs=legs,
|
|
699
799
|
account_id=account_id,
|
|
800
|
+
client_order_id=client_order_id,
|
|
700
801
|
limit_price=limit_price,
|
|
701
802
|
stop_price=stop_price,
|
|
702
803
|
price_effect=price_effect,
|
|
@@ -35,6 +35,7 @@ class PlaceMlegOrder(BaseApi, typing.Generic[TAuth]):
|
|
|
35
35
|
account_id: str,
|
|
36
36
|
user_id: str,
|
|
37
37
|
user_secret: str,
|
|
38
|
+
client_order_id: typing.Optional[str] = None,
|
|
38
39
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
39
40
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
40
41
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -51,6 +52,7 @@ class PlaceMlegOrder(BaseApi, typing.Generic[TAuth]):
|
|
|
51
52
|
time_in_force: TimeInForceStrict,
|
|
52
53
|
legs: typing.List[MlegLeg],
|
|
53
54
|
account_id: str,
|
|
55
|
+
client_order_id: typing.Optional[str] = None,
|
|
54
56
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
55
57
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
56
58
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -69,6 +71,7 @@ class PlaceMlegOrder(BaseApi, typing.Generic[TAuth]):
|
|
|
69
71
|
time_in_force: TimeInForceStrict,
|
|
70
72
|
legs: typing.List[MlegLeg],
|
|
71
73
|
account_id: str,
|
|
74
|
+
client_order_id: typing.Optional[str] = None,
|
|
72
75
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
73
76
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
74
77
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -92,6 +95,7 @@ class ApiForpost(PlaceMlegOrder[TAuth]):
|
|
|
92
95
|
account_id: str,
|
|
93
96
|
user_id: str,
|
|
94
97
|
user_secret: str,
|
|
98
|
+
client_order_id: typing.Optional[str] = None,
|
|
95
99
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
96
100
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
97
101
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -108,6 +112,7 @@ class ApiForpost(PlaceMlegOrder[TAuth]):
|
|
|
108
112
|
time_in_force: TimeInForceStrict,
|
|
109
113
|
legs: typing.List[MlegLeg],
|
|
110
114
|
account_id: str,
|
|
115
|
+
client_order_id: typing.Optional[str] = None,
|
|
111
116
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
112
117
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
113
118
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -126,6 +131,7 @@ class ApiForpost(PlaceMlegOrder[TAuth]):
|
|
|
126
131
|
time_in_force: TimeInForceStrict,
|
|
127
132
|
legs: typing.List[MlegLeg],
|
|
128
133
|
account_id: str,
|
|
134
|
+
client_order_id: typing.Optional[str] = None,
|
|
129
135
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
130
136
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
131
137
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -242,6 +242,7 @@ class BaseApi(api_client.Api):
|
|
|
242
242
|
time_in_force: typing.Optional[TimeInForceStrict] = None,
|
|
243
243
|
legs: typing.Optional[typing.List[MlegLeg]] = None,
|
|
244
244
|
account_id: typing.Optional[str] = None,
|
|
245
|
+
client_order_id: typing.Optional[str] = None,
|
|
245
246
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
246
247
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
247
248
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -256,6 +257,8 @@ class BaseApi(api_client.Api):
|
|
|
256
257
|
_header_params = {}
|
|
257
258
|
_path_params = {}
|
|
258
259
|
_body = {}
|
|
260
|
+
if client_order_id is not None:
|
|
261
|
+
_body["client_order_id"] = client_order_id
|
|
259
262
|
if order_type is not None:
|
|
260
263
|
_body["order_type"] = order_type
|
|
261
264
|
if time_in_force is not None:
|
|
@@ -571,6 +574,7 @@ class GetOptionImpact(BaseApi, typing.Generic[TAuth]):
|
|
|
571
574
|
time_in_force: typing.Optional[TimeInForceStrict] = None,
|
|
572
575
|
legs: typing.Optional[typing.List[MlegLeg]] = None,
|
|
573
576
|
account_id: typing.Optional[str] = None,
|
|
577
|
+
client_order_id: typing.Optional[str] = None,
|
|
574
578
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
575
579
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
576
580
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -592,6 +596,7 @@ class GetOptionImpact(BaseApi, typing.Generic[TAuth]):
|
|
|
592
596
|
time_in_force=time_in_force,
|
|
593
597
|
legs=legs,
|
|
594
598
|
account_id=account_id,
|
|
599
|
+
client_order_id=client_order_id,
|
|
595
600
|
limit_price=limit_price,
|
|
596
601
|
stop_price=stop_price,
|
|
597
602
|
price_effect=price_effect,
|
|
@@ -613,6 +618,7 @@ class GetOptionImpact(BaseApi, typing.Generic[TAuth]):
|
|
|
613
618
|
time_in_force: typing.Optional[TimeInForceStrict] = None,
|
|
614
619
|
legs: typing.Optional[typing.List[MlegLeg]] = None,
|
|
615
620
|
account_id: typing.Optional[str] = None,
|
|
621
|
+
client_order_id: typing.Optional[str] = None,
|
|
616
622
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
617
623
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
618
624
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -634,6 +640,7 @@ class GetOptionImpact(BaseApi, typing.Generic[TAuth]):
|
|
|
634
640
|
time_in_force=time_in_force,
|
|
635
641
|
legs=legs,
|
|
636
642
|
account_id=account_id,
|
|
643
|
+
client_order_id=client_order_id,
|
|
637
644
|
limit_price=limit_price,
|
|
638
645
|
stop_price=stop_price,
|
|
639
646
|
price_effect=price_effect,
|
|
@@ -658,6 +665,7 @@ class ApiForpost(BaseApi, typing.Generic[TAuth]):
|
|
|
658
665
|
time_in_force: typing.Optional[TimeInForceStrict] = None,
|
|
659
666
|
legs: typing.Optional[typing.List[MlegLeg]] = None,
|
|
660
667
|
account_id: typing.Optional[str] = None,
|
|
668
|
+
client_order_id: typing.Optional[str] = None,
|
|
661
669
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
662
670
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
663
671
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -679,6 +687,7 @@ class ApiForpost(BaseApi, typing.Generic[TAuth]):
|
|
|
679
687
|
time_in_force=time_in_force,
|
|
680
688
|
legs=legs,
|
|
681
689
|
account_id=account_id,
|
|
690
|
+
client_order_id=client_order_id,
|
|
682
691
|
limit_price=limit_price,
|
|
683
692
|
stop_price=stop_price,
|
|
684
693
|
price_effect=price_effect,
|
|
@@ -700,6 +709,7 @@ class ApiForpost(BaseApi, typing.Generic[TAuth]):
|
|
|
700
709
|
time_in_force: typing.Optional[TimeInForceStrict] = None,
|
|
701
710
|
legs: typing.Optional[typing.List[MlegLeg]] = None,
|
|
702
711
|
account_id: typing.Optional[str] = None,
|
|
712
|
+
client_order_id: typing.Optional[str] = None,
|
|
703
713
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
704
714
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
705
715
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -721,6 +731,7 @@ class ApiForpost(BaseApi, typing.Generic[TAuth]):
|
|
|
721
731
|
time_in_force=time_in_force,
|
|
722
732
|
legs=legs,
|
|
723
733
|
account_id=account_id,
|
|
734
|
+
client_order_id=client_order_id,
|
|
724
735
|
limit_price=limit_price,
|
|
725
736
|
stop_price=stop_price,
|
|
726
737
|
price_effect=price_effect,
|
|
@@ -35,6 +35,7 @@ class GetOptionImpact(BaseApi, typing.Generic[TAuth]):
|
|
|
35
35
|
account_id: str,
|
|
36
36
|
user_id: str,
|
|
37
37
|
user_secret: str,
|
|
38
|
+
client_order_id: typing.Optional[str] = None,
|
|
38
39
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
39
40
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
40
41
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -51,6 +52,7 @@ class GetOptionImpact(BaseApi, typing.Generic[TAuth]):
|
|
|
51
52
|
time_in_force: TimeInForceStrict,
|
|
52
53
|
legs: typing.List[MlegLeg],
|
|
53
54
|
account_id: str,
|
|
55
|
+
client_order_id: typing.Optional[str] = None,
|
|
54
56
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
55
57
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
56
58
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -69,6 +71,7 @@ class GetOptionImpact(BaseApi, typing.Generic[TAuth]):
|
|
|
69
71
|
time_in_force: TimeInForceStrict,
|
|
70
72
|
legs: typing.List[MlegLeg],
|
|
71
73
|
account_id: str,
|
|
74
|
+
client_order_id: typing.Optional[str] = None,
|
|
72
75
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
73
76
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
74
77
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -92,6 +95,7 @@ class ApiForpost(GetOptionImpact[TAuth]):
|
|
|
92
95
|
account_id: str,
|
|
93
96
|
user_id: str,
|
|
94
97
|
user_secret: str,
|
|
98
|
+
client_order_id: typing.Optional[str] = None,
|
|
95
99
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
96
100
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
97
101
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -108,6 +112,7 @@ class ApiForpost(GetOptionImpact[TAuth]):
|
|
|
108
112
|
time_in_force: TimeInForceStrict,
|
|
109
113
|
legs: typing.List[MlegLeg],
|
|
110
114
|
account_id: str,
|
|
115
|
+
client_order_id: typing.Optional[str] = None,
|
|
111
116
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
112
117
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
113
118
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -126,6 +131,7 @@ class ApiForpost(GetOptionImpact[TAuth]):
|
|
|
126
131
|
time_in_force: TimeInForceStrict,
|
|
127
132
|
legs: typing.List[MlegLeg],
|
|
128
133
|
account_id: str,
|
|
134
|
+
client_order_id: typing.Optional[str] = None,
|
|
129
135
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
130
136
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
131
137
|
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
@@ -67,7 +67,7 @@ class OptionalAccountUniversalActivity(TypedDict, total=False):
|
|
|
67
67
|
# The institution that the transaction is associated with. This is usually the brokerage name.
|
|
68
68
|
institution: str
|
|
69
69
|
|
|
70
|
-
#
|
|
70
|
+
# A stable and unique transaction id when available
|
|
71
71
|
external_reference_id: typing.Optional[str]
|
|
72
72
|
|
|
73
73
|
class AccountUniversalActivity(RequiredAccountUniversalActivity, OptionalAccountUniversalActivity):
|
|
@@ -19,10 +19,10 @@ from snaptrade_client.type.instrument_nullable import InstrumentNullable
|
|
|
19
19
|
from snaptrade_client.type.priced_in_instrument_nullable import PricedInInstrumentNullable
|
|
20
20
|
|
|
21
21
|
class RequiredActivity(TypedDict):
|
|
22
|
-
#
|
|
22
|
+
# A stable and unique transaction id when available
|
|
23
23
|
transaction_id: typing.Optional[str]
|
|
24
24
|
|
|
25
|
-
#
|
|
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
|
|
26
26
|
type: str
|
|
27
27
|
|
|
28
28
|
# Recorded date and time in UTC. Precision depends on what the brokerage supplies.
|
|
@@ -35,13 +35,13 @@ class RequiredActivity(TypedDict):
|
|
|
35
35
|
|
|
36
36
|
priced_in: typing.Optional[PricedInInstrumentNullable]
|
|
37
37
|
|
|
38
|
-
#
|
|
38
|
+
# The amount of the transaction denominated in `priced_in`. This can be positive or negative. In general, transactions that positively affect the account balance (like sell, deposits, dividends, etc) will have a positive amount, while transactions that negatively affect the account balance (like buy, withdrawals, fees, etc) will have a negative amount.
|
|
39
39
|
amount: str
|
|
40
40
|
|
|
41
|
-
#
|
|
41
|
+
# The price of the security for the transaction. This is mostly applicable to `BUY`, `SELL`, and `DIVIDEND` transactions. For option transactions, this represents the price per share of the option contract.
|
|
42
42
|
price: typing.Optional[str]
|
|
43
43
|
|
|
44
|
-
#
|
|
44
|
+
# The number of units of the security for the transaction. This is mostly applicable to `BUY`, `SELL`, and `DIVIDEND` transactions. In general, BUYs result in positive units while SELLs result in negative due to the shares leaving the account
|
|
45
45
|
units: str
|
|
46
46
|
|
|
47
47
|
# Recorded fee. Some missing brokerage fees are stored as zero.
|
|
@@ -29,6 +29,9 @@ class RequiredMlegTradeForm(TypedDict):
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
class OptionalMlegTradeForm(TypedDict, total=False):
|
|
32
|
+
# Canonical 36-character UUID required when placing a Wealthsimple order with two or more legs. Not required for an impact preview or single-leg request. Reuse it when retrying the same attempt. SnapTrade retains the ID after success or failure; reuse by the same user across accounts or placement endpoints returns 409 without submitting again. A 409 does not establish whether the original attempt was accepted; reconcile it before using a new ID for a genuinely new order. This protection does not depend on Wealthsimple deduplicating its external order ID.
|
|
33
|
+
client_order_id: str
|
|
34
|
+
|
|
32
35
|
# The limit price. Required if the order type is `LIMIT`, `STOP_LOSS_LIMIT`, unless `price_effect` is `EVEN` - a net-even order is implicitly priced at 0, so the field may be omitted and must be `0` if sent.
|
|
33
36
|
limit_price: typing.Optional[str]
|
|
34
37
|
|
|
@@ -39,7 +39,7 @@ class OptionalSimpleTradeForm(TypedDict, total=False):
|
|
|
39
39
|
# 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.
|
|
40
40
|
price_effect: typing.Optional[Literal["credit", "debit", "even"]]
|
|
41
41
|
|
|
42
|
-
# Optional
|
|
42
|
+
# 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.
|
|
43
43
|
client_order_id: ClientOrderID
|
|
44
44
|
|
|
45
45
|
# 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.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: snaptrade-python-sdk
|
|
3
|
-
Version: 13.4.
|
|
3
|
+
Version: 13.4.7
|
|
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.7)
|
|
91
91
|
[](https://github.com/passiv/snaptrade-sdks/tree/master/sdks/python#readme)
|
|
92
92
|
[](https://snaptrade.com/)
|
|
93
93
|
|
|
@@ -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.7
|
|
189
189
|
```
|
|
190
190
|
|
|
191
191
|
## Authentication<a id="authentication"></a>
|
|
@@ -857,15 +857,15 @@ 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
|
-
|
|
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.
|
|
861
861
|
|
|
862
862
|
##### offset: `int`<a id="offset-int"></a>
|
|
863
863
|
|
|
864
|
-
|
|
864
|
+
An integer that specifies the starting point of the paginated results. Default is 0.
|
|
865
865
|
|
|
866
866
|
##### limit: `int`<a id="limit-int"></a>
|
|
867
867
|
|
|
868
|
-
|
|
868
|
+
An integer that specifies the maximum number of transactions to return. Default of 1000.
|
|
869
869
|
|
|
870
870
|
#### 🔄 Return<a id="🔄-return"></a>
|
|
871
871
|
|
|
@@ -3217,7 +3217,7 @@ Only applicable to multi-leg limit and stop_limit orders. Requirements and suppo
|
|
|
3217
3217
|
|
|
3218
3218
|
##### client_order_id: `ClientOrderID`<a id="client_order_id-clientorderid"></a>
|
|
3219
3219
|
|
|
3220
|
-
Optional
|
|
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
3221
|
|
|
3222
3222
|
##### expiry_date: `Optional[datetime]`<a id="expiry_date-optionaldatetime"></a>
|
|
3223
3223
|
|
|
@@ -3934,6 +3934,7 @@ get_option_impact_response = commercial_api_key_client.trading.get_option_impact
|
|
|
3934
3934
|
}
|
|
3935
3935
|
],
|
|
3936
3936
|
account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
3937
|
+
client_order_id="3e8b682d-c901-4b2d-a67f-70f73b04a29e",
|
|
3937
3938
|
limit_price="",
|
|
3938
3939
|
stop_price="",
|
|
3939
3940
|
price_effect="DEBIT",
|
|
@@ -3965,6 +3966,7 @@ get_option_impact_response = personal_api_key_client.trading.get_option_impact(
|
|
|
3965
3966
|
}
|
|
3966
3967
|
],
|
|
3967
3968
|
account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
3969
|
+
client_order_id="3e8b682d-c901-4b2d-a67f-70f73b04a29e",
|
|
3968
3970
|
limit_price="",
|
|
3969
3971
|
stop_price="",
|
|
3970
3972
|
price_effect="DEBIT",
|
|
@@ -3990,6 +3992,7 @@ get_option_impact_response = oauth_client.trading.get_option_impact(
|
|
|
3990
3992
|
}
|
|
3991
3993
|
],
|
|
3992
3994
|
account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
3995
|
+
client_order_id="3e8b682d-c901-4b2d-a67f-70f73b04a29e",
|
|
3993
3996
|
limit_price="",
|
|
3994
3997
|
stop_price="",
|
|
3995
3998
|
price_effect="DEBIT",
|
|
@@ -4009,6 +4012,10 @@ The client identifies the user in this mode. Do not pass `user_id` `user_secret`
|
|
|
4009
4012
|
|
|
4010
4013
|
##### account_id: `str`<a id="account_id-str"></a>
|
|
4011
4014
|
|
|
4015
|
+
##### client_order_id: `str`<a id="client_order_id-str"></a>
|
|
4016
|
+
|
|
4017
|
+
Canonical 36-character UUID required when placing a Wealthsimple order with two or more legs. Not required for an impact preview or single-leg request. Reuse it when retrying the same attempt. SnapTrade retains the ID after success or failure; reuse by the same user across accounts or placement endpoints returns 409 without submitting again. A 409 does not establish whether the original attempt was accepted; reconcile it before using a new ID for a genuinely new order. This protection does not depend on Wealthsimple deduplicating its external order ID.
|
|
4018
|
+
|
|
4012
4019
|
##### limit_price: `Optional[str]`<a id="limit_price-optionalstr"></a>
|
|
4013
4020
|
|
|
4014
4021
|
The limit price. Required if the order type is `LIMIT`, `STOP_LOSS_LIMIT`, unless `price_effect` is `EVEN` - a net-even order is implicitly priced at 0, so the field may be omitted and must be `0` if sent.
|
|
@@ -4718,6 +4725,8 @@ For Equity orders, this represents the number of shares for the order. This can
|
|
|
4718
4725
|
|
|
4719
4726
|
Places a multi-leg option order. Only supported on certain option trading brokerages. https://support.snaptrade.com/brokerages has information on brokerage trading support
|
|
4720
4727
|
|
|
4728
|
+
Wealthsimple placement with two or more legs requires a canonical UUID `client_order_id`. Reuse it for retries of the same attempt. SnapTrade returns 409 for an ID already used by that user, including across accounts and after a lost placement response. Reconcile the original attempt before submitting a genuinely new order with a new ID.
|
|
4729
|
+
|
|
4721
4730
|
|
|
4722
4731
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
4723
4732
|
|
|
@@ -4738,6 +4747,7 @@ place_mleg_order_response = commercial_api_key_client.trading.place_mleg_order(
|
|
|
4738
4747
|
}
|
|
4739
4748
|
],
|
|
4740
4749
|
account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
4750
|
+
client_order_id="3e8b682d-c901-4b2d-a67f-70f73b04a29e",
|
|
4741
4751
|
limit_price="",
|
|
4742
4752
|
stop_price="",
|
|
4743
4753
|
price_effect="DEBIT",
|
|
@@ -4769,6 +4779,7 @@ place_mleg_order_response = personal_api_key_client.trading.place_mleg_order(
|
|
|
4769
4779
|
}
|
|
4770
4780
|
],
|
|
4771
4781
|
account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
4782
|
+
client_order_id="3e8b682d-c901-4b2d-a67f-70f73b04a29e",
|
|
4772
4783
|
limit_price="",
|
|
4773
4784
|
stop_price="",
|
|
4774
4785
|
price_effect="DEBIT",
|
|
@@ -4794,6 +4805,7 @@ place_mleg_order_response = oauth_client.trading.place_mleg_order(
|
|
|
4794
4805
|
}
|
|
4795
4806
|
],
|
|
4796
4807
|
account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
4808
|
+
client_order_id="3e8b682d-c901-4b2d-a67f-70f73b04a29e",
|
|
4797
4809
|
limit_price="",
|
|
4798
4810
|
stop_price="",
|
|
4799
4811
|
price_effect="DEBIT",
|
|
@@ -4813,6 +4825,10 @@ The client identifies the user in this mode. Do not pass `user_id` `user_secret`
|
|
|
4813
4825
|
|
|
4814
4826
|
##### account_id: `str`<a id="account_id-str"></a>
|
|
4815
4827
|
|
|
4828
|
+
##### client_order_id: `str`<a id="client_order_id-str"></a>
|
|
4829
|
+
|
|
4830
|
+
Canonical 36-character UUID required when placing a Wealthsimple order with two or more legs. Not required for an impact preview or single-leg request. Reuse it when retrying the same attempt. SnapTrade retains the ID after success or failure; reuse by the same user across accounts or placement endpoints returns 409 without submitting again. A 409 does not establish whether the original attempt was accepted; reconcile it before using a new ID for a genuinely new order. This protection does not depend on Wealthsimple deduplicating its external order ID.
|
|
4831
|
+
|
|
4816
4832
|
##### limit_price: `Optional[str]`<a id="limit_price-optionalstr"></a>
|
|
4817
4833
|
|
|
4818
4834
|
The limit price. Required if the order type is `LIMIT`, `STOP_LOSS_LIMIT`, unless `price_effect` is `EVEN` - a net-even order is implicitly priced at 0, so the field may be omitted and must be `0` if sent.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
snaptrade_client/__init__.py,sha256=
|
|
2
|
-
snaptrade_client/api_client.py,sha256=
|
|
1
|
+
snaptrade_client/__init__.py,sha256=Td3nYskbWTgLBtqf6ciI6EUxoPuAJP9fwBPaBSvS9aI,4370
|
|
2
|
+
snaptrade_client/api_client.py,sha256=7NPLzfGnq7MbPbViGykjQtlWd8Q6dSWxRoEYcaZnF1M,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
5
|
snaptrade_client/apis/path_to_api.py,sha256=I3lF7OdUdyvziA34H8Yd2wBYWKy_YLXfcWwpo6zBpb4,16440
|
|
@@ -90,7 +90,7 @@ 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=kjn6UfaxcYqk6enANspCj3at8A-p7MMukoHb8U3bub4,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
|
|
@@ -254,10 +254,10 @@ snaptrade_client/model/child_brokerage_order_ids_nullable.py,sha256=nDzYO2R-d0sx
|
|
|
254
254
|
snaptrade_client/model/child_brokerage_order_ids_nullable.pyi,sha256=nDzYO2R-d0sxmRcBRZrtQGQy1VFoaWBRjMqSlAUcEZo,6642
|
|
255
255
|
snaptrade_client/model/client_id.py,sha256=eedKtvej2dDyup0sqVkQ2zNAdrJKap7CxJVgFcDMEQI,3784
|
|
256
256
|
snaptrade_client/model/client_id.pyi,sha256=eedKtvej2dDyup0sqVkQ2zNAdrJKap7CxJVgFcDMEQI,3784
|
|
257
|
-
snaptrade_client/model/client_order_id.py,sha256=
|
|
258
|
-
snaptrade_client/model/client_order_id.pyi,sha256=
|
|
259
|
-
snaptrade_client/model/client_order_id_nullable.py,sha256=
|
|
260
|
-
snaptrade_client/model/client_order_id_nullable.pyi,sha256=
|
|
257
|
+
snaptrade_client/model/client_order_id.py,sha256=pqERlocRbI9OlNiy5e7fQDulhPKI2AUDzVkY4O4vTyc,4733
|
|
258
|
+
snaptrade_client/model/client_order_id.pyi,sha256=pqERlocRbI9OlNiy5e7fQDulhPKI2AUDzVkY4O4vTyc,4733
|
|
259
|
+
snaptrade_client/model/client_order_id_nullable.py,sha256=AJDDvLyHU497RseColyTN6GZCumoV1a14LHSot7GuGI,4749
|
|
260
|
+
snaptrade_client/model/client_order_id_nullable.pyi,sha256=AJDDvLyHU497RseColyTN6GZCumoV1a14LHSot7GuGI,4749
|
|
261
261
|
snaptrade_client/model/complex_order_leg.py,sha256=p1A1dkc31qUW5ROyqmixi-qyvBq8N2O2Ll7TdHTclmQ,12662
|
|
262
262
|
snaptrade_client/model/complex_order_leg.pyi,sha256=DKH-MIMH4ncWmrARGDZxYFff5bPrJFSIJHJenzS_Wo0,12320
|
|
263
263
|
snaptrade_client/model/complex_order_response.py,sha256=jPpOMr7-2W8RORlj-rk1pkTx5lfNp-zD7I4yiHJeOG0,7998
|
|
@@ -416,8 +416,8 @@ snaptrade_client/model/mleg_price_effect_strict.py,sha256=Mttbzi-PIu6bld004BmMvX
|
|
|
416
416
|
snaptrade_client/model/mleg_price_effect_strict.pyi,sha256=2wPNeGeUExlskmCZ0GJu5BYDvnxabCoxYGRFvpX8w0M,4266
|
|
417
417
|
snaptrade_client/model/mleg_price_effect_strict_nullable.py,sha256=yKCKrhJ7SVGUeqd8Eeh_36uB2V2oFNgpV2NWqaiLSHc,4801
|
|
418
418
|
snaptrade_client/model/mleg_price_effect_strict_nullable.pyi,sha256=yKCKrhJ7SVGUeqd8Eeh_36uB2V2oFNgpV2NWqaiLSHc,4801
|
|
419
|
-
snaptrade_client/model/mleg_trade_form.py,sha256=
|
|
420
|
-
snaptrade_client/model/mleg_trade_form.pyi,sha256=
|
|
419
|
+
snaptrade_client/model/mleg_trade_form.py,sha256=bpQ3OjiGleuMu_fjR_hFaupeTNdaTXl_VvANf3fUDxE,11876
|
|
420
|
+
snaptrade_client/model/mleg_trade_form.pyi,sha256=bpQ3OjiGleuMu_fjR_hFaupeTNdaTXl_VvANf3fUDxE,11876
|
|
421
421
|
snaptrade_client/model/mleg_trading_instrument.py,sha256=MAFMNcWCAKeT5tbZiSyAwSIQCbkMeXEhRuFX3fHyqJ8,6488
|
|
422
422
|
snaptrade_client/model/mleg_trading_instrument.pyi,sha256=MAFMNcWCAKeT5tbZiSyAwSIQCbkMeXEhRuFX3fHyqJ8,6488
|
|
423
423
|
snaptrade_client/model/model400_failed_request_response.py,sha256=zwOsGuleBim70qNhbHPw2NZCd4bcmnoCYCiSgRhYP0Y,6747
|
|
@@ -683,7 +683,7 @@ 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=
|
|
686
|
+
snaptrade_client/operation_parameter_map.py,sha256=iEo94Tf1er_rn_jj_hAspUisq1x0X_qmyn0Qw41U8Ok,16940
|
|
687
687
|
snaptrade_client/paths/__init__.py,sha256=AcAKzs1nJ_pOkeil45thMxxbszXfBoSlPRICHnF4rHo,4750
|
|
688
688
|
snaptrade_client/paths/accounts/__init__.py,sha256=_Bqi6B13A-kgd0AOpqmcE1vTxJDfoz-r3Hwf-AmwW6A,307
|
|
689
689
|
snaptrade_client/paths/accounts/get.py,sha256=F98YMykYXcue37Y30SUiV4eXp4FzBFwgWR_m2-0Rla4,23267
|
|
@@ -772,11 +772,11 @@ snaptrade_client/paths/accounts_account_id_trading_instruments_cryptocurrency_pa
|
|
|
772
772
|
snaptrade_client/paths/accounts_account_id_trading_instruments_cryptocurrency_pairs_instrument_symbol_quote/get.py,sha256=PGSNUGmbMqLcxFifeuA4y4DyPWMOZ-KlnKJxAS6nDr4,25084
|
|
773
773
|
snaptrade_client/paths/accounts_account_id_trading_instruments_cryptocurrency_pairs_instrument_symbol_quote/get.pyi,sha256=tgod38ik_LFMJXWVy7abQaHVZBLmp07ncTyixnxcPA0,7194
|
|
774
774
|
snaptrade_client/paths/accounts_account_id_trading_options/__init__.py,sha256=W4DH_sVnEgWCOwhFuJ05O-L0iN0HNDQ3QmVhC4uTzxE,361
|
|
775
|
-
snaptrade_client/paths/accounts_account_id_trading_options/post.py,sha256=
|
|
776
|
-
snaptrade_client/paths/accounts_account_id_trading_options/post.pyi,sha256=
|
|
775
|
+
snaptrade_client/paths/accounts_account_id_trading_options/post.py,sha256=ygYPq_-H9RkVLH7sH4LUziKDTQBbO1OvljlYSi_IWGg,35389
|
|
776
|
+
snaptrade_client/paths/accounts_account_id_trading_options/post.pyi,sha256=WuYkg1ozX0L_kQrkU8c_T94vyFPCAn29-1gjBveUlEs,9208
|
|
777
777
|
snaptrade_client/paths/accounts_account_id_trading_options_impact/__init__.py,sha256=U8ilpQOG2mxTt_1mVsR8c5dEbbxInUKuRgFj_fA2uc4,375
|
|
778
|
-
snaptrade_client/paths/accounts_account_id_trading_options_impact/post.py,sha256=
|
|
779
|
-
snaptrade_client/paths/accounts_account_id_trading_options_impact/post.pyi,sha256=
|
|
778
|
+
snaptrade_client/paths/accounts_account_id_trading_options_impact/post.py,sha256=QdNf-4hY8_lax8gVg4SAyq7zrfbZULWUIt8mJY1AqGg,32181
|
|
779
|
+
snaptrade_client/paths/accounts_account_id_trading_options_impact/post.pyi,sha256=1zpcT4z7TqQ6eBxAbHTrMAXj3IRz5Ev8o0nMnWbM1bs,9216
|
|
780
780
|
snaptrade_client/paths/accounts_account_id_trading_replace/__init__.py,sha256=k1IliXIhslkwLvlDi42TeVY-HkZ8VO-9vcTsYEIpcyc,361
|
|
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
|
|
@@ -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=40W6opGDY6Rx4KN9LNZgieDqGTH8F1qrnkaZx7M3aVU,8601
|
|
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=6DGhjd7C5liD9YYVgIFGG8gPs23HrcUzAu1fkzXX8O0,6879
|
|
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
|
|
@@ -1050,7 +1050,7 @@ snaptrade_client/type/mleg_order_response.py,sha256=SDOm5eq66bkgAFRwYFGETmhJpeSs
|
|
|
1050
1050
|
snaptrade_client/type/mleg_order_type_strict.py,sha256=jPzyl1aLJ7KmM_huEzYbIXIjBijAPBFysfVojxzARBY,3645
|
|
1051
1051
|
snaptrade_client/type/mleg_price_effect_strict.py,sha256=DM3D8vCzoheUcoKzIFv1NHuLPK5QJqolI5s0pV8ErDs,3616
|
|
1052
1052
|
snaptrade_client/type/mleg_price_effect_strict_nullable.py,sha256=YYys1dq6NKLQC1lORnIUfhTCszkjoKT7nPacasiR2M8,3624
|
|
1053
|
-
snaptrade_client/type/mleg_trade_form.py,sha256=
|
|
1053
|
+
snaptrade_client/type/mleg_trade_form.py,sha256=nVe6tpoTZOjKPHtuW9C365CK0WvWo7fs55iVELRYgI0,5170
|
|
1054
1054
|
snaptrade_client/type/mleg_trading_instrument.py,sha256=wtTwzCePWCRJqLh4Vg_nZdqEN1c5lRwkoA7W9utGU0w,4270
|
|
1055
1055
|
snaptrade_client/type/model400_failed_request_response.py,sha256=_wIkCZ7GxfXKlATUFW4ZDR_KHitg8YPIH4zRnYnYoJg,3996
|
|
1056
1056
|
snaptrade_client/type/model401_failed_request_response.py,sha256=CFJWK-QVTuDBlI8TFhiiw6Pqp2ZX-QlDl5a1FxiiMsY,3996
|
|
@@ -1125,7 +1125,7 @@ snaptrade_client/type/security_type_id.py,sha256=ERxKWdhtNAm3bd91S5hImLkd_i-AB3u
|
|
|
1125
1125
|
snaptrade_client/type/session_event.py,sha256=7-_UHJ1HI8aduv23QdQ5RmoQSQOHKkDZQaJRB2RARo4,4541
|
|
1126
1126
|
snaptrade_client/type/simple_order_form.py,sha256=NvOt8yjxZNs-UIQ1lgkkmw5BqqYA-MLeZCv8ip4OLDg,5323
|
|
1127
1127
|
snaptrade_client/type/simple_trade_decimal.py,sha256=Cnd4PwpwSGHZMHT4L5kZ0cMOBXyTuH-Q-jb318hmYzk,3582
|
|
1128
|
-
snaptrade_client/type/simple_trade_form.py,sha256=
|
|
1128
|
+
snaptrade_client/type/simple_trade_form.py,sha256=adad9fUXFdb_XtRKgUCXYROKnpQ_AebB8XIbqnEmzjU,7881
|
|
1129
1129
|
snaptrade_client/type/simple_trade_instrument.py,sha256=Vac3bT03FHs6fi-Yqytw4R1fQu0K-3d8UpKFD-BP1kU,4563
|
|
1130
1130
|
snaptrade_client/type/simple_trade_leg.py,sha256=b6DM6fkwzzbieSKkl7B_Zs3NliCr2iXV91fJgBOq8NE,4550
|
|
1131
1131
|
snaptrade_client/type/simple_trade_response.py,sha256=p6BwZuOgL8gUZ6hGUeZc_PBb401AEmt7n660dRBWQK4,3851
|
|
@@ -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.7.dist-info/LICENSE,sha256=GxvPdqYTCDLPwtMD70oHKcnAL8Os4eOjPVhERWpJ5Cs,1081
|
|
1188
|
+
snaptrade_python_sdk-13.4.7.dist-info/METADATA,sha256=xyMcFlqX7kNQSjgS8pKhzFpY2WF5eZEs_016WRzXcPU,215921
|
|
1189
|
+
snaptrade_python_sdk-13.4.7.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
1190
|
+
snaptrade_python_sdk-13.4.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|