Module barter::engine [−][src]
Expand description
Multi-threaded trading Engine capable of trading with an arbitrary number market pairs. Contains a Trader instance for each market pair that consists of it’s own Data, Strategy & Execution instances, as well as shared access to a global Portfolio.
Modules
Structs
Multi-threaded Trading Engine capable of trading with an arbitrary number of Trader market pairs. Each Trader operates on it’s own thread and has it’s own Data Handler, Strategy & Execution Handler, as well as shared access to a global Portfolio instance. A graceful remote shutdown is made possible by sending a TerminationMessage to the Engine’s oneshot::Receiver termination_rx.
Builder to construct Engine instances.
Lego components for constructing an Engine via the new() constructor method.
Type Definitions
Communicative type alias to represent a termination message received via a termination channel.