Beispiel #1
0
 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);
 }
Beispiel #2
0
		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);
		}
Beispiel #3
0
        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;
        }
Beispiel #4
0
		internal Statistics(SmartQuant.Instruments.Portfolio portfolio)
		{
			this.portfolio = portfolio;
		}
Beispiel #5
0
 internal Statistics(SmartQuant.Instruments.Portfolio portfolio)
 {
     this.portfolio = portfolio;
 }
Beispiel #6
0
 public object Convert(SmartQuant.Instruments.Portfolio portfolio)
 {
     return(new Portfolio(portfolio));
 }