Package vanilla.java.perfeg.mmap.api

Examples of vanilla.java.perfeg.mmap.api.Column


        file.deleteOnExit();
    }

    private void computeMidPriceBP(Table table) {
        Row row = table.createRow();
        Column bidPrice = table.acquireColumn("bidPrice");
        Column askPrice = table.acquireColumn("askPrice");
        Column midBP = table.acquireColumn("midBP");
        long lastMp = (row.get(bidPrice) + row.get(askPrice)) / 2;
        while (row.nextRecord()) {
            long mp = (row.get(bidPrice) + row.get(askPrice)) / 2;
            long mpbp = 10000 * (mp - lastMp) / lastMp;
            row.set(midBP, mpbp);
View Full Code Here

TOP

Related Classes of vanilla.java.perfeg.mmap.api.Column

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.