Skip to main content

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 Index
  • afgi_components — Fear & Greed Index components
  • afgi_history — Fear & Greed Index history
  • analysis — Security write-ups: the list
  • analysis_by_ticker — Write-ups for one security
  • dividends — Dividend calendar
  • dividends_by_ticker — Dividends for one security, with announcement status
  • meta — What this API serves and what it does not
  • portfolios — Portfolios of the key owner
  • portfolios_by_portfolio_id_positions — Portfolio positions
  • portfolios_by_portfolio_id_transactions — Portfolio transactions
  • screener — Screener: securities by fundamentals
  • screener_fields — Screener fields and their units
  • sectors — Sector breakdowns by our own metrics
  • versions — 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)

Source distribution for tradealmanac 2026.9.6
File Size Uploaded
tradealmanac-2026.9.6.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tradealmanac 2026.9.6
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

2026.9.6 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page