snaptrade-python-sdk 11.0.145__py3-none-any.whl → 11.0.147__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/cryptocurrency_increment.py +25 -0
- snaptrade_client/model/cryptocurrency_increment.pyi +25 -0
- snaptrade_client/model/cryptocurrency_increment_nullable.py +50 -0
- snaptrade_client/model/cryptocurrency_increment_nullable.pyi +50 -0
- snaptrade_client/model/cryptocurrency_pair.py +17 -2
- snaptrade_client/model/cryptocurrency_pair.pyi +17 -2
- snaptrade_client/model/snap_trade_login_user_request_body.py +12 -2
- snaptrade_client/model/snap_trade_login_user_request_body.pyi +12 -2
- snaptrade_client/models/__init__.py +2 -0
- snaptrade_client/operation_parameter_map.py +3 -0
- snaptrade_client/paths/snap_trade_login/post.py +11 -0
- snaptrade_client/paths/snap_trade_login/post.pyi +11 -0
- snaptrade_client/type/cryptocurrency_increment.py +19 -0
- snaptrade_client/type/cryptocurrency_increment_nullable.py +19 -0
- snaptrade_client/type/cryptocurrency_pair.py +3 -0
- snaptrade_client/type/snap_trade_login_user_request_body.py +3 -0
- {snaptrade_python_sdk-11.0.145.dist-info → snaptrade_python_sdk-11.0.147.dist-info}/METADATA +8 -3
- {snaptrade_python_sdk-11.0.145.dist-info → snaptrade_python_sdk-11.0.147.dist-info}/RECORD +23 -17
- {snaptrade_python_sdk-11.0.145.dist-info → snaptrade_python_sdk-11.0.147.dist-info}/LICENSE +0 -0
- {snaptrade_python_sdk-11.0.145.dist-info → snaptrade_python_sdk-11.0.147.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.147/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.147".\
|
|
442
442
|
format(env=sys.platform, pyversion=sys.version)
|
|
443
443
|
|
|
444
444
|
def get_host_settings(self):
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
CryptocurrencyIncrement = schemas.StrSchema
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
CryptocurrencyIncrement = schemas.StrSchema
|
|
@@ -0,0 +1,50 @@
|
|
|
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 CryptocurrencyIncrementNullable(
|
|
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 precision or smallest price incremental step available for this cryptocurrency pair
|
|
37
|
+
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def __new__(
|
|
42
|
+
cls,
|
|
43
|
+
*args: typing.Union[None, str, ],
|
|
44
|
+
_configuration: typing.Optional[schemas.Configuration] = None,
|
|
45
|
+
) -> 'CryptocurrencyIncrementNullable':
|
|
46
|
+
return super().__new__(
|
|
47
|
+
cls,
|
|
48
|
+
*args,
|
|
49
|
+
_configuration=_configuration,
|
|
50
|
+
)
|
|
@@ -0,0 +1,50 @@
|
|
|
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 CryptocurrencyIncrementNullable(
|
|
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 precision or smallest price incremental step available for this cryptocurrency pair
|
|
37
|
+
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def __new__(
|
|
42
|
+
cls,
|
|
43
|
+
*args: typing.Union[None, str, ],
|
|
44
|
+
_configuration: typing.Optional[schemas.Configuration] = None,
|
|
45
|
+
) -> 'CryptocurrencyIncrementNullable':
|
|
46
|
+
return super().__new__(
|
|
47
|
+
cls,
|
|
48
|
+
*args,
|
|
49
|
+
_configuration=_configuration,
|
|
50
|
+
)
|
|
@@ -44,10 +44,15 @@ class CryptocurrencyPair(
|
|
|
44
44
|
base = schemas.StrSchema
|
|
45
45
|
quote = schemas.StrSchema
|
|
46
46
|
symbol = schemas.StrSchema
|
|
47
|
+
|
|
48
|
+
@staticmethod
|
|
49
|
+
def increment() -> typing.Type['CryptocurrencyIncrementNullable']:
|
|
50
|
+
return CryptocurrencyIncrementNullable
|
|
47
51
|
__annotations__ = {
|
|
48
52
|
"base": base,
|
|
49
53
|
"quote": quote,
|
|
50
54
|
"symbol": symbol,
|
|
55
|
+
"increment": increment,
|
|
51
56
|
}
|
|
52
57
|
additional_properties = schemas.AnyTypeSchema
|
|
53
58
|
|
|
@@ -63,10 +68,13 @@ class CryptocurrencyPair(
|
|
|
63
68
|
@typing.overload
|
|
64
69
|
def __getitem__(self, name: typing_extensions.Literal["symbol"]) -> MetaOapg.properties.symbol: ...
|
|
65
70
|
|
|
71
|
+
@typing.overload
|
|
72
|
+
def __getitem__(self, name: typing_extensions.Literal["increment"]) -> 'CryptocurrencyIncrementNullable': ...
|
|
73
|
+
|
|
66
74
|
@typing.overload
|
|
67
75
|
def __getitem__(self, name: str) -> MetaOapg.additional_properties: ...
|
|
68
76
|
|
|
69
|
-
def __getitem__(self, name: typing.Union[typing_extensions.Literal["quote"], typing_extensions.Literal["base"], typing_extensions.Literal["symbol"], str, ]):
|
|
77
|
+
def __getitem__(self, name: typing.Union[typing_extensions.Literal["quote"], typing_extensions.Literal["base"], typing_extensions.Literal["symbol"], typing_extensions.Literal["increment"], str, ]):
|
|
70
78
|
# dict_instance[name] accessor
|
|
71
79
|
return super().__getitem__(name)
|
|
72
80
|
|
|
@@ -79,10 +87,13 @@ class CryptocurrencyPair(
|
|
|
79
87
|
@typing.overload
|
|
80
88
|
def get_item_oapg(self, name: typing_extensions.Literal["symbol"]) -> typing.Union[MetaOapg.properties.symbol, schemas.Unset]: ...
|
|
81
89
|
|
|
90
|
+
@typing.overload
|
|
91
|
+
def get_item_oapg(self, name: typing_extensions.Literal["increment"]) -> typing.Union['CryptocurrencyIncrementNullable', schemas.Unset]: ...
|
|
92
|
+
|
|
82
93
|
@typing.overload
|
|
83
94
|
def get_item_oapg(self, name: str) -> typing.Union[MetaOapg.additional_properties, schemas.Unset]: ...
|
|
84
95
|
|
|
85
|
-
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["quote"], typing_extensions.Literal["base"], typing_extensions.Literal["symbol"], str, ]):
|
|
96
|
+
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["quote"], typing_extensions.Literal["base"], typing_extensions.Literal["symbol"], typing_extensions.Literal["increment"], str, ]):
|
|
86
97
|
return super().get_item_oapg(name)
|
|
87
98
|
|
|
88
99
|
def __new__(
|
|
@@ -91,6 +102,7 @@ class CryptocurrencyPair(
|
|
|
91
102
|
quote: typing.Union[MetaOapg.properties.quote, str, ],
|
|
92
103
|
base: typing.Union[MetaOapg.properties.base, str, ],
|
|
93
104
|
symbol: typing.Union[MetaOapg.properties.symbol, str, schemas.Unset] = schemas.unset,
|
|
105
|
+
increment: typing.Union['CryptocurrencyIncrementNullable', schemas.Unset] = schemas.unset,
|
|
94
106
|
_configuration: typing.Optional[schemas.Configuration] = None,
|
|
95
107
|
**kwargs: typing.Union[MetaOapg.additional_properties, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
|
|
96
108
|
) -> 'CryptocurrencyPair':
|
|
@@ -100,6 +112,9 @@ class CryptocurrencyPair(
|
|
|
100
112
|
quote=quote,
|
|
101
113
|
base=base,
|
|
102
114
|
symbol=symbol,
|
|
115
|
+
increment=increment,
|
|
103
116
|
_configuration=_configuration,
|
|
104
117
|
**kwargs,
|
|
105
118
|
)
|
|
119
|
+
|
|
120
|
+
from snaptrade_client.model.cryptocurrency_increment_nullable import CryptocurrencyIncrementNullable
|
|
@@ -44,10 +44,15 @@ class CryptocurrencyPair(
|
|
|
44
44
|
base = schemas.StrSchema
|
|
45
45
|
quote = schemas.StrSchema
|
|
46
46
|
symbol = schemas.StrSchema
|
|
47
|
+
|
|
48
|
+
@staticmethod
|
|
49
|
+
def increment() -> typing.Type['CryptocurrencyIncrementNullable']:
|
|
50
|
+
return CryptocurrencyIncrementNullable
|
|
47
51
|
__annotations__ = {
|
|
48
52
|
"base": base,
|
|
49
53
|
"quote": quote,
|
|
50
54
|
"symbol": symbol,
|
|
55
|
+
"increment": increment,
|
|
51
56
|
}
|
|
52
57
|
additional_properties = schemas.AnyTypeSchema
|
|
53
58
|
|
|
@@ -63,10 +68,13 @@ class CryptocurrencyPair(
|
|
|
63
68
|
@typing.overload
|
|
64
69
|
def __getitem__(self, name: typing_extensions.Literal["symbol"]) -> MetaOapg.properties.symbol: ...
|
|
65
70
|
|
|
71
|
+
@typing.overload
|
|
72
|
+
def __getitem__(self, name: typing_extensions.Literal["increment"]) -> 'CryptocurrencyIncrementNullable': ...
|
|
73
|
+
|
|
66
74
|
@typing.overload
|
|
67
75
|
def __getitem__(self, name: str) -> MetaOapg.additional_properties: ...
|
|
68
76
|
|
|
69
|
-
def __getitem__(self, name: typing.Union[typing_extensions.Literal["quote"], typing_extensions.Literal["base"], typing_extensions.Literal["symbol"], str, ]):
|
|
77
|
+
def __getitem__(self, name: typing.Union[typing_extensions.Literal["quote"], typing_extensions.Literal["base"], typing_extensions.Literal["symbol"], typing_extensions.Literal["increment"], str, ]):
|
|
70
78
|
# dict_instance[name] accessor
|
|
71
79
|
return super().__getitem__(name)
|
|
72
80
|
|
|
@@ -79,10 +87,13 @@ class CryptocurrencyPair(
|
|
|
79
87
|
@typing.overload
|
|
80
88
|
def get_item_oapg(self, name: typing_extensions.Literal["symbol"]) -> typing.Union[MetaOapg.properties.symbol, schemas.Unset]: ...
|
|
81
89
|
|
|
90
|
+
@typing.overload
|
|
91
|
+
def get_item_oapg(self, name: typing_extensions.Literal["increment"]) -> typing.Union['CryptocurrencyIncrementNullable', schemas.Unset]: ...
|
|
92
|
+
|
|
82
93
|
@typing.overload
|
|
83
94
|
def get_item_oapg(self, name: str) -> typing.Union[MetaOapg.additional_properties, schemas.Unset]: ...
|
|
84
95
|
|
|
85
|
-
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["quote"], typing_extensions.Literal["base"], typing_extensions.Literal["symbol"], str, ]):
|
|
96
|
+
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["quote"], typing_extensions.Literal["base"], typing_extensions.Literal["symbol"], typing_extensions.Literal["increment"], str, ]):
|
|
86
97
|
return super().get_item_oapg(name)
|
|
87
98
|
|
|
88
99
|
def __new__(
|
|
@@ -91,6 +102,7 @@ class CryptocurrencyPair(
|
|
|
91
102
|
quote: typing.Union[MetaOapg.properties.quote, str, ],
|
|
92
103
|
base: typing.Union[MetaOapg.properties.base, str, ],
|
|
93
104
|
symbol: typing.Union[MetaOapg.properties.symbol, str, schemas.Unset] = schemas.unset,
|
|
105
|
+
increment: typing.Union['CryptocurrencyIncrementNullable', schemas.Unset] = schemas.unset,
|
|
94
106
|
_configuration: typing.Optional[schemas.Configuration] = None,
|
|
95
107
|
**kwargs: typing.Union[MetaOapg.additional_properties, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ],
|
|
96
108
|
) -> 'CryptocurrencyPair':
|
|
@@ -100,6 +112,9 @@ class CryptocurrencyPair(
|
|
|
100
112
|
quote=quote,
|
|
101
113
|
base=base,
|
|
102
114
|
symbol=symbol,
|
|
115
|
+
increment=increment,
|
|
103
116
|
_configuration=_configuration,
|
|
104
117
|
**kwargs,
|
|
105
118
|
)
|
|
119
|
+
|
|
120
|
+
from snaptrade_client.model.cryptocurrency_increment_nullable import CryptocurrencyIncrementNullable
|
|
@@ -68,6 +68,7 @@ class SnapTradeLoginUserRequestBody(
|
|
|
68
68
|
def TRADEIFAVAILABLE(cls):
|
|
69
69
|
return cls("trade-if-available")
|
|
70
70
|
showCloseButton = schemas.BoolSchema
|
|
71
|
+
darkMode = schemas.BoolSchema
|
|
71
72
|
|
|
72
73
|
|
|
73
74
|
class connectionPortalVersion(
|
|
@@ -101,6 +102,7 @@ class SnapTradeLoginUserRequestBody(
|
|
|
101
102
|
"reconnect": reconnect,
|
|
102
103
|
"connectionType": connectionType,
|
|
103
104
|
"showCloseButton": showCloseButton,
|
|
105
|
+
"darkMode": darkMode,
|
|
104
106
|
"connectionPortalVersion": connectionPortalVersion,
|
|
105
107
|
}
|
|
106
108
|
|
|
@@ -122,13 +124,16 @@ class SnapTradeLoginUserRequestBody(
|
|
|
122
124
|
@typing.overload
|
|
123
125
|
def __getitem__(self, name: typing_extensions.Literal["showCloseButton"]) -> MetaOapg.properties.showCloseButton: ...
|
|
124
126
|
|
|
127
|
+
@typing.overload
|
|
128
|
+
def __getitem__(self, name: typing_extensions.Literal["darkMode"]) -> MetaOapg.properties.darkMode: ...
|
|
129
|
+
|
|
125
130
|
@typing.overload
|
|
126
131
|
def __getitem__(self, name: typing_extensions.Literal["connectionPortalVersion"]) -> MetaOapg.properties.connectionPortalVersion: ...
|
|
127
132
|
|
|
128
133
|
@typing.overload
|
|
129
134
|
def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
|
|
130
135
|
|
|
131
|
-
def __getitem__(self, name: typing.Union[typing_extensions.Literal["broker", "immediateRedirect", "customRedirect", "reconnect", "connectionType", "showCloseButton", "connectionPortalVersion", ], str]):
|
|
136
|
+
def __getitem__(self, name: typing.Union[typing_extensions.Literal["broker", "immediateRedirect", "customRedirect", "reconnect", "connectionType", "showCloseButton", "darkMode", "connectionPortalVersion", ], str]):
|
|
132
137
|
# dict_instance[name] accessor
|
|
133
138
|
return super().__getitem__(name)
|
|
134
139
|
|
|
@@ -151,13 +156,16 @@ class SnapTradeLoginUserRequestBody(
|
|
|
151
156
|
@typing.overload
|
|
152
157
|
def get_item_oapg(self, name: typing_extensions.Literal["showCloseButton"]) -> typing.Union[MetaOapg.properties.showCloseButton, schemas.Unset]: ...
|
|
153
158
|
|
|
159
|
+
@typing.overload
|
|
160
|
+
def get_item_oapg(self, name: typing_extensions.Literal["darkMode"]) -> typing.Union[MetaOapg.properties.darkMode, schemas.Unset]: ...
|
|
161
|
+
|
|
154
162
|
@typing.overload
|
|
155
163
|
def get_item_oapg(self, name: typing_extensions.Literal["connectionPortalVersion"]) -> typing.Union[MetaOapg.properties.connectionPortalVersion, schemas.Unset]: ...
|
|
156
164
|
|
|
157
165
|
@typing.overload
|
|
158
166
|
def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
|
|
159
167
|
|
|
160
|
-
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["broker", "immediateRedirect", "customRedirect", "reconnect", "connectionType", "showCloseButton", "connectionPortalVersion", ], str]):
|
|
168
|
+
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["broker", "immediateRedirect", "customRedirect", "reconnect", "connectionType", "showCloseButton", "darkMode", "connectionPortalVersion", ], str]):
|
|
161
169
|
return super().get_item_oapg(name)
|
|
162
170
|
|
|
163
171
|
|
|
@@ -170,6 +178,7 @@ class SnapTradeLoginUserRequestBody(
|
|
|
170
178
|
reconnect: typing.Union[MetaOapg.properties.reconnect, str, schemas.Unset] = schemas.unset,
|
|
171
179
|
connectionType: typing.Union[MetaOapg.properties.connectionType, str, schemas.Unset] = schemas.unset,
|
|
172
180
|
showCloseButton: typing.Union[MetaOapg.properties.showCloseButton, bool, schemas.Unset] = schemas.unset,
|
|
181
|
+
darkMode: typing.Union[MetaOapg.properties.darkMode, bool, schemas.Unset] = schemas.unset,
|
|
173
182
|
connectionPortalVersion: typing.Union[MetaOapg.properties.connectionPortalVersion, str, schemas.Unset] = schemas.unset,
|
|
174
183
|
_configuration: typing.Optional[schemas.Configuration] = None,
|
|
175
184
|
**kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
|
|
@@ -183,6 +192,7 @@ class SnapTradeLoginUserRequestBody(
|
|
|
183
192
|
reconnect=reconnect,
|
|
184
193
|
connectionType=connectionType,
|
|
185
194
|
showCloseButton=showCloseButton,
|
|
195
|
+
darkMode=darkMode,
|
|
186
196
|
connectionPortalVersion=connectionPortalVersion,
|
|
187
197
|
_configuration=_configuration,
|
|
188
198
|
**kwargs,
|
|
@@ -60,6 +60,7 @@ class SnapTradeLoginUserRequestBody(
|
|
|
60
60
|
def TRADEIFAVAILABLE(cls):
|
|
61
61
|
return cls("trade-if-available")
|
|
62
62
|
showCloseButton = schemas.BoolSchema
|
|
63
|
+
darkMode = schemas.BoolSchema
|
|
63
64
|
|
|
64
65
|
|
|
65
66
|
class connectionPortalVersion(
|
|
@@ -85,6 +86,7 @@ class SnapTradeLoginUserRequestBody(
|
|
|
85
86
|
"reconnect": reconnect,
|
|
86
87
|
"connectionType": connectionType,
|
|
87
88
|
"showCloseButton": showCloseButton,
|
|
89
|
+
"darkMode": darkMode,
|
|
88
90
|
"connectionPortalVersion": connectionPortalVersion,
|
|
89
91
|
}
|
|
90
92
|
|
|
@@ -106,13 +108,16 @@ class SnapTradeLoginUserRequestBody(
|
|
|
106
108
|
@typing.overload
|
|
107
109
|
def __getitem__(self, name: typing_extensions.Literal["showCloseButton"]) -> MetaOapg.properties.showCloseButton: ...
|
|
108
110
|
|
|
111
|
+
@typing.overload
|
|
112
|
+
def __getitem__(self, name: typing_extensions.Literal["darkMode"]) -> MetaOapg.properties.darkMode: ...
|
|
113
|
+
|
|
109
114
|
@typing.overload
|
|
110
115
|
def __getitem__(self, name: typing_extensions.Literal["connectionPortalVersion"]) -> MetaOapg.properties.connectionPortalVersion: ...
|
|
111
116
|
|
|
112
117
|
@typing.overload
|
|
113
118
|
def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ...
|
|
114
119
|
|
|
115
|
-
def __getitem__(self, name: typing.Union[typing_extensions.Literal["broker", "immediateRedirect", "customRedirect", "reconnect", "connectionType", "showCloseButton", "connectionPortalVersion", ], str]):
|
|
120
|
+
def __getitem__(self, name: typing.Union[typing_extensions.Literal["broker", "immediateRedirect", "customRedirect", "reconnect", "connectionType", "showCloseButton", "darkMode", "connectionPortalVersion", ], str]):
|
|
116
121
|
# dict_instance[name] accessor
|
|
117
122
|
return super().__getitem__(name)
|
|
118
123
|
|
|
@@ -135,13 +140,16 @@ class SnapTradeLoginUserRequestBody(
|
|
|
135
140
|
@typing.overload
|
|
136
141
|
def get_item_oapg(self, name: typing_extensions.Literal["showCloseButton"]) -> typing.Union[MetaOapg.properties.showCloseButton, schemas.Unset]: ...
|
|
137
142
|
|
|
143
|
+
@typing.overload
|
|
144
|
+
def get_item_oapg(self, name: typing_extensions.Literal["darkMode"]) -> typing.Union[MetaOapg.properties.darkMode, schemas.Unset]: ...
|
|
145
|
+
|
|
138
146
|
@typing.overload
|
|
139
147
|
def get_item_oapg(self, name: typing_extensions.Literal["connectionPortalVersion"]) -> typing.Union[MetaOapg.properties.connectionPortalVersion, schemas.Unset]: ...
|
|
140
148
|
|
|
141
149
|
@typing.overload
|
|
142
150
|
def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ...
|
|
143
151
|
|
|
144
|
-
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["broker", "immediateRedirect", "customRedirect", "reconnect", "connectionType", "showCloseButton", "connectionPortalVersion", ], str]):
|
|
152
|
+
def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["broker", "immediateRedirect", "customRedirect", "reconnect", "connectionType", "showCloseButton", "darkMode", "connectionPortalVersion", ], str]):
|
|
145
153
|
return super().get_item_oapg(name)
|
|
146
154
|
|
|
147
155
|
|
|
@@ -154,6 +162,7 @@ class SnapTradeLoginUserRequestBody(
|
|
|
154
162
|
reconnect: typing.Union[MetaOapg.properties.reconnect, str, schemas.Unset] = schemas.unset,
|
|
155
163
|
connectionType: typing.Union[MetaOapg.properties.connectionType, str, schemas.Unset] = schemas.unset,
|
|
156
164
|
showCloseButton: typing.Union[MetaOapg.properties.showCloseButton, bool, schemas.Unset] = schemas.unset,
|
|
165
|
+
darkMode: typing.Union[MetaOapg.properties.darkMode, bool, schemas.Unset] = schemas.unset,
|
|
157
166
|
connectionPortalVersion: typing.Union[MetaOapg.properties.connectionPortalVersion, str, schemas.Unset] = schemas.unset,
|
|
158
167
|
_configuration: typing.Optional[schemas.Configuration] = None,
|
|
159
168
|
**kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes],
|
|
@@ -167,6 +176,7 @@ class SnapTradeLoginUserRequestBody(
|
|
|
167
176
|
reconnect=reconnect,
|
|
168
177
|
connectionType=connectionType,
|
|
169
178
|
showCloseButton=showCloseButton,
|
|
179
|
+
darkMode=darkMode,
|
|
170
180
|
connectionPortalVersion=connectionPortalVersion,
|
|
171
181
|
_configuration=_configuration,
|
|
172
182
|
**kwargs,
|
|
@@ -61,6 +61,8 @@ from snaptrade_client.model.crypto_order_preview import CryptoOrderPreview
|
|
|
61
61
|
from snaptrade_client.model.crypto_order_preview_estimated_fee import CryptoOrderPreviewEstimatedFee
|
|
62
62
|
from snaptrade_client.model.crypto_trading_instrument import CryptoTradingInstrument
|
|
63
63
|
from snaptrade_client.model.cryptocurrency_base_symbol import CryptocurrencyBaseSymbol
|
|
64
|
+
from snaptrade_client.model.cryptocurrency_increment import CryptocurrencyIncrement
|
|
65
|
+
from snaptrade_client.model.cryptocurrency_increment_nullable import CryptocurrencyIncrementNullable
|
|
64
66
|
from snaptrade_client.model.cryptocurrency_pair import CryptocurrencyPair
|
|
65
67
|
from snaptrade_client.model.cryptocurrency_pair_quote import CryptocurrencyPairQuote
|
|
66
68
|
from snaptrade_client.model.cryptocurrency_pair_symbol import CryptocurrencyPairSymbol
|
|
@@ -260,6 +260,7 @@ class BaseApi(api_client.Api):
|
|
|
260
260
|
reconnect: typing.Optional[str] = None,
|
|
261
261
|
connection_type: typing.Optional[str] = None,
|
|
262
262
|
show_close_button: typing.Optional[bool] = None,
|
|
263
|
+
dark_mode: typing.Optional[bool] = None,
|
|
263
264
|
connection_portal_version: typing.Optional[str] = None,
|
|
264
265
|
query_params: typing.Optional[dict] = {},
|
|
265
266
|
) -> api_client.MappedArgs:
|
|
@@ -278,6 +279,8 @@ class BaseApi(api_client.Api):
|
|
|
278
279
|
_body["connectionType"] = connection_type
|
|
279
280
|
if show_close_button is not None:
|
|
280
281
|
_body["showCloseButton"] = show_close_button
|
|
282
|
+
if dark_mode is not None:
|
|
283
|
+
_body["darkMode"] = dark_mode
|
|
281
284
|
if connection_portal_version is not None:
|
|
282
285
|
_body["connectionPortalVersion"] = connection_portal_version
|
|
283
286
|
args.body = body if body is not None else _body
|
|
@@ -531,6 +534,7 @@ class LoginSnapTradeUser(BaseApi):
|
|
|
531
534
|
reconnect: typing.Optional[str] = None,
|
|
532
535
|
connection_type: typing.Optional[str] = None,
|
|
533
536
|
show_close_button: typing.Optional[bool] = None,
|
|
537
|
+
dark_mode: typing.Optional[bool] = None,
|
|
534
538
|
connection_portal_version: typing.Optional[str] = None,
|
|
535
539
|
query_params: typing.Optional[dict] = {},
|
|
536
540
|
**kwargs,
|
|
@@ -550,6 +554,7 @@ class LoginSnapTradeUser(BaseApi):
|
|
|
550
554
|
reconnect=reconnect,
|
|
551
555
|
connection_type=connection_type,
|
|
552
556
|
show_close_button=show_close_button,
|
|
557
|
+
dark_mode=dark_mode,
|
|
553
558
|
connection_portal_version=connection_portal_version,
|
|
554
559
|
)
|
|
555
560
|
return await self._alogin_snap_trade_user_oapg(
|
|
@@ -569,6 +574,7 @@ class LoginSnapTradeUser(BaseApi):
|
|
|
569
574
|
reconnect: typing.Optional[str] = None,
|
|
570
575
|
connection_type: typing.Optional[str] = None,
|
|
571
576
|
show_close_button: typing.Optional[bool] = None,
|
|
577
|
+
dark_mode: typing.Optional[bool] = None,
|
|
572
578
|
connection_portal_version: typing.Optional[str] = None,
|
|
573
579
|
query_params: typing.Optional[dict] = {},
|
|
574
580
|
) -> typing.Union[
|
|
@@ -587,6 +593,7 @@ class LoginSnapTradeUser(BaseApi):
|
|
|
587
593
|
reconnect=reconnect,
|
|
588
594
|
connection_type=connection_type,
|
|
589
595
|
show_close_button=show_close_button,
|
|
596
|
+
dark_mode=dark_mode,
|
|
590
597
|
connection_portal_version=connection_portal_version,
|
|
591
598
|
)
|
|
592
599
|
return self._login_snap_trade_user_oapg(
|
|
@@ -608,6 +615,7 @@ class ApiForpost(BaseApi):
|
|
|
608
615
|
reconnect: typing.Optional[str] = None,
|
|
609
616
|
connection_type: typing.Optional[str] = None,
|
|
610
617
|
show_close_button: typing.Optional[bool] = None,
|
|
618
|
+
dark_mode: typing.Optional[bool] = None,
|
|
611
619
|
connection_portal_version: typing.Optional[str] = None,
|
|
612
620
|
query_params: typing.Optional[dict] = {},
|
|
613
621
|
**kwargs,
|
|
@@ -627,6 +635,7 @@ class ApiForpost(BaseApi):
|
|
|
627
635
|
reconnect=reconnect,
|
|
628
636
|
connection_type=connection_type,
|
|
629
637
|
show_close_button=show_close_button,
|
|
638
|
+
dark_mode=dark_mode,
|
|
630
639
|
connection_portal_version=connection_portal_version,
|
|
631
640
|
)
|
|
632
641
|
return await self._alogin_snap_trade_user_oapg(
|
|
@@ -646,6 +655,7 @@ class ApiForpost(BaseApi):
|
|
|
646
655
|
reconnect: typing.Optional[str] = None,
|
|
647
656
|
connection_type: typing.Optional[str] = None,
|
|
648
657
|
show_close_button: typing.Optional[bool] = None,
|
|
658
|
+
dark_mode: typing.Optional[bool] = None,
|
|
649
659
|
connection_portal_version: typing.Optional[str] = None,
|
|
650
660
|
query_params: typing.Optional[dict] = {},
|
|
651
661
|
) -> typing.Union[
|
|
@@ -664,6 +674,7 @@ class ApiForpost(BaseApi):
|
|
|
664
674
|
reconnect=reconnect,
|
|
665
675
|
connection_type=connection_type,
|
|
666
676
|
show_close_button=show_close_button,
|
|
677
|
+
dark_mode=dark_mode,
|
|
667
678
|
connection_portal_version=connection_portal_version,
|
|
668
679
|
)
|
|
669
680
|
return self._login_snap_trade_user_oapg(
|
|
@@ -246,6 +246,7 @@ class BaseApi(api_client.Api):
|
|
|
246
246
|
reconnect: typing.Optional[str] = None,
|
|
247
247
|
connection_type: typing.Optional[str] = None,
|
|
248
248
|
show_close_button: typing.Optional[bool] = None,
|
|
249
|
+
dark_mode: typing.Optional[bool] = None,
|
|
249
250
|
connection_portal_version: typing.Optional[str] = None,
|
|
250
251
|
query_params: typing.Optional[dict] = {},
|
|
251
252
|
) -> api_client.MappedArgs:
|
|
@@ -264,6 +265,8 @@ class BaseApi(api_client.Api):
|
|
|
264
265
|
_body["connectionType"] = connection_type
|
|
265
266
|
if show_close_button is not None:
|
|
266
267
|
_body["showCloseButton"] = show_close_button
|
|
268
|
+
if dark_mode is not None:
|
|
269
|
+
_body["darkMode"] = dark_mode
|
|
267
270
|
if connection_portal_version is not None:
|
|
268
271
|
_body["connectionPortalVersion"] = connection_portal_version
|
|
269
272
|
args.body = body if body is not None else _body
|
|
@@ -517,6 +520,7 @@ class LoginSnapTradeUser(BaseApi):
|
|
|
517
520
|
reconnect: typing.Optional[str] = None,
|
|
518
521
|
connection_type: typing.Optional[str] = None,
|
|
519
522
|
show_close_button: typing.Optional[bool] = None,
|
|
523
|
+
dark_mode: typing.Optional[bool] = None,
|
|
520
524
|
connection_portal_version: typing.Optional[str] = None,
|
|
521
525
|
query_params: typing.Optional[dict] = {},
|
|
522
526
|
**kwargs,
|
|
@@ -536,6 +540,7 @@ class LoginSnapTradeUser(BaseApi):
|
|
|
536
540
|
reconnect=reconnect,
|
|
537
541
|
connection_type=connection_type,
|
|
538
542
|
show_close_button=show_close_button,
|
|
543
|
+
dark_mode=dark_mode,
|
|
539
544
|
connection_portal_version=connection_portal_version,
|
|
540
545
|
)
|
|
541
546
|
return await self._alogin_snap_trade_user_oapg(
|
|
@@ -555,6 +560,7 @@ class LoginSnapTradeUser(BaseApi):
|
|
|
555
560
|
reconnect: typing.Optional[str] = None,
|
|
556
561
|
connection_type: typing.Optional[str] = None,
|
|
557
562
|
show_close_button: typing.Optional[bool] = None,
|
|
563
|
+
dark_mode: typing.Optional[bool] = None,
|
|
558
564
|
connection_portal_version: typing.Optional[str] = None,
|
|
559
565
|
query_params: typing.Optional[dict] = {},
|
|
560
566
|
) -> typing.Union[
|
|
@@ -573,6 +579,7 @@ class LoginSnapTradeUser(BaseApi):
|
|
|
573
579
|
reconnect=reconnect,
|
|
574
580
|
connection_type=connection_type,
|
|
575
581
|
show_close_button=show_close_button,
|
|
582
|
+
dark_mode=dark_mode,
|
|
576
583
|
connection_portal_version=connection_portal_version,
|
|
577
584
|
)
|
|
578
585
|
return self._login_snap_trade_user_oapg(
|
|
@@ -594,6 +601,7 @@ class ApiForpost(BaseApi):
|
|
|
594
601
|
reconnect: typing.Optional[str] = None,
|
|
595
602
|
connection_type: typing.Optional[str] = None,
|
|
596
603
|
show_close_button: typing.Optional[bool] = None,
|
|
604
|
+
dark_mode: typing.Optional[bool] = None,
|
|
597
605
|
connection_portal_version: typing.Optional[str] = None,
|
|
598
606
|
query_params: typing.Optional[dict] = {},
|
|
599
607
|
**kwargs,
|
|
@@ -613,6 +621,7 @@ class ApiForpost(BaseApi):
|
|
|
613
621
|
reconnect=reconnect,
|
|
614
622
|
connection_type=connection_type,
|
|
615
623
|
show_close_button=show_close_button,
|
|
624
|
+
dark_mode=dark_mode,
|
|
616
625
|
connection_portal_version=connection_portal_version,
|
|
617
626
|
)
|
|
618
627
|
return await self._alogin_snap_trade_user_oapg(
|
|
@@ -632,6 +641,7 @@ class ApiForpost(BaseApi):
|
|
|
632
641
|
reconnect: typing.Optional[str] = None,
|
|
633
642
|
connection_type: typing.Optional[str] = None,
|
|
634
643
|
show_close_button: typing.Optional[bool] = None,
|
|
644
|
+
dark_mode: typing.Optional[bool] = None,
|
|
635
645
|
connection_portal_version: typing.Optional[str] = None,
|
|
636
646
|
query_params: typing.Optional[dict] = {},
|
|
637
647
|
) -> typing.Union[
|
|
@@ -650,6 +660,7 @@ class ApiForpost(BaseApi):
|
|
|
650
660
|
reconnect=reconnect,
|
|
651
661
|
connection_type=connection_type,
|
|
652
662
|
show_close_button=show_close_button,
|
|
663
|
+
dark_mode=dark_mode,
|
|
653
664
|
connection_portal_version=connection_portal_version,
|
|
654
665
|
)
|
|
655
666
|
return self._login_snap_trade_user_oapg(
|
|
@@ -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
|
+
CryptocurrencyIncrement = 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
|
+
CryptocurrencyIncrementNullable = str
|
|
@@ -15,6 +15,7 @@ import typing
|
|
|
15
15
|
from enum import Enum
|
|
16
16
|
from typing_extensions import TypedDict, Literal, TYPE_CHECKING
|
|
17
17
|
|
|
18
|
+
from snaptrade_client.type.cryptocurrency_increment_nullable import CryptocurrencyIncrementNullable
|
|
18
19
|
|
|
19
20
|
class RequiredCryptocurrencyPair(TypedDict):
|
|
20
21
|
# The base currency of a pair (e.g., \"BTC\" in BTC/USD). Either fiat or cryptocurrency symbol, for fiat use ISO-4217 codes.
|
|
@@ -28,5 +29,7 @@ class OptionalCryptocurrencyPair(TypedDict, total=False):
|
|
|
28
29
|
# Cryptocurrency pair instrument symbol
|
|
29
30
|
symbol: str
|
|
30
31
|
|
|
32
|
+
increment: CryptocurrencyIncrementNullable
|
|
33
|
+
|
|
31
34
|
class CryptocurrencyPair(RequiredCryptocurrencyPair, OptionalCryptocurrencyPair):
|
|
32
35
|
pass
|
|
@@ -38,6 +38,9 @@ class OptionalSnapTradeLoginUserRequestBody(TypedDict, total=False):
|
|
|
38
38
|
# Controls whether the close (X) button is displayed in the connection portal. When false, you control closing behavior from your app. Defaults to true.
|
|
39
39
|
showCloseButton: bool
|
|
40
40
|
|
|
41
|
+
# Enable dark mode for the connection portal. Defaults to false.
|
|
42
|
+
darkMode: bool
|
|
43
|
+
|
|
41
44
|
# Sets the connection portal version to render. Currently only v4 is supported and is the default. All other versions are deprecated and will automatically be set to v4.
|
|
42
45
|
connectionPortalVersion: str
|
|
43
46
|
|
{snaptrade_python_sdk-11.0.145.dist-info → snaptrade_python_sdk-11.0.147.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.147
|
|
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.147)
|
|
34
34
|
[](https://github.com/passiv/snaptrade-sdks/tree/master/sdks/python#readme)
|
|
35
35
|
[](https://snaptrade.com/)
|
|
36
36
|
|
|
@@ -111,7 +111,7 @@ Python >=3.8
|
|
|
111
111
|
## Installation<a id="installation"></a>
|
|
112
112
|
|
|
113
113
|
```sh
|
|
114
|
-
pip install snaptrade-python-sdk==11.0.
|
|
114
|
+
pip install snaptrade-python-sdk==11.0.147
|
|
115
115
|
```
|
|
116
116
|
|
|
117
117
|
## Getting Started<a id="getting-started"></a>
|
|
@@ -845,6 +845,7 @@ login_snap_trade_user_response = snaptrade.authentication.login_snap_trade_user(
|
|
|
845
845
|
reconnect="8b5f262d-4bb9-365d-888a-202bd3b15fa1",
|
|
846
846
|
connection_type="read",
|
|
847
847
|
show_close_button=True,
|
|
848
|
+
dark_mode=True,
|
|
848
849
|
connection_portal_version="v4",
|
|
849
850
|
)
|
|
850
851
|
```
|
|
@@ -879,6 +880,10 @@ Determines connection permissions (default: read) - `read`: Data access only. -
|
|
|
879
880
|
|
|
880
881
|
Controls whether the close (X) button is displayed in the connection portal. When false, you control closing behavior from your app. Defaults to true.
|
|
881
882
|
|
|
883
|
+
##### dark_mode: `bool`<a id="dark_mode-bool"></a>
|
|
884
|
+
|
|
885
|
+
Enable dark mode for the connection portal. Defaults to false.
|
|
886
|
+
|
|
882
887
|
##### connection_portal_version: `str`<a id="connection_portal_version-str"></a>
|
|
883
888
|
|
|
884
889
|
Sets the connection portal version to render. Currently only v4 is supported and is the default. All other versions are deprecated and will automatically be set to v4.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
snaptrade_client/__init__.py,sha256=
|
|
2
|
-
snaptrade_client/api_client.py,sha256=
|
|
1
|
+
snaptrade_client/__init__.py,sha256=N9Kf71mvSfKURTMOXfnEXvIuRShUq6xt1uBukxW7JNE,820
|
|
2
|
+
snaptrade_client/api_client.py,sha256=LB8a2ePI5EMC9nfHa5s7fDW6fTvEEu-QdKaHPzPxxQQ,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=U2W6P3ea6gIUTB16bJ16y4fIBuaOF_TqUyGmuFF6STM,12851
|
|
@@ -81,7 +81,7 @@ snaptrade_client/apis/tags/transactions_and_reporting_api_generated.py,sha256=Tw
|
|
|
81
81
|
snaptrade_client/client.py,sha256=p-1j4DS7DHuwClS8Kh4VHbTFB7jf-DMpkrh5PcCmYTg,2308
|
|
82
82
|
snaptrade_client/client.pyi,sha256=p-1j4DS7DHuwClS8Kh4VHbTFB7jf-DMpkrh5PcCmYTg,2308
|
|
83
83
|
snaptrade_client/client_custom.py,sha256=Jx9ulCzelMFlESjzVFQSjBlYcH4dWxSJJWZDMPLyetM,745
|
|
84
|
-
snaptrade_client/configuration.py,sha256=
|
|
84
|
+
snaptrade_client/configuration.py,sha256=L7gKGdvCvA8O9c1afoZfc18qLGMM-nJagNA7Rq0UFsg,19262
|
|
85
85
|
snaptrade_client/exceptions.py,sha256=X0apI_sgQpGpa-qIqPUClReCdHAxeSuA6GW0YH_RsWg,7771
|
|
86
86
|
snaptrade_client/exceptions_base.py,sha256=LAQkaC5C61-SdBLfyMjb0K7AYJkWVuLmg2uCvHa71FM,2274
|
|
87
87
|
snaptrade_client/model/__init__.py,sha256=ayi2MIzcf0eAIsY13ToiNplV9tW-pMBFrC0I9yckGM8,350
|
|
@@ -185,8 +185,12 @@ snaptrade_client/model/crypto_trading_instrument.py,sha256=U87R7vwtmRvhIcaT_0phD
|
|
|
185
185
|
snaptrade_client/model/crypto_trading_instrument.pyi,sha256=MUwXwNl7C7Lm79sJtQXxsFBeLw7rC2K8tmpW0VLL-yk,3432
|
|
186
186
|
snaptrade_client/model/cryptocurrency_base_symbol.py,sha256=TopWpvjdmfDsUor1LG6HqvYkE9ilSdBgDEjOFVMH0xU,614
|
|
187
187
|
snaptrade_client/model/cryptocurrency_base_symbol.pyi,sha256=TopWpvjdmfDsUor1LG6HqvYkE9ilSdBgDEjOFVMH0xU,614
|
|
188
|
-
snaptrade_client/model/
|
|
189
|
-
snaptrade_client/model/
|
|
188
|
+
snaptrade_client/model/cryptocurrency_increment.py,sha256=wGnL2-xAB8LShx9aixMD_G_1oM1J4HJBtHRH2i4vGhE,613
|
|
189
|
+
snaptrade_client/model/cryptocurrency_increment.pyi,sha256=wGnL2-xAB8LShx9aixMD_G_1oM1J4HJBtHRH2i4vGhE,613
|
|
190
|
+
snaptrade_client/model/cryptocurrency_increment_nullable.py,sha256=vmRjLNrjSa0geXJveiU7U8SjWC6zoBlWPLuk1QBAgss,1189
|
|
191
|
+
snaptrade_client/model/cryptocurrency_increment_nullable.pyi,sha256=vmRjLNrjSa0geXJveiU7U8SjWC6zoBlWPLuk1QBAgss,1189
|
|
192
|
+
snaptrade_client/model/cryptocurrency_pair.py,sha256=td8VMkf8k_hvaWec2A_8rFSDTRmUQRhndfE0tsEVSPA,4440
|
|
193
|
+
snaptrade_client/model/cryptocurrency_pair.pyi,sha256=td8VMkf8k_hvaWec2A_8rFSDTRmUQRhndfE0tsEVSPA,4440
|
|
190
194
|
snaptrade_client/model/cryptocurrency_pair_quote.py,sha256=w-3GC7sbzV_NSd64SD1pxhjGjdvD7ik-zFbtDJDTodE,4103
|
|
191
195
|
snaptrade_client/model/cryptocurrency_pair_quote.pyi,sha256=w-3GC7sbzV_NSd64SD1pxhjGjdvD7ik-zFbtDJDTodE,4103
|
|
192
196
|
snaptrade_client/model/cryptocurrency_pair_symbol.py,sha256=W4o6DVQ6DUsCt5VMUBQQvH5wgtiPjq5_XdU3nkxhVTc,614
|
|
@@ -371,8 +375,8 @@ snaptrade_client/model/snap_trade_holdings_account_meta.py,sha256=a7gTJqkuclua7L
|
|
|
371
375
|
snaptrade_client/model/snap_trade_holdings_account_meta.pyi,sha256=a7gTJqkuclua7LrqJsRo7QtvFwszTuh7QQyc-Ny2NfM,1668
|
|
372
376
|
snaptrade_client/model/snap_trade_holdings_total_value.py,sha256=bQ1KVz-yWVs9Z4jdrmX_z2c7CJLcO6Y9zL4RO4BDn-I,4972
|
|
373
377
|
snaptrade_client/model/snap_trade_holdings_total_value.pyi,sha256=bQ1KVz-yWVs9Z4jdrmX_z2c7CJLcO6Y9zL4RO4BDn-I,4972
|
|
374
|
-
snaptrade_client/model/snap_trade_login_user_request_body.py,sha256=
|
|
375
|
-
snaptrade_client/model/snap_trade_login_user_request_body.pyi,sha256=
|
|
378
|
+
snaptrade_client/model/snap_trade_login_user_request_body.py,sha256=Fet3xZPrPzdQKZNEZWzvnFyUsWp0uq9yK59TMBIrpqU,8187
|
|
379
|
+
snaptrade_client/model/snap_trade_login_user_request_body.pyi,sha256=cWOJtwrwoAPVWqU5tG_Lz4h7kyR4FZIyEapGSGueoKQ,7685
|
|
376
380
|
snaptrade_client/model/snap_trade_register_user_request_body.py,sha256=dE4FNlnhJ5rFt-p2OXn3KX_e_RoeCbdfhUpozfMyo5A,2483
|
|
377
381
|
snaptrade_client/model/snap_trade_register_user_request_body.pyi,sha256=dE4FNlnhJ5rFt-p2OXn3KX_e_RoeCbdfhUpozfMyo5A,2483
|
|
378
382
|
snaptrade_client/model/status.py,sha256=JYOXSzF4Qo2EgPcdrZtKKkepgsTAtJ3IGLHEGNgxISY,3639
|
|
@@ -441,8 +445,8 @@ snaptrade_client/model/user_secret.py,sha256=7xf__S566WtTq7VthmdVtrCBIfgpnYWYqE9
|
|
|
441
445
|
snaptrade_client/model/user_secret.pyi,sha256=7xf__S566WtTq7VthmdVtrCBIfgpnYWYqE9cmz9vBMc,600
|
|
442
446
|
snaptrade_client/model/validated_trade_body.py,sha256=NkTel1ulgSjBd6K7vur6puEbfrg3u1vdmtUKArOu8ws,3085
|
|
443
447
|
snaptrade_client/model/validated_trade_body.pyi,sha256=NkTel1ulgSjBd6K7vur6puEbfrg3u1vdmtUKArOu8ws,3085
|
|
444
|
-
snaptrade_client/models/__init__.py,sha256=
|
|
445
|
-
snaptrade_client/operation_parameter_map.py,sha256=
|
|
448
|
+
snaptrade_client/models/__init__.py,sha256=Ubf9nxMK6oMHr7ZCH3pFq0V3QSt2lExB6so0M6Aushg,14184
|
|
449
|
+
snaptrade_client/operation_parameter_map.py,sha256=A-CnmImTxEal5nbbqP49BHGYYSm3_RjjW8iCe8fSQMM,19137
|
|
446
450
|
snaptrade_client/paths/__init__.py,sha256=O5AyZd3nQk5HAoQSp2mwdtnBGBmnOhYS6m3JBRk244c,3672
|
|
447
451
|
snaptrade_client/paths/accounts/__init__.py,sha256=_Bqi6B13A-kgd0AOpqmcE1vTxJDfoz-r3Hwf-AmwW6A,307
|
|
448
452
|
snaptrade_client/paths/accounts/get.py,sha256=XR5J2YLyYQrfHRVSK0hfUJKhVsu-6P7ii5AeRgGz8Ao,16835
|
|
@@ -584,8 +588,8 @@ snaptrade_client/paths/snap_trade_list_users/__init__.py,sha256=AtqSPWdsxdx2dPzg
|
|
|
584
588
|
snaptrade_client/paths/snap_trade_list_users/get.py,sha256=wB3n61CDtgsBAdRi-saV_5G-lxsGZngs4lXADW0ad7s,12979
|
|
585
589
|
snaptrade_client/paths/snap_trade_list_users/get.pyi,sha256=uQXp5QjhL6Uw4f77HyEcRQ33_b-J_nxeboRbCMWPLr0,12725
|
|
586
590
|
snaptrade_client/paths/snap_trade_login/__init__.py,sha256=xMPF2mn5cUpqqpSTbW-PuGECUh30RJRaov1F6Q08FgI,323
|
|
587
|
-
snaptrade_client/paths/snap_trade_login/post.py,sha256=
|
|
588
|
-
snaptrade_client/paths/snap_trade_login/post.pyi,sha256=
|
|
591
|
+
snaptrade_client/paths/snap_trade_login/post.py,sha256=TQtdlR-6FK71Q5wr85ZbLNO6YRmfNloIsuK8neP5F2A,26150
|
|
592
|
+
snaptrade_client/paths/snap_trade_login/post.pyi,sha256=52qqQRdC1HcSqgdsIsxSRMfxzivYhJtlSm6yDJ-Z91M,25866
|
|
589
593
|
snaptrade_client/paths/snap_trade_partners/__init__.py,sha256=y9qc6VTJMgTOIkChpm8aMmOPQMbKSnt80MInAOswnc8,329
|
|
590
594
|
snaptrade_client/paths/snap_trade_partners/get.py,sha256=Bwwnwni7bwh1pNTJ_21aGa4DdLZz6VqEcXPJxb22M7c,13261
|
|
591
595
|
snaptrade_client/paths/snap_trade_partners/get.pyi,sha256=RlLTJFcxkLRJIa3a6eNxjW7d9Occ2Z_T7fCknSc-7Ew,12977
|
|
@@ -667,7 +671,9 @@ snaptrade_client/type/crypto_order_preview.py,sha256=cZ_LgtZlHCYiaL9nSSliV4SE0rF
|
|
|
667
671
|
snaptrade_client/type/crypto_order_preview_estimated_fee.py,sha256=pqHTKg-dIhH24BCnUY4fFdERJIcWJEGpD5OAXHntEqk,796
|
|
668
672
|
snaptrade_client/type/crypto_trading_instrument.py,sha256=D8dOWGdyqZAluHgYFfMtl3ru8jl3-2n1IKcNL7E5MYQ,705
|
|
669
673
|
snaptrade_client/type/cryptocurrency_base_symbol.py,sha256=zKNL1cf3yes--pBAvvCu-C5IfXsk_eQDIzf8zSTNx1U,402
|
|
670
|
-
snaptrade_client/type/
|
|
674
|
+
snaptrade_client/type/cryptocurrency_increment.py,sha256=GTLNaryU-6UjC99pEHY2zdUqvxXNm0jjr4QkX60vzuU,401
|
|
675
|
+
snaptrade_client/type/cryptocurrency_increment_nullable.py,sha256=VSsjyCdnnIuERoWvKbJ1mMku8k99GJt98VSdij7h2gw,409
|
|
676
|
+
snaptrade_client/type/cryptocurrency_pair.py,sha256=Nq6-9X4bvWcFK29YhYdFZuqvCQifToo_gx2yC6dj76U,1067
|
|
671
677
|
snaptrade_client/type/cryptocurrency_pair_quote.py,sha256=bwBv2jvYU6iQGZ13wv_X7EmWzKxnHvIeDv8PS1-_3Cw,825
|
|
672
678
|
snaptrade_client/type/cryptocurrency_pair_symbol.py,sha256=Lx5tTAQhMofnWzaKKYhwS_9b5fy2JgYUwWRxyH_hOak,402
|
|
673
679
|
snaptrade_client/type/cryptocurrency_quote_symbol.py,sha256=RizZlNTvNhniC32Jh8CHjVH8n-ekRjqpLn5LwVFyeVo,403
|
|
@@ -760,7 +766,7 @@ snaptrade_client/type/simple_order_form.py,sha256=o8jhnyAQI_PDWAsgtXhwI-5lxnEJrF
|
|
|
760
766
|
snaptrade_client/type/snap_trade_holdings_account.py,sha256=2CELHwFK5R3S6IEdQR-0L4yz5MHlnXuX8-HFOgWTJ0U,1098
|
|
761
767
|
snaptrade_client/type/snap_trade_holdings_account_meta.py,sha256=d8lARJi8F4ppNZzEkyoGVetlmLlp-cv8gxY7Qph1LmA,407
|
|
762
768
|
snaptrade_client/type/snap_trade_holdings_total_value.py,sha256=tqQxn5TxkCYhZmCEtQc9uuLkKOyeXQKTNNMY23xQN3I,830
|
|
763
|
-
snaptrade_client/type/snap_trade_login_user_request_body.py,sha256=
|
|
769
|
+
snaptrade_client/type/snap_trade_login_user_request_body.py,sha256=zZ83pub-v9xhvwNJExzkvxCxGB_U9FVPJMloezoshlc,2568
|
|
764
770
|
snaptrade_client/type/snap_trade_register_user_request_body.py,sha256=1Qdcaxref9GaOOxhzIL67jyH9B1atAmOK41_RQHRrGU,908
|
|
765
771
|
snaptrade_client/type/status.py,sha256=S_dlmtpGIrLQ330OrWw4ORsWl4_1PJglTFdari1ftG0,571
|
|
766
772
|
snaptrade_client/type/stop_loss.py,sha256=dmH0Tnf94hktMLYicdno1GW7jp3MiriQQ9sJlhDd2cM,585
|
|
@@ -797,7 +803,7 @@ snaptrade_client/type/user_secret.py,sha256=pKCVhqf1rROHwa6tvoyA5OAKXCBAmNDvIQCf
|
|
|
797
803
|
snaptrade_client/type/validated_trade_body.py,sha256=ZIPBQWii_a-9zHaBCJ6bQtmL1_I7AG0zwuvkY-ZQ6R4,890
|
|
798
804
|
snaptrade_client/type_util.py,sha256=JIrMYgJzd4IJ8Ne2vqcahlPA9dVmphL9sn8gwccCB4Y,563
|
|
799
805
|
snaptrade_client/validation_metadata.py,sha256=VTN5y-NudHXok1X468J4PnGze_tGEAcs1v3gsXmcrb0,3172
|
|
800
|
-
snaptrade_python_sdk-11.0.
|
|
801
|
-
snaptrade_python_sdk-11.0.
|
|
802
|
-
snaptrade_python_sdk-11.0.
|
|
803
|
-
snaptrade_python_sdk-11.0.
|
|
806
|
+
snaptrade_python_sdk-11.0.147.dist-info/LICENSE,sha256=W_1kcxEzOnZXIYJ1GVUipbmUu6dNLt-Pc-OI55h3k-A,1081
|
|
807
|
+
snaptrade_python_sdk-11.0.147.dist-info/METADATA,sha256=3bCxje3ub7c8YfXgK85YyHp15j6bNwKxkYMU3BowWPo,100996
|
|
808
|
+
snaptrade_python_sdk-11.0.147.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
809
|
+
snaptrade_python_sdk-11.0.147.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|