<%@ 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 Quotes
DayTrader
<%= 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()%>
<% } %>
<% } %>
Quotes
symbol
company
volume
price range
open price
current price
gain/(loss)
trade
<% 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(); %>
<% } %>
Note: Click any
symbol
for a quote or to trade.
DayTrader Quotes
DayTrader