{
Client client = buildClient();
Portfolio portfolio = client.getPortfolios().get(0);
Security security = client.getSecurities().get(0);
PortfolioTransactionDef def = new PortfolioTransactionDef();
def.build(client, portfolio, //
new String[] { "2013-01-01", security.getIsin(), "", "", "1000,00", "10,00", "11,00", "1,234",
"BUY" }, //
buildField2Column(def));
PortfolioTransaction t = portfolio.getTransactions().get(portfolio.getTransactions().size() - 1);