typed Syntax and improved formatting
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user