snaptrade-python-sdk 11.0.116__py3-none-any.whl → 11.0.118__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.
Files changed (25) hide show
  1. snaptrade_client/__init__.py +1 -1
  2. snaptrade_client/api_client.py +1 -1
  3. snaptrade_client/apis/path_to_api.py +3 -0
  4. snaptrade_client/apis/paths/brokerages_brokerage_id_instruments.py +7 -0
  5. snaptrade_client/apis/tags/reference_data_api_generated.py +2 -0
  6. snaptrade_client/configuration.py +1 -1
  7. snaptrade_client/model/brokerage_id.py +25 -0
  8. snaptrade_client/model/brokerage_id.pyi +25 -0
  9. snaptrade_client/model/brokerage_instrument.py +197 -0
  10. snaptrade_client/model/brokerage_instrument.pyi +197 -0
  11. snaptrade_client/model/brokerage_instruments_response.py +103 -0
  12. snaptrade_client/model/brokerage_instruments_response.pyi +103 -0
  13. snaptrade_client/models/__init__.py +3 -0
  14. snaptrade_client/operation_parameter_map.py +7 -0
  15. snaptrade_client/paths/__init__.py +1 -0
  16. snaptrade_client/paths/brokerages_brokerage_id_instruments/__init__.py +7 -0
  17. snaptrade_client/paths/brokerages_brokerage_id_instruments/get.py +417 -0
  18. snaptrade_client/paths/brokerages_brokerage_id_instruments/get.pyi +406 -0
  19. snaptrade_client/type/brokerage_id.py +19 -0
  20. snaptrade_client/type/brokerage_instrument.py +39 -0
  21. snaptrade_client/type/brokerage_instruments_response.py +27 -0
  22. {snaptrade_python_sdk-11.0.116.dist-info → snaptrade_python_sdk-11.0.118.dist-info}/METADATA +34 -3
  23. {snaptrade_python_sdk-11.0.116.dist-info → snaptrade_python_sdk-11.0.118.dist-info}/RECORD +25 -12
  24. {snaptrade_python_sdk-11.0.116.dist-info → snaptrade_python_sdk-11.0.118.dist-info}/LICENSE +0 -0
  25. {snaptrade_python_sdk-11.0.116.dist-info → snaptrade_python_sdk-11.0.118.dist-info}/WHEEL +0 -0
