public async Task MarketIsLinkedToEachStrategy(string marketId) { var strategy2 = new StrategySpy(); _trader.AddStrategy(strategy2); await _trader.TradeMarket(marketId, 0, default); Assert.Equal(marketId, _strategy.LinkedMarketId()); Assert.Equal(marketId, strategy2.LinkedMarketId()); }
public async Task MarketIsLinkedToStrategy(string marketId) { await _trader.TradeMarket(marketId, 0, default); Assert.Equal(marketId, _strategy.LinkedMarketId()); }