<%@ page import="java.util.Collection, java.util.Iterator, org.apache.geronimo.daytrader.javaee6.core.direct.*, org.apache.geronimo.daytrader.javaee6.entities.*, org.apache.geronimo.daytrader.javaee6.utils.*" session="true" isThreadSafe="true" isErrorPage="false"%> <% Collection closedOrders = (Collection)request.getAttribute("closedOrders"); if ( (closedOrders != null) && (closedOrders.size()>0) ) { %> <% } %>
DayTrader Quotes DayTrader

<%= new java.util.Date() %>
Alert: The following Order(s) have completed.
<% Iterator it = closedOrders.iterator(); while (it.hasNext() ) { OrderDataBean closedOrderData = (OrderDataBean)it.next(); %> <% } %>
order ID order status creation date completion date txn fee type symbol quantity
<%= closedOrderData.getOrderID()%> <%= closedOrderData.getOrderStatus()%> <%= closedOrderData.getOpenDate()%> <%= closedOrderData.getCompletionDate()%> <%= closedOrderData.getOrderFee()%> <%= closedOrderData.getOrderType()%> <%= FinancialUtils.printQuoteLink(closedOrderData.getSymbol()) %> <%= closedOrderData.getQuantity()%>
Quotes
<% String symbols = request.getParameter("symbols"); if (symbols == null) symbols = "no_stock_symbol_provided"; java.util.ArrayList quotes = new java.util.ArrayList(); java.util.StringTokenizer st = new java.util.StringTokenizer(symbols, " ,"); while (st.hasMoreElements()) { String symbol = st.nextToken(); %> <% } %>
symbol company volume price range open price current price gain/(loss) trade

Note: Click any symbol for a quote or to trade.
DayTrader Quotes DayTrader