@@ -0,0 +1,406 @@
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 dataclasses import dataclass
14
+ import typing_extensions
15
+ import urllib3
16
+ from snaptrade_client.request_before_hook import request_before_hook
17
+ import json
18
+ from urllib3._collections import HTTPHeaderDict
19
+
20
+ from snaptrade_client.api_response import AsyncGeneratorResponse
21
+ from snaptrade_client import api_client, exceptions
22
+ from datetime import date, datetime # noqa: F401
23
+ import decimal # noqa: F401
24
+ import functools # noqa: F401
25
+ import io # noqa: F401
26
+ import re # noqa: F401
27
+ import typing # noqa: F401
28
+ import typing_extensions # noqa: F401
29
+ import uuid # noqa: F401
30
+
31
+ import frozendict # noqa: F401
32
+
33
+ from snaptrade_client import schemas # noqa: F401
34
+
35
+ from snaptrade_client.model.brokerage_instruments_response import BrokerageInstrumentsResponse as BrokerageInstrumentsResponseSchema
36
+
37
+ from snaptrade_client.type.brokerage_instruments_response import BrokerageInstrumentsResponse
38
+
39
+ # Path params
40
+ BrokerageIdSchema = schemas.UUIDSchema
41
+ RequestRequiredPathParams = typing_extensions.TypedDict(
42
+ 'RequestRequiredPathParams',
43
+ {
44
+ 'brokerageId': typing.Union[BrokerageIdSchema, str, uuid.UUID, ],
45
+ }
46
+ )
47
+ RequestOptionalPathParams = typing_extensions.TypedDict(
48
+ 'RequestOptionalPathParams',
49
+ {
50
+ },
51
+ total=False
52
+ )
53
+
54
+
55
+ class RequestPathParams(RequestRequiredPathParams, RequestOptionalPathParams):
56
+ pass
57
+
58
+
59
+ request_path_brokerage_id = api_client.PathParameter(
60
+ name="brokerageId",
61
+ style=api_client.ParameterStyle.SIMPLE,
62
+ schema=BrokerageIdSchema,
63
+ required=True,
64
+ )
65
+ SchemaFor200ResponseBodyApplicationJson = BrokerageInstrumentsResponseSchema
66
+
67
+
68
+ @dataclass
69
+ class ApiResponseFor200(api_client.ApiResponse):
70
+ body: BrokerageInstrumentsResponse
71
+
72
+
73
+ @dataclass
74
+ class ApiResponseFor200Async(api_client.AsyncApiResponse):
75
+ body: BrokerageInstrumentsResponse
76
+
77
+
78
+ _response_for_200 = api_client.OpenApiResponse(
79
+ response_cls=ApiResponseFor200,
80
+ response_cls_async=ApiResponseFor200Async,
81
+ content={
82
+ 'application/json': api_client.MediaType(
83
+ schema=SchemaFor200ResponseBodyApplicationJson),
84
+ },
85
+ )
86
+
87
+
88
+ @dataclass
89
+ class ApiResponseForDefault(api_client.ApiResponse):
90
+ body: schemas.Unset = schemas.unset
91
+
92
+
93
+ @dataclass
94
+ class ApiResponseForDefaultAsync(api_client.AsyncApiResponse):
95
+ body: schemas.Unset = schemas.unset
96
+
97
+
98
+ _response_for_default = api_client.OpenApiResponse(
99
+ response_cls=ApiResponseForDefault,
100
+ )
101
+ _all_accept_content_types = (
102
+ 'application/json',
103
+ )
104
+
105
+
106
+ class BaseApi(api_client.Api):
107
+
108
+ def _list_all_brokerage_instruments_mapped_args(
109
+ self,
110
+ brokerage_id: typing.Optional[str] = None,
111
+ path_params: typing.Optional[dict] = {},
112
+ ) -> api_client.MappedArgs:
113
+ args: api_client.MappedArgs = api_client.MappedArgs()
114
+ _path_params = {}
115
+ if brokerage_id is not None:
116
+ _path_params["brokerageId"] = brokerage_id
117
+ args.path = path_params if path_params else _path_params
118
+ return args
119
+
120
+ async def _alist_all_brokerage_instruments_oapg(
121
+ self,
122
+ path_params: typing.Optional[dict] = {},
123
+ skip_deserialization: bool = True,
124
+ timeout: typing.Optional[typing.Union[float, typing.Tuple]] = None,
125
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
126
+ stream: bool = False,
127
+ **kwargs,
128
+ ) -> typing.Union[
129
+ ApiResponseFor200Async,
130
+ ApiResponseForDefaultAsync,
131
+ api_client.ApiResponseWithoutDeserializationAsync,
132
+ AsyncGeneratorResponse,
133
+ ]:
134
+ """
135
+ Get brokerage instruments
136
+ :param skip_deserialization: If true then api_response.response will be set but
137
+ api_response.body and api_response.headers will not be deserialized into schema
138
+ class instances
139
+ """
140
+ self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params)
141
+ used_path = path.value
142
+
143
+ _path_params = {}
144
+ for parameter in (
145
+ request_path_brokerage_id,
146
+ ):
147
+ parameter_data = path_params.get(parameter.name, schemas.unset)
148
+ if parameter_data is schemas.unset:
149
+ continue
150
+ serialized_data = parameter.serialize(parameter_data)
151
+ _path_params.update(serialized_data)
152
+
153
+ for k, v in _path_params.items():
154
+ used_path = used_path.replace('{%s}' % k, v)
155
+
156
+ _headers = HTTPHeaderDict()
157
+ # TODO add cookie handling
158
+ if accept_content_types:
159
+ for accept_content_type in accept_content_types:
160
+ _headers.add('Accept', accept_content_type)
161
+ method = 'get'.upper()
162
+ request_before_hook(
163
+ resource_path=used_path,
164
+ method=method,
165
+ configuration=self.api_client.configuration,
166
+ path_template='/brokerages/{brokerageId}/instruments',
167
+ auth_settings=_auth,
168
+ headers=_headers,
169
+ )
170
+
171
+ response = await self.api_client.async_call_api(
172
+ resource_path=used_path,
173
+ method=method,
174
+ headers=_headers,
175
+ auth_settings=_auth,
176
+ timeout=timeout,
177
+ **kwargs
178
+ )
179
+
180
+ if stream:
181
+ if not 200 <= response.http_response.status <= 299:
182
+ body = (await response.http_response.content.read()).decode("utf-8")
183
+ raise exceptions.ApiStreamingException(
184
+ status=response.http_response.status,
185
+ reason=response.http_response.reason,
186
+ body=body,
187
+ )
188
+
189
+ async def stream_iterator():
190
+ """
191
+ iterates over response.http_response.content and closes connection once iteration has finished
192
+ """
193
+ async for line in response.http_response.content:
194
+ if line == b'\r\n':
195
+ continue
196
+ yield line
197
+ response.http_response.close()
198
+ await response.session.close()
199
+ return AsyncGeneratorResponse(
200
+ content=stream_iterator(),
201
+ headers=response.http_response.headers,
202
+ status=response.http_response.status,
203
+ response=response.http_response
204
+ )
205
+
206
+ response_for_status = _status_code_to_response.get(str(response.http_response.status))
207
+ if response_for_status:
208
+ api_response = await response_for_status.deserialize_async(
209
+ response,
210
+ self.api_client.configuration,
211
+ skip_deserialization=skip_deserialization
212
+ )
213
+ else:
214
+ default_response = _status_code_to_response.get('default')
215
+ if default_response:
216
+ api_response = default_response.deserialize(
217
+ response,
218
+ self.api_client.configuration,
219
+ skip_deserialization=skip_deserialization
220
+ )
221
+ else:
222
+ api_response = api_client.ApiResponseWithoutDeserializationAsync(
223
+ response=response.http_response,
224
+ round_trip_time=response.round_trip_time,
225
+ status=response.http_response.status,
226
+ headers=response.http_response.headers,
227
+ )
228
+
229
+ if not 200 <= api_response.status <= 299:
230
+ raise exceptions.ApiException(api_response=api_response)
231
+
232
+ # cleanup session / response
233
+ response.http_response.close()
234
+ await response.session.close()
235
+
236
+ return api_response
237
+
238
+
239
+ def _list_all_brokerage_instruments_oapg(
240
+ self,
241
+ path_params: typing.Optional[dict] = {},
242
+ skip_deserialization: bool = True,
243
+ timeout: typing.Optional[typing.Union[float, typing.Tuple]] = None,
244
+ accept_content_types: typing.Tuple[str] = _all_accept_content_types,
245
+ stream: bool = False,
246
+ ) -> typing.Union[
247
+ ApiResponseFor200,
248
+ ApiResponseForDefault,
249
+ api_client.ApiResponseWithoutDeserialization,
250
+ ]:
251
+ """
252
+ Get brokerage instruments
253
+ :param skip_deserialization: If true then api_response.response will be set but
254
+ api_response.body and api_response.headers will not be deserialized into schema
255
+ class instances
256
+ """
257
+ self._verify_typed_dict_inputs_oapg(RequestPathParams, path_params)
258
+ used_path = path.value
259
+
260
+ _path_params = {}
261
+ for parameter in (
262
+ request_path_brokerage_id,
263
+ ):
264
+ parameter_data = path_params.get(parameter.name, schemas.unset)
265
+ if parameter_data is schemas.unset:
266
+ continue
267
+ serialized_data = parameter.serialize(parameter_data)
268
+ _path_params.update(serialized_data)
269
+
270
+ for k, v in _path_params.items():
271
+ used_path = used_path.replace('{%s}' % k, v)
272
+
273
+ _headers = HTTPHeaderDict()
274
+ # TODO add cookie handling
275
+ if accept_content_types:
276
+ for accept_content_type in accept_content_types:
277
+ _headers.add('Accept', accept_content_type)
278
+ method = 'get'.upper()
279
+ request_before_hook(
280
+ resource_path=used_path,
281
+ method=method,
282
+ configuration=self.api_client.configuration,
283
+ path_template='/brokerages/{brokerageId}/instruments',
284
+ auth_settings=_auth,
285
+ headers=_headers,
286
+ )
287
+
288
+ response = self.api_client.call_api(
289
+ resource_path=used_path,
290
+ method=method,
291
+ headers=_headers,
292
+ auth_settings=_auth,
293
+ timeout=timeout,
294
+ )
295
+
296
+ response_for_status = _status_code_to_response.get(str(response.http_response.status))
297
+ if response_for_status:
298
+ api_response = response_for_status.deserialize(
299
+ response,
300
+ self.api_client.configuration,
301
+ skip_deserialization=skip_deserialization
302
+ )
303
+ else:
304
+ default_response = _status_code_to_response.get('default')
305
+ if default_response:
306
+ api_response = default_response.deserialize(
307
+ response,
308
+ self.api_client.configuration,
309
+ skip_deserialization=skip_deserialization
310
+ )
311
+ else:
312
+ api_response = api_client.ApiResponseWithoutDeserialization(
313
+ response=response.http_response,
314
+ round_trip_time=response.round_trip_time,
315
+ status=response.http_response.status,
316
+ headers=response.http_response.headers,
317
+ )
318
+
319
+ if not 200 <= api_response.status <= 299:
320
+ raise exceptions.ApiException(api_response=api_response)
321
+
322
+ return api_response
323
+
324
+
325
+ class ListAllBrokerageInstruments(BaseApi):
326
+ # this class is used by api classes that refer to endpoints with operationId fn names
327
+
328
+ async def alist_all_brokerage_instruments(
329
+ self,
330
+ brokerage_id: typing.Optional[str] = None,
331
+ path_params: typing.Optional[dict] = {},
332
+ **kwargs,
333
+ ) -> typing.Union[
334
+ ApiResponseFor200Async,
335
+ ApiResponseForDefaultAsync,
336
+ api_client.ApiResponseWithoutDeserializationAsync,
337
+ AsyncGeneratorResponse,
338
+ ]:
339
+ args = self._list_all_brokerage_instruments_mapped_args(
340
+ path_params=path_params,
341
+ brokerage_id=brokerage_id,
342
+ )
343
+ return await self._alist_all_brokerage_instruments_oapg(
344
+ path_params=args.path,
345
+ **kwargs,
346
+ )
347
+
348
+ def list_all_brokerage_instruments(
349
+ self,
350
+ brokerage_id: typing.Optional[str] = None,
351
+ path_params: typing.Optional[dict] = {},
352
+ ) -> typing.Union[
353
+ ApiResponseFor200,
354
+ ApiResponseForDefault,
355
+ api_client.ApiResponseWithoutDeserialization,
356
+ ]:
357
+ """ Returns a list of all brokerage instruments available for a given brokerage. Not all brokerages support this. The ones that don't will return an empty list. """
358
+ args = self._list_all_brokerage_instruments_mapped_args(
359
+ path_params=path_params,
360
+ brokerage_id=brokerage_id,
361
+ )
362
+ return self._list_all_brokerage_instruments_oapg(
363
+ path_params=args.path,
364
+ )
365
+
366
+ class ApiForget(BaseApi):
367
+ # this class is used by api classes that refer to endpoints by path and http method names
368
+
369
+ async def aget(
370
+ self,
371
+ brokerage_id: typing.Optional[str] = None,
372
+ path_params: typing.Optional[dict] = {},
373
+ **kwargs,
374
+ ) -> typing.Union[
375
+ ApiResponseFor200Async,
376
+ ApiResponseForDefaultAsync,
377
+ api_client.ApiResponseWithoutDeserializationAsync,
378
+ AsyncGeneratorResponse,
379
+ ]:
380
+ args = self._list_all_brokerage_instruments_mapped_args(
381
+ path_params=path_params,
382
+ brokerage_id=brokerage_id,
383
+ )
384
+ return await self._alist_all_brokerage_instruments_oapg(
385
+ path_params=args.path,
386
+ **kwargs,
387
+ )
388
+
389
+ def get(
390
+ self,
391
+ brokerage_id: typing.Optional[str] = None,
392
+ path_params: typing.Optional[dict] = {},
393
+ ) -> typing.Union[
394
+ ApiResponseFor200,
395
+ ApiResponseForDefault,
396
+ api_client.ApiResponseWithoutDeserialization,
397
+ ]:
398
+ """ Returns a list of all brokerage instruments available for a given brokerage. Not all brokerages support this. The ones that don't will return an empty list. """
399
+ args = self._list_all_brokerage_instruments_mapped_args(
400
+ path_params=path_params,
401
+ brokerage_id=brokerage_id,
402
+ )
403
+ return self._list_all_brokerage_instruments_oapg(
404
+ path_params=args.path,
405
+ )
406
+
@@ -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
+ BrokerageID = str
@@ -0,0 +1,39 @@
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
+ class RequiredBrokerageInstrument(TypedDict):
20
+ pass
21
+
22
+ class OptionalBrokerageInstrument(TypedDict, total=False):
23
+ # The instrument's trading symbol / ticker.
24
+ symbol: str
25
+
26
+ # The MIC code of the exchange where the instrument is traded.
27
+ exchange_mic: typing.Optional[str]
28
+
29
+ # Whether the instrument is tradeable through the brokerage. `null` if the tradeability is unknown.
30
+ tradeable: typing.Optional[bool]
31
+
32
+ # Whether the instrument allows fractional units. `null` if the fractionability is unknown.
33
+ fractionable: typing.Optional[bool]
34
+
35
+ # The universal symbol ID of the instrument. This is the ID used to reference the instrument in SnapTrade API calls.
36
+ universal_symbol_id: typing.Optional[str]
37
+
38
+ class BrokerageInstrument(RequiredBrokerageInstrument, OptionalBrokerageInstrument):
39
+ pass
@@ -0,0 +1,27 @@
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
+ from snaptrade_client.type.brokerage_instrument import BrokerageInstrument
19
+
20
+ class RequiredBrokerageInstrumentsResponse(TypedDict):
21
+ pass
22
+
23
+ class OptionalBrokerageInstrumentsResponse(TypedDict, total=False):
24
+ instruments: typing.List[BrokerageInstrument]
25
+
26
+ class BrokerageInstrumentsResponse(RequiredBrokerageInstrumentsResponse, OptionalBrokerageInstrumentsResponse):
27
+ pass
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: snaptrade-python-sdk
3
- Version: 11.0.116
3
+ Version: 11.0.118
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
- [![PyPI](https://img.shields.io/badge/PyPI-v11.0.116-blue)](https://pypi.org/project/snaptrade-python-sdk/11.0.116)
33
+ [![PyPI](https://img.shields.io/badge/PyPI-v11.0.118-blue)](https://pypi.org/project/snaptrade-python-sdk/11.0.118)
34
34
  [![README.md](https://img.shields.io/badge/README-Click%20Here-green)](https://github.com/passiv/snaptrade-sdks/tree/master/sdks/python#readme)
35
35
  [![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://snaptrade.com/)
36
36
 
@@ -81,6 +81,7 @@ Connect brokerage accounts to your app for live positions and trading
81
81
  * [`snaptrade.reference_data.get_symbols`](#snaptradereference_dataget_symbols)
82
82
  * [`snaptrade.reference_data.get_symbols_by_ticker`](#snaptradereference_dataget_symbols_by_ticker)
83
83
  * [`snaptrade.reference_data.list_all_brokerage_authorization_type`](#snaptradereference_datalist_all_brokerage_authorization_type)
84
+ * [`snaptrade.reference_data.list_all_brokerage_instruments`](#snaptradereference_datalist_all_brokerage_instruments)
84
85
  * [`snaptrade.reference_data.list_all_brokerages`](#snaptradereference_datalist_all_brokerages)
85
86
  * [`snaptrade.reference_data.list_all_currencies`](#snaptradereference_datalist_all_currencies)
86
87
  * [`snaptrade.reference_data.list_all_currencies_rates`](#snaptradereference_datalist_all_currencies_rates)
@@ -110,7 +111,7 @@ Python >=3.8
110
111
  ## Installation<a id="installation"></a>
111
112
 
112
113
  ```sh
113
- pip install snaptrade-python-sdk==11.0.116
114
+ pip install snaptrade-python-sdk==11.0.118
114
115
  ```
115
116
 
116
117
  ## Getting Started<a id="getting-started"></a>
@@ -1565,6 +1566,36 @@ Comma separated value of brokerage slugs
1565
1566
 
1566
1567
  ---
1567
1568
 
1569
+ ### `snaptrade.reference_data.list_all_brokerage_instruments`<a id="snaptradereference_datalist_all_brokerage_instruments"></a>
1570
+
1571
+ Returns a list of all brokerage instruments available for a given brokerage. Not all brokerages support this. The ones that don't will return an empty list.
1572
+
1573
+ #### 🛠️ Usage<a id="🛠️-usage"></a>
1574
+
1575
+ ```python
1576
+ list_all_brokerage_instruments_response = (
1577
+ snaptrade.reference_data.list_all_brokerage_instruments(
1578
+ brokerage_id="87b24961-b51e-4db8-9226-f198f6518a89",
1579
+ )
1580
+ )
1581
+ ```
1582
+
1583
+ #### ⚙️ Parameters<a id="⚙️-parameters"></a>
1584
+
1585
+ ##### brokerage_id: `str`<a id="brokerage_id-str"></a>
1586
+
1587
+ #### 🔄 Return<a id="🔄-return"></a>
1588
+
1589
+ [`BrokerageInstrumentsResponse`](./snaptrade_client/type/brokerage_instruments_response.py)
1590
+
1591
+ #### 🌐 Endpoint<a id="🌐-endpoint"></a>
1592
+
1593
+ `/brokerages/{brokerageId}/instruments` `get`
1594
+
1595
+ [🔙 **Back to Table of Contents**](#table-of-contents)
1596
+
1597
+ ---
1598
+
1568
1599
  ### `snaptrade.reference_data.list_all_brokerages`<a id="snaptradereference_datalist_all_brokerages"></a>
1569
1600
 
1570
1601
  Returns a list of all defined Brokerage objects.
@@ -1,8 +1,8 @@
1
- snaptrade_client/__init__.py,sha256=-s64hOccu7igQiPESqiy0jJgBODSVy6lhzJrJ8mJq0k,820
2
- snaptrade_client/api_client.py,sha256=wk17Efb0hkP-MIBXLBs7vSpqIJdL5RbzhCEg7ZaziLM,73975
1
+ snaptrade_client/__init__.py,sha256=euDqgfgsC8l3aBYyaTJBYiZdOiANp7QCR8TSpvwUu4U,820
2
+ snaptrade_client/api_client.py,sha256=esk2QuEZ6PIukxwNdlkHbG3EbBXAcnItjAdJShjqi6M,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
- snaptrade_client/apis/path_to_api.py,sha256=5m9q1Jiuo6oZ_DJoEAcSwI2ZlWOeU9-L1AVDciEKSAo,13045
5
+ snaptrade_client/apis/path_to_api.py,sha256=SLpwK1E1PS-eT3afsaLab3u8QJLq3zHBN8ccXt0JD30,13334
6
6
  snaptrade_client/apis/paths/__init__.py,sha256=oIb-tz_ei5m0RWOOB0qXTkBKu61nYtwOUlWvQbD5gFE,243
7
7
  snaptrade_client/apis/paths/accounts.py,sha256=aHSwrwNqPSa2ikmR-WP0dg2LbRBSNBB3n3_2OTCcxs4,103
8
8
  snaptrade_client/apis/paths/accounts_account_id.py,sha256=Xv0hHwov50tVcdtqCS-Np0BmqMhUwrvjIQLaa9yPF3U,207
@@ -37,6 +37,7 @@ snaptrade_client/apis/paths/authorizations_authorization_id_refresh.py,sha256=YB
37
37
  snaptrade_client/apis/paths/authorizations_authorization_id_return_rates.py,sha256=1_ZsryO5M4dV9eWfIa1PPq2fG8fnzYtc5hmuelKVXt8,171
38
38
  snaptrade_client/apis/paths/brokerage_authorization_types.py,sha256=A0HApWnSB9hR_D7AQ41urD5Lke3dtKosKOnScgStu7o,143
39
39
  snaptrade_client/apis/paths/brokerages.py,sha256=LKV9KzmXT0e2tJzbeXPf80fcDR6XeuPtP-ZJ0RYfudQ,107
40
+ snaptrade_client/apis/paths/brokerages_brokerage_id_instruments.py,sha256=ri5ruKNZRbzXJZAliok-HnXT9vizYgS5j6NOqQTQkFw,154
40
41
  snaptrade_client/apis/paths/currencies.py,sha256=MQhS7U36AQnyQ454yUUuNCCbgel-v8x4g7DQebzAYaM,107
41
42
  snaptrade_client/apis/paths/currencies_rates.py,sha256=C4UyuGNlgJf7doYKpp4AfjQ4-QPvGtrm1kV4ln42zmE,118
42
43
  snaptrade_client/apis/paths/currencies_rates_currency_pair.py,sha256=yzm9l8jNuQU6vXIp4rVR69DTv89J6TIwFx-sc5ugBhA,144
@@ -70,7 +71,7 @@ snaptrade_client/apis/tags/connections_api_generated.py,sha256=inWc0qR9q4SFyTWsf
70
71
  snaptrade_client/apis/tags/options_api.py,sha256=tl2HI1JChvEGrE5mcSLN85Ah5AHtjVa4n8Hx7GY-ZNA,147
71
72
  snaptrade_client/apis/tags/options_api_generated.py,sha256=NehERRdEJhPpg2Q2XaHZc4bVMX7LOlguLQr-4feIH6o,994
72
73
  snaptrade_client/apis/tags/reference_data_api.py,sha256=DdmRsoiG7nLk8EgXWT1KvurcQnPYAlr1Dz0kdpdWGRQ,172
73
- snaptrade_client/apis/tags/reference_data_api_generated.py,sha256=0QKGp2TcqDmuYsuPuXL0Wf14aIihWLYXpnHTFT9oKwY,1499
74
+ snaptrade_client/apis/tags/reference_data_api_generated.py,sha256=F5uv2WsIYX7z8P86b8W8gjMjJU46L6GWs6WFJjKW17Y,1635
74
75
  snaptrade_client/apis/tags/trading_api.py,sha256=J0L9w7V4uoH3_fkvmJhpVQTIUQCACBgrb_QQ7VTILqI,147
75
76
  snaptrade_client/apis/tags/trading_api_generated.py,sha256=WieXJ5Eii7-4yu81f_bdu8j_7lJQ96LQIMwzF2rXL9w,1925
76
77
  snaptrade_client/apis/tags/transactions_and_reporting_api.py,sha256=4qC3MPU73Cj2ePSxD_GIjrvvxLbjEEsan2VcDqVZXd4,217
@@ -78,7 +79,7 @@ snaptrade_client/apis/tags/transactions_and_reporting_api_generated.py,sha256=Tw
78
79
  snaptrade_client/client.py,sha256=goDwWRv9909OPXDnGGYst_mr53bg6RUs4PwIvnrl_kE,2116
79
80
  snaptrade_client/client.pyi,sha256=goDwWRv9909OPXDnGGYst_mr53bg6RUs4PwIvnrl_kE,2116
80
81
  snaptrade_client/client_custom.py,sha256=Jx9ulCzelMFlESjzVFQSjBlYcH4dWxSJJWZDMPLyetM,745
81
- snaptrade_client/configuration.py,sha256=m0pvehjwElU5_FTJNI7Y51d85z4MOlyivEfhqKe8VxE,19262
82
+ snaptrade_client/configuration.py,sha256=5TH28GVCCKjkNMpeczF6jsetdj0YgJ4zoXUg8JVM_T8,19262
82
83
  snaptrade_client/exceptions.py,sha256=X0apI_sgQpGpa-qIqPUClReCdHAxeSuA6GW0YH_RsWg,7771
83
84
  snaptrade_client/exceptions_base.py,sha256=LAQkaC5C61-SdBLfyMjb0K7AYJkWVuLmg2uCvHa71FM,2274
84
85
  snaptrade_client/model/__init__.py,sha256=ayi2MIzcf0eAIsY13ToiNplV9tW-pMBFrC0I9yckGM8,350
@@ -136,6 +137,12 @@ snaptrade_client/model/brokerage_authorization_type_read_only_brokerage.py,sha25
136
137
  snaptrade_client/model/brokerage_authorization_type_read_only_brokerage.pyi,sha256=8JzhSj0DIIHvK1rzG8gjGTsL25WHyd8R5hq0loWwvJk,3531
137
138
  snaptrade_client/model/brokerage_exchanges.py,sha256=pCbQ6uDHKBHPJBiVRdnyOV8iqZQvCKgfyx8i7ok6xnE,1624
138
139
  snaptrade_client/model/brokerage_exchanges.pyi,sha256=pCbQ6uDHKBHPJBiVRdnyOV8iqZQvCKgfyx8i7ok6xnE,1624
140
+ snaptrade_client/model/brokerage_id.py,sha256=B8Y6_fjztI3b-UyGfqTXYZTF90_DFS4Gib3ZKnC3fkY,602
141
+ snaptrade_client/model/brokerage_id.pyi,sha256=B8Y6_fjztI3b-UyGfqTXYZTF90_DFS4Gib3ZKnC3fkY,602
142
+ snaptrade_client/model/brokerage_instrument.py,sha256=rK7nGHcoFkyyI38YPipmz_lVXQ9bPKRKI1u6CalGTBY,7639
143
+ snaptrade_client/model/brokerage_instrument.pyi,sha256=rK7nGHcoFkyyI38YPipmz_lVXQ9bPKRKI1u6CalGTBY,7639
144
+ snaptrade_client/model/brokerage_instruments_response.py,sha256=k0boWyLlnpaKDPntIrv8rcpJk5eG7rwDWnA4BZUjzKI,3535
145
+ snaptrade_client/model/brokerage_instruments_response.pyi,sha256=k0boWyLlnpaKDPntIrv8rcpJk5eG7rwDWnA4BZUjzKI,3535
139
146
  snaptrade_client/model/brokerage_order_id.py,sha256=7MQACuFY1z1zyd31KkUVjwboCh6efSCrOxbHzzWpha0,606
140
147
  snaptrade_client/model/brokerage_order_id.pyi,sha256=7MQACuFY1z1zyd31KkUVjwboCh6efSCrOxbHzzWpha0,606
141
148
  snaptrade_client/model/brokerage_symbol_id.py,sha256=RWUXZ6wc22he2Iv6vVhQdw6LommJxOab0yRd_YIntgc,608
@@ -412,9 +419,9 @@ snaptrade_client/model/user_secret.py,sha256=7xf__S566WtTq7VthmdVtrCBIfgpnYWYqE9
412
419
  snaptrade_client/model/user_secret.pyi,sha256=7xf__S566WtTq7VthmdVtrCBIfgpnYWYqE9cmz9vBMc,600
413
420
  snaptrade_client/model/validated_trade_body.py,sha256=NkTel1ulgSjBd6K7vur6puEbfrg3u1vdmtUKArOu8ws,3085
414
421
  snaptrade_client/model/validated_trade_body.pyi,sha256=NkTel1ulgSjBd6K7vur6puEbfrg3u1vdmtUKArOu8ws,3085
415
- snaptrade_client/models/__init__.py,sha256=bXb8yU4mpmmi4B0O9u3CkDBpH9ynJpp6yXH9L-KjrMM,12927
416
- snaptrade_client/operation_parameter_map.py,sha256=I1v-gGfR7LPjzerjPt9IYiggo-7DdKTbKcKNiyLRPDo,19205
417
- snaptrade_client/paths/__init__.py,sha256=LxX3Z8DA8Zk8KXRILSv1pDKUxRR5VVQ3b8T5GU0AqDc,3759
422
+ snaptrade_client/models/__init__.py,sha256=YB78T-G1HtVQguwlOz9UWTGhYNqzU4TU6IkG56CDMhE,13158
423
+ snaptrade_client/operation_parameter_map.py,sha256=A0nDCqWYriqmEQUk4izudEgjT0vl6kUzc-WfTqAMxhQ,19364
424
+ snaptrade_client/paths/__init__.py,sha256=2gpaylH3fPI4vPKxn-bEW7HlmHYnMM1w4aM4TXDMs-8,3841
418
425
  snaptrade_client/paths/accounts/__init__.py,sha256=_Bqi6B13A-kgd0AOpqmcE1vTxJDfoz-r3Hwf-AmwW6A,307
419
426
  snaptrade_client/paths/accounts/get.py,sha256=MDE_4VCylBroYDkMQe9II1qCGf6gTTDGCShFyGLXf00,16463
420
427
  snaptrade_client/paths/accounts/get.pyi,sha256=gna7qIU-95WqOFl6qTsP18ZY7SKi9CYEBAbARPAPPF4,16261
@@ -518,6 +525,9 @@ snaptrade_client/paths/brokerage_authorization_types/get.pyi,sha256=QH-Le2FQ3lEw
518
525
  snaptrade_client/paths/brokerages/__init__.py,sha256=iSOrQi0W3HabeDgu9IRT-PYS_bYZvd2o05hfhFgyqpw,311
519
526
  snaptrade_client/paths/brokerages/get.py,sha256=C9ygoXqROqHL58spj0nISr13o9mXMLUE6tmUiK6i-eQ,11862
520
527
  snaptrade_client/paths/brokerages/get.pyi,sha256=s3n13JswLTx30uVTItV8eUVDa0cpJSrcUOOQ8SSgOdo,11660
528
+ snaptrade_client/paths/brokerages_brokerage_id_instruments/__init__.py,sha256=VWl2ZJ5JNeTtYHcavRnLjDKfQ7PsLTh7z1EyYzlhG44,361
529
+ snaptrade_client/paths/brokerages_brokerage_id_instruments/get.py,sha256=zl3IhD7ERu0R5ERDw-FYiPBnf8VTF2iDZhHceWAnXps,14779
530
+ snaptrade_client/paths/brokerages_brokerage_id_instruments/get.pyi,sha256=2b4RaF0owgMO0Tj2wu3krAVGEE6YH7ju8bxWqzQUA4w,14577
521
531
  snaptrade_client/paths/currencies/__init__.py,sha256=E_ExjRD9lsd051A5rYxbZjMI8EuzoNNqca6NnHUmGGg,311
522
532
  snaptrade_client/paths/currencies/get.py,sha256=T6INxssyN58AqwmlhUy363i9YRezc-xVnoqWeRMgkco,11848
523
533
  snaptrade_client/paths/currencies/get.pyi,sha256=NeZH1if9QF_KPdhEME-vuJV-JTILX2CuG9wNSs9MXMA,11646
@@ -612,6 +622,9 @@ snaptrade_client/type/brokerage_authorization_refresh_confirmation.py,sha256=NqO
612
622
  snaptrade_client/type/brokerage_authorization_type_read_only.py,sha256=s8LO8_UrSeW846mmtChNpBxkgN8WZJGCK_a-ha7Kezo,890
613
623
  snaptrade_client/type/brokerage_authorization_type_read_only_brokerage.py,sha256=CifzEt7S-UupSXMVloKz-ZdX7LeNG60btZ7nQhVOW_o,905
614
624
  snaptrade_client/type/brokerage_exchanges.py,sha256=qKMI9-B8MQPz3W3fnAVJNrZmdFK6ehfhH6FJmiI3Mk0,475
625
+ snaptrade_client/type/brokerage_id.py,sha256=9lFbHF4p5urF89zSBsedK_2PHtqD86b0TOV0Snp5FrY,389
626
+ snaptrade_client/type/brokerage_instrument.py,sha256=G5Jjf3-_ziIBtyGMq-RLFOvRXKUN7c4WUHBc_KcGQEg,1199
627
+ snaptrade_client/type/brokerage_instruments_response.py,sha256=flNX8_TLme4kZ_JxfYvHt09zt9hlMvNg-N9N-Vde65c,751
615
628
  snaptrade_client/type/brokerage_order_id.py,sha256=oE2d-GYvZjKRLR-eKg2iMVR3ESXhw7qEKC2w6ld4ldQ,394
616
629
  snaptrade_client/type/brokerage_symbol_id.py,sha256=nR9N24PrsaUx1AsjtLRg7-Jay5zqWxvYukw3Xj9SrXY,395
617
630
  snaptrade_client/type/brokerage_type.py,sha256=0euSMOfRSj26shEO7R64oRRL-crAcYxODCs203rsYXw,578
@@ -752,7 +765,7 @@ snaptrade_client/type/user_secret.py,sha256=pKCVhqf1rROHwa6tvoyA5OAKXCBAmNDvIQCf
752
765
  snaptrade_client/type/validated_trade_body.py,sha256=ZIPBQWii_a-9zHaBCJ6bQtmL1_I7AG0zwuvkY-ZQ6R4,890
753
766
  snaptrade_client/type_util.py,sha256=JIrMYgJzd4IJ8Ne2vqcahlPA9dVmphL9sn8gwccCB4Y,563
754
767
  snaptrade_client/validation_metadata.py,sha256=VTN5y-NudHXok1X468J4PnGze_tGEAcs1v3gsXmcrb0,3172
755
- snaptrade_python_sdk-11.0.116.dist-info/LICENSE,sha256=W_1kcxEzOnZXIYJ1GVUipbmUu6dNLt-Pc-OI55h3k-A,1081
756
- snaptrade_python_sdk-11.0.116.dist-info/METADATA,sha256=1yj2xUao3BjjOohkkh7NCaHBtRWL0AkrqkJlpGicako,94875
757
- snaptrade_python_sdk-11.0.116.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
758
- snaptrade_python_sdk-11.0.116.dist-info/RECORD,,
768
+ snaptrade_python_sdk-11.0.118.dist-info/LICENSE,sha256=W_1kcxEzOnZXIYJ1GVUipbmUu6dNLt-Pc-OI55h3k-A,1081
769
+ snaptrade_python_sdk-11.0.118.dist-info/METADATA,sha256=9_Ht2y_-zbn8sl9yVPRBsgGGPLwXycGI6-upCjIJoT0,95918
770
+ snaptrade_python_sdk-11.0.118.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
771
+ snaptrade_python_sdk-11.0.118.dist-info/RECORD,,