<%@ 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"%>
DayTrader New Orders
<%= new java.util.Date() %>
<% Collection closedOrders = (Collection)request.getAttribute("closedOrders"); if ( (closedOrders != null) && (closedOrders.size()>0) ) { %>
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()%>
<% } %>
<% } %>
<% OrderDataBean orderData = (OrderDataBean)request.getAttribute("orderData"); if ( orderData != null ) { %>
New Order
Order <%=orderData.getOrderID()%>
to
<%=orderData.getOrderType()%> <%=orderData.getQuantity()%>
shares of
<%=orderData.getSymbol()%>
has been submitted for processing.
Order
<%=orderData.getOrderID()%>
details:
order ID
order status
creation date
completion date
txn fee
type
symbol
quantity
<%= orderData.getOrderID()%>
<%= orderData.getOrderStatus()%>
<%= orderData.getOpenDate()%>
<%= orderData.getCompletionDate()%>
<%= orderData.getOrderFee()%>
<%= orderData.getOrderType()%>
<%= FinancialUtils.printQuoteLink(orderData.getSymbol()) %>
<%= orderData.getQuantity()%>
<% } %>
Note: Click any
symbol
for a quote or to trade.
DayTrader New Orders