snaptrade-python-sdk 11.0.103__py3-none-any.whl → 11.0.105__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/account.py +5 -0
- snaptrade_client/model/account.pyi +5 -0
- snaptrade_client/model/mleg_price_effect_strict.py +49 -0
- snaptrade_client/model/mleg_price_effect_strict.pyi +49 -0
- snaptrade_client/model/mleg_price_effect_strict_nullable.py +49 -0
- snaptrade_client/model/mleg_price_effect_strict_nullable.pyi +49 -0
- snaptrade_client/model/mleg_trade_form.py +16 -2
- snaptrade_client/model/mleg_trade_form.pyi +16 -2
- snaptrade_client/models/__init__.py +2 -0
- snaptrade_client/operation_parameter_map.py +3 -0
- snaptrade_client/paths/accounts_account_id_trading_options/post.py +13 -0
- snaptrade_client/paths/accounts_account_id_trading_options/post.pyi +13 -0
- snaptrade_client/type/account.py +1 -1
- snaptrade_client/type/mleg_price_effect_strict.py +19 -0
- snaptrade_client/type/mleg_price_effect_strict_nullable.py +19 -0
- snaptrade_client/type/mleg_trade_form.py +3 -0
- {snaptrade_python_sdk-11.0.103.dist-info → snaptrade_python_sdk-11.0.105.dist-info}/METADATA +6 -3
- {snaptrade_python_sdk-11.0.103.dist-info → snaptrade_python_sdk-11.0.105.dist-info}/RECORD +23 -17
- {snaptrade_python_sdk-11.0.103.dist-info → snaptrade_python_sdk-11.0.105.dist-info}/LICENSE +0 -0
- {snaptrade_python_sdk-11.0.103.dist-info → snaptrade_python_sdk-11.0.105.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.105/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.105".\
|
|
442
442
|
format(env=sys.platform, pyversion=sys.version)
|
|
443
443
|
|
|
444
444
|
def get_host_settings(self):
|
|
@@ -131,6 +131,7 @@ class Account(
|
|
|
131
131
|
enum_value_to_name = {
|
|
132
132
|
"open": "OPEN",
|
|
133
133
|
"closed": "CLOSED",
|
|
134
|
+
"archived": "ARCHIVED",
|
|
134
135
|
}
|
|
135
136
|
|
|
136
137
|
@schemas.classproperty
|
|
@@ -140,6 +141,10 @@ class Account(
|
|
|
140
141
|
@schemas.classproperty
|
|
141
142
|
def CLOSED(cls):
|
|
142
143
|
return cls("closed")
|
|
144
|
+
|
|
145
|
+
@schemas.classproperty
|
|
146
|
+
def ARCHIVED(cls):
|
|
147
|
+
return cls("archived")
|
|
143
148
|
|
|
144
149
|
|
|
145
150
|
def __new__(
|
|
@@ -131,6 +131,7 @@ class Account(
|
|
|
131
131
|
enum_value_to_name = {
|
|
132
132
|
"open": "OPEN",
|
|
133
133
|
"closed": "CLOSED",
|
|
134
|
+
"archived": "ARCHIVED",
|
|
134
135
|
}
|
|
135
136
|
|
|
136
137
|
@schemas.classproperty
|
|
@@ -140,6 +141,10 @@ class Account(
|
|
|
140
141
|
@schemas.classproperty
|
|
141
142
|
def CLOSED(cls):
|
|
142
143
|
return cls("closed")
|
|
144
|
+
|
|
145
|
+
@schemas.classproperty
|
|
146
|
+
def ARCHIVED(cls):
|
|
147
|
+
return cls("archived")
|
|
143
148
|
|
|
144
149
|
|
|
145
150
|
def __new__(
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
SnapTrade
|
|
5
|
+
|
|
6
|
+
Connect brokerage accounts to your app for live positions and trading
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Contact: api@snaptrade.com
|
|
10
|
+
Created by: https://snaptrade.com/
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from datetime import date, datetime # noqa: F401
|
|
14
|
+
import decimal # noqa: F401
|
|
15
|
+
import functools # noqa: F401
|
|
16
|
+
import io # noqa: F401
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import typing # noqa: F401
|
|
19
|
+
import typing_extensions # noqa: F401
|
|
20
|
+
import uuid # noqa: F401
|
|
21
|
+
|
|
22
|
+
import frozendict # noqa: F401
|
|
23
|
+
|
|
24
|
+
from snaptrade_client import schemas # noqa: F401
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class MlegPriceEffectStrict(
|
|
28
|
+
schemas.StrBase,
|
|
29
|
+
schemas.NoneBase,
|
|
30
|
+
schemas.Schema,
|
|
31
|
+
schemas.NoneStrMixin
|
|
32
|
+
):
|
|
33
|
+
"""
|
|
34
|
+
This class is auto generated by Konfig (https://konfigthis.com)
|
|
35
|
+
|
|
36
|
+
The desired price_effect for LIMIT and STOP_LOSS_LIMIT orders. Only required for certain brokerages like ETrade. - CREDIT - DEBIT
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def __new__(
|
|
41
|
+
cls,
|
|
42
|
+
*args: typing.Union[None, str, ],
|
|
43
|
+
_configuration: typing.Optional[schemas.Configuration] = None,
|
|
44
|
+
) -> 'MlegPriceEffectStrict':
|
|
45
|
+
return super().__new__(
|
|
46
|
+
cls,
|
|
47
|
+
*args,
|
|
48
|
+
_configuration=_configuration,
|
|
49
|
+
)
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
SnapTrade
|
|
5
|
+
|
|
6
|
+
Connect brokerage accounts to your app for live positions and trading
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Contact: api@snaptrade.com
|
|
10
|
+
Created by: https://snaptrade.com/
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from datetime import date, datetime # noqa: F401
|
|
14
|
+
import decimal # noqa: F401
|
|
15
|
+
import functools # noqa: F401
|
|
16
|
+
import io # noqa: F401
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import typing # noqa: F401
|
|
19
|
+
import typing_extensions # noqa: F401
|
|
20
|
+
import uuid # noqa: F401
|
|
21
|
+
|
|
22
|
+
import frozendict # noqa: F401
|
|
23
|
+
|
|
24
|
+
from snaptrade_client import schemas # noqa: F401
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class MlegPriceEffectStrict(
|
|
28
|
+
schemas.StrBase,
|
|
29
|
+
schemas.NoneBase,
|
|
30
|
+
schemas.Schema,
|
|
31
|
+
schemas.NoneStrMixin
|
|
32
|
+
):
|
|
33
|
+
"""
|
|
34
|
+
This class is auto generated by Konfig (https://konfigthis.com)
|
|
35
|
+
|
|
36
|
+
The desired price_effect for LIMIT and STOP_LOSS_LIMIT orders. Only required for certain brokerages like ETrade. - CREDIT - DEBIT
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def __new__(
|
|
41
|
+
cls,
|
|
42
|
+
*args: typing.Union[None, str, ],
|
|
43
|
+
_configuration: typing.Optional[schemas.Configuration] = None,
|
|
44
|
+
) -> 'MlegPriceEffectStrict':
|
|
45
|
+
return super().__new__(
|
|
46
|
+
cls,
|
|
47
|
+
*args,
|
|
48
|
+
_configuration=_configuration,
|
|
49
|
+
)
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
SnapTrade
|
|
5
|
+
|
|
6
|
+
Connect brokerage accounts to your app for live positions and trading
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Contact: api@snaptrade.com
|
|
10
|
+
Created by: https://snaptrade.com/
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from datetime import date, datetime # noqa: F401
|
|
14
|
+
import decimal # noqa: F401
|
|
15
|
+
import functools # noqa: F401
|
|
16
|
+
import io # noqa: F401
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import typing # noqa: F401
|
|
19
|
+
import typing_extensions # noqa: F401
|
|
20
|
+
import uuid # noqa: F401
|
|
21
|
+
|
|
22
|
+
import frozendict # noqa: F401
|
|
23
|
+
|
|
24
|
+
from snaptrade_client import schemas # noqa: F401
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class MlegPriceEffectStrictNullable(
|
|
28
|
+
schemas.StrBase,
|
|
29
|
+
schemas.NoneBase,
|
|
30
|
+
schemas.Schema,
|
|
31
|
+
schemas.NoneStrMixin
|
|
32
|
+
):
|
|
33
|
+
"""
|
|
34
|
+
This class is auto generated by Konfig (https://konfigthis.com)
|
|
35
|
+
|
|
36
|
+
The desired price_effect for LIMIT and STOP_LOSS_LIMIT orders. Only required for certain brokerages like ETrade. - CREDIT - DEBIT
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def __new__(
|
|
41
|
+
cls,
|
|
42
|
+
*args: typing.Union[None, str, ],
|
|
43
|
+
_configuration: typing.Optional[schemas.Configuration] = None,
|
|
44
|
+
) -> 'MlegPriceEffectStrictNullable':
|
|
45
|
+
return super().__new__(
|
|
46
|
+
cls,
|
|
47
|
+
*args,
|
|
48
|
+
_configuration=_configuration,
|
|
49
|
+
)
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
SnapTrade
|
|
5
|
+
|
|
6
|
+
Connect brokerage accounts to your app for live positions and trading
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Contact: api@snaptrade.com
|
|
10
|
+
Created by: https://snaptrade.com/
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from datetime import date, datetime # noqa: F401
|
|
14
|
+
import decimal # noqa: F401
|
|
15
|
+
import functools # noqa: F401
|
|
16
|
+
import io # noqa: F401
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import typing # noqa: F401
|
|
19
|
+
import typing_extensions # noqa: F401
|
|
20
|
+
import uuid # noqa: F401
|
|
21
|
+
|
|
22
|
+
import frozendict # noqa: F401
|
|
23
|
+
|
|
24
|
+
from snaptrade_client import schemas # noqa: F401
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class MlegPriceEffectStrictNullable(
|
|
28
|
+
schemas.StrBase,
|
|
29
|
+
schemas.NoneBase,
|
|
30
|
+
schemas.Schema,
|
|
31
|
+
schemas.NoneStrMixin
|
|
32
|
+
):
|
|
33
|
+
"""
|
|
34
|
+
This class is auto generated by Konfig (https://konfigthis.com)
|
|
35
|
+
|
|
36
|
+
The desired price_effect for LIMIT and STOP_LOSS_LIMIT orders. Only required for certain brokerages like ETrade. - CREDIT - DEBIT
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def __new__(
|
|
41
|
+
cls,
|
|
42
|
+
*args: typing.Union[None, str, ],
|
|
43
|
+
_configuration: typing.Optional[schemas.Configuration] = None,
|
|
44
|
+
) -> 'MlegPriceEffectStrictNullable':
|
|
45
|
+
return super().__new__(
|
|
46
|
+
cls,
|
|
47
|
+
*args,
|
|
48
|
+
_configuration=_configuration,
|
|
49
|
+
)
|
|
@@ -124,12 +124,17 @@ class MlegTradeForm(
|
|
|
124
124
|
*args,
|
|
125
125
|
_configuration=_configuration,
|
|
126
126
|
)
|
|
127
|
+
|
|
128
|
+
@staticmethod
|
|
129
|
+
def price_effect() -> typing.Type['MlegPriceEffectStrictNullable']:
|
|
130
|
+
return MlegPriceEffectStrictNullable
|
|
127
131
|
__annotations__ = {
|
|
128
132
|
"order_type": order_type,
|
|
129
133
|
"time_in_force": time_in_force,
|
|
130
134
|
"legs": legs,
|
|
131
135
|
"limit_price": limit_price,
|
|
132
136
|
"stop_price": stop_price,
|
|
137
|
+
"price_effect": price_effect,
|
|
133
138
|
}
|
|
134
139
|
|
|
135
140
|
time_in_force: 'TimeInForceStrict'
|
|
@@ -151,10 +156,13 @@ class MlegTradeForm(
|
|
|
151
156
|
@typing.overload
|
|
152
157
|
def __getitem__(self, name: typing_extensions.Literal["stop_price"]) -> MetaOapg.properties.stop_price: ...
|
|
153
158
|
|
|
159
|
+
@typing.overload
|
|
160
|
+
def __getitem__(self, name: typing_extensions.Literal["price_effect"]) -> 'MlegPriceEffectStrictNullable': ...
|
|
161
|
+
|
|
154
162
|
@typing.overload
|
|
155
163
|
def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
|
|
156
164
|
|
|
157
|
-
def __getitem__(self, name: typing.Union[typing_extensions.Literal["order_type", "time_in_force", "legs", "limit_price", "stop_price", ], str]):
|
|
165
|
+
def __getitem__(self, name: typing.Union[typing_extensions.Literal["order_type", "time_in_force", "legs", "limit_price", "stop_price", "price_effect", ], str]):
|
|
158
166
|
# dict_instance[name] accessor
|
|
159
167
|
return super().__getitem__(name)
|
|
160
168
|
|
|
@@ -174,10 +182,13 @@ class MlegTradeForm(
|
|
|
174
182
|
@typing.overload
|
|
175
183
|
def get_item_oapg(self, name: typing_extensions.Literal["stop_price"]) -> typing.Union[MetaOapg.properties.stop_price, schemas.Unset]: ...
|
|
176
184
|
|
|
185
|
+
@typing.overload
|
|
186
|
+
def get_item_oapg(self, name: typing_extensions.Literal["price_effect"]) -> typing.Union['MlegPriceEffectStrictNullable', schemas.Unset]: ...
|
|
187
|
+
|
|
177
188
|
@typing.overload
|
|
178
189
|
def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
|
|
179
190
|
|
|
180
|
-
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["order_type", "time_in_force", "legs", "limit_price", "stop_price", ], str]):
|
|
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]):
|
|
181
192
|
return super().get_item_oapg(name)
|
|
182
193
|
|
|
183
194
|
|
|
@@ -189,6 +200,7 @@ class MlegTradeForm(
|
|
|
189
200
|
order_type: 'MlegOrderTypeStrict',
|
|
190
201
|
limit_price: typing.Union[MetaOapg.properties.limit_price, None, str, schemas.Unset] = schemas.unset,
|
|
191
202
|
stop_price: typing.Union[MetaOapg.properties.stop_price, None, str, schemas.Unset] = schemas.unset,
|
|
203
|
+
price_effect: typing.Union['MlegPriceEffectStrictNullable', schemas.Unset] = schemas.unset,
|
|
192
204
|
_configuration: typing.Optional[schemas.Configuration] = None,
|
|
193
205
|
**kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
|
|
194
206
|
) -> 'MlegTradeForm':
|
|
@@ -200,10 +212,12 @@ class MlegTradeForm(
|
|
|
200
212
|
order_type=order_type,
|
|
201
213
|
limit_price=limit_price,
|
|
202
214
|
stop_price=stop_price,
|
|
215
|
+
price_effect=price_effect,
|
|
203
216
|
_configuration=_configuration,
|
|
204
217
|
**kwargs,
|
|
205
218
|
)
|
|
206
219
|
|
|
207
220
|
from snaptrade_client.model.mleg_leg import MlegLeg
|
|
208
221
|
from snaptrade_client.model.mleg_order_type_strict import MlegOrderTypeStrict
|
|
222
|
+
from snaptrade_client.model.mleg_price_effect_strict_nullable import MlegPriceEffectStrictNullable
|
|
209
223
|
from snaptrade_client.model.time_in_force_strict import TimeInForceStrict
|
|
@@ -124,12 +124,17 @@ class MlegTradeForm(
|
|
|
124
124
|
*args,
|
|
125
125
|
_configuration=_configuration,
|
|
126
126
|
)
|
|
127
|
+
|
|
128
|
+
@staticmethod
|
|
129
|
+
def price_effect() -> typing.Type['MlegPriceEffectStrictNullable']:
|
|
130
|
+
return MlegPriceEffectStrictNullable
|
|
127
131
|
__annotations__ = {
|
|
128
132
|
"order_type": order_type,
|
|
129
133
|
"time_in_force": time_in_force,
|
|
130
134
|
"legs": legs,
|
|
131
135
|
"limit_price": limit_price,
|
|
132
136
|
"stop_price": stop_price,
|
|
137
|
+
"price_effect": price_effect,
|
|
133
138
|
}
|
|
134
139
|
|
|
135
140
|
time_in_force: 'TimeInForceStrict'
|
|
@@ -151,10 +156,13 @@ class MlegTradeForm(
|
|
|
151
156
|
@typing.overload
|
|
152
157
|
def __getitem__(self, name: typing_extensions.Literal["stop_price"]) -> MetaOapg.properties.stop_price: ...
|
|
153
158
|
|
|
159
|
+
@typing.overload
|
|
160
|
+
def __getitem__(self, name: typing_extensions.Literal["price_effect"]) -> 'MlegPriceEffectStrictNullable': ...
|
|
161
|
+
|
|
154
162
|
@typing.overload
|
|
155
163
|
def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
|
|
156
164
|
|
|
157
|
-
def __getitem__(self, name: typing.Union[typing_extensions.Literal["order_type", "time_in_force", "legs", "limit_price", "stop_price", ], str]):
|
|
165
|
+
def __getitem__(self, name: typing.Union[typing_extensions.Literal["order_type", "time_in_force", "legs", "limit_price", "stop_price", "price_effect", ], str]):
|
|
158
166
|
# dict_instance[name] accessor
|
|
159
167
|
return super().__getitem__(name)
|
|
160
168
|
|
|
@@ -174,10 +182,13 @@ class MlegTradeForm(
|
|
|
174
182
|
@typing.overload
|
|
175
183
|
def get_item_oapg(self, name: typing_extensions.Literal["stop_price"]) -> typing.Union[MetaOapg.properties.stop_price, schemas.Unset]: ...
|
|
176
184
|
|
|
185
|
+
@typing.overload
|
|
186
|
+
def get_item_oapg(self, name: typing_extensions.Literal["price_effect"]) -> typing.Union['MlegPriceEffectStrictNullable', schemas.Unset]: ...
|
|
187
|
+
|
|
177
188
|
@typing.overload
|
|
178
189
|
def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
|
|
179
190
|
|
|
180
|
-
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["order_type", "time_in_force", "legs", "limit_price", "stop_price", ], str]):
|
|
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]):
|
|
181
192
|
return super().get_item_oapg(name)
|
|
182
193
|
|
|
183
194
|
|
|
@@ -189,6 +200,7 @@ class MlegTradeForm(
|
|
|
189
200
|
order_type: 'MlegOrderTypeStrict',
|
|
190
201
|
limit_price: typing.Union[MetaOapg.properties.limit_price, None, str, schemas.Unset] = schemas.unset,
|
|
191
202
|
stop_price: typing.Union[MetaOapg.properties.stop_price, None, str, schemas.Unset] = schemas.unset,
|
|
203
|
+
price_effect: typing.Union['MlegPriceEffectStrictNullable', schemas.Unset] = schemas.unset,
|
|
192
204
|
_configuration: typing.Optional[schemas.Configuration] = None,
|
|
193
205
|
**kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
|
|
194
206
|
) -> 'MlegTradeForm':
|
|
@@ -200,10 +212,12 @@ class MlegTradeForm(
|
|
|
200
212
|
order_type=order_type,
|
|
201
213
|
limit_price=limit_price,
|
|
202
214
|
stop_price=stop_price,
|
|
215
|
+
price_effect=price_effect,
|
|
203
216
|
_configuration=_configuration,
|
|
204
217
|
**kwargs,
|
|
205
218
|
)
|
|
206
219
|
|
|
207
220
|
from snaptrade_client.model.mleg_leg import MlegLeg
|
|
208
221
|
from snaptrade_client.model.mleg_order_type_strict import MlegOrderTypeStrict
|
|
222
|
+
from snaptrade_client.model.mleg_price_effect_strict_nullable import MlegPriceEffectStrictNullable
|
|
209
223
|
from snaptrade_client.model.time_in_force_strict import TimeInForceStrict
|
|
@@ -81,6 +81,8 @@ from snaptrade_client.model.mleg_instrument_type import MlegInstrumentType
|
|
|
81
81
|
from snaptrade_client.model.mleg_leg import MlegLeg
|
|
82
82
|
from snaptrade_client.model.mleg_order_response import MlegOrderResponse
|
|
83
83
|
from snaptrade_client.model.mleg_order_type_strict import MlegOrderTypeStrict
|
|
84
|
+
from snaptrade_client.model.mleg_price_effect_strict import MlegPriceEffectStrict
|
|
85
|
+
from snaptrade_client.model.mleg_price_effect_strict_nullable import MlegPriceEffectStrictNullable
|
|
84
86
|
from snaptrade_client.model.mleg_trade_form import MlegTradeForm
|
|
85
87
|
from snaptrade_client.model.mleg_trading_instrument import MlegTradingInstrument
|
|
86
88
|
from snaptrade_client.model.model400_failed_request_response import Model400FailedRequestResponse
|
|
@@ -33,6 +33,7 @@ import frozendict # noqa: F401
|
|
|
33
33
|
from snaptrade_client import schemas # noqa: F401
|
|
34
34
|
|
|
35
35
|
from snaptrade_client.model.model400_failed_request_response import Model400FailedRequestResponse as Model400FailedRequestResponseSchema
|
|
36
|
+
from snaptrade_client.model.mleg_price_effect_strict_nullable import MlegPriceEffectStrictNullable as MlegPriceEffectStrictNullableSchema
|
|
36
37
|
from snaptrade_client.model.mleg_leg import MlegLeg as MlegLegSchema
|
|
37
38
|
from snaptrade_client.model.mleg_order_type_strict import MlegOrderTypeStrict as MlegOrderTypeStrictSchema
|
|
38
39
|
from snaptrade_client.model.time_in_force_strict import TimeInForceStrict as TimeInForceStrictSchema
|
|
@@ -45,6 +46,7 @@ from snaptrade_client.type.mleg_order_type_strict import MlegOrderTypeStrict
|
|
|
45
46
|
from snaptrade_client.type.model400_failed_request_response import Model400FailedRequestResponse
|
|
46
47
|
from snaptrade_client.type.time_in_force_strict import TimeInForceStrict
|
|
47
48
|
from snaptrade_client.type.mleg_order_response import MlegOrderResponse
|
|
49
|
+
from snaptrade_client.type.mleg_price_effect_strict_nullable import MlegPriceEffectStrictNullable
|
|
48
50
|
|
|
49
51
|
from . import path
|
|
50
52
|
|
|
@@ -207,6 +209,7 @@ class BaseApi(api_client.Api):
|
|
|
207
209
|
account_id: typing.Optional[str] = None,
|
|
208
210
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
209
211
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
212
|
+
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
210
213
|
query_params: typing.Optional[dict] = {},
|
|
211
214
|
path_params: typing.Optional[dict] = {},
|
|
212
215
|
) -> api_client.MappedArgs:
|
|
@@ -222,6 +225,8 @@ class BaseApi(api_client.Api):
|
|
|
222
225
|
_body["limit_price"] = limit_price
|
|
223
226
|
if stop_price is not None:
|
|
224
227
|
_body["stop_price"] = stop_price
|
|
228
|
+
if price_effect is not None:
|
|
229
|
+
_body["price_effect"] = price_effect
|
|
225
230
|
if legs is not None:
|
|
226
231
|
_body["legs"] = legs
|
|
227
232
|
args.body = body if body is not None else _body
|
|
@@ -512,6 +517,7 @@ class PlaceMlegOrder(BaseApi):
|
|
|
512
517
|
account_id: typing.Optional[str] = None,
|
|
513
518
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
514
519
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
520
|
+
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
515
521
|
query_params: typing.Optional[dict] = {},
|
|
516
522
|
path_params: typing.Optional[dict] = {},
|
|
517
523
|
**kwargs,
|
|
@@ -532,6 +538,7 @@ class PlaceMlegOrder(BaseApi):
|
|
|
532
538
|
account_id=account_id,
|
|
533
539
|
limit_price=limit_price,
|
|
534
540
|
stop_price=stop_price,
|
|
541
|
+
price_effect=price_effect,
|
|
535
542
|
)
|
|
536
543
|
return await self._aplace_mleg_order_oapg(
|
|
537
544
|
body=args.body,
|
|
@@ -551,6 +558,7 @@ class PlaceMlegOrder(BaseApi):
|
|
|
551
558
|
account_id: typing.Optional[str] = None,
|
|
552
559
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
553
560
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
561
|
+
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
554
562
|
query_params: typing.Optional[dict] = {},
|
|
555
563
|
path_params: typing.Optional[dict] = {},
|
|
556
564
|
) -> typing.Union[
|
|
@@ -570,6 +578,7 @@ class PlaceMlegOrder(BaseApi):
|
|
|
570
578
|
account_id=account_id,
|
|
571
579
|
limit_price=limit_price,
|
|
572
580
|
stop_price=stop_price,
|
|
581
|
+
price_effect=price_effect,
|
|
573
582
|
)
|
|
574
583
|
return self._place_mleg_order_oapg(
|
|
575
584
|
body=args.body,
|
|
@@ -591,6 +600,7 @@ class ApiForpost(BaseApi):
|
|
|
591
600
|
account_id: typing.Optional[str] = None,
|
|
592
601
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
593
602
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
603
|
+
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
594
604
|
query_params: typing.Optional[dict] = {},
|
|
595
605
|
path_params: typing.Optional[dict] = {},
|
|
596
606
|
**kwargs,
|
|
@@ -611,6 +621,7 @@ class ApiForpost(BaseApi):
|
|
|
611
621
|
account_id=account_id,
|
|
612
622
|
limit_price=limit_price,
|
|
613
623
|
stop_price=stop_price,
|
|
624
|
+
price_effect=price_effect,
|
|
614
625
|
)
|
|
615
626
|
return await self._aplace_mleg_order_oapg(
|
|
616
627
|
body=args.body,
|
|
@@ -630,6 +641,7 @@ class ApiForpost(BaseApi):
|
|
|
630
641
|
account_id: typing.Optional[str] = None,
|
|
631
642
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
632
643
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
644
|
+
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
633
645
|
query_params: typing.Optional[dict] = {},
|
|
634
646
|
path_params: typing.Optional[dict] = {},
|
|
635
647
|
) -> typing.Union[
|
|
@@ -649,6 +661,7 @@ class ApiForpost(BaseApi):
|
|
|
649
661
|
account_id=account_id,
|
|
650
662
|
limit_price=limit_price,
|
|
651
663
|
stop_price=stop_price,
|
|
664
|
+
price_effect=price_effect,
|
|
652
665
|
)
|
|
653
666
|
return self._place_mleg_order_oapg(
|
|
654
667
|
body=args.body,
|
|
@@ -33,6 +33,7 @@ import frozendict # noqa: F401
|
|
|
33
33
|
from snaptrade_client import schemas # noqa: F401
|
|
34
34
|
|
|
35
35
|
from snaptrade_client.model.model400_failed_request_response import Model400FailedRequestResponse as Model400FailedRequestResponseSchema
|
|
36
|
+
from snaptrade_client.model.mleg_price_effect_strict_nullable import MlegPriceEffectStrictNullable as MlegPriceEffectStrictNullableSchema
|
|
36
37
|
from snaptrade_client.model.mleg_leg import MlegLeg as MlegLegSchema
|
|
37
38
|
from snaptrade_client.model.mleg_order_type_strict import MlegOrderTypeStrict as MlegOrderTypeStrictSchema
|
|
38
39
|
from snaptrade_client.model.time_in_force_strict import TimeInForceStrict as TimeInForceStrictSchema
|
|
@@ -45,6 +46,7 @@ from snaptrade_client.type.mleg_order_type_strict import MlegOrderTypeStrict
|
|
|
45
46
|
from snaptrade_client.type.model400_failed_request_response import Model400FailedRequestResponse
|
|
46
47
|
from snaptrade_client.type.time_in_force_strict import TimeInForceStrict
|
|
47
48
|
from snaptrade_client.type.mleg_order_response import MlegOrderResponse
|
|
49
|
+
from snaptrade_client.type.mleg_price_effect_strict_nullable import MlegPriceEffectStrictNullable
|
|
48
50
|
|
|
49
51
|
# Query params
|
|
50
52
|
UserIdSchema = schemas.StrSchema
|
|
@@ -195,6 +197,7 @@ class BaseApi(api_client.Api):
|
|
|
195
197
|
account_id: typing.Optional[str] = None,
|
|
196
198
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
197
199
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
200
|
+
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
198
201
|
query_params: typing.Optional[dict] = {},
|
|
199
202
|
path_params: typing.Optional[dict] = {},
|
|
200
203
|
) -> api_client.MappedArgs:
|
|
@@ -210,6 +213,8 @@ class BaseApi(api_client.Api):
|
|
|
210
213
|
_body["limit_price"] = limit_price
|
|
211
214
|
if stop_price is not None:
|
|
212
215
|
_body["stop_price"] = stop_price
|
|
216
|
+
if price_effect is not None:
|
|
217
|
+
_body["price_effect"] = price_effect
|
|
213
218
|
if legs is not None:
|
|
214
219
|
_body["legs"] = legs
|
|
215
220
|
args.body = body if body is not None else _body
|
|
@@ -500,6 +505,7 @@ class PlaceMlegOrder(BaseApi):
|
|
|
500
505
|
account_id: typing.Optional[str] = None,
|
|
501
506
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
502
507
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
508
|
+
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
503
509
|
query_params: typing.Optional[dict] = {},
|
|
504
510
|
path_params: typing.Optional[dict] = {},
|
|
505
511
|
**kwargs,
|
|
@@ -520,6 +526,7 @@ class PlaceMlegOrder(BaseApi):
|
|
|
520
526
|
account_id=account_id,
|
|
521
527
|
limit_price=limit_price,
|
|
522
528
|
stop_price=stop_price,
|
|
529
|
+
price_effect=price_effect,
|
|
523
530
|
)
|
|
524
531
|
return await self._aplace_mleg_order_oapg(
|
|
525
532
|
body=args.body,
|
|
@@ -539,6 +546,7 @@ class PlaceMlegOrder(BaseApi):
|
|
|
539
546
|
account_id: typing.Optional[str] = None,
|
|
540
547
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
541
548
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
549
|
+
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
542
550
|
query_params: typing.Optional[dict] = {},
|
|
543
551
|
path_params: typing.Optional[dict] = {},
|
|
544
552
|
) -> typing.Union[
|
|
@@ -558,6 +566,7 @@ class PlaceMlegOrder(BaseApi):
|
|
|
558
566
|
account_id=account_id,
|
|
559
567
|
limit_price=limit_price,
|
|
560
568
|
stop_price=stop_price,
|
|
569
|
+
price_effect=price_effect,
|
|
561
570
|
)
|
|
562
571
|
return self._place_mleg_order_oapg(
|
|
563
572
|
body=args.body,
|
|
@@ -579,6 +588,7 @@ class ApiForpost(BaseApi):
|
|
|
579
588
|
account_id: typing.Optional[str] = None,
|
|
580
589
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
581
590
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
591
|
+
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
582
592
|
query_params: typing.Optional[dict] = {},
|
|
583
593
|
path_params: typing.Optional[dict] = {},
|
|
584
594
|
**kwargs,
|
|
@@ -599,6 +609,7 @@ class ApiForpost(BaseApi):
|
|
|
599
609
|
account_id=account_id,
|
|
600
610
|
limit_price=limit_price,
|
|
601
611
|
stop_price=stop_price,
|
|
612
|
+
price_effect=price_effect,
|
|
602
613
|
)
|
|
603
614
|
return await self._aplace_mleg_order_oapg(
|
|
604
615
|
body=args.body,
|
|
@@ -618,6 +629,7 @@ class ApiForpost(BaseApi):
|
|
|
618
629
|
account_id: typing.Optional[str] = None,
|
|
619
630
|
limit_price: typing.Optional[typing.Optional[str]] = None,
|
|
620
631
|
stop_price: typing.Optional[typing.Optional[str]] = None,
|
|
632
|
+
price_effect: typing.Optional[MlegPriceEffectStrictNullable] = None,
|
|
621
633
|
query_params: typing.Optional[dict] = {},
|
|
622
634
|
path_params: typing.Optional[dict] = {},
|
|
623
635
|
) -> typing.Union[
|
|
@@ -637,6 +649,7 @@ class ApiForpost(BaseApi):
|
|
|
637
649
|
account_id=account_id,
|
|
638
650
|
limit_price=limit_price,
|
|
639
651
|
stop_price=stop_price,
|
|
652
|
+
price_effect=price_effect,
|
|
640
653
|
)
|
|
641
654
|
return self._place_mleg_order_oapg(
|
|
642
655
|
body=args.body,
|
snaptrade_client/type/account.py
CHANGED
|
@@ -45,7 +45,7 @@ class RequiredAccount(TypedDict):
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
class OptionalAccount(TypedDict, total=False):
|
|
48
|
-
# The current status of the account. Can be either \"open\", \"closed\", or null if the status is unknown or not provided by the brokerage.
|
|
48
|
+
# The current status of the account. Can be either \"open\", \"closed\", \"archived\" or null if the status is unknown or not provided by the brokerage.
|
|
49
49
|
status: typing.Optional[str]
|
|
50
50
|
|
|
51
51
|
# The account type as provided by the brokerage
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
SnapTrade
|
|
5
|
+
|
|
6
|
+
Connect brokerage accounts to your app for live positions and trading
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Contact: api@snaptrade.com
|
|
10
|
+
Created by: https://snaptrade.com/
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from datetime import datetime, date
|
|
14
|
+
import typing
|
|
15
|
+
from enum import Enum
|
|
16
|
+
from typing_extensions import TypedDict, Literal, TYPE_CHECKING
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
MlegPriceEffectStrict = str
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
SnapTrade
|
|
5
|
+
|
|
6
|
+
Connect brokerage accounts to your app for live positions and trading
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Contact: api@snaptrade.com
|
|
10
|
+
Created by: https://snaptrade.com/
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from datetime import datetime, date
|
|
14
|
+
import typing
|
|
15
|
+
from enum import Enum
|
|
16
|
+
from typing_extensions import TypedDict, Literal, TYPE_CHECKING
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
MlegPriceEffectStrictNullable = str
|
|
@@ -17,6 +17,7 @@ from typing_extensions import TypedDict, Literal, TYPE_CHECKING
|
|
|
17
17
|
|
|
18
18
|
from snaptrade_client.type.mleg_leg import MlegLeg
|
|
19
19
|
from snaptrade_client.type.mleg_order_type_strict import MlegOrderTypeStrict
|
|
20
|
+
from snaptrade_client.type.mleg_price_effect_strict_nullable import MlegPriceEffectStrictNullable
|
|
20
21
|
from snaptrade_client.type.time_in_force_strict import TimeInForceStrict
|
|
21
22
|
|
|
22
23
|
class RequiredMlegTradeForm(TypedDict):
|
|
@@ -34,5 +35,7 @@ class OptionalMlegTradeForm(TypedDict, total=False):
|
|
|
34
35
|
# The stop price. Required if the order type is STOP_LOSS_MARKET, STOP_LOSS_LIMIT.
|
|
35
36
|
stop_price: typing.Optional[str]
|
|
36
37
|
|
|
38
|
+
price_effect: MlegPriceEffectStrictNullable
|
|
39
|
+
|
|
37
40
|
class MlegTradeForm(RequiredMlegTradeForm, OptionalMlegTradeForm):
|
|
38
41
|
pass
|
{snaptrade_python_sdk-11.0.103.dist-info → snaptrade_python_sdk-11.0.105.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.105
|
|
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.105)
|
|
34
34
|
[](https://github.com/passiv/snaptrade-sdks/tree/master/sdks/python#readme)
|
|
35
35
|
[](https://snaptrade.com/)
|
|
36
36
|
|
|
@@ -110,7 +110,7 @@ Python >=3.8
|
|
|
110
110
|
## Installation<a id="installation"></a>
|
|
111
111
|
|
|
112
112
|
```sh
|
|
113
|
-
pip install snaptrade-python-sdk==11.0.
|
|
113
|
+
pip install snaptrade-python-sdk==11.0.105
|
|
114
114
|
```
|
|
115
115
|
|
|
116
116
|
## Getting Started<a id="getting-started"></a>
|
|
@@ -2111,6 +2111,7 @@ place_mleg_order_response = snaptrade.trading.place_mleg_order(
|
|
|
2111
2111
|
account_id="917c8734-8470-4a3e-a18f-57c3f2ee6631",
|
|
2112
2112
|
limit_price="",
|
|
2113
2113
|
stop_price="",
|
|
2114
|
+
price_effect="DEBIT",
|
|
2114
2115
|
)
|
|
2115
2116
|
```
|
|
2116
2117
|
|
|
@@ -2136,6 +2137,8 @@ The limit price. Required if the order type is LIMIT, STOP_LOSS_LIMIT.
|
|
|
2136
2137
|
|
|
2137
2138
|
The stop price. Required if the order type is STOP_LOSS_MARKET, STOP_LOSS_LIMIT.
|
|
2138
2139
|
|
|
2140
|
+
##### price_effect: [`MlegPriceEffectStrictNullable`](./snaptrade_client/type/mleg_price_effect_strict_nullable.py)<a id="price_effect-mlegpriceeffectstrictnullablesnaptrade_clienttypemleg_price_effect_strict_nullablepy"></a>
|
|
2141
|
+
|
|
2139
2142
|
#### ⚙️ Request Body<a id="⚙️-request-body"></a>
|
|
2140
2143
|
|
|
2141
2144
|
[`MlegTradeForm`](./snaptrade_client/type/mleg_trade_form.py)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
snaptrade_client/__init__.py,sha256=
|
|
2
|
-
snaptrade_client/api_client.py,sha256=
|
|
1
|
+
snaptrade_client/__init__.py,sha256=MJ8m7cij_dCfD9GhYtqJxqdgnbH6JnX7abq0hTbspLg,820
|
|
2
|
+
snaptrade_client/api_client.py,sha256=bQ4wMA0OHslADdc4iyrZgxy2M5KIBLkBSx2CHrm12KU,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=fDtFd8AqFO8oDYvdEAFTO9PrVL_qMSjlch1YRVeidlk,13189
|
|
@@ -78,12 +78,12 @@ snaptrade_client/apis/tags/transactions_and_reporting_api_generated.py,sha256=Tw
|
|
|
78
78
|
snaptrade_client/client.py,sha256=goDwWRv9909OPXDnGGYst_mr53bg6RUs4PwIvnrl_kE,2116
|
|
79
79
|
snaptrade_client/client.pyi,sha256=goDwWRv9909OPXDnGGYst_mr53bg6RUs4PwIvnrl_kE,2116
|
|
80
80
|
snaptrade_client/client_custom.py,sha256=Jx9ulCzelMFlESjzVFQSjBlYcH4dWxSJJWZDMPLyetM,745
|
|
81
|
-
snaptrade_client/configuration.py,sha256
|
|
81
|
+
snaptrade_client/configuration.py,sha256=-fu_8aMHGcHZj7xipJXC8_wIdSubO-Fdwd1RWYHX2Ds,19262
|
|
82
82
|
snaptrade_client/exceptions.py,sha256=X0apI_sgQpGpa-qIqPUClReCdHAxeSuA6GW0YH_RsWg,7771
|
|
83
83
|
snaptrade_client/exceptions_base.py,sha256=LAQkaC5C61-SdBLfyMjb0K7AYJkWVuLmg2uCvHa71FM,2274
|
|
84
84
|
snaptrade_client/model/__init__.py,sha256=ayi2MIzcf0eAIsY13ToiNplV9tW-pMBFrC0I9yckGM8,350
|
|
85
|
-
snaptrade_client/model/account.py,sha256=
|
|
86
|
-
snaptrade_client/model/account.pyi,sha256=
|
|
85
|
+
snaptrade_client/model/account.py,sha256=6J4LckV3N2mLN7_4YbusJXQJNK1CSwQfIHxCS92Mda0,14890
|
|
86
|
+
snaptrade_client/model/account.pyi,sha256=6J4LckV3N2mLN7_4YbusJXQJNK1CSwQfIHxCS92Mda0,14890
|
|
87
87
|
snaptrade_client/model/account_balance.py,sha256=ymF9edctposRKBwnaXBx1M-8n41Rcx7sF5A3keZ_LfI,5726
|
|
88
88
|
snaptrade_client/model/account_balance.pyi,sha256=ymF9edctposRKBwnaXBx1M-8n41Rcx7sF5A3keZ_LfI,5726
|
|
89
89
|
snaptrade_client/model/account_cash_restrictions.py,sha256=k23jFvKGgT18Vpw_uUfUyzcTFRdKA9fVyWxQzxXhcQk,1281
|
|
@@ -222,8 +222,12 @@ snaptrade_client/model/mleg_order_response.py,sha256=yRcsAUCW-Oj_HDC89V1pKlPD38p
|
|
|
222
222
|
snaptrade_client/model/mleg_order_response.pyi,sha256=yRcsAUCW-Oj_HDC89V1pKlPD38p8obdgU-tQ0cUqCGY,4230
|
|
223
223
|
snaptrade_client/model/mleg_order_type_strict.py,sha256=rT7CaWvf7mqS58A6yuUm0BEIfzF_RmrlH5qvTY4FqD0,1353
|
|
224
224
|
snaptrade_client/model/mleg_order_type_strict.pyi,sha256=l1oBrGrwMC1yRTxa2W5_bCSqoNdZwITqeN5gZhYAbZk,1126
|
|
225
|
-
snaptrade_client/model/
|
|
226
|
-
snaptrade_client/model/
|
|
225
|
+
snaptrade_client/model/mleg_price_effect_strict.py,sha256=BtRxZ0ZJUgTxtZtYHu7v_V9tByzQ2KqfqL1t0MNkeQ8,1210
|
|
226
|
+
snaptrade_client/model/mleg_price_effect_strict.pyi,sha256=BtRxZ0ZJUgTxtZtYHu7v_V9tByzQ2KqfqL1t0MNkeQ8,1210
|
|
227
|
+
snaptrade_client/model/mleg_price_effect_strict_nullable.py,sha256=rFlL1UVH-UboCjvfYmQ_b0xGEa2-4lUCP9B1L1CoKwg,1226
|
|
228
|
+
snaptrade_client/model/mleg_price_effect_strict_nullable.pyi,sha256=rFlL1UVH-UboCjvfYmQ_b0xGEa2-4lUCP9B1L1CoKwg,1226
|
|
229
|
+
snaptrade_client/model/mleg_trade_form.py,sha256=ZGJXdwlFRWuwu83PYK7Nrl-5s6dzyBklq1I-9mSwIYc,8056
|
|
230
|
+
snaptrade_client/model/mleg_trade_form.pyi,sha256=ZGJXdwlFRWuwu83PYK7Nrl-5s6dzyBklq1I-9mSwIYc,8056
|
|
227
231
|
snaptrade_client/model/mleg_trading_instrument.py,sha256=kmRuihu0UqhyqlZ6SvGLKDQ32X5L_vlTmE2_27VZnuw,3302
|
|
228
232
|
snaptrade_client/model/mleg_trading_instrument.pyi,sha256=kmRuihu0UqhyqlZ6SvGLKDQ32X5L_vlTmE2_27VZnuw,3302
|
|
229
233
|
snaptrade_client/model/model400_failed_request_response.py,sha256=k_tkm_kzIZzS_gxtTadce2jVq1VHkxAcDQkXrJGIgOI,3561
|
|
@@ -404,8 +408,8 @@ snaptrade_client/model/user_secret.py,sha256=7xf__S566WtTq7VthmdVtrCBIfgpnYWYqE9
|
|
|
404
408
|
snaptrade_client/model/user_secret.pyi,sha256=7xf__S566WtTq7VthmdVtrCBIfgpnYWYqE9cmz9vBMc,600
|
|
405
409
|
snaptrade_client/model/validated_trade_body.py,sha256=NkTel1ulgSjBd6K7vur6puEbfrg3u1vdmtUKArOu8ws,3085
|
|
406
410
|
snaptrade_client/model/validated_trade_body.pyi,sha256=NkTel1ulgSjBd6K7vur6puEbfrg3u1vdmtUKArOu8ws,3085
|
|
407
|
-
snaptrade_client/models/__init__.py,sha256=
|
|
408
|
-
snaptrade_client/operation_parameter_map.py,sha256=
|
|
411
|
+
snaptrade_client/models/__init__.py,sha256=I1pwuDZgpx0vWGPJmEqsldM5F9Pd101iA31xsd9S7Oo,12749
|
|
412
|
+
snaptrade_client/operation_parameter_map.py,sha256=O_ANBpVX1Bn3WgFNggL1sVZr4VuPbVJiF4YBwK_uleM,19229
|
|
409
413
|
snaptrade_client/paths/__init__.py,sha256=K056tD_Vj-bOiQnxSdL8DBksTpYdcSykFS7dUclcdR4,3811
|
|
410
414
|
snaptrade_client/paths/accounts/__init__.py,sha256=_Bqi6B13A-kgd0AOpqmcE1vTxJDfoz-r3Hwf-AmwW6A,307
|
|
411
415
|
snaptrade_client/paths/accounts/get.py,sha256=MDE_4VCylBroYDkMQe9II1qCGf6gTTDGCShFyGLXf00,16463
|
|
@@ -470,8 +474,8 @@ snaptrade_client/paths/accounts_account_id_trading_instruments_cryptocurrency_pa
|
|
|
470
474
|
snaptrade_client/paths/accounts_account_id_trading_instruments_cryptocurrency_pairs_instrument_symbol_quote/get.py,sha256=oNzuvtIHAIpoFe8L7cg6ReqjZeR4NGCOrX4MGDQ7D9A,19938
|
|
471
475
|
snaptrade_client/paths/accounts_account_id_trading_instruments_cryptocurrency_pairs_instrument_symbol_quote/get.pyi,sha256=DVoKhxO1njO4Z-f_mqdOqF1uhAn1D2jb-emqLKHp6lc,19714
|
|
472
476
|
snaptrade_client/paths/accounts_account_id_trading_options/__init__.py,sha256=W4DH_sVnEgWCOwhFuJ05O-L0iN0HNDQ3QmVhC4uTzxE,361
|
|
473
|
-
snaptrade_client/paths/accounts_account_id_trading_options/post.py,sha256=
|
|
474
|
-
snaptrade_client/paths/accounts_account_id_trading_options/post.pyi,sha256=
|
|
477
|
+
snaptrade_client/paths/accounts_account_id_trading_options/post.py,sha256=PD0GAZs1vG9ModhGRDXL72e0BVxi47iHHXMw7HrmuO0,25375
|
|
478
|
+
snaptrade_client/paths/accounts_account_id_trading_options/post.pyi,sha256=vVwgbPJYIz_qF38RBfJA3B65senCndjwCGnm_ZPNkRw,25151
|
|
475
479
|
snaptrade_client/paths/accounts_account_id_trading_simple/__init__.py,sha256=1kfuRO4L1XUyRnv-XbLhv5SrvJ4UqjzjKDfRR9EIu9Y,359
|
|
476
480
|
snaptrade_client/paths/accounts_account_id_trading_simple/post.py,sha256=Zai93YFZyIGtJ29ekg7C7zrMdcjFGkCbTYQ6EoiTQhk,25855
|
|
477
481
|
snaptrade_client/paths/accounts_account_id_trading_simple/post.pyi,sha256=0R2cRYCioI6TyibrI827Ew2AA2kiOBz54f_YykzAiz0,25631
|
|
@@ -577,7 +581,7 @@ snaptrade_client/request_before_url_hook.py,sha256=BDDHBJ5nxDTEYvlXEBmxU2OJFoh--
|
|
|
577
581
|
snaptrade_client/rest.py,sha256=lfRDJY_itGJnSc441cmmDhIqS7AtpK-YvP5TPuQBpgY,11033
|
|
578
582
|
snaptrade_client/schemas.py,sha256=PDgpxzIO5UZUoUbsY5lB9qpKu7av8n3HB5c-cEX2L0E,96080
|
|
579
583
|
snaptrade_client/type/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
580
|
-
snaptrade_client/type/account.py,sha256=
|
|
584
|
+
snaptrade_client/type/account.py,sha256=PVEvCLQk7qR9N49wEd0Z1BGqcHBpSnvXYUtTqFWF_YU,2561
|
|
581
585
|
snaptrade_client/type/account_balance.py,sha256=LMZTMiyn8wh1HqrDol68hqtlm_arHZppF2-ZQAzLIj0,832
|
|
582
586
|
snaptrade_client/type/account_cash_restrictions.py,sha256=tDIaP1SJ810Ca0XFESrl5WOMU_0RN7spfddQ8oBtmT8,414
|
|
583
587
|
snaptrade_client/type/account_holdings.py,sha256=kyntdmzWVjP3BgLz2aGKwcGI2xp7q7v0ktdMygKiYmg,1079
|
|
@@ -647,7 +651,9 @@ snaptrade_client/type/mleg_instrument_type.py,sha256=9y76B7Qiq12B_zEfuRnnUbkzc6e
|
|
|
647
651
|
snaptrade_client/type/mleg_leg.py,sha256=2H6A2ViJCvpThEjES9sU1ODG2ZczD9odzSnn9nEV-XE,886
|
|
648
652
|
snaptrade_client/type/mleg_order_response.py,sha256=H0AezvgJxJQcpUKqMmkrYPwKxh19OiBsN0ffG4u5uik,825
|
|
649
653
|
snaptrade_client/type/mleg_order_type_strict.py,sha256=H0ohzOGBhguMfcPcivR6okWmid9NKJX0rASbQPDORT4,459
|
|
650
|
-
snaptrade_client/type/
|
|
654
|
+
snaptrade_client/type/mleg_price_effect_strict.py,sha256=f4go5TacS8MlLNpkNcm1PlJQMklvXmqDxiytoSYHr1Y,399
|
|
655
|
+
snaptrade_client/type/mleg_price_effect_strict_nullable.py,sha256=-8sTKj0Cx97j8fDlQLCVUxSISNzGIz37KJLaYTKCMz0,407
|
|
656
|
+
snaptrade_client/type/mleg_trade_form.py,sha256=r26TH-Zk3dHd9R02fThoffAD49MKj8jLc1VUURSwGOg,1237
|
|
651
657
|
snaptrade_client/type/mleg_trading_instrument.py,sha256=fut3MIv6W_khvmMThzgzYJcldDo0PBtZv015nejd4_4,1084
|
|
652
658
|
snaptrade_client/type/model400_failed_request_response.py,sha256=qPCGjN-VGmrou9vOFqcN28P-nIMqGOFbBY7VnQslV3A,810
|
|
653
659
|
snaptrade_client/type/model401_failed_request_response.py,sha256=6FpcrEI32paLdxMpqwpRHOQjU5PH5mIzybQqJAmoTW8,810
|
|
@@ -740,7 +746,7 @@ snaptrade_client/type/user_secret.py,sha256=pKCVhqf1rROHwa6tvoyA5OAKXCBAmNDvIQCf
|
|
|
740
746
|
snaptrade_client/type/validated_trade_body.py,sha256=ZIPBQWii_a-9zHaBCJ6bQtmL1_I7AG0zwuvkY-ZQ6R4,890
|
|
741
747
|
snaptrade_client/type_util.py,sha256=JIrMYgJzd4IJ8Ne2vqcahlPA9dVmphL9sn8gwccCB4Y,563
|
|
742
748
|
snaptrade_client/validation_metadata.py,sha256=VTN5y-NudHXok1X468J4PnGze_tGEAcs1v3gsXmcrb0,3172
|
|
743
|
-
snaptrade_python_sdk-11.0.
|
|
744
|
-
snaptrade_python_sdk-11.0.
|
|
745
|
-
snaptrade_python_sdk-11.0.
|
|
746
|
-
snaptrade_python_sdk-11.0.
|
|
749
|
+
snaptrade_python_sdk-11.0.105.dist-info/LICENSE,sha256=W_1kcxEzOnZXIYJ1GVUipbmUu6dNLt-Pc-OI55h3k-A,1081
|
|
750
|
+
snaptrade_python_sdk-11.0.105.dist-info/METADATA,sha256=97zuux52WjL1BlyremWKMFYNXtln24zo_WVbPiWndJ4,94702
|
|
751
|
+
snaptrade_python_sdk-11.0.105.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
752
|
+
snaptrade_python_sdk-11.0.105.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|