public void placeOrder(TradeOrder order)
	{
		Trader t = order.getTrader();

		String msg = "New order:  ";

		if (order.isSell())
		{
			msg += "Sell ";
		} else
		{
			msg += "Buy ";
		}

		msg += this.symbol;
		if (!"".equals(this.companyName))
		{
			msg += " (" + this.companyName + ")\n";
		}

		msg += order.getShares() + " shares ";

		if (order.isMarket())
		{
			msg += "at market";
		} else
		{
			double money = order.getPrice();
			NumberFormat formatter = NumberFormat.getCurrencyInstance();
			String moneyString = formatter.format(money);
			msg += moneyString;
		}

		t.receiveMessage(msg);

		if (order.isBuy())
		{
			this.buyOrders.add(order);
		} else
		{
			this.sellOrders.add(order);
		}

		executeOrders();
	}