Package name.abuchen.portfolio.datatransfer.CSVImportDefinition

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


    public void testThatSecurityPriceIsImported() throws ParseException
    {
        Client client = buildClient();
        Security security = client.getSecurities().get(0);

        SecurityPriceDef def = new SecurityPriceDef();

        def.build(client, security, //
                        new String[] { "2013-01-01", "123,45" }, //
                        buildField2Column(def));

        SecurityPrice price = security.getSecurityPrice(Dates.date(2013, Calendar.JANUARY, 1));
        assertThat(price.getValue(), is(12345L));
View Full Code Here

TOP

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

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.