tradesmart 2.0.0__tar.gz
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.
- tradesmart-2.0.0/.gitignore +25 -0
- tradesmart-2.0.0/CHANGELOG.md +856 -0
- tradesmart-2.0.0/LICENSE +202 -0
- tradesmart-2.0.0/NOTICE +7 -0
- tradesmart-2.0.0/PKG-INFO +166 -0
- tradesmart-2.0.0/README.md +121 -0
- tradesmart-2.0.0/pyproject.toml +128 -0
- tradesmart-2.0.0/src/tradesmart/__init__.py +112 -0
- tradesmart-2.0.0/src/tradesmart/__main__.py +8 -0
- tradesmart-2.0.0/src/tradesmart/_cli.py +776 -0
- tradesmart-2.0.0/src/tradesmart/_client_core.py +308 -0
- tradesmart-2.0.0/src/tradesmart/_contract_cache.py +95 -0
- tradesmart-2.0.0/src/tradesmart/_key_store.py +183 -0
- tradesmart-2.0.0/src/tradesmart/_links.py +31 -0
- tradesmart-2.0.0/src/tradesmart/_logging.py +86 -0
- tradesmart-2.0.0/src/tradesmart/_option_contracts.py +550 -0
- tradesmart-2.0.0/src/tradesmart/_session.py +70 -0
- tradesmart-2.0.0/src/tradesmart/_slicing.py +344 -0
- tradesmart-2.0.0/src/tradesmart/_ticks.py +35 -0
- tradesmart-2.0.0/src/tradesmart/_token_store.py +226 -0
- tradesmart-2.0.0/src/tradesmart/_transport/__init__.py +1 -0
- tradesmart-2.0.0/src/tradesmart/_transport/async_http.py +185 -0
- tradesmart-2.0.0/src/tradesmart/_transport/codec.py +388 -0
- tradesmart-2.0.0/src/tradesmart/_transport/outcome.py +112 -0
- tradesmart-2.0.0/src/tradesmart/_transport/ratelimit.py +194 -0
- tradesmart-2.0.0/src/tradesmart/_transport/retry.py +31 -0
- tradesmart-2.0.0/src/tradesmart/_transport/sync_http.py +368 -0
- tradesmart-2.0.0/src/tradesmart/_version.py +1 -0
- tradesmart-2.0.0/src/tradesmart/analytics.py +170 -0
- tradesmart-2.0.0/src/tradesmart/async_client.py +822 -0
- tradesmart-2.0.0/src/tradesmart/auth.py +88 -0
- tradesmart-2.0.0/src/tradesmart/client.py +794 -0
- tradesmart-2.0.0/src/tradesmart/config.py +179 -0
- tradesmart-2.0.0/src/tradesmart/endpoints/__init__.py +1 -0
- tradesmart-2.0.0/src/tradesmart/endpoints/base.py +88 -0
- tradesmart-2.0.0/src/tradesmart/endpoints/gtt.py +251 -0
- tradesmart-2.0.0/src/tradesmart/endpoints/market.py +235 -0
- tradesmart-2.0.0/src/tradesmart/endpoints/orders.py +277 -0
- tradesmart-2.0.0/src/tradesmart/endpoints/portfolio.py +46 -0
- tradesmart-2.0.0/src/tradesmart/endpoints/user.py +16 -0
- tradesmart-2.0.0/src/tradesmart/enums.py +138 -0
- tradesmart-2.0.0/src/tradesmart/errors.py +154 -0
- tradesmart-2.0.0/src/tradesmart/greeks.py +556 -0
- tradesmart-2.0.0/src/tradesmart/instruments.py +500 -0
- tradesmart-2.0.0/src/tradesmart/models/__init__.py +1 -0
- tradesmart-2.0.0/src/tradesmart/models/base.py +387 -0
- tradesmart-2.0.0/src/tradesmart/models/gtt.py +190 -0
- tradesmart-2.0.0/src/tradesmart/models/market.py +249 -0
- tradesmart-2.0.0/src/tradesmart/models/orders.py +364 -0
- tradesmart-2.0.0/src/tradesmart/models/portfolio.py +159 -0
- tradesmart-2.0.0/src/tradesmart/models/stream.py +218 -0
- tradesmart-2.0.0/src/tradesmart/models/user.py +32 -0
- tradesmart-2.0.0/src/tradesmart/py.typed +0 -0
- tradesmart-2.0.0/src/tradesmart/stream/__init__.py +9 -0
- tradesmart-2.0.0/src/tradesmart/stream/async_stream.py +809 -0
- tradesmart-2.0.0/src/tradesmart/stream/delivery.py +194 -0
- tradesmart-2.0.0/src/tradesmart/stream/protocol.py +188 -0
- tradesmart-2.0.0/src/tradesmart/stream/state.py +88 -0
- tradesmart-2.0.0/src/tradesmart/stream/sync_stream.py +630 -0
- tradesmart-2.0.0/src/tradesmart/testing/__init__.py +14 -0
- tradesmart-2.0.0/src/tradesmart/testing/_broker.py +434 -0
- tradesmart-2.0.0/src/tradesmart/testing/_replies.py +849 -0
- tradesmart-2.0.0/src/tradesmart/testing/_rest.py +559 -0
- tradesmart-2.0.0/src/tradesmart/testing/_state.py +771 -0
- tradesmart-2.0.0/src/tradesmart/testing/_ws.py +225 -0
- tradesmart-2.0.0/src/tradesmart/testing/drills.py +72 -0
- tradesmart-2.0.0/src/tradesmart/testing/pytest_plugin.py +52 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Python SDK. This file also goes into the source distribution.
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*.egg-info/
|
|
5
|
+
.venv/
|
|
6
|
+
venv/
|
|
7
|
+
build/
|
|
8
|
+
dist/
|
|
9
|
+
.pytest_cache/
|
|
10
|
+
.mypy_cache/
|
|
11
|
+
.ruff_cache/
|
|
12
|
+
.coverage
|
|
13
|
+
.coverage.*
|
|
14
|
+
coverage.xml
|
|
15
|
+
htmlcov/
|
|
16
|
+
|
|
17
|
+
# Secrets / local config: never commit credentials
|
|
18
|
+
.env
|
|
19
|
+
.env.*
|
|
20
|
+
!.env.example
|
|
21
|
+
*.secret
|
|
22
|
+
*credentials*.json
|
|
23
|
+
|
|
24
|
+
# Observations recorded by the live tests and probes
|
|
25
|
+
.live-results/
|