Function lfest::mock_exchange_linear

source ·
pub fn mock_exchange_linear() -> Exchange<NoAccountTracker, BaseCurrency, ()>
Expand description

Constructs a mock exchange (for linear futures) for testing. The size is denoted in BaseCurrency and the margin currency is QuoteCurency