Files
tr2gf/vars.example
2026-07-05 18:39:27 +02:00

82 lines
2.5 KiB
Plaintext

# tr2gf configuration example
# Copy this file to 'vars' and adjust as needed.
# Warning: do not edit vars.example directly!
# ------------------------------------------------------------------
# GENERAL
# ------------------------------------------------------------------
# Trade Republic source CSV used as default input file
#TR2GF_SOURCE_FILE=./TradeRepublic_TransactionExport.csv
# Output directory for generated Ghostfolio import files
#TR2GF_OUTPUT_DIR=./exports
# Account name written to the export CSV
#TR2GF_ACCOUNT_NAME=DEFAULT
# Batch mode:
# Leave empty for interactive/normal console output.
# Set to any non-empty string to suppress notices on stdout.
#TR2GF_BATCH=
# ------------------------------------------------------------------
# DATA SOURCES
# ------------------------------------------------------------------
# Default data source for non-crypto assets
#TR2GF_YAHOO_SOURCE=YAHOO
# Default data source for supported crypto assets
#TR2GF_CRYPTO_SOURCE=COINGECKO
# ------------------------------------------------------------------
# LOGGING
# ------------------------------------------------------------------
# Directory for tr2gf log files
#TR2GF_LOG_DIR=./log
# Main log file
#TR2GF_LOG_FILE=./log/tr2gf.log
# Log level controls verbosity of logging output:
# 0 = off : Disable all logging output
# 1 = debug : Detailed diagnostics for troubleshooting and development
# 2 = info : Informational messages about normal operations
# 3 = warning : Warnings about unusual but non-fatal conditions
# 4 = error : Errors affecting functionality
# 5 = critical : Severe failures requiring immediate attention
#TR2GF_LOG_LEVEL=2
# ------------------------------------------------------------------
# SYMBOL / CODE OVERRIDES
# ------------------------------------------------------------------
# Format:
# SYMBOL:CODE:SOURCE
#
# SOURCE is optional. If missing or empty, tr2gf selects
# TR2GF_CRYPTO_SOURCE for supported crypto symbols and
# TR2GF_YAHOO_SOURCE for all other symbols.
#
# Examples:
# IE00BJ5JPG56:ICHN.AS:YAHOO
# IE00BHZRQZ17:FLXI.L:YAHOO
# BTC:bitcoin:COINGECKO
# ETH:ethereum:COINGECKO
# IE00BJ5JPG56:ICHN.AS
# BTC:bitcoin:
#
# Notes:
# - Empty lines and lines starting with '#' are ignored.
# - CLI parameters override values from this file.
# - For YAHOO assets without an override, the ISIN/symbol is used as Code.
# - For supported crypto assets without an override, built-in CoinGecko mappings apply.
#IE00BJ5JPG56:ICHN.AS:YAHOO
#IE00BHZRQZ17:FLXI.L:YAHOO
#BTC:bitcoin:COINGECKO
#ETH:ethereum:COINGECKO
#SOL:solana: