Skip to main content

Module config

Module config 

Source
Expand description

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

Re-exports§

pub use crate::cli::theme::ColorPalette;
pub use crate::cli::theme::ColorSchemeExt;

Structs§

ActiveAlert
An active (currently firing) alert with a description.
AlertConfig
Alert configuration for price and whale detection.
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.