alltradingapi 1.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.
- alltradingapi-1.0.0/.gitignore +51 -0
- alltradingapi-1.0.0/LICENSE +21 -0
- alltradingapi-1.0.0/PKG-INFO +204 -0
- alltradingapi-1.0.0/README.md +161 -0
- alltradingapi-1.0.0/assets/hero.svg +146 -0
- alltradingapi-1.0.0/assets/logo.svg +10 -0
- alltradingapi-1.0.0/assets/terminal.svg +16 -0
- alltradingapi-1.0.0/examples/01_quickstart.py +59 -0
- alltradingapi-1.0.0/examples/02_candle_history.py +45 -0
- alltradingapi-1.0.0/examples/03_charts_results_async.py +53 -0
- alltradingapi-1.0.0/pyproject.toml +115 -0
- alltradingapi-1.0.0/src/alltradingapi/__init__.py +81 -0
- alltradingapi-1.0.0/src/alltradingapi/_version.py +8 -0
- alltradingapi-1.0.0/src/alltradingapi/async_client.py +174 -0
- alltradingapi-1.0.0/src/alltradingapi/cache.py +75 -0
- alltradingapi-1.0.0/src/alltradingapi/client.py +494 -0
- alltradingapi-1.0.0/src/alltradingapi/config.py +167 -0
- alltradingapi-1.0.0/src/alltradingapi/errors.py +307 -0
- alltradingapi-1.0.0/src/alltradingapi/logging_.py +67 -0
- alltradingapi-1.0.0/src/alltradingapi/models/__init__.py +16 -0
- alltradingapi-1.0.0/src/alltradingapi/models/asset.py +94 -0
- alltradingapi-1.0.0/src/alltradingapi/models/base.py +190 -0
- alltradingapi-1.0.0/src/alltradingapi/models/candle.py +191 -0
- alltradingapi-1.0.0/src/alltradingapi/models/trade_result.py +84 -0
- alltradingapi-1.0.0/src/alltradingapi/params.py +272 -0
- alltradingapi-1.0.0/src/alltradingapi/py.typed +0 -0
- alltradingapi-1.0.0/src/alltradingapi/transport.py +425 -0
- alltradingapi-1.0.0/src/alltradingapi/update.py +657 -0
- alltradingapi-1.0.0/src/alltradingapi/utils.py +103 -0
- alltradingapi-1.0.0/tests/__init__.py +0 -0
- alltradingapi-1.0.0/tests/conftest.py +196 -0
- alltradingapi-1.0.0/tests/fake_server.py +133 -0
- alltradingapi-1.0.0/tests/fixtures/assets.json +41 -0
- alltradingapi-1.0.0/tests/fixtures/candles.json +80 -0
- alltradingapi-1.0.0/tests/fixtures/error_400.json +3 -0
- alltradingapi-1.0.0/tests/fixtures/error_401.json +3 -0
- alltradingapi-1.0.0/tests/fixtures/error_403.json +3 -0
- alltradingapi-1.0.0/tests/fixtures/error_429.json +3 -0
- alltradingapi-1.0.0/tests/fixtures/error_502.json +3 -0
- alltradingapi-1.0.0/tests/fixtures/result.json +30 -0
- alltradingapi-1.0.0/tests/fixtures/result_pending.json +21 -0
- alltradingapi-1.0.0/tests/fixtures/saved.json +52 -0
- alltradingapi-1.0.0/tests/fixtures/saved_raw.json +28 -0
- alltradingapi-1.0.0/tests/test_client_async.py +122 -0
- alltradingapi-1.0.0/tests/test_client_sync.py +235 -0
- alltradingapi-1.0.0/tests/test_errors.py +123 -0
- alltradingapi-1.0.0/tests/test_internal.py +456 -0
- alltradingapi-1.0.0/tests/test_models.py +195 -0
- alltradingapi-1.0.0/tests/test_packaging.py +220 -0
- alltradingapi-1.0.0/tests/test_params.py +151 -0
- alltradingapi-1.0.0/tests/test_transport.py +134 -0
- alltradingapi-1.0.0/tests/test_update.py +432 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
*.so
|
|
6
|
+
|
|
7
|
+
# Distribution / packaging
|
|
8
|
+
build/
|
|
9
|
+
dist/
|
|
10
|
+
*.egg-info/
|
|
11
|
+
*.egg
|
|
12
|
+
MANIFEST
|
|
13
|
+
|
|
14
|
+
# Virtual environments
|
|
15
|
+
.venv/
|
|
16
|
+
.venv-build/
|
|
17
|
+
.venv-smoke/
|
|
18
|
+
venv/
|
|
19
|
+
env/
|
|
20
|
+
|
|
21
|
+
# Test / tooling caches
|
|
22
|
+
.pytest_cache/
|
|
23
|
+
.mypy_cache/
|
|
24
|
+
.ruff_cache/
|
|
25
|
+
.coverage
|
|
26
|
+
.coverage.*
|
|
27
|
+
htmlcov/
|
|
28
|
+
coverage.xml
|
|
29
|
+
|
|
30
|
+
# Secrets — never commit
|
|
31
|
+
.env
|
|
32
|
+
.env.*
|
|
33
|
+
!.env.example
|
|
34
|
+
keys
|
|
35
|
+
keys.*
|
|
36
|
+
*.pem
|
|
37
|
+
*.key
|
|
38
|
+
|
|
39
|
+
# IDE / OS junk
|
|
40
|
+
.idea/
|
|
41
|
+
.vscode/
|
|
42
|
+
*.swp
|
|
43
|
+
Thumbs.db
|
|
44
|
+
.DS_Store
|
|
45
|
+
desktop.ini
|
|
46
|
+
|
|
47
|
+
# MkDocs build
|
|
48
|
+
site/
|
|
49
|
+
|
|
50
|
+
# Scratch
|
|
51
|
+
*.log
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 All Trading API
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: alltradingapi
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: The fastest, most complete Python API for Quotex market data, signals and AI trade analysis.
|
|
5
|
+
Project-URL: Homepage, https://alltradingapi.com
|
|
6
|
+
Project-URL: Documentation, https://github.com/alltradingapi/alltradingapi-python/tree/main/docs
|
|
7
|
+
Project-URL: Repository, https://github.com/alltradingapi/alltradingapi-python
|
|
8
|
+
Project-URL: Changelog, https://github.com/alltradingapi/alltradingapi-python/blob/main/CHANGELOG.md
|
|
9
|
+
Project-URL: Issues, https://github.com/alltradingapi/alltradingapi-python/issues
|
|
10
|
+
Project-URL: API Reference, https://alltradingapi.com/docs
|
|
11
|
+
Project-URL: PyPI, https://pypi.org/project/alltradingapi/
|
|
12
|
+
Author-email: All Trading API <admin@alltradingapi.com>
|
|
13
|
+
License: MIT
|
|
14
|
+
License-File: LICENSE
|
|
15
|
+
Keywords: analysis,api,binary-options,candles,forex,market-data,otc,quotex,sdk,signals,trading
|
|
16
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
17
|
+
Classifier: Intended Audience :: Developers
|
|
18
|
+
Classifier: Intended Audience :: Financial and Insurance Industry
|
|
19
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
20
|
+
Classifier: Natural Language :: English
|
|
21
|
+
Classifier: Operating System :: OS Independent
|
|
22
|
+
Classifier: Programming Language :: Python :: 3
|
|
23
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
28
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
29
|
+
Classifier: Topic :: Office/Business :: Financial
|
|
30
|
+
Classifier: Topic :: Office/Business :: Financial :: Investment
|
|
31
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
32
|
+
Classifier: Typing :: Typed
|
|
33
|
+
Requires-Python: >=3.10
|
|
34
|
+
Provides-Extra: dev
|
|
35
|
+
Requires-Dist: build>=1.0; extra == 'dev'
|
|
36
|
+
Requires-Dist: mkdocs-material>=9.0; extra == 'dev'
|
|
37
|
+
Requires-Dist: mypy>=1.0; extra == 'dev'
|
|
38
|
+
Requires-Dist: pytest-cov>=4.0; extra == 'dev'
|
|
39
|
+
Requires-Dist: pytest>=7.0; extra == 'dev'
|
|
40
|
+
Requires-Dist: ruff>=0.4; extra == 'dev'
|
|
41
|
+
Requires-Dist: twine>=4.0; extra == 'dev'
|
|
42
|
+
Description-Content-Type: text/markdown
|
|
43
|
+
|
|
44
|
+
<p align="center">
|
|
45
|
+
<img src="assets/hero.svg" alt="All Trading API" width="100%">
|
|
46
|
+
</p>
|
|
47
|
+
|
|
48
|
+
# alltradingapi
|
|
49
|
+
|
|
50
|
+
Python client for the [All Trading API](https://alltradingapi.com) — candles,
|
|
51
|
+
assets, saved candles, candle history, chart images and trade result checks
|
|
52
|
+
for Quotex.
|
|
53
|
+
|
|
54
|
+
- Zero dependencies, standard library only
|
|
55
|
+
- Sync and async clients
|
|
56
|
+
- Typed, ships `py.typed`
|
|
57
|
+
- Automatic retries on rate limits and server errors
|
|
58
|
+
- Python 3.10+
|
|
59
|
+
|
|
60
|
+
| | |
|
|
61
|
+
|---|---|
|
|
62
|
+
| [](https://pypi.org/project/alltradingapi/) | [](https://pypi.org/project/alltradingapi/) |
|
|
63
|
+
| [](LICENSE) | |
|
|
64
|
+
|
|
65
|
+
## Install
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
pip install alltradingapi
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Get an API key from [alltradingapi.com](https://alltradingapi.com). Each
|
|
72
|
+
endpoint type has its own key. The simplest setup is one default key:
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+
export ATA_API_KEY=ap_yourkey
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
You can also pass keys per product, or per call — see
|
|
79
|
+
[authentication](#authentication).
|
|
80
|
+
|
|
81
|
+
## Quickstart
|
|
82
|
+
|
|
83
|
+
```python
|
|
84
|
+
from alltradingapi import Client
|
|
85
|
+
|
|
86
|
+
with Client() as ata: # uses ATA_API_KEY
|
|
87
|
+
assets = ata.assets(only_open=True)
|
|
88
|
+
print("open assets:", len(assets))
|
|
89
|
+
|
|
90
|
+
candles = ata.candles("EURUSD_otc", hours=2, timeframe="1m")
|
|
91
|
+
print("last close:", candles[-1].close)
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## Endpoints
|
|
95
|
+
|
|
96
|
+
| method | endpoint | returns |
|
|
97
|
+
|---|---|---|
|
|
98
|
+
| `ata.assets()` | `/qx_assets` | list of assets with open state and payouts |
|
|
99
|
+
| `ata.candles(asset)` | `/qx_candles` | current candles (OHLC) |
|
|
100
|
+
| `ata.history(asset)` | `/qx_history` | candle history |
|
|
101
|
+
| `ata.saved(asset)` | `/qx_saved` | saved candles from the archive |
|
|
102
|
+
| `ata.screenshot(asset)` | `/qx_ss_pro_v2` | chart image as PNG bytes |
|
|
103
|
+
| `ata.result(asset, time, direction)` | `/qx_result` | trade result check |
|
|
104
|
+
|
|
105
|
+
Common options: `timeframe` (`5s`…`4h`), `timezone` (`"-3"`, `"UTC"`,
|
|
106
|
+
`"Asia/Dhaka"`, …), `hours` (1–24), `count` (1–1000 for saved candles).
|
|
107
|
+
Invalid values raise `ValidationError` before any request is sent.
|
|
108
|
+
|
|
109
|
+
## Saving a chart image
|
|
110
|
+
|
|
111
|
+
```python
|
|
112
|
+
png = ata.screenshot("EURUSD_otc", timeframe="1m")
|
|
113
|
+
with open("chart.png", "wb") as f:
|
|
114
|
+
f.write(png) # real PNG, 1200x680, returned by the API
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
## Result check
|
|
118
|
+
|
|
119
|
+
```python
|
|
120
|
+
outcome = ata.result("EURUSD_otc", time="20:00", direction="call", mtg=1)
|
|
121
|
+
print(outcome.result) # TradeOutcome.WIN / LOSE / REFUND / PENDING / ...
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
## Async
|
|
125
|
+
|
|
126
|
+
```python
|
|
127
|
+
import asyncio
|
|
128
|
+
from alltradingapi import AsyncClient
|
|
129
|
+
|
|
130
|
+
async def main():
|
|
131
|
+
async with AsyncClient() as ata:
|
|
132
|
+
assets = await ata.assets(only_open=True)
|
|
133
|
+
symbols = [a.symbol for a in assets if a.is_otc][:10]
|
|
134
|
+
|
|
135
|
+
# candles for many assets at once; failures stay per-asset
|
|
136
|
+
results = await ata.scan(symbols, hours=1)
|
|
137
|
+
for symbol, candles in results.items():
|
|
138
|
+
if not isinstance(candles, Exception):
|
|
139
|
+
print(symbol, len(candles), "candles")
|
|
140
|
+
|
|
141
|
+
asyncio.run(main())
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
## Authentication
|
|
145
|
+
|
|
146
|
+
Keys are sent as a bearer header by default. Resolution order:
|
|
147
|
+
|
|
148
|
+
1. per-call `api_key=...`
|
|
149
|
+
2. `Client(keys={"quotex-candles": "ap_..."})`
|
|
150
|
+
3. `Client(keys={"default": "ap_..."})`
|
|
151
|
+
4. `Client(api_key="ap_...")`
|
|
152
|
+
5. `ATA_API_KEY` environment variable
|
|
153
|
+
6. per-product `ATA_KEY_QUOTEX_CANDLES`, `ATA_KEY_QUOTEX_ASSETS`, etc.
|
|
154
|
+
|
|
155
|
+
Use `auth_mode="query"` if you prefer `?key=` in the URL instead.
|
|
156
|
+
|
|
157
|
+
## Errors and retries
|
|
158
|
+
|
|
159
|
+
429 and 5xx responses are retried automatically with backoff, honouring
|
|
160
|
+
`Retry-After`. After the retries are exhausted you get a specific exception:
|
|
161
|
+
|
|
162
|
+
```python
|
|
163
|
+
from alltradingapi.errors import (
|
|
164
|
+
ALLError, AuthenticationError, PermissionDeniedError,
|
|
165
|
+
RateLimitError, ValidationError, UpstreamError,
|
|
166
|
+
)
|
|
167
|
+
|
|
168
|
+
try:
|
|
169
|
+
candles = ata.candles("EURUSD_otc")
|
|
170
|
+
except RateLimitError as e:
|
|
171
|
+
print("slow down, retry after", e.retry_after, "s")
|
|
172
|
+
except ValidationError as e:
|
|
173
|
+
print("bad parameter:", e.message)
|
|
174
|
+
except UpstreamError:
|
|
175
|
+
print("feed is down, try again later")
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
Every error carries `.status`, `.message`, `.payload` and a redacted `.url`.
|
|
179
|
+
|
|
180
|
+
## Staying up to date
|
|
181
|
+
|
|
182
|
+
The client checks PyPI once per process and refuses to run if a newer
|
|
183
|
+
version exists, unless you opt out:
|
|
184
|
+
|
|
185
|
+
```python
|
|
186
|
+
ata = Client(update_policy="warn") # strict (default) | ask | warn | off
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
Escape hatches: `ATA_UPDATE_POLICY=off`, `ATA_SKIP_UPDATE=1`,
|
|
190
|
+
`Client(allow_outdated=True)`. Check without gating:
|
|
191
|
+
`ata.check_updates(force=True)`.
|
|
192
|
+
|
|
193
|
+
## More examples
|
|
194
|
+
|
|
195
|
+
See the [examples/](examples/) folder: quickstart, candle history with a
|
|
196
|
+
sparkline, and chart images with async scanning.
|
|
197
|
+
|
|
198
|
+
## License & disclaimer
|
|
199
|
+
|
|
200
|
+
MIT — see [LICENSE](LICENSE). © 2026 All Trading API.
|
|
201
|
+
|
|
202
|
+
Independent, unofficial API. Not affiliated with, endorsed by, or connected
|
|
203
|
+
to Quotex. Trading involves substantial risk. This SDK provides market data
|
|
204
|
+
only — it cannot place trades and is not financial advice.
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="assets/hero.svg" alt="All Trading API" width="100%">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# alltradingapi
|
|
6
|
+
|
|
7
|
+
Python client for the [All Trading API](https://alltradingapi.com) — candles,
|
|
8
|
+
assets, saved candles, candle history, chart images and trade result checks
|
|
9
|
+
for Quotex.
|
|
10
|
+
|
|
11
|
+
- Zero dependencies, standard library only
|
|
12
|
+
- Sync and async clients
|
|
13
|
+
- Typed, ships `py.typed`
|
|
14
|
+
- Automatic retries on rate limits and server errors
|
|
15
|
+
- Python 3.10+
|
|
16
|
+
|
|
17
|
+
| | |
|
|
18
|
+
|---|---|
|
|
19
|
+
| [](https://pypi.org/project/alltradingapi/) | [](https://pypi.org/project/alltradingapi/) |
|
|
20
|
+
| [](LICENSE) | |
|
|
21
|
+
|
|
22
|
+
## Install
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
pip install alltradingapi
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Get an API key from [alltradingapi.com](https://alltradingapi.com). Each
|
|
29
|
+
endpoint type has its own key. The simplest setup is one default key:
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
export ATA_API_KEY=ap_yourkey
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
You can also pass keys per product, or per call — see
|
|
36
|
+
[authentication](#authentication).
|
|
37
|
+
|
|
38
|
+
## Quickstart
|
|
39
|
+
|
|
40
|
+
```python
|
|
41
|
+
from alltradingapi import Client
|
|
42
|
+
|
|
43
|
+
with Client() as ata: # uses ATA_API_KEY
|
|
44
|
+
assets = ata.assets(only_open=True)
|
|
45
|
+
print("open assets:", len(assets))
|
|
46
|
+
|
|
47
|
+
candles = ata.candles("EURUSD_otc", hours=2, timeframe="1m")
|
|
48
|
+
print("last close:", candles[-1].close)
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Endpoints
|
|
52
|
+
|
|
53
|
+
| method | endpoint | returns |
|
|
54
|
+
|---|---|---|
|
|
55
|
+
| `ata.assets()` | `/qx_assets` | list of assets with open state and payouts |
|
|
56
|
+
| `ata.candles(asset)` | `/qx_candles` | current candles (OHLC) |
|
|
57
|
+
| `ata.history(asset)` | `/qx_history` | candle history |
|
|
58
|
+
| `ata.saved(asset)` | `/qx_saved` | saved candles from the archive |
|
|
59
|
+
| `ata.screenshot(asset)` | `/qx_ss_pro_v2` | chart image as PNG bytes |
|
|
60
|
+
| `ata.result(asset, time, direction)` | `/qx_result` | trade result check |
|
|
61
|
+
|
|
62
|
+
Common options: `timeframe` (`5s`…`4h`), `timezone` (`"-3"`, `"UTC"`,
|
|
63
|
+
`"Asia/Dhaka"`, …), `hours` (1–24), `count` (1–1000 for saved candles).
|
|
64
|
+
Invalid values raise `ValidationError` before any request is sent.
|
|
65
|
+
|
|
66
|
+
## Saving a chart image
|
|
67
|
+
|
|
68
|
+
```python
|
|
69
|
+
png = ata.screenshot("EURUSD_otc", timeframe="1m")
|
|
70
|
+
with open("chart.png", "wb") as f:
|
|
71
|
+
f.write(png) # real PNG, 1200x680, returned by the API
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Result check
|
|
75
|
+
|
|
76
|
+
```python
|
|
77
|
+
outcome = ata.result("EURUSD_otc", time="20:00", direction="call", mtg=1)
|
|
78
|
+
print(outcome.result) # TradeOutcome.WIN / LOSE / REFUND / PENDING / ...
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## Async
|
|
82
|
+
|
|
83
|
+
```python
|
|
84
|
+
import asyncio
|
|
85
|
+
from alltradingapi import AsyncClient
|
|
86
|
+
|
|
87
|
+
async def main():
|
|
88
|
+
async with AsyncClient() as ata:
|
|
89
|
+
assets = await ata.assets(only_open=True)
|
|
90
|
+
symbols = [a.symbol for a in assets if a.is_otc][:10]
|
|
91
|
+
|
|
92
|
+
# candles for many assets at once; failures stay per-asset
|
|
93
|
+
results = await ata.scan(symbols, hours=1)
|
|
94
|
+
for symbol, candles in results.items():
|
|
95
|
+
if not isinstance(candles, Exception):
|
|
96
|
+
print(symbol, len(candles), "candles")
|
|
97
|
+
|
|
98
|
+
asyncio.run(main())
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## Authentication
|
|
102
|
+
|
|
103
|
+
Keys are sent as a bearer header by default. Resolution order:
|
|
104
|
+
|
|
105
|
+
1. per-call `api_key=...`
|
|
106
|
+
2. `Client(keys={"quotex-candles": "ap_..."})`
|
|
107
|
+
3. `Client(keys={"default": "ap_..."})`
|
|
108
|
+
4. `Client(api_key="ap_...")`
|
|
109
|
+
5. `ATA_API_KEY` environment variable
|
|
110
|
+
6. per-product `ATA_KEY_QUOTEX_CANDLES`, `ATA_KEY_QUOTEX_ASSETS`, etc.
|
|
111
|
+
|
|
112
|
+
Use `auth_mode="query"` if you prefer `?key=` in the URL instead.
|
|
113
|
+
|
|
114
|
+
## Errors and retries
|
|
115
|
+
|
|
116
|
+
429 and 5xx responses are retried automatically with backoff, honouring
|
|
117
|
+
`Retry-After`. After the retries are exhausted you get a specific exception:
|
|
118
|
+
|
|
119
|
+
```python
|
|
120
|
+
from alltradingapi.errors import (
|
|
121
|
+
ALLError, AuthenticationError, PermissionDeniedError,
|
|
122
|
+
RateLimitError, ValidationError, UpstreamError,
|
|
123
|
+
)
|
|
124
|
+
|
|
125
|
+
try:
|
|
126
|
+
candles = ata.candles("EURUSD_otc")
|
|
127
|
+
except RateLimitError as e:
|
|
128
|
+
print("slow down, retry after", e.retry_after, "s")
|
|
129
|
+
except ValidationError as e:
|
|
130
|
+
print("bad parameter:", e.message)
|
|
131
|
+
except UpstreamError:
|
|
132
|
+
print("feed is down, try again later")
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
Every error carries `.status`, `.message`, `.payload` and a redacted `.url`.
|
|
136
|
+
|
|
137
|
+
## Staying up to date
|
|
138
|
+
|
|
139
|
+
The client checks PyPI once per process and refuses to run if a newer
|
|
140
|
+
version exists, unless you opt out:
|
|
141
|
+
|
|
142
|
+
```python
|
|
143
|
+
ata = Client(update_policy="warn") # strict (default) | ask | warn | off
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
Escape hatches: `ATA_UPDATE_POLICY=off`, `ATA_SKIP_UPDATE=1`,
|
|
147
|
+
`Client(allow_outdated=True)`. Check without gating:
|
|
148
|
+
`ata.check_updates(force=True)`.
|
|
149
|
+
|
|
150
|
+
## More examples
|
|
151
|
+
|
|
152
|
+
See the [examples/](examples/) folder: quickstart, candle history with a
|
|
153
|
+
sparkline, and chart images with async scanning.
|
|
154
|
+
|
|
155
|
+
## License & disclaimer
|
|
156
|
+
|
|
157
|
+
MIT — see [LICENSE](LICENSE). © 2026 All Trading API.
|
|
158
|
+
|
|
159
|
+
Independent, unofficial API. Not affiliated with, endorsed by, or connected
|
|
160
|
+
to Quotex. Trading involves substantial risk. This SDK provides market data
|
|
161
|
+
only — it cannot place trades and is not financial advice.
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 420" width="1200" height="420">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
|
|
4
|
+
<stop offset="0" stop-color="#0B0E14"/>
|
|
5
|
+
<stop offset="1" stop-color="#0D1424"/>
|
|
6
|
+
<animate attributeName="x1" values="0;1;0" dur="14s" repeatCount="indefinite"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
<linearGradient id="sweep" x1="0" y1="0" x2="1" y2="0">
|
|
9
|
+
<stop offset="0" stop-color="#10B981" stop-opacity="0"/>
|
|
10
|
+
<stop offset="0.5" stop-color="#22D3EE" stop-opacity="0.14"/>
|
|
11
|
+
<stop offset="1" stop-color="#10B981" stop-opacity="0"/>
|
|
12
|
+
</linearGradient>
|
|
13
|
+
<radialGradient id="glow" cx="0.5" cy="0.5" r="0.5">
|
|
14
|
+
<stop offset="0" stop-color="#10B981" stop-opacity="0.3"/>
|
|
15
|
+
<stop offset="1" stop-color="#10B981" stop-opacity="0"/>
|
|
16
|
+
</radialGradient>
|
|
17
|
+
<pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse">
|
|
18
|
+
<path d="M40 0 H0 V40" fill="none" stroke="#1E2233" stroke-width="1"/>
|
|
19
|
+
</pattern>
|
|
20
|
+
</defs>
|
|
21
|
+
<rect width="1200" height="420" fill="url(#bg)"/>
|
|
22
|
+
<rect width="1200" height="420" fill="url(#grid)"/>
|
|
23
|
+
<rect x="-400" y="0" width="400" height="420" fill="url(#sweep)">
|
|
24
|
+
<animate attributeName="x" values="-400;1200" dur="6s" repeatCount="indefinite"/>
|
|
25
|
+
</rect>
|
|
26
|
+
|
|
27
|
+
<ellipse cx="600" cy="140" rx="300" ry="80" fill="url(#glow)">
|
|
28
|
+
<animate attributeName="opacity" values="0.6;1;0.6" dur="4s" repeatCount="indefinite"/>
|
|
29
|
+
</ellipse>
|
|
30
|
+
<text x="600" y="120" text-anchor="middle" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="50" font-weight="bold" fill="#F8FAFC" letter-spacing="4">ALL TRADING API</text>
|
|
31
|
+
<text x="600" y="172" text-anchor="middle" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="23" fill="#22D3EE">The Fastest Quotex API for Python</text>
|
|
32
|
+
<rect x="500" y="206" width="200" height="34" rx="17" fill="none" stroke="#10B981" stroke-width="1.5"/>
|
|
33
|
+
<text x="600" y="229" text-anchor="middle" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="16" fill="#10B981">v1.0.0 · Python 3.10+</text>
|
|
34
|
+
|
|
35
|
+
<!-- candle band: baseline 398, tallest candle tops at y=278, below all text -->
|
|
36
|
+
<g>
|
|
37
|
+
<rect x="120" y="368" width="18" height="30" rx="3" fill="#10B981" opacity="0.55">
|
|
38
|
+
<animate attributeName="height" from="0" to="30" dur="1.2s" begin="0.1s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
39
|
+
<animate attributeName="y" from="398" to="368" dur="1.2s" begin="0.1s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
40
|
+
</rect>
|
|
41
|
+
<rect x="155" y="352" width="18" height="46" rx="3" fill="#10B981" opacity="0.57">
|
|
42
|
+
<animate attributeName="height" from="0" to="46" dur="1.2s" begin="0.2s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
43
|
+
<animate attributeName="y" from="398" to="352" dur="1.2s" begin="0.2s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
44
|
+
</rect>
|
|
45
|
+
<rect x="190" y="372" width="18" height="26" rx="3" fill="#10B981" opacity="0.58">
|
|
46
|
+
<animate attributeName="height" from="0" to="26" dur="1.2s" begin="0.3s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
47
|
+
<animate attributeName="y" from="398" to="372" dur="1.2s" begin="0.3s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
48
|
+
</rect>
|
|
49
|
+
<rect x="225" y="342" width="18" height="56" rx="3" fill="#10B981" opacity="0.60">
|
|
50
|
+
<animate attributeName="height" from="0" to="56" dur="1.2s" begin="0.4s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
51
|
+
<animate attributeName="y" from="398" to="342" dur="1.2s" begin="0.4s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
52
|
+
</rect>
|
|
53
|
+
<rect x="260" y="326" width="18" height="72" rx="3" fill="#10B981" opacity="0.62">
|
|
54
|
+
<animate attributeName="height" from="0" to="72" dur="1.2s" begin="0.5s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
55
|
+
<animate attributeName="y" from="398" to="326" dur="1.2s" begin="0.5s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
56
|
+
</rect>
|
|
57
|
+
<rect x="295" y="356" width="18" height="42" rx="3" fill="#10B981" opacity="0.64">
|
|
58
|
+
<animate attributeName="height" from="0" to="42" dur="1.2s" begin="0.6s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
59
|
+
<animate attributeName="y" from="398" to="356" dur="1.2s" begin="0.6s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
60
|
+
</rect>
|
|
61
|
+
<rect x="330" y="312" width="18" height="86" rx="3" fill="#10B981" opacity="0.65">
|
|
62
|
+
<animate attributeName="height" from="0" to="86" dur="1.2s" begin="0.7s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
63
|
+
<animate attributeName="y" from="398" to="312" dur="1.2s" begin="0.7s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
64
|
+
</rect>
|
|
65
|
+
<rect x="365" y="336" width="18" height="62" rx="3" fill="#10B981" opacity="0.67">
|
|
66
|
+
<animate attributeName="height" from="0" to="62" dur="1.2s" begin="0.8s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
67
|
+
<animate attributeName="y" from="398" to="336" dur="1.2s" begin="0.8s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
68
|
+
</rect>
|
|
69
|
+
<rect x="400" y="300" width="18" height="98" rx="3" fill="#10B981" opacity="0.69">
|
|
70
|
+
<animate attributeName="height" from="0" to="98" dur="1.2s" begin="0.9s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
71
|
+
<animate attributeName="y" from="398" to="300" dur="1.2s" begin="0.9s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
72
|
+
</rect>
|
|
73
|
+
<rect x="435" y="322" width="18" height="76" rx="3" fill="#10B981" opacity="0.70">
|
|
74
|
+
<animate attributeName="height" from="0" to="76" dur="1.2s" begin="1.0s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
75
|
+
<animate attributeName="y" from="398" to="322" dur="1.2s" begin="1.0s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
76
|
+
</rect>
|
|
77
|
+
<rect x="470" y="292" width="18" height="106" rx="3" fill="#10B981" opacity="0.72">
|
|
78
|
+
<animate attributeName="height" from="0" to="106" dur="1.2s" begin="1.1s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
79
|
+
<animate attributeName="y" from="398" to="292" dur="1.2s" begin="1.1s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
80
|
+
</rect>
|
|
81
|
+
<rect x="505" y="318" width="18" height="80" rx="3" fill="#22D3EE" opacity="0.74">
|
|
82
|
+
<animate attributeName="height" from="0" to="80" dur="1.2s" begin="1.2s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
83
|
+
<animate attributeName="y" from="398" to="318" dur="1.2s" begin="1.2s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
84
|
+
</rect>
|
|
85
|
+
<rect x="540" y="288" width="18" height="110" rx="3" fill="#22D3EE" opacity="0.75">
|
|
86
|
+
<animate attributeName="height" from="0" to="110" dur="1.2s" begin="1.3s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
87
|
+
<animate attributeName="y" from="398" to="288" dur="1.2s" begin="1.3s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
88
|
+
</rect>
|
|
89
|
+
<rect x="575" y="308" width="18" height="90" rx="3" fill="#22D3EE" opacity="0.77">
|
|
90
|
+
<animate attributeName="height" from="0" to="90" dur="1.2s" begin="1.4s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
91
|
+
<animate attributeName="y" from="398" to="308" dur="1.2s" begin="1.4s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
92
|
+
</rect>
|
|
93
|
+
<rect x="610" y="294" width="18" height="104" rx="3" fill="#22D3EE" opacity="0.79">
|
|
94
|
+
<animate attributeName="height" from="0" to="104" dur="1.2s" begin="1.5s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
95
|
+
<animate attributeName="y" from="398" to="294" dur="1.2s" begin="1.5s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
96
|
+
</rect>
|
|
97
|
+
<rect x="645" y="316" width="18" height="82" rx="3" fill="#10B981" opacity="0.81">
|
|
98
|
+
<animate attributeName="height" from="0" to="82" dur="1.2s" begin="1.6s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
99
|
+
<animate attributeName="y" from="398" to="316" dur="1.2s" begin="1.6s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
100
|
+
</rect>
|
|
101
|
+
<rect x="680" y="290" width="18" height="108" rx="3" fill="#10B981" opacity="0.82">
|
|
102
|
+
<animate attributeName="height" from="0" to="108" dur="1.2s" begin="1.7s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
103
|
+
<animate attributeName="y" from="398" to="290" dur="1.2s" begin="1.7s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
104
|
+
</rect>
|
|
105
|
+
<rect x="715" y="312" width="18" height="86" rx="3" fill="#10B981" opacity="0.84">
|
|
106
|
+
<animate attributeName="height" from="0" to="86" dur="1.2s" begin="1.8s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
107
|
+
<animate attributeName="y" from="398" to="312" dur="1.2s" begin="1.8s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
108
|
+
</rect>
|
|
109
|
+
<rect x="750" y="286" width="18" height="112" rx="3" fill="#10B981" opacity="0.86">
|
|
110
|
+
<animate attributeName="height" from="0" to="112" dur="1.2s" begin="1.9s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
111
|
+
<animate attributeName="y" from="398" to="286" dur="1.2s" begin="1.9s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
112
|
+
</rect>
|
|
113
|
+
<rect x="785" y="306" width="18" height="92" rx="3" fill="#10B981" opacity="0.87">
|
|
114
|
+
<animate attributeName="height" from="0" to="92" dur="1.2s" begin="2.0s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
115
|
+
<animate attributeName="y" from="398" to="306" dur="1.2s" begin="2.0s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
116
|
+
</rect>
|
|
117
|
+
<rect x="820" y="284" width="18" height="114" rx="3" fill="#10B981" opacity="0.89">
|
|
118
|
+
<animate attributeName="height" from="0" to="114" dur="1.2s" begin="2.1s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
119
|
+
<animate attributeName="y" from="398" to="284" dur="1.2s" begin="2.1s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
120
|
+
</rect>
|
|
121
|
+
<rect x="855" y="304" width="18" height="94" rx="3" fill="#10B981" opacity="0.91">
|
|
122
|
+
<animate attributeName="height" from="0" to="94" dur="1.2s" begin="2.2s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
123
|
+
<animate attributeName="y" from="398" to="304" dur="1.2s" begin="2.2s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
124
|
+
</rect>
|
|
125
|
+
<rect x="890" y="282" width="18" height="116" rx="3" fill="#10B981" opacity="0.92">
|
|
126
|
+
<animate attributeName="height" from="0" to="116" dur="1.2s" begin="2.3s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
127
|
+
<animate attributeName="y" from="398" to="282" dur="1.2s" begin="2.3s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
128
|
+
</rect>
|
|
129
|
+
<rect x="925" y="300" width="18" height="98" rx="3" fill="#10B981" opacity="0.94">
|
|
130
|
+
<animate attributeName="height" from="0" to="98" dur="1.2s" begin="2.4s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
131
|
+
<animate attributeName="y" from="398" to="300" dur="1.2s" begin="2.4s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
132
|
+
</rect>
|
|
133
|
+
<rect x="960" y="280" width="18" height="118" rx="3" fill="#10B981" opacity="0.96">
|
|
134
|
+
<animate attributeName="height" from="0" to="118" dur="1.2s" begin="2.5s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
135
|
+
<animate attributeName="y" from="398" to="280" dur="1.2s" begin="2.5s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
136
|
+
</rect>
|
|
137
|
+
<rect x="995" y="296" width="18" height="102" rx="3" fill="#10B981" opacity="0.98">
|
|
138
|
+
<animate attributeName="height" from="0" to="102" dur="1.2s" begin="2.6s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
139
|
+
<animate attributeName="y" from="398" to="296" dur="1.2s" begin="2.6s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
140
|
+
</rect>
|
|
141
|
+
<rect x="1030" y="278" width="18" height="120" rx="3" fill="#10B981" opacity="0.98">
|
|
142
|
+
<animate attributeName="height" from="0" to="120" dur="1.2s" begin="2.7s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
143
|
+
<animate attributeName="y" from="398" to="278" dur="1.2s" begin="2.7s" fill="freeze" calcMode="spline" keySplines="0.2 0.8 0.2 1"/>
|
|
144
|
+
</rect>
|
|
145
|
+
</g>
|
|
146
|
+
</svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
|
|
2
|
+
<rect x="0" y="0" width="64" height="64" rx="14" fill="#0F172A"/>
|
|
3
|
+
<rect x="14" y="26" width="8" height="18" rx="2" fill="#10B981"/>
|
|
4
|
+
<rect x="28" y="18" width="8" height="26" rx="2" fill="#10B981"/>
|
|
5
|
+
<rect x="42" y="10" width="8" height="34" rx="2" fill="#22D3EE"/>
|
|
6
|
+
<path d="M14 24 L28 16 L42 8 L54 6" stroke="#22D3EE" stroke-width="3"
|
|
7
|
+
stroke-linecap="round" fill="none"/>
|
|
8
|
+
<path d="M47 6 L54 6 L54 13" stroke="#22D3EE" stroke-width="3"
|
|
9
|
+
stroke-linecap="round" stroke-linejoin="round" fill="none"/>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1100 520" width="1100" height="520">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="tbg" x1="0" y1="0" x2="0" y2="1">
|
|
4
|
+
<stop offset="0" stop-color="#0F172A"/>
|
|
5
|
+
<stop offset="1" stop-color="#0B0E14"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect width="1100" height="520" rx="16" fill="url(#tbg)" stroke="#1E2233" stroke-width="1.5"/>
|
|
9
|
+
<rect x="0" y="0" width="1100" height="52" rx="16" fill="#111A2E"/>
|
|
10
|
+
<circle cx="34" cy="26" r="7" fill="#EF4444"/>
|
|
11
|
+
<circle cx="58" cy="26" r="7" fill="#F59E0B"/>
|
|
12
|
+
<circle cx="82" cy="26" r="7" fill="#10B981"/>
|
|
13
|
+
<text x="550" y="32" text-anchor="middle" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" fill="#94A3B8">alltradingapi — quickstart</text>
|
|
14
|
+
<text id="l1" x="40" y="150" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="19" fill="#94A3B8" opacity="0">$ <tspan fill="#F8FAFC">pip install alltradingapi</tspan><animate attributeName="opacity" values="0;1" begin="0.3s" dur="0.25s" fill="freeze"/></text><text id="l2" x="40" y="186" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="16" fill="#94A3B8" opacity="0">Successfully installed alltradingapi-1.0.0<animate attributeName="opacity" values="0;1" begin="1.0s" dur="0.25s" fill="freeze"/></text><text id="l3" x="40" y="232" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="19" fill="#94A3B8" opacity="0">$ <tspan fill="#F8FAFC">python quickstart.py</tspan><animate attributeName="opacity" values="0;1" begin="1.7s" dur="0.25s" fill="freeze"/></text><text id="l4" x="40" y="268" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="16" fill="#94A3B8" opacity="0">Analyzing EURUSD_otc · engine v5 · 300 candles<animate attributeName="opacity" values="0;1" begin="2.3s" dur="0.25s" fill="freeze"/></text><text id="l5" x="40" y="304" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="16" fill="#94A3B8" opacity="0">direction UP · confidence 76.0% · action TAKE TRADE<animate attributeName="opacity" values="0;1" begin="3.0s" dur="0.25s" fill="freeze"/></text><text id="l6" x="40" y="340" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="16" fill="#94A3B8" opacity="0">side CALL / BUY · tier TIER_A_PRIME · stake 1.00x<animate attributeName="opacity" values="0;1" begin="3.6s" dur="0.25s" fill="freeze"/></text><text id="l7" x="40" y="376" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="16" fill="#94A3B8" opacity="0">next candle opens 2026-11-20 21:06 (UTC-03:00)<animate attributeName="opacity" values="0;1" begin="4.2s" dur="0.25s" fill="freeze"/></text><rect id="verdict" x="40" y="404" width="220" height="42" rx="8" fill="#10B981" opacity="0"><animate attributeName="opacity" values="0;1" begin="4.9s" dur="0.3s" fill="freeze"/><animate attributeName="opacity" values="1;0.75;1" begin="5.3s" dur="1.6s" repeatCount="indefinite"/></rect><text x="60" y="431" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="19" font-weight="bold" fill="#052E1C" opacity="0">✔ TAKE TRADE<animate attributeName="opacity" values="0;1" begin="4.9s" dur="0.3s" fill="freeze"/></text><rect x="1014" y="404" width="10" height="24" fill="#10B981"><animate attributeName="opacity" values="1;0;1" dur="1s" repeatCount="indefinite"/></rect>
|
|
15
|
+
<text x="40" y="480" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="13" fill="#64748B">Independent, unofficial API · not affiliated with Quotex · trading involves risk</text>
|
|
16
|
+
</svg>
|