class TradingRecord implements Serializable {

    public Order getLastOrder() {
        if (!orders.isEmpty()) {
            return orders.get(orders.size() - 1);
        }
        return null;
    }

    public  TradingRecord();
    public  TradingRecord(OrderType entryOrderType);
    public  TradingRecord(Order... orders);

}