ripple/ripple-data-api — pull request #5 by vahaknp (2014-11-07 23:03:38+00:00)
Title: Add 'live' option to exchange rate

If 'live' option set to true on exchange rate call, api will return midpoint of the weighted averages of bid and ask orders. The 'depth' of the orders is decided by the 'depth' parameter given by the user for each pair. If no depth is specified, the midpoint of the best ask and bid is returned.