Package name.abuchen.portfolio.datatransfer.CSVImportDefinition

Examples of name.abuchen.portfolio.datatransfer.CSVImportDefinition.PortfolioTransactionDef


    {
        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);
View Full Code Here

TOP

Related Classes of name.abuchen.portfolio.datatransfer.CSVImportDefinition.PortfolioTransactionDef

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.