Note: the DOM node which receives the output must be empty on first use of
The parameters for
| Parameter | Description |
| target | Either a DOM node into which to put the price, or the ID of a node. If |
| instrument | The market to use for formatting the price. Can be specified either as an FXB.Instrument object or the |
| price | The price to format |
| options | Optional. Number-formatting options which are ultimately passed to FormatNumber(). For example, to suppress thousands-separators, set |
For example:
<!-- Note: the element which is the target of DisplayPrice() must be empty on the first call -->
<span id="bid"></span>
…
var market = Framework.Instruments.get("EUR/USD");
Framework.DisplayPrice("bid", market, market.bid);