常用方法
常用方法
常用方法
常用方法
public void NextFuture_CreatesSymbol_WithFutureSecurityTypeAndRequestedMarket() { var minExpiry = new DateTime(2000, 01, 01); var maxExpiry = new DateTime(2001, 01, 01); var symbol = randomValueGenerator.NextFuture(Market.USA, minExpiry, maxExpiry); Assert.AreEqual(Market.USA, symbol.ID.Market); Assert.AreEqual(SecurityType.Future, symbol.SecurityType); }