SettingsConfig

Defined in dccd.daemon.config

class SettingsConfig(*, data_path='./data/crypto', timezone='local', ui_host='127.0.0.1', ui_port=8080, ui_auth_token=None)[source]

Bases: BaseModel

Global local settings shared by the daemon and the backfill command.

Parameters:
data_pathstr

Root directory for all local data files. Default './data/crypto'.

timezonestr

Timezone used to interpret date strings and label output files. 'local' (default) uses the system timezone, 'UTC' uses UTC, any other value is an IANA name (e.g. 'Europe/Paris').

ui_hoststr

Network interface the web UI binds to. Default '127.0.0.1' (local only). Use '0.0.0.0' to expose the UI on the network.

ui_portint

TCP port for the web UI. Default 8080.

ui_auth_tokenstr or None

Bearer token required to access the web UI. None (default) disables authentication — appropriate only for a local bind.