Package com.barchart.feed.base.cuvol.api

Examples of com.barchart.feed.base.cuvol.api.MarketDoCuvol


  public void setCuvolSnapshot(final MarketDoCuvolEntry[] entries,
      final TimeValue time) {

    assert entries != null && time != null;

    final MarketDoCuvol cuvol = loadCuvol();

    cuvol.clear();

    for (final MarketDoCuvolEntry entry : entries) {
      cuvol.add(entry.price(), entry.size());
    }

    eventAdd(NEW_CUVOL_SNAPSHOT);

    updateMarket(time);
View Full Code Here


  }

  private final void makeCuvol(final PriceValue price, final SizeValue size) {

    final MarketDoCuvol cuvol = loadCuvol();

    cuvol.add(price, size);

    eventAdd(NEW_CUVOL_UPDATE);

  }
View Full Code Here

  public void setCuvolSnapshot(final MarketDoCuvolEntry[] entries,
      final TimeValue time) {

    assert entries != null && time != null;

    final MarketDoCuvol cuvol = loadCuvol();

    cuvol.clear();

    for (final MarketDoCuvolEntry entry : entries) {
      cuvol.add(entry.priceValue(), entry.sizeValue(), time);
    }

    eventAdd(NEW_CUVOL_SNAPSHOT);

    updateMarket(time);
View Full Code Here

  }

  private final void makeCuvol(final PriceValue price, final SizeValue size,
      final TimeValue time) {

    final MarketDoCuvol cuvol = loadCuvol();

    if(!cuvol.isNull()) {
   
      cuvol.add(price, size, time);
 
      eventAdd(NEW_CUVOL_UPDATE);
   
    }
View Full Code Here

  public void setCuvolSnapshot(final MarketDoCuvolEntry[] entries,
      final TimeValue time) {

    assert entries != null && time != null;

    final MarketDoCuvol cuvol = loadCuvol();

    cuvol.clear();

    for (final MarketDoCuvolEntry entry : entries) {
      cuvol.add(entry.priceValue(), entry.sizeValue(), time);
    }

    setChange(Component.CUVOL);
    eventAdd(NEW_CUVOL_SNAPSHOT);
View Full Code Here

  }

  private final void makeCuvol(final PriceValue price, final SizeValue size,
      final TimeValue time) {

    final MarketDoCuvol cuvol = loadCuvol();

    if (!cuvol.isNull()) {

      cuvol.add(price, size, time);

      setChange(Component.CUVOL);
      eventAdd(NEW_CUVOL_UPDATE);

    }
View Full Code Here

  public void setCuvolSnapshot(final MarketDoCuvolEntry[] entries,
      final TimeValue time) {

    assert entries != null && time != null;

    final MarketDoCuvol cuvol = loadCuvol();

    cuvol.clear();

    for (final MarketDoCuvolEntry entry : entries) {
      cuvol.add(entry.price(), entry.size());
    }

    eventAdd(NEW_CUVOL_SNAPSHOT);

    updateMarket(time);
View Full Code Here

  }

  private final void makeCuvol(final PriceValue price, final SizeValue size) {

    final MarketDoCuvol cuvol = loadCuvol();

    log.debug("Adding cuvol for " + get(INSTRUMENT).get(InstrumentField.ID).toString());
    cuvol.add(price, size);

    eventAdd(NEW_CUVOL_UPDATE);

  }
View Full Code Here

  public void setCuvolSnapshot(final MarketDoCuvolEntry[] entries,
      final TimeValue time) {

    assert entries != null && time != null;

    final MarketDoCuvol cuvol = loadCuvol();

    cuvol.clear();

    for (final MarketDoCuvolEntry entry : entries) {
      cuvol.add(entry.priceValue(), entry.sizeValue());
    }

    eventAdd(NEW_CUVOL_SNAPSHOT);

    updateMarket(time);
View Full Code Here

  }

  private final void makeCuvol(final PriceValue price, final SizeValue size) {

    final MarketDoCuvol cuvol = loadCuvol();

    cuvol.add(price, size);

    eventAdd(NEW_CUVOL_UPDATE);

  }
View Full Code Here

TOP

Related Classes of com.barchart.feed.base.cuvol.api.MarketDoCuvol

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.