public void TestGetOnlyBonds() { IMarketProvider marketProvider = TestConnection(); var result = marketProvider.GetAllPositions(FinType.Bond); Assert.IsTrue(result != null && result.Count != 0 && result.Count(z => z.FinType != FinType.Default) != 0); }
public List <PortfolioPosition> GetAllPositions() { return(_dataProvider.GetAllPositions()); }