snaptrade-python-sdk 11.0.130__py3-none-any.whl → 11.0.132__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/stop_loss.py +1 -1
- snaptrade_client/model/stop_loss.pyi +1 -1
- snaptrade_client/model/take_profit.py +1 -1
- snaptrade_client/model/take_profit.pyi +1 -1
- snaptrade_client/operation_parameter_map.py +6 -6
- snaptrade_client/paths/accounts_account_id_orders_cancel/post.py +16 -11
- snaptrade_client/paths/accounts_account_id_orders_cancel/post.pyi +16 -11
- snaptrade_client/paths/accounts_account_id_orders_details/post.py +2 -2
- snaptrade_client/paths/accounts_account_id_orders_details/post.pyi +2 -2
- snaptrade_client/paths/accounts_account_id_recent_orders/get.py +2 -2
- snaptrade_client/paths/accounts_account_id_recent_orders/get.pyi +2 -2
- snaptrade_client/paths/accounts_account_id_trading_cancel/post.py +16 -11
- snaptrade_client/paths/accounts_account_id_trading_cancel/post.pyi +16 -11
- snaptrade_client/paths/authorizations_authorization_id_refresh/post.py +2 -2
- snaptrade_client/paths/authorizations_authorization_id_refresh/post.pyi +2 -2
- {snaptrade_python_sdk-11.0.130.dist-info → snaptrade_python_sdk-11.0.132.dist-info}/METADATA +17 -15
- {snaptrade_python_sdk-11.0.130.dist-info → snaptrade_python_sdk-11.0.132.dist-info}/RECORD +22 -22
- {snaptrade_python_sdk-11.0.130.dist-info → snaptrade_python_sdk-11.0.132.dist-info}/LICENSE +0 -0
- {snaptrade_python_sdk-11.0.130.dist-info → snaptrade_python_sdk-11.0.132.dist-info}/WHEEL +0 -0
snaptrade_client/__init__.py
CHANGED
snaptrade_client/api_client.py
CHANGED
|
@@ -1155,7 +1155,7 @@ class ApiClient:
|
|
|
1155
1155
|
self.default_headers[header_name] = header_value
|
|
1156
1156
|
self.cookie = cookie
|
|
1157
1157
|
# Set default User-Agent.
|
|
1158
|
-
self.user_agent = 'Konfig/11.0.
|
|
1158
|
+
self.user_agent = 'Konfig/11.0.132/python'
|
|
1159
1159
|
|
|
1160
1160
|
def __enter__(self):
|
|
1161
1161
|
return self
|
|
@@ -438,7 +438,7 @@ conf = snaptrade_client.Configuration(
|
|
|
438
438
|
"OS: {env}\n"\
|
|
439
439
|
"Python Version: {pyversion}\n"\
|
|
440
440
|
"Version of the API: 1.0.0\n"\
|
|
441
|
-
"SDK Package Version: 11.0.
|
|
441
|
+
"SDK Package Version: 11.0.132".\
|
|
442
442
|
format(env=sys.platform, pyversion=sys.version)
|
|
443
443
|
|
|
444
444
|
def get_host_settings(self):
|
|
@@ -30,7 +30,7 @@ class StopLoss(
|
|
|
30
30
|
"""
|
|
31
31
|
This class is auto generated by Konfig (https://konfigthis.com)
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Takes in string value for stop_price and limit_price. stop_price is required, limit_price is optional
|
|
34
34
|
"""
|
|
35
35
|
|
|
36
36
|
|
|
@@ -30,7 +30,7 @@ class StopLoss(
|
|
|
30
30
|
"""
|
|
31
31
|
This class is auto generated by Konfig (https://konfigthis.com)
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Takes in string value for stop_price and limit_price. stop_price is required, limit_price is optional
|
|
34
34
|
"""
|
|
35
35
|
|
|
36
36
|
|
|
@@ -433,6 +433,9 @@ operation_parameter_map = {
|
|
|
433
433
|
},
|
|
434
434
|
'/accounts/{accountId}/trading/cancel-POST': {
|
|
435
435
|
'parameters': [
|
|
436
|
+
{
|
|
437
|
+
'name': 'brokerage_order_id'
|
|
438
|
+
},
|
|
436
439
|
{
|
|
437
440
|
'name': 'userId'
|
|
438
441
|
},
|
|
@@ -442,13 +445,13 @@ operation_parameter_map = {
|
|
|
442
445
|
{
|
|
443
446
|
'name': 'accountId'
|
|
444
447
|
},
|
|
445
|
-
{
|
|
446
|
-
'name': 'brokerage_order_id'
|
|
447
|
-
},
|
|
448
448
|
]
|
|
449
449
|
},
|
|
450
450
|
'/accounts/{accountId}/orders/cancel-POST': {
|
|
451
451
|
'parameters': [
|
|
452
|
+
{
|
|
453
|
+
'name': 'brokerage_order_id'
|
|
454
|
+
},
|
|
452
455
|
{
|
|
453
456
|
'name': 'userId'
|
|
454
457
|
},
|
|
@@ -458,9 +461,6 @@ operation_parameter_map = {
|
|
|
458
461
|
{
|
|
459
462
|
'name': 'accountId'
|
|
460
463
|
},
|
|
461
|
-
{
|
|
462
|
-
'name': 'brokerage_order_id'
|
|
463
|
-
},
|
|
464
464
|
]
|
|
465
465
|
},
|
|
466
466
|
'/accounts/{accountId}/trading/instruments/cryptocurrencyPairs/{instrumentSymbol}/quote-GET': {
|
|
@@ -113,6 +113,9 @@ class SchemaForRequestBodyApplicationJson(
|
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
class MetaOapg:
|
|
116
|
+
required = {
|
|
117
|
+
"brokerage_order_id",
|
|
118
|
+
}
|
|
116
119
|
|
|
117
120
|
class properties:
|
|
118
121
|
brokerage_order_id = schemas.StrSchema
|
|
@@ -120,6 +123,8 @@ class SchemaForRequestBodyApplicationJson(
|
|
|
120
123
|
"brokerage_order_id": brokerage_order_id,
|
|
121
124
|
}
|
|
122
125
|
|
|
126
|
+
brokerage_order_id: MetaOapg.properties.brokerage_order_id
|
|
127
|
+
|
|
123
128
|
@typing.overload
|
|
124
129
|
def __getitem__(self, name: typing_extensions.Literal["brokerage_order_id"]) -> MetaOapg.properties.brokerage_order_id: ...
|
|
125
130
|
|
|
@@ -132,7 +137,7 @@ class SchemaForRequestBodyApplicationJson(
|
|
|
132
137
|
|
|
133
138
|
|
|
134
139
|
@typing.overload
|
|
135
|
-
def get_item_oapg(self, name: typing_extensions.Literal["brokerage_order_id"]) ->
|
|
140
|
+
def get_item_oapg(self, name: typing_extensions.Literal["brokerage_order_id"]) -> MetaOapg.properties.brokerage_order_id: ...
|
|
136
141
|
|
|
137
142
|
@typing.overload
|
|
138
143
|
def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
|
|
@@ -144,7 +149,7 @@ class SchemaForRequestBodyApplicationJson(
|
|
|
144
149
|
def __new__(
|
|
145
150
|
cls,
|
|
146
151
|
*args: typing.Union[dict, frozendict.frozendict, ],
|
|
147
|
-
brokerage_order_id: typing.Union[MetaOapg.properties.brokerage_order_id, str,
|
|
152
|
+
brokerage_order_id: typing.Union[MetaOapg.properties.brokerage_order_id, str, ],
|
|
148
153
|
_configuration: typing.Optional[schemas.Configuration] = None,
|
|
149
154
|
**kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
|
|
150
155
|
) -> 'SchemaForRequestBodyApplicationJson':
|
|
@@ -247,10 +252,10 @@ class BaseApi(api_client.Api):
|
|
|
247
252
|
def _cancel_user_account_order_mapped_args(
|
|
248
253
|
self,
|
|
249
254
|
body: typing.Optional[typing.Any] = None,
|
|
255
|
+
brokerage_order_id: typing.Optional[str] = None,
|
|
250
256
|
user_id: typing.Optional[str] = None,
|
|
251
257
|
user_secret: typing.Optional[str] = None,
|
|
252
258
|
account_id: typing.Optional[str] = None,
|
|
253
|
-
brokerage_order_id: typing.Optional[str] = None,
|
|
254
259
|
query_params: typing.Optional[dict] = {},
|
|
255
260
|
path_params: typing.Optional[dict] = {},
|
|
256
261
|
) -> api_client.MappedArgs:
|
|
@@ -541,10 +546,10 @@ class CancelUserAccountOrder(BaseApi):
|
|
|
541
546
|
async def acancel_user_account_order(
|
|
542
547
|
self,
|
|
543
548
|
body: typing.Optional[typing.Any] = None,
|
|
549
|
+
brokerage_order_id: typing.Optional[str] = None,
|
|
544
550
|
user_id: typing.Optional[str] = None,
|
|
545
551
|
user_secret: typing.Optional[str] = None,
|
|
546
552
|
account_id: typing.Optional[str] = None,
|
|
547
|
-
brokerage_order_id: typing.Optional[str] = None,
|
|
548
553
|
query_params: typing.Optional[dict] = {},
|
|
549
554
|
path_params: typing.Optional[dict] = {},
|
|
550
555
|
**kwargs,
|
|
@@ -557,10 +562,10 @@ class CancelUserAccountOrder(BaseApi):
|
|
|
557
562
|
body=body,
|
|
558
563
|
query_params=query_params,
|
|
559
564
|
path_params=path_params,
|
|
565
|
+
brokerage_order_id=brokerage_order_id,
|
|
560
566
|
user_id=user_id,
|
|
561
567
|
user_secret=user_secret,
|
|
562
568
|
account_id=account_id,
|
|
563
|
-
brokerage_order_id=brokerage_order_id,
|
|
564
569
|
)
|
|
565
570
|
return await self._acancel_user_account_order_oapg(
|
|
566
571
|
body=args.body,
|
|
@@ -573,10 +578,10 @@ class CancelUserAccountOrder(BaseApi):
|
|
|
573
578
|
def cancel_user_account_order(
|
|
574
579
|
self,
|
|
575
580
|
body: typing.Optional[typing.Any] = None,
|
|
581
|
+
brokerage_order_id: typing.Optional[str] = None,
|
|
576
582
|
user_id: typing.Optional[str] = None,
|
|
577
583
|
user_secret: typing.Optional[str] = None,
|
|
578
584
|
account_id: typing.Optional[str] = None,
|
|
579
|
-
brokerage_order_id: typing.Optional[str] = None,
|
|
580
585
|
query_params: typing.Optional[dict] = {},
|
|
581
586
|
path_params: typing.Optional[dict] = {},
|
|
582
587
|
) -> typing.Union[
|
|
@@ -588,10 +593,10 @@ class CancelUserAccountOrder(BaseApi):
|
|
|
588
593
|
body=body,
|
|
589
594
|
query_params=query_params,
|
|
590
595
|
path_params=path_params,
|
|
596
|
+
brokerage_order_id=brokerage_order_id,
|
|
591
597
|
user_id=user_id,
|
|
592
598
|
user_secret=user_secret,
|
|
593
599
|
account_id=account_id,
|
|
594
|
-
brokerage_order_id=brokerage_order_id,
|
|
595
600
|
)
|
|
596
601
|
return self._cancel_user_account_order_oapg(
|
|
597
602
|
body=args.body,
|
|
@@ -606,10 +611,10 @@ class ApiForpost(BaseApi):
|
|
|
606
611
|
async def apost(
|
|
607
612
|
self,
|
|
608
613
|
body: typing.Optional[typing.Any] = None,
|
|
614
|
+
brokerage_order_id: typing.Optional[str] = None,
|
|
609
615
|
user_id: typing.Optional[str] = None,
|
|
610
616
|
user_secret: typing.Optional[str] = None,
|
|
611
617
|
account_id: typing.Optional[str] = None,
|
|
612
|
-
brokerage_order_id: typing.Optional[str] = None,
|
|
613
618
|
query_params: typing.Optional[dict] = {},
|
|
614
619
|
path_params: typing.Optional[dict] = {},
|
|
615
620
|
**kwargs,
|
|
@@ -622,10 +627,10 @@ class ApiForpost(BaseApi):
|
|
|
622
627
|
body=body,
|
|
623
628
|
query_params=query_params,
|
|
624
629
|
path_params=path_params,
|
|
630
|
+
brokerage_order_id=brokerage_order_id,
|
|
625
631
|
user_id=user_id,
|
|
626
632
|
user_secret=user_secret,
|
|
627
633
|
account_id=account_id,
|
|
628
|
-
brokerage_order_id=brokerage_order_id,
|
|
629
634
|
)
|
|
630
635
|
return await self._acancel_user_account_order_oapg(
|
|
631
636
|
body=args.body,
|
|
@@ -638,10 +643,10 @@ class ApiForpost(BaseApi):
|
|
|
638
643
|
def post(
|
|
639
644
|
self,
|
|
640
645
|
body: typing.Optional[typing.Any] = None,
|
|
646
|
+
brokerage_order_id: typing.Optional[str] = None,
|
|
641
647
|
user_id: typing.Optional[str] = None,
|
|
642
648
|
user_secret: typing.Optional[str] = None,
|
|
643
649
|
account_id: typing.Optional[str] = None,
|
|
644
|
-
brokerage_order_id: typing.Optional[str] = None,
|
|
645
650
|
query_params: typing.Optional[dict] = {},
|
|
646
651
|
path_params: typing.Optional[dict] = {},
|
|
647
652
|
) -> typing.Union[
|
|
@@ -653,10 +658,10 @@ class ApiForpost(BaseApi):
|
|
|
653
658
|
body=body,
|
|
654
659
|
query_params=query_params,
|
|
655
660
|
path_params=path_params,
|
|
661
|
+
brokerage_order_id=brokerage_order_id,
|
|
656
662
|
user_id=user_id,
|
|
657
663
|
user_secret=user_secret,
|
|
658
664
|
account_id=account_id,
|
|
659
|
-
brokerage_order_id=brokerage_order_id,
|
|
660
665
|
)
|
|
661
666
|
return self._cancel_user_account_order_oapg(
|
|
662
667
|
body=args.body,
|
|
@@ -111,6 +111,9 @@ class SchemaForRequestBodyApplicationJson(
|
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
class MetaOapg:
|
|
114
|
+
required = {
|
|
115
|
+
"brokerage_order_id",
|
|
116
|
+
}
|
|
114
117
|
|
|
115
118
|
class properties:
|
|
116
119
|
brokerage_order_id = schemas.StrSchema
|
|
@@ -118,6 +121,8 @@ class SchemaForRequestBodyApplicationJson(
|
|
|
118
121
|
"brokerage_order_id": brokerage_order_id,
|
|
119
122
|
}
|
|
120
123
|
|
|
124
|
+
brokerage_order_id: MetaOapg.properties.brokerage_order_id
|
|
125
|
+
|
|
121
126
|
@typing.overload
|
|
122
127
|
def __getitem__(self, name: typing_extensions.Literal["brokerage_order_id"]) -> MetaOapg.properties.brokerage_order_id: ...
|
|
123
128
|
|
|
@@ -130,7 +135,7 @@ class SchemaForRequestBodyApplicationJson(
|
|
|
130
135
|
|
|
131
136
|
|
|
132
137
|
@typing.overload
|
|
133
|
-
def get_item_oapg(self, name: typing_extensions.Literal["brokerage_order_id"]) ->
|
|
138
|
+
def get_item_oapg(self, name: typing_extensions.Literal["brokerage_order_id"]) -> MetaOapg.properties.brokerage_order_id: ...
|
|
134
139
|
|
|
135
140
|
@typing.overload
|
|
136
141
|
def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
|
|
@@ -142,7 +147,7 @@ class SchemaForRequestBodyApplicationJson(
|
|
|
142
147
|
def __new__(
|
|
143
148
|
cls,
|
|
144
149
|
*args: typing.Union[dict, frozendict.frozendict, ],
|
|
145
|
-
brokerage_order_id: typing.Union[MetaOapg.properties.brokerage_order_id, str,
|
|
150
|
+
brokerage_order_id: typing.Union[MetaOapg.properties.brokerage_order_id, str, ],
|
|
146
151
|
_configuration: typing.Optional[schemas.Configuration] = None,
|
|
147
152
|
**kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
|
|
148
153
|
) -> 'SchemaForRequestBodyApplicationJson':
|
|
@@ -235,10 +240,10 @@ class BaseApi(api_client.Api):
|
|
|
235
240
|
def _cancel_user_account_order_mapped_args(
|
|
236
241
|
self,
|
|
237
242
|
body: typing.Optional[typing.Any] = None,
|
|
243
|
+
brokerage_order_id: typing.Optional[str] = None,
|
|
238
244
|
user_id: typing.Optional[str] = None,
|
|
239
245
|
user_secret: typing.Optional[str] = None,
|
|
240
246
|
account_id: typing.Optional[str] = None,
|
|
241
|
-
brokerage_order_id: typing.Optional[str] = None,
|
|
242
247
|
query_params: typing.Optional[dict] = {},
|
|
243
248
|
path_params: typing.Optional[dict] = {},
|
|
244
249
|
) -> api_client.MappedArgs:
|
|
@@ -529,10 +534,10 @@ class CancelUserAccountOrder(BaseApi):
|
|
|
529
534
|
async def acancel_user_account_order(
|
|
530
535
|
self,
|
|
531
536
|
body: typing.Optional[typing.Any] = None,
|
|
537
|
+
brokerage_order_id: typing.Optional[str] = None,
|
|
532
538
|
user_id: typing.Optional[str] = None,
|
|
533
539
|
user_secret: typing.Optional[str] = None,
|
|
534
540
|
account_id: typing.Optional[str] = None,
|
|
535
|
-
brokerage_order_id: typing.Optional[str] = None,
|
|
536
541
|
query_params: typing.Optional[dict] = {},
|
|
537
542
|
path_params: typing.Optional[dict] = {},
|
|
538
543
|
**kwargs,
|
|
@@ -545,10 +550,10 @@ class CancelUserAccountOrder(BaseApi):
|
|
|
545
550
|
body=body,
|
|
546
551
|
query_params=query_params,
|
|
547
552
|
path_params=path_params,
|
|
553
|
+
brokerage_order_id=brokerage_order_id,
|
|
548
554
|
user_id=user_id,
|
|
549
555
|
user_secret=user_secret,
|
|
550
556
|
account_id=account_id,
|
|
551
|
-
brokerage_order_id=brokerage_order_id,
|
|
552
557
|
)
|
|
553
558
|
return await self._acancel_user_account_order_oapg(
|
|
554
559
|
body=args.body,
|
|
@@ -561,10 +566,10 @@ class CancelUserAccountOrder(BaseApi):
|
|
|
561
566
|
def cancel_user_account_order(
|
|
562
567
|
self,
|
|
563
568
|
body: typing.Optional[typing.Any] = None,
|
|
569
|
+
brokerage_order_id: typing.Optional[str] = None,
|
|
564
570
|
user_id: typing.Optional[str] = None,
|
|
565
571
|
user_secret: typing.Optional[str] = None,
|
|
566
572
|
account_id: typing.Optional[str] = None,
|
|
567
|
-
brokerage_order_id: typing.Optional[str] = None,
|
|
568
573
|
query_params: typing.Optional[dict] = {},
|
|
569
574
|
path_params: typing.Optional[dict] = {},
|
|
570
575
|
) -> typing.Union[
|
|
@@ -576,10 +581,10 @@ class CancelUserAccountOrder(BaseApi):
|
|
|
576
581
|
body=body,
|
|
577
582
|
query_params=query_params,
|
|
578
583
|
path_params=path_params,
|
|
584
|
+
brokerage_order_id=brokerage_order_id,
|
|
579
585
|
user_id=user_id,
|
|
580
586
|
user_secret=user_secret,
|
|
581
587
|
account_id=account_id,
|
|
582
|
-
brokerage_order_id=brokerage_order_id,
|
|
583
588
|
)
|
|
584
589
|
return self._cancel_user_account_order_oapg(
|
|
585
590
|
body=args.body,
|
|
@@ -594,10 +599,10 @@ class ApiForpost(BaseApi):
|
|
|
594
599
|
async def apost(
|
|
595
600
|
self,
|
|
596
601
|
body: typing.Optional[typing.Any] = None,
|
|
602
|
+
brokerage_order_id: typing.Optional[str] = None,
|
|
597
603
|
user_id: typing.Optional[str] = None,
|
|
598
604
|
user_secret: typing.Optional[str] = None,
|
|
599
605
|
account_id: typing.Optional[str] = None,
|
|
600
|
-
brokerage_order_id: typing.Optional[str] = None,
|
|
601
606
|
query_params: typing.Optional[dict] = {},
|
|
602
607
|
path_params: typing.Optional[dict] = {},
|
|
603
608
|
**kwargs,
|
|
@@ -610,10 +615,10 @@ class ApiForpost(BaseApi):
|
|
|
610
615
|
body=body,
|
|
611
616
|
query_params=query_params,
|
|
612
617
|
path_params=path_params,
|
|
618
|
+
brokerage_order_id=brokerage_order_id,
|
|
613
619
|
user_id=user_id,
|
|
614
620
|
user_secret=user_secret,
|
|
615
621
|
account_id=account_id,
|
|
616
|
-
brokerage_order_id=brokerage_order_id,
|
|
617
622
|
)
|
|
618
623
|
return await self._acancel_user_account_order_oapg(
|
|
619
624
|
body=args.body,
|
|
@@ -626,10 +631,10 @@ class ApiForpost(BaseApi):
|
|
|
626
631
|
def post(
|
|
627
632
|
self,
|
|
628
633
|
body: typing.Optional[typing.Any] = None,
|
|
634
|
+
brokerage_order_id: typing.Optional[str] = None,
|
|
629
635
|
user_id: typing.Optional[str] = None,
|
|
630
636
|
user_secret: typing.Optional[str] = None,
|
|
631
637
|
account_id: typing.Optional[str] = None,
|
|
632
|
-
brokerage_order_id: typing.Optional[str] = None,
|
|
633
638
|
query_params: typing.Optional[dict] = {},
|
|
634
639
|
path_params: typing.Optional[dict] = {},
|
|
635
640
|
) -> typing.Union[
|
|
@@ -641,10 +646,10 @@ class ApiForpost(BaseApi):
|
|
|
641
646
|
body=body,
|
|
642
647
|
query_params=query_params,
|
|
643
648
|
path_params=path_params,
|
|
649
|
+
brokerage_order_id=brokerage_order_id,
|
|
644
650
|
user_id=user_id,
|
|
645
651
|
user_secret=user_secret,
|
|
646
652
|
account_id=account_id,
|
|
647
|
-
brokerage_order_id=brokerage_order_id,
|
|
648
653
|
)
|
|
649
654
|
return self._cancel_user_account_order_oapg(
|
|
650
655
|
body=args.body,
|
|
@@ -610,7 +610,7 @@ class GetUserAccountOrderDetail(BaseApi):
|
|
|
610
610
|
ApiResponseFor200,
|
|
611
611
|
api_client.ApiResponseWithoutDeserialization,
|
|
612
612
|
]:
|
|
613
|
-
""" Returns the detail of a single order using the external order ID provided in the request body. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint. """
|
|
613
|
+
""" Returns the detail of a single order using the external order ID provided in the request body. This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint. """
|
|
614
614
|
args = self._get_user_account_order_detail_mapped_args(
|
|
615
615
|
body=body,
|
|
616
616
|
query_params=query_params,
|
|
@@ -673,7 +673,7 @@ class ApiForpost(BaseApi):
|
|
|
673
673
|
ApiResponseFor200,
|
|
674
674
|
api_client.ApiResponseWithoutDeserialization,
|
|
675
675
|
]:
|
|
676
|
-
""" Returns the detail of a single order using the external order ID provided in the request body. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint. """
|
|
676
|
+
""" Returns the detail of a single order using the external order ID provided in the request body. This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint. """
|
|
677
677
|
args = self._get_user_account_order_detail_mapped_args(
|
|
678
678
|
body=body,
|
|
679
679
|
query_params=query_params,
|
|
@@ -597,7 +597,7 @@ class GetUserAccountOrderDetail(BaseApi):
|
|
|
597
597
|
ApiResponseFor200,
|
|
598
598
|
api_client.ApiResponseWithoutDeserialization,
|
|
599
599
|
]:
|
|
600
|
-
""" Returns the detail of a single order using the external order ID provided in the request body. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint. """
|
|
600
|
+
""" Returns the detail of a single order using the external order ID provided in the request body. This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint. """
|
|
601
601
|
args = self._get_user_account_order_detail_mapped_args(
|
|
602
602
|
body=body,
|
|
603
603
|
query_params=query_params,
|
|
@@ -660,7 +660,7 @@ class ApiForpost(BaseApi):
|
|
|
660
660
|
ApiResponseFor200,
|
|
661
661
|
api_client.ApiResponseWithoutDeserialization,
|
|
662
662
|
]:
|
|
663
|
-
""" Returns the detail of a single order using the external order ID provided in the request body. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint. """
|
|
663
|
+
""" Returns the detail of a single order using the external order ID provided in the request body. This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future. This endpoint is always realtime and does not rely on cached data. This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint. """
|
|
664
664
|
args = self._get_user_account_order_detail_mapped_args(
|
|
665
665
|
body=body,
|
|
666
666
|
query_params=query_params,
|
|
@@ -488,7 +488,7 @@ class GetUserAccountRecentOrders(BaseApi):
|
|
|
488
488
|
ApiResponseFor200,
|
|
489
489
|
api_client.ApiResponseWithoutDeserialization,
|
|
490
490
|
]:
|
|
491
|
-
""" A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false **
|
|
491
|
+
""" A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** """
|
|
492
492
|
args = self._get_user_account_recent_orders_mapped_args(
|
|
493
493
|
query_params=query_params,
|
|
494
494
|
path_params=path_params,
|
|
@@ -545,7 +545,7 @@ class ApiForget(BaseApi):
|
|
|
545
545
|
ApiResponseFor200,
|
|
546
546
|
api_client.ApiResponseWithoutDeserialization,
|
|
547
547
|
]:
|
|
548
|
-
""" A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false **
|
|
548
|
+
""" A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** """
|
|
549
549
|
args = self._get_user_account_recent_orders_mapped_args(
|
|
550
550
|
query_params=query_params,
|
|
551
551
|
path_params=path_params,
|
|
@@ -476,7 +476,7 @@ class GetUserAccountRecentOrders(BaseApi):
|
|
|
476
476
|
ApiResponseFor200,
|
|
477
477
|
api_client.ApiResponseWithoutDeserialization,
|
|
478
478
|
]:
|
|
479
|
-
""" A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false **
|
|
479
|
+
""" A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** """
|
|
480
480
|
args = self._get_user_account_recent_orders_mapped_args(
|
|
481
481
|
query_params=query_params,
|
|
482
482
|
path_params=path_params,
|
|
@@ -533,7 +533,7 @@ class ApiForget(BaseApi):
|
|
|
533
533
|
ApiResponseFor200,
|
|
534
534
|
api_client.ApiResponseWithoutDeserialization,
|
|
535
535
|
]:
|
|
536
|
-
""" A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false **
|
|
536
|
+
""" A lightweight endpoint that returns a list of orders executed in the last 24 hours in the specified account. This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days By default only returns executed orders, but that can be changed by setting *only_executed* to false **Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** """
|
|
537
537
|
args = self._get_user_account_recent_orders_mapped_args(
|
|
538
538
|
query_params=query_params,
|
|
539
539
|
path_params=path_params,
|
|
@@ -111,6 +111,9 @@ class SchemaForRequestBodyApplicationJson(
|
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
class MetaOapg:
|
|
114
|
+
required = {
|
|
115
|
+
"brokerage_order_id",
|
|
116
|
+
}
|
|
114
117
|
|
|
115
118
|
class properties:
|
|
116
119
|
brokerage_order_id = schemas.StrSchema
|
|
@@ -118,6 +121,8 @@ class SchemaForRequestBodyApplicationJson(
|
|
|
118
121
|
"brokerage_order_id": brokerage_order_id,
|
|
119
122
|
}
|
|
120
123
|
|
|
124
|
+
brokerage_order_id: MetaOapg.properties.brokerage_order_id
|
|
125
|
+
|
|
121
126
|
@typing.overload
|
|
122
127
|
def __getitem__(self, name: typing_extensions.Literal["brokerage_order_id"]) -> MetaOapg.properties.brokerage_order_id: ...
|
|
123
128
|
|
|
@@ -130,7 +135,7 @@ class SchemaForRequestBodyApplicationJson(
|
|
|
130
135
|
|
|
131
136
|
|
|
132
137
|
@typing.overload
|
|
133
|
-
def get_item_oapg(self, name: typing_extensions.Literal["brokerage_order_id"]) ->
|
|
138
|
+
def get_item_oapg(self, name: typing_extensions.Literal["brokerage_order_id"]) -> MetaOapg.properties.brokerage_order_id: ...
|
|
134
139
|
|
|
135
140
|
@typing.overload
|
|
136
141
|
def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
|
|
@@ -142,7 +147,7 @@ class SchemaForRequestBodyApplicationJson(
|
|
|
142
147
|
def __new__(
|
|
143
148
|
cls,
|
|
144
149
|
*args: typing.Union[dict, frozendict.frozendict, ],
|
|
145
|
-
brokerage_order_id: typing.Union[MetaOapg.properties.brokerage_order_id, str,
|
|
150
|
+
brokerage_order_id: typing.Union[MetaOapg.properties.brokerage_order_id, str, ],
|
|
146
151
|
_configuration: typing.Optional[schemas.Configuration] = None,
|
|
147
152
|
**kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
|
|
148
153
|
) -> 'SchemaForRequestBodyApplicationJson':
|
|
@@ -240,10 +245,10 @@ class BaseApi(api_client.Api):
|
|
|
240
245
|
def _cancel_order_mapped_args(
|
|
241
246
|
self,
|
|
242
247
|
body: typing.Optional[typing.Any] = None,
|
|
248
|
+
brokerage_order_id: typing.Optional[str] = None,
|
|
243
249
|
user_id: typing.Optional[str] = None,
|
|
244
250
|
user_secret: typing.Optional[str] = None,
|
|
245
251
|
account_id: typing.Optional[str] = None,
|
|
246
|
-
brokerage_order_id: typing.Optional[str] = None,
|
|
247
252
|
query_params: typing.Optional[dict] = {},
|
|
248
253
|
path_params: typing.Optional[dict] = {},
|
|
249
254
|
) -> api_client.MappedArgs:
|
|
@@ -533,10 +538,10 @@ class CancelOrder(BaseApi):
|
|
|
533
538
|
async def acancel_order(
|
|
534
539
|
self,
|
|
535
540
|
body: typing.Optional[typing.Any] = None,
|
|
541
|
+
brokerage_order_id: typing.Optional[str] = None,
|
|
536
542
|
user_id: typing.Optional[str] = None,
|
|
537
543
|
user_secret: typing.Optional[str] = None,
|
|
538
544
|
account_id: typing.Optional[str] = None,
|
|
539
|
-
brokerage_order_id: typing.Optional[str] = None,
|
|
540
545
|
query_params: typing.Optional[dict] = {},
|
|
541
546
|
path_params: typing.Optional[dict] = {},
|
|
542
547
|
**kwargs,
|
|
@@ -549,10 +554,10 @@ class CancelOrder(BaseApi):
|
|
|
549
554
|
body=body,
|
|
550
555
|
query_params=query_params,
|
|
551
556
|
path_params=path_params,
|
|
557
|
+
brokerage_order_id=brokerage_order_id,
|
|
552
558
|
user_id=user_id,
|
|
553
559
|
user_secret=user_secret,
|
|
554
560
|
account_id=account_id,
|
|
555
|
-
brokerage_order_id=brokerage_order_id,
|
|
556
561
|
)
|
|
557
562
|
return await self._acancel_order_oapg(
|
|
558
563
|
body=args.body,
|
|
@@ -564,10 +569,10 @@ class CancelOrder(BaseApi):
|
|
|
564
569
|
def cancel_order(
|
|
565
570
|
self,
|
|
566
571
|
body: typing.Optional[typing.Any] = None,
|
|
572
|
+
brokerage_order_id: typing.Optional[str] = None,
|
|
567
573
|
user_id: typing.Optional[str] = None,
|
|
568
574
|
user_secret: typing.Optional[str] = None,
|
|
569
575
|
account_id: typing.Optional[str] = None,
|
|
570
|
-
brokerage_order_id: typing.Optional[str] = None,
|
|
571
576
|
query_params: typing.Optional[dict] = {},
|
|
572
577
|
path_params: typing.Optional[dict] = {},
|
|
573
578
|
) -> typing.Union[
|
|
@@ -579,10 +584,10 @@ class CancelOrder(BaseApi):
|
|
|
579
584
|
body=body,
|
|
580
585
|
query_params=query_params,
|
|
581
586
|
path_params=path_params,
|
|
587
|
+
brokerage_order_id=brokerage_order_id,
|
|
582
588
|
user_id=user_id,
|
|
583
589
|
user_secret=user_secret,
|
|
584
590
|
account_id=account_id,
|
|
585
|
-
brokerage_order_id=brokerage_order_id,
|
|
586
591
|
)
|
|
587
592
|
return self._cancel_order_oapg(
|
|
588
593
|
body=args.body,
|
|
@@ -596,10 +601,10 @@ class ApiForpost(BaseApi):
|
|
|
596
601
|
async def apost(
|
|
597
602
|
self,
|
|
598
603
|
body: typing.Optional[typing.Any] = None,
|
|
604
|
+
brokerage_order_id: typing.Optional[str] = None,
|
|
599
605
|
user_id: typing.Optional[str] = None,
|
|
600
606
|
user_secret: typing.Optional[str] = None,
|
|
601
607
|
account_id: typing.Optional[str] = None,
|
|
602
|
-
brokerage_order_id: typing.Optional[str] = None,
|
|
603
608
|
query_params: typing.Optional[dict] = {},
|
|
604
609
|
path_params: typing.Optional[dict] = {},
|
|
605
610
|
**kwargs,
|
|
@@ -612,10 +617,10 @@ class ApiForpost(BaseApi):
|
|
|
612
617
|
body=body,
|
|
613
618
|
query_params=query_params,
|
|
614
619
|
path_params=path_params,
|
|
620
|
+
brokerage_order_id=brokerage_order_id,
|
|
615
621
|
user_id=user_id,
|
|
616
622
|
user_secret=user_secret,
|
|
617
623
|
account_id=account_id,
|
|
618
|
-
brokerage_order_id=brokerage_order_id,
|
|
619
624
|
)
|
|
620
625
|
return await self._acancel_order_oapg(
|
|
621
626
|
body=args.body,
|
|
@@ -627,10 +632,10 @@ class ApiForpost(BaseApi):
|
|
|
627
632
|
def post(
|
|
628
633
|
self,
|
|
629
634
|
body: typing.Optional[typing.Any] = None,
|
|
635
|
+
brokerage_order_id: typing.Optional[str] = None,
|
|
630
636
|
user_id: typing.Optional[str] = None,
|
|
631
637
|
user_secret: typing.Optional[str] = None,
|
|
632
638
|
account_id: typing.Optional[str] = None,
|
|
633
|
-
brokerage_order_id: typing.Optional[str] = None,
|
|
634
639
|
query_params: typing.Optional[dict] = {},
|
|
635
640
|
path_params: typing.Optional[dict] = {},
|
|
636
641
|
) -> typing.Union[
|
|
@@ -642,10 +647,10 @@ class ApiForpost(BaseApi):
|
|
|
642
647
|
body=body,
|
|
643
648
|
query_params=query_params,
|
|
644
649
|
path_params=path_params,
|
|
650
|
+
brokerage_order_id=brokerage_order_id,
|
|
645
651
|
user_id=user_id,
|
|
646
652
|
user_secret=user_secret,
|
|
647
653
|
account_id=account_id,
|
|
648
|
-
brokerage_order_id=brokerage_order_id,
|
|
649
654
|
)
|
|
650
655
|
return self._cancel_order_oapg(
|
|
651
656
|
body=args.body,
|
|
@@ -109,6 +109,9 @@ class SchemaForRequestBodyApplicationJson(
|
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
class MetaOapg:
|
|
112
|
+
required = {
|
|
113
|
+
"brokerage_order_id",
|
|
114
|
+
}
|
|
112
115
|
|
|
113
116
|
class properties:
|
|
114
117
|
brokerage_order_id = schemas.StrSchema
|
|
@@ -116,6 +119,8 @@ class SchemaForRequestBodyApplicationJson(
|
|
|
116
119
|
"brokerage_order_id": brokerage_order_id,
|
|
117
120
|
}
|
|
118
121
|
|
|
122
|
+
brokerage_order_id: MetaOapg.properties.brokerage_order_id
|
|
123
|
+
|
|
119
124
|
@typing.overload
|
|
120
125
|
def __getitem__(self, name: typing_extensions.Literal["brokerage_order_id"]) -> MetaOapg.properties.brokerage_order_id: ...
|
|
121
126
|
|
|
@@ -128,7 +133,7 @@ class SchemaForRequestBodyApplicationJson(
|
|
|
128
133
|
|
|
129
134
|
|
|
130
135
|
@typing.overload
|
|
131
|
-
def get_item_oapg(self, name: typing_extensions.Literal["brokerage_order_id"]) ->
|
|
136
|
+
def get_item_oapg(self, name: typing_extensions.Literal["brokerage_order_id"]) -> MetaOapg.properties.brokerage_order_id: ...
|
|
132
137
|
|
|
133
138
|
@typing.overload
|
|
134
139
|
def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
|
|
@@ -140,7 +145,7 @@ class SchemaForRequestBodyApplicationJson(
|
|
|
140
145
|
def __new__(
|
|
141
146
|
cls,
|
|
142
147
|
*args: typing.Union[dict, frozendict.frozendict, ],
|
|
143
|
-
brokerage_order_id: typing.Union[MetaOapg.properties.brokerage_order_id, str,
|
|
148
|
+
brokerage_order_id: typing.Union[MetaOapg.properties.brokerage_order_id, str, ],
|
|
144
149
|
_configuration: typing.Optional[schemas.Configuration] = None,
|
|
145
150
|
**kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
|
|
146
151
|
) -> 'SchemaForRequestBodyApplicationJson':
|
|
@@ -228,10 +233,10 @@ class BaseApi(api_client.Api):
|
|
|
228
233
|
def _cancel_order_mapped_args(
|
|
229
234
|
self,
|
|
230
235
|
body: typing.Optional[typing.Any] = None,
|
|
236
|
+
brokerage_order_id: typing.Optional[str] = None,
|
|
231
237
|
user_id: typing.Optional[str] = None,
|
|
232
238
|
user_secret: typing.Optional[str] = None,
|
|
233
239
|
account_id: typing.Optional[str] = None,
|
|
234
|
-
brokerage_order_id: typing.Optional[str] = None,
|
|
235
240
|
query_params: typing.Optional[dict] = {},
|
|
236
241
|
path_params: typing.Optional[dict] = {},
|
|
237
242
|
) -> api_client.MappedArgs:
|
|
@@ -521,10 +526,10 @@ class CancelOrder(BaseApi):
|
|
|
521
526
|
async def acancel_order(
|
|
522
527
|
self,
|
|
523
528
|
body: typing.Optional[typing.Any] = None,
|
|
529
|
+
brokerage_order_id: typing.Optional[str] = None,
|
|
524
530
|
user_id: typing.Optional[str] = None,
|
|
525
531
|
user_secret: typing.Optional[str] = None,
|
|
526
532
|
account_id: typing.Optional[str] = None,
|
|
527
|
-
brokerage_order_id: typing.Optional[str] = None,
|
|
528
533
|
query_params: typing.Optional[dict] = {},
|
|
529
534
|
path_params: typing.Optional[dict] = {},
|
|
530
535
|
**kwargs,
|
|
@@ -537,10 +542,10 @@ class CancelOrder(BaseApi):
|
|
|
537
542
|
body=body,
|
|
538
543
|
query_params=query_params,
|
|
539
544
|
path_params=path_params,
|
|
545
|
+
brokerage_order_id=brokerage_order_id,
|
|
540
546
|
user_id=user_id,
|
|
541
547
|
user_secret=user_secret,
|
|
542
548
|
account_id=account_id,
|
|
543
|
-
brokerage_order_id=brokerage_order_id,
|
|
544
549
|
)
|
|
545
550
|
return await self._acancel_order_oapg(
|
|
546
551
|
body=args.body,
|
|
@@ -552,10 +557,10 @@ class CancelOrder(BaseApi):
|
|
|
552
557
|
def cancel_order(
|
|
553
558
|
self,
|
|
554
559
|
body: typing.Optional[typing.Any] = None,
|
|
560
|
+
brokerage_order_id: typing.Optional[str] = None,
|
|
555
561
|
user_id: typing.Optional[str] = None,
|
|
556
562
|
user_secret: typing.Optional[str] = None,
|
|
557
563
|
account_id: typing.Optional[str] = None,
|
|
558
|
-
brokerage_order_id: typing.Optional[str] = None,
|
|
559
564
|
query_params: typing.Optional[dict] = {},
|
|
560
565
|
path_params: typing.Optional[dict] = {},
|
|
561
566
|
) -> typing.Union[
|
|
@@ -567,10 +572,10 @@ class CancelOrder(BaseApi):
|
|
|
567
572
|
body=body,
|
|
568
573
|
query_params=query_params,
|
|
569
574
|
path_params=path_params,
|
|
575
|
+
brokerage_order_id=brokerage_order_id,
|
|
570
576
|
user_id=user_id,
|
|
571
577
|
user_secret=user_secret,
|
|
572
578
|
account_id=account_id,
|
|
573
|
-
brokerage_order_id=brokerage_order_id,
|
|
574
579
|
)
|
|
575
580
|
return self._cancel_order_oapg(
|
|
576
581
|
body=args.body,
|
|
@@ -584,10 +589,10 @@ class ApiForpost(BaseApi):
|
|
|
584
589
|
async def apost(
|
|
585
590
|
self,
|
|
586
591
|
body: typing.Optional[typing.Any] = None,
|
|
592
|
+
brokerage_order_id: typing.Optional[str] = None,
|
|
587
593
|
user_id: typing.Optional[str] = None,
|
|
588
594
|
user_secret: typing.Optional[str] = None,
|
|
589
595
|
account_id: typing.Optional[str] = None,
|
|
590
|
-
brokerage_order_id: typing.Optional[str] = None,
|
|
591
596
|
query_params: typing.Optional[dict] = {},
|
|
592
597
|
path_params: typing.Optional[dict] = {},
|
|
593
598
|
**kwargs,
|
|
@@ -600,10 +605,10 @@ class ApiForpost(BaseApi):
|
|
|
600
605
|
body=body,
|
|
601
606
|
query_params=query_params,
|
|
602
607
|
path_params=path_params,
|
|
608
|
+
brokerage_order_id=brokerage_order_id,
|
|
603
609
|
user_id=user_id,
|
|
604
610
|
user_secret=user_secret,
|
|
605
611
|
account_id=account_id,
|
|
606
|
-
brokerage_order_id=brokerage_order_id,
|
|
607
612
|
)
|
|
608
613
|
return await self._acancel_order_oapg(
|
|
609
614
|
body=args.body,
|
|
@@ -615,10 +620,10 @@ class ApiForpost(BaseApi):
|
|
|
615
620
|
def post(
|
|
616
621
|
self,
|
|
617
622
|
body: typing.Optional[typing.Any] = None,
|
|
623
|
+
brokerage_order_id: typing.Optional[str] = None,
|
|
618
624
|
user_id: typing.Optional[str] = None,
|
|
619
625
|
user_secret: typing.Optional[str] = None,
|
|
620
626
|
account_id: typing.Optional[str] = None,
|
|
621
|
-
brokerage_order_id: typing.Optional[str] = None,
|
|
622
627
|
query_params: typing.Optional[dict] = {},
|
|
623
628
|
path_params: typing.Optional[dict] = {},
|
|
624
629
|
) -> typing.Union[
|
|
@@ -630,10 +635,10 @@ class ApiForpost(BaseApi):
|
|
|
630
635
|
body=body,
|
|
631
636
|
query_params=query_params,
|
|
632
637
|
path_params=path_params,
|
|
638
|
+
brokerage_order_id=brokerage_order_id,
|
|
633
639
|
user_id=user_id,
|
|
634
640
|
user_secret=user_secret,
|
|
635
641
|
account_id=account_id,
|
|
636
|
-
brokerage_order_id=brokerage_order_id,
|
|
637
642
|
)
|
|
638
643
|
return self._cancel_order_oapg(
|
|
639
644
|
body=args.body,
|
|
@@ -520,7 +520,7 @@ class RefreshBrokerageAuthorization(BaseApi):
|
|
|
520
520
|
ApiResponseFor200,
|
|
521
521
|
api_client.ApiResponseWithoutDeserialization,
|
|
522
522
|
]:
|
|
523
|
-
""" Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, each call to this endpoint incurs
|
|
523
|
+
""" Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Please contact support before use. Because of the cost of refreshing a connection, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** """
|
|
524
524
|
args = self._refresh_brokerage_authorization_mapped_args(
|
|
525
525
|
query_params=query_params,
|
|
526
526
|
path_params=path_params,
|
|
@@ -573,7 +573,7 @@ class ApiForpost(BaseApi):
|
|
|
573
573
|
ApiResponseFor200,
|
|
574
574
|
api_client.ApiResponseWithoutDeserialization,
|
|
575
575
|
]:
|
|
576
|
-
""" Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, each call to this endpoint incurs
|
|
576
|
+
""" Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Please contact support before use. Because of the cost of refreshing a connection, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** """
|
|
577
577
|
args = self._refresh_brokerage_authorization_mapped_args(
|
|
578
578
|
query_params=query_params,
|
|
579
579
|
path_params=path_params,
|
|
@@ -506,7 +506,7 @@ class RefreshBrokerageAuthorization(BaseApi):
|
|
|
506
506
|
ApiResponseFor200,
|
|
507
507
|
api_client.ApiResponseWithoutDeserialization,
|
|
508
508
|
]:
|
|
509
|
-
""" Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, each call to this endpoint incurs
|
|
509
|
+
""" Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Please contact support before use. Because of the cost of refreshing a connection, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** """
|
|
510
510
|
args = self._refresh_brokerage_authorization_mapped_args(
|
|
511
511
|
query_params=query_params,
|
|
512
512
|
path_params=path_params,
|
|
@@ -559,7 +559,7 @@ class ApiForpost(BaseApi):
|
|
|
559
559
|
ApiResponseFor200,
|
|
560
560
|
api_client.ApiResponseWithoutDeserialization,
|
|
561
561
|
]:
|
|
562
|
-
""" Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Because of the cost of refreshing a connection, each call to this endpoint incurs
|
|
562
|
+
""" Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection. This endpoint will also trigger a transaction sync for the past day if one has not yet occurred. **Please contact support before use. Because of the cost of refreshing a connection, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)** """
|
|
563
563
|
args = self._refresh_brokerage_authorization_mapped_args(
|
|
564
564
|
query_params=query_params,
|
|
565
565
|
path_params=path_params,
|
{snaptrade_python_sdk-11.0.130.dist-info → snaptrade_python_sdk-11.0.132.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: snaptrade-python-sdk
|
|
3
|
-
Version: 11.0.
|
|
3
|
+
Version: 11.0.132
|
|
4
4
|
Summary: Client for SnapTrade
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: SnapTrade
|
|
@@ -30,7 +30,7 @@ Description-Content-Type: text/markdown
|
|
|
30
30
|
Connect brokerage accounts to your app for live positions and trading
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
[](https://pypi.org/project/snaptrade-python-sdk/11.0.132)
|
|
34
34
|
[](https://github.com/passiv/snaptrade-sdks/tree/master/sdks/python#readme)
|
|
35
35
|
[](https://snaptrade.com/)
|
|
36
36
|
|
|
@@ -109,7 +109,7 @@ Python >=3.8
|
|
|
109
109
|
## Installation<a id="installation"></a>
|
|
110
110
|
|
|
111
111
|
```sh
|
|
112
|
-
pip install snaptrade-python-sdk==11.0.
|
|
112
|
+
pip install snaptrade-python-sdk==11.0.132
|
|
113
113
|
```
|
|
114
114
|
|
|
115
115
|
## Getting Started<a id="getting-started"></a>
|
|
@@ -403,6 +403,8 @@ get_user_account_details_response = (
|
|
|
403
403
|
|
|
404
404
|
Returns the detail of a single order using the external order ID provided in the request body.
|
|
405
405
|
|
|
406
|
+
This endpoint only works for single-leg orders at this time. Support for multi-leg orders will be added in the future.
|
|
407
|
+
|
|
406
408
|
This endpoint is always realtime and does not rely on cached data.
|
|
407
409
|
|
|
408
410
|
This endpoint only returns orders placed through SnapTrade. In other words, orders placed outside of the SnapTrade network are not returned by this endpoint.
|
|
@@ -542,7 +544,7 @@ A lightweight endpoint that returns a list of orders executed in the last 24 hou
|
|
|
542
544
|
This endpoint is realtime and can be used to quickly check if account state has recently changed due to an execution, or check status of recently placed orders
|
|
543
545
|
Differs from /orders in that it is realtime, and only checks the last 24 hours as opposed to the last 30 days
|
|
544
546
|
By default only returns executed orders, but that can be changed by setting *only_executed* to false
|
|
545
|
-
**
|
|
547
|
+
**Because of the cost of realtime requests, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
|
|
546
548
|
|
|
547
549
|
|
|
548
550
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
@@ -1056,7 +1058,7 @@ list_brokerage_authorizations_response = (
|
|
|
1056
1058
|
Trigger a holdings update for all accounts under this connection. Updates will be queued asynchronously. [`ACCOUNT_HOLDINGS_UPDATED` webhook](/docs/webhooks#webhooks-account_holdings_updated) will be sent once the sync completes for each account under the connection.
|
|
1057
1059
|
This endpoint will also trigger a transaction sync for the past day if one has not yet occurred.
|
|
1058
1060
|
|
|
1059
|
-
**Because of the cost of refreshing a connection, each call to this endpoint incurs
|
|
1061
|
+
**Please contact support before use. Because of the cost of refreshing a connection, each call to this endpoint incurs an additional charge. You can find the exact cost for your API key on the [Customer Dashboard billing page](https://dashboard.snaptrade.com/settings/billing)**
|
|
1060
1062
|
|
|
1061
1063
|
|
|
1062
1064
|
#### 🛠️ Usage<a id="🛠️-usage"></a>
|
|
@@ -1619,25 +1621,25 @@ Cancels an order in the specified account. Accepts order IDs for all asset types
|
|
|
1619
1621
|
|
|
1620
1622
|
```python
|
|
1621
1623
|
cancel_order_response = snaptrade.trading.cancel_order(
|
|
1624
|
+
brokerage_order_id="66a033fa-da74-4fcf-b527-feefdec9257e",
|
|
1622
1625
|
user_id="snaptrade-user-123",
|
|
1623
1626
|
user_secret="adf2aa34-8219-40f7-a6b3-60156985cc61",
|
|
1624
1627
|
account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
1625
|
-
brokerage_order_id="66a033fa-da74-4fcf-b527-feefdec9257e",
|
|
1626
1628
|
)
|
|
1627
1629
|
```
|
|
1628
1630
|
|
|
1629
1631
|
#### ⚙️ Parameters<a id="⚙️-parameters"></a>
|
|
1630
1632
|
|
|
1633
|
+
##### brokerage_order_id: `str`<a id="brokerage_order_id-str"></a>
|
|
1634
|
+
|
|
1635
|
+
Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
|
|
1636
|
+
|
|
1631
1637
|
##### user_id: `str`<a id="user_id-str"></a>
|
|
1632
1638
|
|
|
1633
1639
|
##### user_secret: `str`<a id="user_secret-str"></a>
|
|
1634
1640
|
|
|
1635
1641
|
##### account_id: `str`<a id="account_id-str"></a>
|
|
1636
1642
|
|
|
1637
|
-
##### brokerage_order_id: `str`<a id="brokerage_order_id-str"></a>
|
|
1638
|
-
|
|
1639
|
-
Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
|
|
1640
|
-
|
|
1641
1643
|
#### ⚙️ Request Body<a id="⚙️-request-body"></a>
|
|
1642
1644
|
|
|
1643
1645
|
[`Any`](./snaptrade_client/type/typing_any.py)
|
|
@@ -1664,25 +1666,25 @@ Attempts to cancel an open order with the brokerage. If the order is no longer c
|
|
|
1664
1666
|
|
|
1665
1667
|
```python
|
|
1666
1668
|
cancel_user_account_order_response = snaptrade.trading.cancel_user_account_order(
|
|
1669
|
+
brokerage_order_id="66a033fa-da74-4fcf-b527-feefdec9257e",
|
|
1667
1670
|
user_id="snaptrade-user-123",
|
|
1668
1671
|
user_secret="adf2aa34-8219-40f7-a6b3-60156985cc61",
|
|
1669
1672
|
account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
1670
|
-
brokerage_order_id="66a033fa-da74-4fcf-b527-feefdec9257e",
|
|
1671
1673
|
)
|
|
1672
1674
|
```
|
|
1673
1675
|
|
|
1674
1676
|
#### ⚙️ Parameters<a id="⚙️-parameters"></a>
|
|
1675
1677
|
|
|
1678
|
+
##### brokerage_order_id: `str`<a id="brokerage_order_id-str"></a>
|
|
1679
|
+
|
|
1680
|
+
Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
|
|
1681
|
+
|
|
1676
1682
|
##### user_id: `str`<a id="user_id-str"></a>
|
|
1677
1683
|
|
|
1678
1684
|
##### user_secret: `str`<a id="user_secret-str"></a>
|
|
1679
1685
|
|
|
1680
1686
|
##### account_id: `str`<a id="account_id-str"></a>
|
|
1681
1687
|
|
|
1682
|
-
##### brokerage_order_id: `str`<a id="brokerage_order_id-str"></a>
|
|
1683
|
-
|
|
1684
|
-
Order ID returned by brokerage. This is the unique identifier for the order in the brokerage system.
|
|
1685
|
-
|
|
1686
1688
|
#### ⚙️ Request Body<a id="⚙️-request-body"></a>
|
|
1687
1689
|
|
|
1688
1690
|
[`Any`](./snaptrade_client/type/typing_any.py)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
snaptrade_client/__init__.py,sha256=
|
|
2
|
-
snaptrade_client/api_client.py,sha256=
|
|
1
|
+
snaptrade_client/__init__.py,sha256=o5kWDgQohHOYNAkyPLllKT9y-JVoQh__10EviDwVYXk,820
|
|
2
|
+
snaptrade_client/api_client.py,sha256=WCxhvUcsEDTMdCIXyGkRzNjNf82FRWQwPNcz32n3xMo,73975
|
|
3
3
|
snaptrade_client/api_response.py,sha256=mZn18p_TNr6OY0HXTZW5InL9iXfqsJWstYGeGD-euPA,663
|
|
4
4
|
snaptrade_client/apis/__init__.py,sha256=RTosXhMn41tMsKPUjIy-VK-_efOWzhkKiuGggJ3A6E0,214
|
|
5
5
|
snaptrade_client/apis/path_to_api.py,sha256=4kldxcVXHcyd6XM8UFe7zlFSHj02tf9s3TFXDZwfEHY,12312
|
|
@@ -77,7 +77,7 @@ snaptrade_client/apis/tags/transactions_and_reporting_api_generated.py,sha256=Tw
|
|
|
77
77
|
snaptrade_client/client.py,sha256=goDwWRv9909OPXDnGGYst_mr53bg6RUs4PwIvnrl_kE,2116
|
|
78
78
|
snaptrade_client/client.pyi,sha256=goDwWRv9909OPXDnGGYst_mr53bg6RUs4PwIvnrl_kE,2116
|
|
79
79
|
snaptrade_client/client_custom.py,sha256=Jx9ulCzelMFlESjzVFQSjBlYcH4dWxSJJWZDMPLyetM,745
|
|
80
|
-
snaptrade_client/configuration.py,sha256=
|
|
80
|
+
snaptrade_client/configuration.py,sha256=oZKxptS8Hv2j1M7Z6UYK6cxYioEOc2Gxn-jV_ZzTiOQ,19262
|
|
81
81
|
snaptrade_client/exceptions.py,sha256=X0apI_sgQpGpa-qIqPUClReCdHAxeSuA6GW0YH_RsWg,7771
|
|
82
82
|
snaptrade_client/exceptions_base.py,sha256=LAQkaC5C61-SdBLfyMjb0K7AYJkWVuLmg2uCvHa71FM,2274
|
|
83
83
|
snaptrade_client/model/__init__.py,sha256=ayi2MIzcf0eAIsY13ToiNplV9tW-pMBFrC0I9yckGM8,350
|
|
@@ -359,8 +359,8 @@ snaptrade_client/model/snap_trade_register_user_request_body.py,sha256=dE4FNlnhJ
|
|
|
359
359
|
snaptrade_client/model/snap_trade_register_user_request_body.pyi,sha256=dE4FNlnhJ5rFt-p2OXn3KX_e_RoeCbdfhUpozfMyo5A,2483
|
|
360
360
|
snaptrade_client/model/status.py,sha256=JYOXSzF4Qo2EgPcdrZtKKkepgsTAtJ3IGLHEGNgxISY,3639
|
|
361
361
|
snaptrade_client/model/status.pyi,sha256=JYOXSzF4Qo2EgPcdrZtKKkepgsTAtJ3IGLHEGNgxISY,3639
|
|
362
|
-
snaptrade_client/model/stop_loss.py,sha256=
|
|
363
|
-
snaptrade_client/model/stop_loss.pyi,sha256=
|
|
362
|
+
snaptrade_client/model/stop_loss.py,sha256=nX2Bs1fMHfL6SmpGRzVBi5n6kJKjC6Er50hvHnAZWqM,3822
|
|
363
|
+
snaptrade_client/model/stop_loss.pyi,sha256=nX2Bs1fMHfL6SmpGRzVBi5n6kJKjC6Er50hvHnAZWqM,3822
|
|
364
364
|
snaptrade_client/model/strategy_order_record.py,sha256=2JCOZPwpccFPxsjpt6AbCxbbHBcBCw2yCVASmSVpHpg,13018
|
|
365
365
|
snaptrade_client/model/strategy_order_record.pyi,sha256=gVK4kHvv1ilyGL1jCbAzTPPjrA5Qyuvnnun01j_gkbA,11913
|
|
366
366
|
snaptrade_client/model/strategy_quotes.py,sha256=nTdKqe83P-c0sI_-iohSOJVELdNXxak8IOos6vMhRvo,5802
|
|
@@ -381,8 +381,8 @@ snaptrade_client/model/sync_status_date.py,sha256=aP9HMnB7FY1S9PP8eAu8btHrvYzCYT
|
|
|
381
381
|
snaptrade_client/model/sync_status_date.pyi,sha256=aP9HMnB7FY1S9PP8eAu8btHrvYzCYT929Pp5DKQtmIE,1174
|
|
382
382
|
snaptrade_client/model/sync_status_date_nullable.py,sha256=Efcqzw8S9hTFICjB8a1PS2QovsQ7zD-0jlJQBBUsMUM,1190
|
|
383
383
|
snaptrade_client/model/sync_status_date_nullable.pyi,sha256=Efcqzw8S9hTFICjB8a1PS2QovsQ7zD-0jlJQBBUsMUM,1190
|
|
384
|
-
snaptrade_client/model/take_profit.py,sha256=
|
|
385
|
-
snaptrade_client/model/take_profit.pyi,sha256=
|
|
384
|
+
snaptrade_client/model/take_profit.py,sha256=eXjtbawnZuQ1V8FRbqig53AyCFJ0D5Btn8ePtkk7qfs,2549
|
|
385
|
+
snaptrade_client/model/take_profit.pyi,sha256=eXjtbawnZuQ1V8FRbqig53AyCFJ0D5Btn8ePtkk7qfs,2549
|
|
386
386
|
snaptrade_client/model/time.py,sha256=58s0Oa7JJlLggclsNgVf7ZaWEjf2-3Ok1PeE-yJPEJI,594
|
|
387
387
|
snaptrade_client/model/time.pyi,sha256=58s0Oa7JJlLggclsNgVf7ZaWEjf2-3Ok1PeE-yJPEJI,594
|
|
388
388
|
snaptrade_client/model/time_in_force.py,sha256=xC86IP-JT8OoOkSpV6I3CKY92hDj8faHDUoxTCWsrk8,601
|
|
@@ -422,7 +422,7 @@ snaptrade_client/model/user_secret.pyi,sha256=7xf__S566WtTq7VthmdVtrCBIfgpnYWYqE
|
|
|
422
422
|
snaptrade_client/model/validated_trade_body.py,sha256=NkTel1ulgSjBd6K7vur6puEbfrg3u1vdmtUKArOu8ws,3085
|
|
423
423
|
snaptrade_client/model/validated_trade_body.pyi,sha256=NkTel1ulgSjBd6K7vur6puEbfrg3u1vdmtUKArOu8ws,3085
|
|
424
424
|
snaptrade_client/models/__init__.py,sha256=nEO5bHCM19h-AQp0rl6XNHrTZ4Aw4ffqVOPRYOPOr_I,13312
|
|
425
|
-
snaptrade_client/operation_parameter_map.py,sha256=
|
|
425
|
+
snaptrade_client/operation_parameter_map.py,sha256=n35G4jXzlNLQcHzwTZrV8joNljLBN9hE9pbLWsNI0U0,18239
|
|
426
426
|
snaptrade_client/paths/__init__.py,sha256=_AIs8vbi_zgRHbgZ2k64V6waRP3RiZuyL4nRaZbpLMY,3519
|
|
427
427
|
snaptrade_client/paths/accounts/__init__.py,sha256=_Bqi6B13A-kgd0AOpqmcE1vTxJDfoz-r3Hwf-AmwW6A,307
|
|
428
428
|
snaptrade_client/paths/accounts/get.py,sha256=MDE_4VCylBroYDkMQe9II1qCGf6gTTDGCShFyGLXf00,16463
|
|
@@ -451,11 +451,11 @@ snaptrade_client/paths/accounts_account_id_orders/__init__.py,sha256=zHuTi8F_iUe
|
|
|
451
451
|
snaptrade_client/paths/accounts_account_id_orders/get.py,sha256=G995P3DYTYjlbOmqO1iyJSPjtO6KmFUOfGCBaozjeUU,21877
|
|
452
452
|
snaptrade_client/paths/accounts_account_id_orders/get.pyi,sha256=N23jjsdpQiilZqFXOF5Gj31PLdOXqEpKytqUwiB_AiI,21462
|
|
453
453
|
snaptrade_client/paths/accounts_account_id_orders_cancel/__init__.py,sha256=UIeHlsXhxZyqf4ADkLxYxJUH6ChCcSkpeML1XWjxGdI,357
|
|
454
|
-
snaptrade_client/paths/accounts_account_id_orders_cancel/post.py,sha256=
|
|
455
|
-
snaptrade_client/paths/accounts_account_id_orders_cancel/post.pyi,sha256=
|
|
454
|
+
snaptrade_client/paths/accounts_account_id_orders_cancel/post.py,sha256=sPmESQzGN6Y_ah1zE9JqB5f8SucQUeQnJYSsIOhCgCg,24634
|
|
455
|
+
snaptrade_client/paths/accounts_account_id_orders_cancel/post.pyi,sha256=7rGmssodCjE7gL93TszNkejW8aPyQuoMehuPecNUpbE,24410
|
|
456
456
|
snaptrade_client/paths/accounts_account_id_orders_details/__init__.py,sha256=6PWLMs5Y6WxEM5h99FQSSpvq7Btg4dfrgMkWk3mhBYo,359
|
|
457
|
-
snaptrade_client/paths/accounts_account_id_orders_details/post.py,sha256=
|
|
458
|
-
snaptrade_client/paths/accounts_account_id_orders_details/post.pyi,sha256=
|
|
457
|
+
snaptrade_client/paths/accounts_account_id_orders_details/post.py,sha256=sKlgBkbf_3AYG1i-Te5DNON5B74Lp_I7tMNYzT0gwiI,25690
|
|
458
|
+
snaptrade_client/paths/accounts_account_id_orders_details/post.pyi,sha256=UDhFYZKTQJ47rIh37A2cbiVVwmNjJbDZaOJ9Y5pwEx4,25436
|
|
459
459
|
snaptrade_client/paths/accounts_account_id_positions/__init__.py,sha256=UB-B0t2OnlP8QvI9ptBNhqYsywmYsFZz9G8NJkVZBTM,349
|
|
460
460
|
snaptrade_client/paths/accounts_account_id_positions/get.py,sha256=mT1qThSd9z8ggJa0uXGdWA_N8cs0NH_ijLRsPIVnuWY,20204
|
|
461
461
|
snaptrade_client/paths/accounts_account_id_positions/get.pyi,sha256=wHZruGOsjMfVd6GW3qB8jPhMQNfr2dP4TbB71taNUVk,20002
|
|
@@ -463,8 +463,8 @@ snaptrade_client/paths/accounts_account_id_quotes/__init__.py,sha256=_EWd0irMSNi
|
|
|
463
463
|
snaptrade_client/paths/accounts_account_id_quotes/get.py,sha256=JADR5PB0JVGiRBwWaKhRj4w4BlRMu96p6WPEvVVivE0,20735
|
|
464
464
|
snaptrade_client/paths/accounts_account_id_quotes/get.pyi,sha256=xsIXCJCcHZ8aCS-ammQ75NSiPP1HJdyf4IExstlmysk,20541
|
|
465
465
|
snaptrade_client/paths/accounts_account_id_recent_orders/__init__.py,sha256=9ZDFg99fFJZ_6RAxHQkzGxuUu5HjiU25zdIc3huER-c,357
|
|
466
|
-
snaptrade_client/paths/accounts_account_id_recent_orders/get.py,sha256=
|
|
467
|
-
snaptrade_client/paths/accounts_account_id_recent_orders/get.pyi,sha256=
|
|
466
|
+
snaptrade_client/paths/accounts_account_id_recent_orders/get.py,sha256=84L0viTmOUCXL0N5HjYNpvdTtOLeAbvTb7GaBMR3AOM,21657
|
|
467
|
+
snaptrade_client/paths/accounts_account_id_recent_orders/get.pyi,sha256=tuVF4yvT-SuGmssaNoEI-_DzbXdC_tQC7_8Rg4UXEtY,21433
|
|
468
468
|
snaptrade_client/paths/accounts_account_id_return_rates/__init__.py,sha256=oxMvoGv1lRCOvfyU2kAcqTig8iFDZY_QJ_I-r_afYD0,355
|
|
469
469
|
snaptrade_client/paths/accounts_account_id_return_rates/get.py,sha256=ZeigsPa2MX9GU0PXo2Fto_QdQr_9Wqo4cnkkBotKkok,19616
|
|
470
470
|
snaptrade_client/paths/accounts_account_id_return_rates/get.pyi,sha256=T1v2xFhH6S96FaggQQa6jN9qAYDCyUBUmv_rizUXhZA,19392
|
|
@@ -475,8 +475,8 @@ snaptrade_client/paths/accounts_account_id_trading_bracket/__init__.py,sha256=QB
|
|
|
475
475
|
snaptrade_client/paths/accounts_account_id_trading_bracket/post.py,sha256=8ElBo2s3zq9UyL9vcQAkDoPXNejEYXVwojxFm2CDFRA,28445
|
|
476
476
|
snaptrade_client/paths/accounts_account_id_trading_bracket/post.pyi,sha256=HxHl2SLumpgimMpKRrNo6gMsjjlPfWGvupp8PvqiiCk,28191
|
|
477
477
|
snaptrade_client/paths/accounts_account_id_trading_cancel/__init__.py,sha256=MJxSaVr3G9c_q18MFEhXT13t8kAeMsXQvpmfukC4T-8,359
|
|
478
|
-
snaptrade_client/paths/accounts_account_id_trading_cancel/post.py,sha256=
|
|
479
|
-
snaptrade_client/paths/accounts_account_id_trading_cancel/post.pyi,sha256=
|
|
478
|
+
snaptrade_client/paths/accounts_account_id_trading_cancel/post.py,sha256=Ph-TuHSR34RGCPMDn31AcQ1OmaVjUhOuVa9AO5mV8r0,23404
|
|
479
|
+
snaptrade_client/paths/accounts_account_id_trading_cancel/post.pyi,sha256=BLAyPyOErz9_q0ggtkiIGY2q6hLwyg2V83VKcXLO_84,23180
|
|
480
480
|
snaptrade_client/paths/accounts_account_id_trading_crypto/__init__.py,sha256=IOixgqayXQ0USUNJUoULk_Bc0-ecDLauY8cg2nrpbpA,359
|
|
481
481
|
snaptrade_client/paths/accounts_account_id_trading_crypto/post.py,sha256=Bvz6NTV0HI6d9XpX8QBl2U9MjnNd-AP1UUJ6TAiE9_g,25931
|
|
482
482
|
snaptrade_client/paths/accounts_account_id_trading_crypto/post.pyi,sha256=YaWUa2mgFrAxp6HCAMoOkbkTCa5H0oys2tAO4mLmj5I,25707
|
|
@@ -510,8 +510,8 @@ snaptrade_client/paths/authorizations_authorization_id_disable/__init__.py,sha25
|
|
|
510
510
|
snaptrade_client/paths/authorizations_authorization_id_disable/post.py,sha256=MvCClKi8kjlh1z22Zb121gVX64fFcb6TUFZO5PYzfFk,22307
|
|
511
511
|
snaptrade_client/paths/authorizations_authorization_id_disable/post.pyi,sha256=sfD_WnNCjcP51ugfkf7oRoP6F9Gdk4HgYJTWfZAMkTU,22023
|
|
512
512
|
snaptrade_client/paths/authorizations_authorization_id_refresh/__init__.py,sha256=Yv0ig0vQjYxadUU_TEo19MralKnO0CyDG9pz47kf2iw,369
|
|
513
|
-
snaptrade_client/paths/authorizations_authorization_id_refresh/post.py,sha256=
|
|
514
|
-
snaptrade_client/paths/authorizations_authorization_id_refresh/post.pyi,sha256=
|
|
513
|
+
snaptrade_client/paths/authorizations_authorization_id_refresh/post.py,sha256=hp-0fRNNc0QacwqksbpSeZm0yAmTpeQoF0MTZjzaCBE,22605
|
|
514
|
+
snaptrade_client/paths/authorizations_authorization_id_refresh/post.pyi,sha256=CYpLr2NYm2T--y4JcacZtWCF2hmt0nSxg5wyqGRY0Wg,22321
|
|
515
515
|
snaptrade_client/paths/authorizations_authorization_id_return_rates/__init__.py,sha256=BsRP258HY68VEwqvdmNWhMsIUDwjXFesJZvURpMXrgY,379
|
|
516
516
|
snaptrade_client/paths/authorizations_authorization_id_return_rates/get.py,sha256=faV5MOuOJZ7hxKRt2GCgD4l4lGLrEdNoIyCFLNYhwns,19561
|
|
517
517
|
snaptrade_client/paths/authorizations_authorization_id_return_rates/get.pyi,sha256=maUAQtJJQrtuUg5BTzSZqvNcBb3R8BV1_WNX0SuiNsg,19337
|
|
@@ -763,7 +763,7 @@ snaptrade_client/type/user_secret.py,sha256=pKCVhqf1rROHwa6tvoyA5OAKXCBAmNDvIQCf
|
|
|
763
763
|
snaptrade_client/type/validated_trade_body.py,sha256=ZIPBQWii_a-9zHaBCJ6bQtmL1_I7AG0zwuvkY-ZQ6R4,890
|
|
764
764
|
snaptrade_client/type_util.py,sha256=JIrMYgJzd4IJ8Ne2vqcahlPA9dVmphL9sn8gwccCB4Y,563
|
|
765
765
|
snaptrade_client/validation_metadata.py,sha256=VTN5y-NudHXok1X468J4PnGze_tGEAcs1v3gsXmcrb0,3172
|
|
766
|
-
snaptrade_python_sdk-11.0.
|
|
767
|
-
snaptrade_python_sdk-11.0.
|
|
768
|
-
snaptrade_python_sdk-11.0.
|
|
769
|
-
snaptrade_python_sdk-11.0.
|
|
766
|
+
snaptrade_python_sdk-11.0.132.dist-info/LICENSE,sha256=W_1kcxEzOnZXIYJ1GVUipbmUu6dNLt-Pc-OI55h3k-A,1081
|
|
767
|
+
snaptrade_python_sdk-11.0.132.dist-info/METADATA,sha256=H8a06IDegCEnIhbG4aFoCTY0RPGyBkW1x8F_c6-0L3k,93512
|
|
768
|
+
snaptrade_python_sdk-11.0.132.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
769
|
+
snaptrade_python_sdk-11.0.132.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|