All apps/pytr

pytr

pytr

Use TradeRepublic in the terminal and download documents.

Runs as pytr|macOS, Linux, Windows|github.com

Command form

ai-draft · 5 tasks · 15 fields

Global verbosity plus the portfolio and dl_docs subcommands. Login credentials (phone, pin, WAF options) are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui pytr
Trade Republic CLIExample values, fixed in this page — nothing here reaches a terminal
Basic
Verbosity
3 choicesenum
ParametersOnly these flags are editable in the form
Verbosity
enum
--verbosity-vwarninginfodebug

pytr portfolio

Show portfolio

Show the current portfolio, optionally saved as CSV.

Show portfolioExample values, fixed in this page — nothing here reaches a terminal
Basic
Include watchlist
--include-watchlist
Sort ascending
--sort-ascending
Advanced
Account
string
TasksEach one presets the form for one job
Show portfolio
include_watchlistsort_ascendingaccount
Export to CSV
outputinclude_watchlistignoreaccount
ParametersOnly these flags are editable in the form
Include watchlist
boolean
--include-watchlist
Ignore ISINs
Semicolon or comma separated ISINs to exclude.
string
--ignore
CSV output file
path
--output-o
Sort ascending
boolean
--sort-ascending
Account
Another account of this login: type, name or customer id.
string
--account
Store credentials
boolean
--store_credentials

pytr dl_docs

Download documents

Download all PDF documents from the timeline into a folder.

Download documentsExample values, fixed in this page — nothing here reaches a terminal
Basic
Output directory*
directory
Advanced
File name format
string
Parallel workers
integer
Platform independent file names
--universal
Account
string
TasksEach one presets the form for one job
Download all documents
outputformatworkersuniversalaccount
Download recent documents
outputlast_daysworkers
Preview folder structure
outputdry_run
ParametersOnly these flags are editable in the form
Output directory
path · positional 0
File name format
Variables: iso_date, time, title, subtitle, doc_num, id.
string
--format
Last N days
0 = all days, -1 = no update.
integer
--last_days
Until N days ago
integer
--days_until
Parallel workers
integer
--workers
Platform independent file names
boolean
--universal
Dry run
boolean
--dry-run
Account
string
--account
SourcesEvery flag above is checked against these
src
-v, --verbosity {warning,info,debug} Set verbosity level (default: info) (default: info)
help2026-10-27

github.com

src
parser_portfolio.add_argument( "--include-watchlist", help="Include watchlist.", "--ignore", help="Semicolon or comma separated list of ISINs to exclude from the portfolio, e.g. --ignore US30303M1027;DE0005140008", parser_portfolio.add_argument("-o", "--output", help="Output path of CSV file", type=Path) "--sor…
help2026-10-27

github.com

src
parser_dl_docs.add_argument("output", help="Output directory", metavar="PATH", type=Path) "--format", help="available variables:\tiso_date, time, title, subtitle, doc_num, id", "--last_days", help="Include data from the last N days (0 = include all days, -1 = no update)", "--days_until", help="Include data…
help2026-10-27

github.com

Before it fills your prompt, Otty checks the installed pytr against its version. A form that does not match your version is not offered.