Interface DOMSnapshot


public interface DOMSnapshot
Contains historical DOM information at a specific time.
  • Method Summary

    Modifier and Type
    Method
    Description
    float[]
    Gets the ask prices.
    float[]
    Gets the ask sizes corresponding to each ask price (see getAskPrices()).
    float[]
    Gets the bid prices.
    float[]
    Gets the bid sizes corresponding to each ask price (see getAskPrices()).
    long
    Gets the time (in milliseconds since 1970) that this snapshot was taken.
  • Method Details

    • getTime

      long getTime()
      Gets the time (in milliseconds since 1970) that this snapshot was taken.
      Returns:
      time that this snapshot was taken (in milliseconds since 1970)
    • getAskPrices

      float[] getAskPrices()
      Gets the ask prices.
      Returns:
      ask prices (as a float array)
    • getAskSizes

      float[] getAskSizes()
      Gets the ask sizes corresponding to each ask price (see getAskPrices()).
      Returns:
      ask sizes (as a float array)
    • getBidPrices

      float[] getBidPrices()
      Gets the bid prices.
      Returns:
      bid prices (as a float array)
    • getBidSizes

      float[] getBidSizes()
      Gets the bid sizes corresponding to each ask price (see getAskPrices()).
      Returns:
      bid sizes (as a float array)