typed Syntax and improved formatting

This commit is contained in:
2026-07-25 04:30:58 +02:00
parent 6b6085ef25
commit f615d8dfbb
7 changed files with 147 additions and 87 deletions
+4 -3
View File
@@ -1,6 +1,7 @@
use crate::{
PulseWire,
general::{EventLog, MarketTrend, Position, Signal, Volatility},
units::{Symbol, USD},
};
use pulse_macros::pwp;
@@ -36,10 +37,10 @@ pub enum TerminalClientMessage {
#[pwp]
pub struct MarketItem {
pub symbol: String,
pub price: f64,
pub symbol: Symbol,
pub price: USD,
pub trend: f64,
pub volume_24h: f64,
pub volume_24h: USD,
}
#[pwp]