ArrayList<ContractTrade> prices = new ArrayList<ContractTrade>();
for (int i = 0; i < entries.length; i++) {
if (entries[i].startsWith("Date"))
continue;
ContractTrade ct = parseContractTradeCSV(entries[i], contractid);
prices.add(ct);
print(ct.toString());
if (ct.getDate() > lastUTC)
lastUTC = ct.getDate();
}
PersistenceManager pm = PMF.get().getPersistenceManager();
pm.makePersistentAll(prices);