Tabnine Logo
MarketDataSnapshotFullRefresh.getSymbol
Code IndexAdd Tabnine to your IDE (free)

How to use
getSymbol
method
in
quickfix.fix44.MarketDataSnapshotFullRefresh

Best Java code snippets using quickfix.fix44.MarketDataSnapshotFullRefresh.getSymbol (Showing top 2 results out of 315)

origin: org.knowm.xchange/xchange-btcchina

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;
}
origin: sutra/okcoin-client

  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);
quickfix.fix44MarketDataSnapshotFullRefreshgetSymbol

Popular methods of MarketDataSnapshotFullRefresh

  • getField
  • <init>
  • get
  • getComponent
  • getHeader
  • isSetField
  • setComponent
  • setField
  • getGroup
  • getNoMDEntries
  • getMDReqID
  • isSetMDReqID
  • getMDReqID,
  • isSetMDReqID

Popular in Java

  • Running tasks concurrently on multiple threads
  • runOnUiThread (Activity)
  • getResourceAsStream (ClassLoader)
  • getApplicationContext (Context)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now