Skip to main content

Module config

Module config 

Source
Expand description

Configuration types, constants, and data structures for the monitor TUI.

Structs§

ActiveAlert
An active (currently firing) alert with a description.
AlertConfig
Alert configuration for price and whale detection.
ColorPalette
Named color palette derived from a ColorScheme.
DataPoint
A data point with timestamp, value, and whether it’s real (from API) or synthetic.
ExportConfig
CSV export configuration.
MonitorConfig
Monitor-specific configuration.
OhlcCandle
OHLC (Open-High-Low-Close) candlestick data for a time period.
WidgetVisibility
Controls which widgets are visible in the monitor.

Enums§

ChartMode
Chart display mode.
ColorScheme
Color scheme for the monitor TUI.
LayoutPreset
Layout preset for the monitor TUI.
ScaleMode
Y-axis scaling mode for price charts.
TimePeriod
Time period for chart display (limited to 24 hours of data retention).

Constants§

DEFAULT_MONITOR_REFRESH_SECS
Default refresh interval in seconds.

Traits§

ColorSchemeExt
Extension trait for ColorScheme that provides TUI-specific palette rendering (depends on ratatui::style::Color which is not in scope-core).