tradealmanac
Russian version: the file README.ru.md in this package ·
documentation in Russian
Client of the TradeAlmanac public API.
TradeAlmanac is a market-data, analytics and paper-trading platform for the whole world of finance, investing and trading; the Russian market is its deepest-covered market today, not the boundary of the product.
The package version is the date of the API contract: 2026.9.6 (contract
2026-09-06).
Install
pip install tradealmanac
Usage
from tradealmanac import TradeAlmanac
api = TradeAlmanac("afk_your_key") # the key is issued in your account, section API
print(api.dividends_by_ticker("SBER"))
print(api.screener(sector="oil-gas", dividend_yield_min=0.08, limit=20))
Fractions, not percentages: dividend_yield_min=0.08 means 8 %.
Limits of the API
60 requests a minute and 1,000 a day per key. Beyond that the answer is 429,
and the client raises TradeAlmanacError with a status field.
Read-only: a key works with the GET method only.
Methods
afgi— TradeAlmanac Fear & Greed Indexafgi_components— Fear & Greed Index componentsafgi_history— Fear & Greed Index historyanalysis— Security write-ups: the listanalysis_by_ticker— Write-ups for one securitydividends— Dividend calendardividends_by_ticker— Dividends for one security, with announcement statusmeta— What this API serves and what it does notportfolios— Portfolios of the key ownerportfolios_by_portfolio_id_positions— Portfolio positionsportfolios_by_portfolio_id_transactions— Portfolio transactionsscreener— Screener: securities by fundamentalsscreener_fields— Screener fields and their unitssectors— Sector breakdowns by our own metricsversions— Contract versions and what each one added
How it is built
The file tradealmanac/client.py is GENERATED from the schema /api/public/v1/openapi.json
by scripts/generate_sdk.py. The client cannot drift from the server: they
have one source.
Licence: MIT.
Metadata
Release files for tradealmanac 2026.9.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tradealmanac-2026.9.6.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tradealmanac-2026.9.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.6 kB
Release files / tradealmanac-2026.9.6.tar.gz
| Download URL | tradealmanac-2026.9.6.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95e06239ec6e2483572fb90eabedf5e5a933a6dd3b2f67205f3d159de15f13c8
|
|
BLAKE2b-256 checksum How to use checksums |
0b6126ac6a634b3bd660465f8f994bc26e83031dac541abe39e7c0407001710e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|
Release files / tradealmanac-2026.9.6-py3-none-any.whl
| Download URL | tradealmanac-2026.9.6-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8325648ecb1bfc4b7bb28cffe74868103e29c412acc4103bf38cebabe242a3f6
|
|
BLAKE2b-256 checksum How to use checksums |
f9498f47308851f596ff993b437dfa1faaf365eaa436b060f7235e0b39e6ac33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.4
|