class Offer
Parents
object
Brief
The class provides access to offer information of a trading instrument, its current prices, high and low prices for the trading day
| Public Methods | |
|---|---|
| Offer | This method is a constructor for the class provides access to offer information of a trading instrument. It initializes the properties with default values and does not return any values |
| getBid | Gets the current market price the instrument can be sold at |
| getAsk | Gets the current market price the instrument can be bought at |
| getHigh | Gets the highest ask price (buy price) of the instrument for the current trading day |
| getLow | Gets the lowest bid price (sell price) of the instrument for the current trading day |
| getPipCost | Gets the cost of one pip per lot |
| getOfferId | Gets the unique identification number of the offer |
| getBidTradable | Gets the trading status of the bid price, it defines whether the bid price of the instrument is available for trading or not |
| getAskTradable | Gets the trading status of the ask price, it defines whether the ask price of the instrument is available for trading or not |
| getQuoteId | Gets the unique identification number of the pair of prices (bid and ask) at which the instrument can be traded |
| getVolume | Gets the tick volume of the current minute |
| getTime | Gets the date and time of the last update of the instrument |