class RawOffer
Parents
object
Brief
The class provides access to raw offer information of a trading instrument, its received from the trading server without calculated fields.
| Public Methods | |
|---|---|
| RawOffer | This method is a constructor for the class provides access to raw offer information of a trading instrument. The constructor 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 |
| 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 |
| getDigits | Gets the instrument price precision |
| getPointSize | Gets the size of one pip |
| getTradingStatus | Gets the instrument trading status |