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§
- Active
Alert - An active (currently firing) alert with a description.
- Alert
Config - Alert configuration for price and whale detection.
- Data
Point - A data point with timestamp, value, and whether it’s real (from API) or synthetic.
- Export
Config - CSV export configuration.
- Monitor
Config - Monitor-specific configuration.
- Ohlc
Candle - OHLC (Open-High-Low-Close) candlestick data for a time period.
- Widget
Visibility - Controls which widgets are visible in the monitor.
Enums§
- Chart
Mode - Chart display mode.
- Color
Scheme - Color scheme for the monitor TUI.
- Layout
Preset - Layout preset for the monitor TUI.
- Scale
Mode - Y-axis scaling mode for price charts.
- Time
Period - Time period for chart display (limited to 24 hours of data retention).
Constants§
- DEFAULT_
MONITOR_ REFRESH_ SECS - Default refresh interval in seconds.