Function lfest::mock_exchange_base

source ·
pub fn mock_exchange_base() -> 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