public void TestScalarEnum() { IMarketProvider marketProvider = TestConnection(); var result = marketProvider.GetScalarEnum(position, ScalarAttribute.Currency); for (int i = 0; i < 100; ++i) { marketProvider.GetScalarDate(position, ScalarAttribute.MatDate); } }
public ScalarEnum GetScalarEnum(PortfolioPosition position, ScalarAttribute attribute) { return(_dataProvider.GetScalarEnum(position, attribute)); }