- getName() - Method in class Trader
-
Returns the screen name for this trader.
- getPassword() - Method in class Trader
-
Returns the password for this trader.
- getPrice() - Method in class TradeOrder
-
Returns the price per share for this trade order (used by a limit order).
- getQuote(String, Trader) - Method in class Brokerage
-
Requests a quote for a given stock from the stock exachange
and passes it along to the trader
by calling trader's receiveMessage
method.
- getQuote() - Method in class Stock
-
Returns a quote string for this stock.
- getQuote(String) - Method in class StockExchange
-
Returns a quote for a given stock.
- getQuote(String) - Method in class Trader
-
Requests a quote for a given stock symbol from the brokerage by calling
brokerage's getQuote
.
- getShares() - Method in class TradeOrder
-
Returns the number of shares to be traded in this trade order.
- getSymbol() - Method in class TradeOrder
-
Returns the stock symbol for this trade order.
- getTrader() - Method in class TradeOrder
-
Returns the trader for this trade order.