class Instrument| Parents | |
|
|
|
The class provides access to instrument information
| Static Public Properties | |
|
Type: BULLION |
|
|
Type: CFD SHARES |
|
|
Type: COMMODITY |
|
|
Type: CRYPTOCURRENCY |
|
|
Type: FOREX |
|
|
Type: FXINDEX |
|
|
Type: INDICES |
|
|
Type: SHARES |
|
|
Type: TREASURY |
|
| Public Methods | |
|
Returns the adjustment applied to the ask price of the instrument. The ask price is the price at which an investor can buy the instrument. The adjustment can be either positive or negative and is applied to account for factors such as market conditions, liquidity, and trading costs |
|
|
Returns the base unit size of the instrument. This value represents the minimum trade size for this instrument |
|
|
Returns the adjustment applied to the bid price of the instrument. The bid price is the price at which an investor can sell the instrument. The adjustment can be either positive or negative and is applied to account for factors such as market conditions, liquidity, and trading costs |
|
|
Gets the interest amount added to the account balance for holding a one lot long (buy) position overnight |
|
|
Returns the distance in points between the current market price and the limit order that has been placed when entering a trade. The limit order is an order to automatically close a trade when the price of the instrument reaches a certain level of profit |
|
|
Returns the distance in points between the current market price and the stop-loss order that has been placed when entering a trade. The stop-loss order is an order to automatically close a trade if the price of the instrument moves against the trader by a specified amount |
|
|
Returns the distance in points between the current market price and the limit order that has been placed for a trade. The limit order is an order to automatically close a trade when the price of the instrument reaches a certain level of profit |
|
|
Returns the distance in points between the current market price and the stop-loss order that has been placed for a trade. The stop-loss order is an order to automatically close a trade if the price of the instrument moves against the trader by a specified amount |
|
|
Gets the contact currency depending on the instrument type: the base currency for a Forex instrument and the counter currency for a CFD instrument. For example, EUR for EUR/USD and GBP for UK100/GBP |
|
|
Gets the contract multiplier (makes sense only for some CFD instruments) |
|
|
Gets the instrument price precision |
|
|
Gets the number of dividends when buying for this instrument |
|
|
Gets the number of dividends when selling for this instrument |
|
|
Returns the size of a fractional pip for the instrument. The fractional pip size is the smallest fraction of a pip that the instrument can be traded in, and it is expressed in decimals |
|
|
Gets the type of the instrument |
|
|
Gets the maximum allowed amount of an order |
|
|
Gets the minimum allowed amount of an order |
|
|
Gets the unique identification number of the instrument offer |
|
|
Gets the size of one pip |
|
|
Gets the ID of price stream |
|
|
Gets the interest amount added to the account balance for holding a one lot short (sell) position overnight |
|
|
Gets the default sort order position |
|
|
Gets the instrument subscription status |
|
|
Gets the symbol of the instrument. For example, EUR/USD |
|
|
Gets the instrument trading status |
|
|
Answers the question of whether dividends have arrived for the instrument when buying |
|
|
Answers the question of whether dividends have arrived for the instrument when selling |
|
|
This method is a constructor for the class providing access to instrument information. The constructor does not return any values |
|