Instead of using the main
Framework.OnPriceChange = function(quote) {
// The quote object contains the same time, bid, ask etc properties listed above.
// Instrument which is changing is in quote.instrumentId.
// Prices are in quote.ask and quote.bid etc.
};
The
| Property | Description |
| instrumentId | ID of the instrument, such as EUR/USD |
| time | Time of the most recent quote |
| bid | Latest bid price |
| ask | Latest ask price |
| high | High of the current period. Availability depends on account features. |
| low | Low of the current period. Availability depends on account features. |
| change | Change amount during the current period. Availability depends on account features. |
| changePc | Change amount as a percentage. Availability depends on account features. |