Package com.barchart.feed.ddf.util.enums

Examples of com.barchart.feed.ddf.util.enums.DDF_Fraction


    symbolArray = xmlDecSymbol(tag, SYMBOL, XML_STOP);

    updateSpread();

    final byte baseCode = xmlByteDecode(tag, FRACTION_DDF, XML_STOP);
    final DDF_Fraction frac = DDF_Fraction.fromBaseCode(baseCode);
    setFraction(frac);

    priceStep = xmlDecimalDecode(frac, tag, PRICE_TICK_INCREMENT, XML_STOP);

    priceTrade = xmlDecimalDecode(frac, tag, PRICE_LAST, XML_STOP);
View Full Code Here


    xmlCheckTagName(tag, TAG);

    xmlAsciiEncode(getSymbolFull(), tag, SYMBOL);

    final DDF_Fraction frac = getFraction();
    xmlByteEncode(frac.baseCode, tag, FRACTION_DDF);

    xmlDecimalEncode(priceStep, frac, tag, PRICE_TICK_INCREMENT);

    xmlDecimalEncode(priceTrade, frac, tag, PRICE_LAST);
View Full Code Here

TOP

Related Classes of com.barchart.feed.ddf.util.enums.DDF_Fraction

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.