use crate::param::{AccountGroupId, AccountId, Pnl};
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct SpotFundsPnlBoundsBarrier {
pub lower_bound: Option<Pnl>,
pub upper_bound: Option<Pnl>,
}
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct SpotFundsPnlBoundsAccountGroupBarrier {
pub barrier: SpotFundsPnlBoundsBarrier,
pub account_group_id: AccountGroupId,
}
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct SpotFundsPnlBoundsAccountBarrier {
pub barrier: SpotFundsPnlBoundsBarrier,
pub account_id: AccountId,
}