Skip to main content

Agent

Trait Agent 

Source
pub trait Agent {
    // Required method
    fn decide(&mut self, obs: &MarketObservation) -> Decision;
}
Expand description

Something that turns a point-in-time observation into trading orders.

Required Methods§

Source

fn decide(&mut self, obs: &MarketObservation) -> Decision

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§