Order execution and using decimal
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user