Order execution and using decimal

This commit is contained in:
2026-07-29 02:28:54 +02:00
parent 2696618ca0
commit e0230425ec
7 changed files with 72 additions and 17 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ use crate::{
plugin::{RiskManifest, StrategyManifest},
units::{Symbol, USD, Volatility},
};
use hypersdk::hypercore::CandleInterval;
use hypersdk::{Decimal, hypercore::CandleInterval};
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
pub enum TerminalServerMessage {
@@ -39,7 +39,7 @@ pub enum TerminalClientMessage {
pub struct MarketItem {
pub symbol: Symbol,
pub price: USD,
pub trend: f64,
pub trend: Decimal,
pub volume_24h: USD,
}