public quickfix.field.SecurityType get(quickfix.field.SecurityType value) throws FieldNotFound { getField(value); return value; }
public quickfix.fix44.component.Instrument get(quickfix.fix44.component.Instrument component) throws FieldNotFound { getComponent(component); return component; }
public boolean isSetMDReqID() { return isSetField(262); }
public quickfix.field.MDReqID getMDReqID() throws FieldNotFound { return get(new quickfix.field.MDReqID()); }
public void set(quickfix.field.SymbolSfx value) { setField(value); }
final SessionID sessionId) throws FieldNotFound, UnsupportedMessageType, IncorrectTagValue { Date origTime = message.getField(new OrigTime()).getValue(); String symbol = message.getSymbol().getValue(); String mdReqId = message.isSetMDReqID() ? message.getMDReqID().getValue() : null; CurrencyPair currencyPair = OKCoinFIXAdapters.adaptCurrencyPair(symbol); volume = null; for (int i = 1, l = message.getNoMDEntries().getValue(); i <= l; i++) { Group group = message.getGroup(i, NoMDEntries.FIELD); char type = group.getChar(MDEntryType.FIELD); BigDecimal px = group.getField(new MDEntryPx()).getValue();
public static Ticker adaptTicker(MarketDataSnapshotFullRefresh message) throws FieldNotFound { Ticker.Builder tickerBuilder = new Ticker.Builder(); String symbol = message.getSymbol().getValue(); tickerBuilder.currencyPair(BTCChinaAdapters.adaptCurrencyPair(symbol)); int noMDEntries = message.getNoMDEntries().getValue(); for (int i = 1; i <= noMDEntries; i++) { Group group = message.getGroup(i, NoMDEntries.FIELD); adapt(tickerBuilder, group); } Ticker ticker = tickerBuilder.build(); return ticker; }
public MarketDataSnapshotFullRefresh() { super(); getHeader().setField(new quickfix.field.MsgType(MSGTYPE)); }
public void set(quickfix.fix44.component.Instrument component) { setComponent(component); }
return new quickfix.fix44.MarketDataSnapshotFullRefresh();
public quickfix.field.SecurityID getSecurityID() throws FieldNotFound { return get(new quickfix.field.SecurityID()); }
public void set(quickfix.field.SecurityType value) { setField(value); }
public MarketDataSnapshotFullRefresh() { super(); getHeader().setField(new quickfix.field.MsgType(MSGTYPE)); }
public void set(quickfix.fix44.component.Instrument component) { setComponent(component); }
public quickfix.field.SecuritySubType get(quickfix.field.SecuritySubType value) throws FieldNotFound { getField(value); return value; }
public quickfix.field.SecurityType getSecurityType() throws FieldNotFound { return get(new quickfix.field.SecurityType()); }
public void set(quickfix.field.Factor value) { setField(value); }
public boolean isSetSymbol() { return isSetField(55); }
public MarketDataSnapshotFullRefresh() { super(); getHeader().setField(new quickfix.field.MsgType(MSGTYPE)); }