class SimplePosition extends DirectBean implements Position, MutableUniqueIdentifiable, Serializable {

  public void addTrade(Trade trade) {
    ArgumentChecker.notNull(trade, "trade");
    _trades.add(trade);
  }

  public  SimplePosition();
  public  SimplePosition(BigDecimal quantity, ExternalId securityKey);
  public  SimplePosition(BigDecimal quantity, ExternalIdBundle securityKey);
  public  SimplePosition(UniqueId uniqueId, BigDecimal quantity, ExternalId securityKey);
  public  SimplePosition(UniqueId uniqueId, BigDecimal quantity, ExternalIdBundle securityKey);
  public  SimplePosition(UniqueId uniqueId, BigDecimal quantity, Security security);
  public  SimplePosition(final Position copyFrom);

}