MarkitOnDemand

MarkitOnDemand

MarkitOnDemand Class

Constructor

new MarkitOnDemand(params)

Constructor
Parameters:
Name Type Description
params Object Params to be set into this instance
Source:

Methods

getQuote(symbol) → {Promise}

Get stock quote for a Symbol
Parameters:
Name Type Description
symbol String Stock symbol
Source:
Returns:
Promise
Type
Promise

lookup(query) → {Promise}

Lookup a stock symbol via a query string
Parameters:
Name Type Description
query String Query which to search for symbols on
Source:
Returns:
Promise
Type
Promise

lookupUrl(query) → {String}

Generate the URL for Symbol Lookups
Parameters:
Name Type Description
query String Search query to lookup symbols by
Source:
Returns:
URL to call to find symbol data
Type
String

quoteUrl(symbol) → {String}

Generate the URL for Quote Lookup
Parameters:
Name Type Description
symbol String Stock symbol
Source:
Returns:
URL to get quote data
Type
String