Example #1
0
 public Position this[Instrument instrument]
 {
     get
     {
         FreeQuant.Instruments.Position position = this.positionList[instrument.instrument];
         if (position != null)
         {
             return(new Position(position));
         }
         else
         {
             return((Position)null);
         }
     }
 }
Example #2
0
 public Position this[string symbol]
 {
     get
     {
         FreeQuant.Instruments.Position position = this.positionList[symbol];
         if (position != null)
         {
             return(new Position(position));
         }
         else
         {
             return((Position)null);
         }
     }
 }
Example #3
0
 internal Position(FreeQuant.Instruments.Position position)
 {
     this.position     = position;
     this.transactions = new TransactionList(position.Transactions);
 }
Example #4
0
		internal Position(FreeQuant.Instruments.Position position)
		{
			this.position = position;
			this.transactions = new TransactionList(position.Transactions);
		}