Function lfest::mock_exchange_linear
source ยท pub fn mock_exchange_linear() -> Exchange<NoAccountTracker, BaseCurrency, (), InMemoryTransactionAccounting<QuoteCurrency>>
Expand description
Constructs a mock exchange (for linear futures) for testing.
The size is denoted in BaseCurrency
and the margin currency is QuoteCurency