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