if (Log.doTrace())
Log.trace("TradeJdbc:buy - inSession(" + this.inSession + ")", userID, symbol, new Double(quantity));
conn = getConn();
AccountDataBean accountData = getAccountData(conn, userID);
QuoteDataBean quoteData = getQuoteData(conn, symbol);
HoldingDataBean holdingData = null; // the buy operation will create
// the holding
orderData = createOrder(conn, accountData, quoteData, holdingData, "buy", quantity);