congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
TimeStreamEvent.getTimeStamp
Code IndexAdd Tabnine to your IDE (free)

How to use
getTimeStamp
method
in
com.activequant.domainmodel.streaming.TimeStreamEvent

Best Java code snippets using com.activequant.domainmodel.streaming.TimeStreamEvent.getTimeStamp (Showing top 3 results out of 315)

origin: activequant/aq2o

public void process(TimeStreamEvent se) {
  if (se instanceof TimeStreamEvent) {
    currentTime = se.getTimeStamp();
    long slot = currentTime.getNanoseconds()
        / (1000l * 1000l * 1000l * 15l);
    if (slot != currentSlot) {
      currentSlot = slot;
      setWindowTitles(date8time6.format(currentTime.getCalendar()
          .getTime()));
    }
    // log.info("It is now " + ((TimeStreamEvent)
    // se).getTimeStamp().getDate());
  }
}
origin: activequant/aq2o

public OHLCV clone(){
  OHLCV ret = new OHLCV();
  ret.setSnapshotTime(getSnapshotTime());
  ret.setTimeStamp(super.getTimeStamp());
  ret.setMdiId(mdiId);
  ret.setOpen(open);
  ret.setHigh(high);
  ret.setLow(low);
  ret.setClose(close);
  ret.setVolume(volume);
  ret.setResolutionInSeconds(resolutionInSeconds);
  ret.setCreationTime(super.getCreationTime());
  ret.setDeletionTime(super.getDeletionTime());
  return ret; 
}

origin: activequant/aq2o

public void processStreamEvent(StreamEvent streamEvent) {
  if (streamEvent instanceof TimeStreamEvent) {
    currentExchangeTime = ((TimeStreamEvent) streamEvent).getTimeStamp();
com.activequant.domainmodel.streamingTimeStreamEventgetTimeStamp

Popular methods of TimeStreamEvent

  • <init>
  • getCreationTime
  • getDeletionTime

Popular in Java

  • Finding current android device location
  • scheduleAtFixedRate (ScheduledExecutorService)
  • putExtra (Intent)
  • getExternalFilesDir (Context)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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