pub struct TeamAgent {
pub members: Vec<Box<dyn Agent>>,
}Expand description
A trading team: several member agents whose target weights are averaged into
one consensus decision (a symbol only one member likes is down-weighted by the
whole team’s size). Modelled on the TradingAgents multi-agent firm — the team
is scored as a unit while [sharpebench_core::attribute_roles] estimates each member’s
load on the team outcome.
Fields§
§members: Vec<Box<dyn Agent>>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TeamAgent
impl !Send for TeamAgent
impl !Sync for TeamAgent
impl !UnwindSafe for TeamAgent
impl Freeze for TeamAgent
impl Unpin for TeamAgent
impl UnsafeUnpin for TeamAgent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more