public void ResolvesSEDOL(string sedol, int year, int month, int day, string expectedTicker, string expectedMarket) { var tradingDate = new DateTime(year, month, day); var expectedSid = expectedTicker == null ? null : _tickerToSecurityIdentifier[expectedTicker]; AssertSymbol(_instance.SEDOL(sedol, tradingDate), expectedTicker, expectedSid, expectedMarket); }
public void NoExistingSecurityDefinitions() { var date = DateTime.UtcNow; var definitionSymbolResolver = new SecurityDefinitionSymbolResolver(TestGlobals.DataProvider); Assert.IsNull(definitionSymbolResolver.ISIN("US46090E1038", date)); Assert.IsNull(definitionSymbolResolver.CUSIP("03783310", date)); Assert.IsNull(definitionSymbolResolver.CompositeFIGI("BBG000BSWKH7", date)); Assert.IsNull(definitionSymbolResolver.SEDOL("bdqyp67", date)); }