class TradingRecord implements Serializable {

    public Trade getLastTrade() {
        if (!trades.isEmpty()) {
            return trades.get(trades.size() - 1);
        }
        return null;
    }

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

}