コード例 #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);
 }
コード例 #2
0
ファイル: Portfolio.cs プロジェクト: houzhongxu/OpenQuant.API
		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);
		}