Quote Response
public void QuoteResponse(String symbol, double open, double high, double low, double price, double volume, String latestTradingDay, double previousClose, double change, double changePercent)
Creates a successful quote from the values a response carried.
Parameters
symbol
the ticker the quote covers
open
the latest trading day's opening price
high
the latest trading day's highest price
low
the latest trading day's lowest price
price
the latest traded price
volume
the latest trading day's volume, in shares
latest Trading Day
the day the quote covers, formatted yyyy-MM-dd
previous Close
the previous trading day's closing price
change
the move from the previous close, in the listing currency
change Percent
the move from the previous close, in percentage points
Creates a failed quote carrying only a message, with every price left at 0.0 and the ticker and trading day left null.
Parameters
error Message
the message describing what went wrong