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);
            }
        }
예제 #2
0
 public ScalarEnum GetScalarEnum(PortfolioPosition position, ScalarAttribute attribute)
 {
     return(_dataProvider.GetScalarEnum(position, attribute));
 }