Examples of MarketDo


Examples of com.barchart.feed.base.market.api.MarketDo

  @SuppressWarnings("unchecked")
  @Override
  public <S extends Instrument, V extends Value<V>> V take(
      final S instrument, final MarketField<V> field) {

    final MarketDo market = marketMap.get(instrument.id());

    if (market == null) {
      return MarketConst.NULL_MARKET.get(field).freeze();
    }

    return (V) market.runSafe(safeTake, field);

  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.