public decimal GetPortfolioPercentChangeInValueForMonth(string inPortfolioID, int Year, int Month) { Portfolio portfolio = this.getPortfolioFromStockExchange(inPortfolioID); return(portfolio.GetPortfolioPercentChangeInValueForMonth(Year, Month)); }
public int NumberOfStocksInPortfolio(string inPortfolioID) { Portfolio portfolio = this.getPortfolioFromStockExchange(inPortfolioID); return(portfolio.NumberOfStocksInPorfolio()); }
public decimal GetPortfolioPercentChangeInValueForMonth(string inPortfolioID, int Year, int Month) { Portfolio portfolio = currentPortfolio.getPortfolio(inPortfolioID); return(portfolio.getMonthlyChange(Year, Month)); }
public decimal GetPortfolioValue(string inPortfolioID, DateTime timeStamp) { Portfolio portfolio = currentPortfolio.getPortfolio(inPortfolioID); return(portfolio.totalValue(DateTime.Now)); }
public int NumberOfSharesOfStockInPortfolio(string inPortfolioID, string inStockName) { Portfolio portfolio = currentPortfolio.getPortfolio(inPortfolioID); return(portfolio.numberOfShares(inStockName)); }
public int NumberOfStocksInPortfolio(string inPortfolioID) { Portfolio portfolio = currentPortfolio.getPortfolio(inPortfolioID); return(portfolio.numberOfStocks()); }