Example #1
0
 public long UpdatePosition( string ticker, long quantity )
 {
     IPosition pos = new Position();
     pos = pos.GetPosition( ticker );
     pos.Quantity += quantity;
     return pos.Quantity;
 }
Example #2
0
 public long GetQuantity( string ticker )
 {
     IPosition pos = new Position();
     pos = pos.GetPosition( ticker );
     return pos.Quantity;
 }