internal Portfolio(SmartQuant.Instruments.Portfolio portfolio) { this.portfolio = portfolio; this.positions = new PositionList(portfolio.Positions); this.transactions = new TransactionList(portfolio.Transactions); this.account = new PortfolioAccount(portfolio.Account); }
internal Portfolio(SmartQuant.Instruments.Portfolio portfolio) { this.portfolio = portfolio; this.positions = new PositionList(portfolio.Positions); this.transactions = new TransactionList(portfolio.Transactions); this.account = new PortfolioAccount(portfolio.Account); }
private static void AddPortfolio(SmartQuant.Instruments.Portfolio sq_portfolio) { Portfolio portfolio = new Portfolio(sq_portfolio); Map.OQ_SQ_Portfolio[portfolio] = sq_portfolio; Map.SQ_OQ_Portfolio[sq_portfolio] = portfolio; }
internal Statistics(SmartQuant.Instruments.Portfolio portfolio) { this.portfolio = portfolio; }
internal Statistics(SmartQuant.Instruments.Portfolio portfolio) { this.portfolio = portfolio; }
public object Convert(SmartQuant.Instruments.Portfolio portfolio) { return(new Portfolio(portfolio)); }