public class MetatraderSymbolSpecification extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MetatraderSymbolSpecification.CalcMode
Contract price calculation mode.
|
static class |
MetatraderSymbolSpecification.ExecutionMode
Deal execution mode.
|
static class |
MetatraderSymbolSpecification.ExpirationMode
Order expiration mode.
|
static class |
MetatraderSymbolSpecification.FillingMode
Order filling mode.
|
static class |
MetatraderSymbolSpecification.OrderGtcMode
Order GTC mode.
|
static class |
MetatraderSymbolSpecification.OrderType
Order type.
|
static class |
MetatraderSymbolSpecification.SwapMode
Swap calculation model.
|
static class |
MetatraderSymbolSpecification.TradeMode
Order execution type.
|
| Modifier and Type | Field and Description |
|---|---|
List<MetatraderSymbolSpecification.ExpirationMode> |
allowedExpirationModes
Allowed order expiration modes
|
List<MetatraderSymbolSpecification.OrderType> |
allowedOrderTypes
Allowed order types
|
String |
baseCurrency
Base currency
|
Double |
bondAccruedInterest
Accrued interest, or
null – accumulated coupon interest, i.e. part of the coupon interest calculated
in proportion to the number of days since the coupon bond issuance or the last coupon interest payment |
Double |
bondFaceValue
Face value, or
null – initial bond value set by the issuer |
int |
contractSize
Trade contract size
|
String |
description
Symbol description
|
int |
digits
Digits after a decimal point
|
MetatraderSymbolSpecification.ExecutionMode |
executionMode
Deal execution mode
|
IsoTime |
expirationTime
Date of the symbol trade end (usually used for futures)
|
List<MetatraderSymbolSpecification.FillingMode> |
fillingModes
List of allowed order filling modes
|
double |
hedgedMargin
Contract size or margin value per one lot of hedged positions (oppositely directed positions of one symbol).
|
Boolean |
hedgedMarginUsesLargerLeg
Calculating hedging margin using the larger leg (Buy or Sell), or
null |
double |
initialMargin
Initial margin means the amount in the margin currency required for opening a position with the volume of
one lot.
|
Double |
liquidityRate
Liquidity Rate is the share of the asset that can be used for the margin, or
null |
double |
maintenanceMargin
The maintenance margin.
|
String |
marginCurrency
Margin currency
|
double |
maxVolume
Maximum order volume for the symbol
|
double |
minVolume
Minimum order volume for the symbol
|
Double |
optionPriceSensivity
Option/warrant sensitivity shows by how many points the price of the option's underlying asset should
change so that the price of the option changes by one point, or
null |
Double |
optionStrike
The strike price of an option, or
null. |
MetatraderSymbolSpecification.OrderGtcMode |
orderGTCMode
If the expirationMode property is set to SYMBOL_EXPIRATION_GTC (good till canceled), the expiration of
pending orders, as well as of Stop Loss/Take Profit orders should be additionally set using this enumeration
|
String |
path
Path in the symbol tree, or
null |
MetatraderSymbolSpecification.CalcMode |
priceCalculationMode
Contract price calculation mode
|
String |
profitCurrency
Profit currency, or
null |
MetatraderSessions |
quoteSessions
Quote sessions, indexed by day of week
|
IsoTime |
startTime
Date of the symbol trade beginning (usually used for futures)
|
Double |
swapLong
Long swap value, or
null |
MetatraderSymbolSpecification.SwapMode |
swapMode
Swap calculation model
|
DayOfWeek |
swapRollover3Days
Day of week to charge 3 days swap rollover, or
null |
Double |
swapShort
Short swap value, or
null |
String |
symbol
Symbol (e.g. a currency pair or an index)
|
double |
tickSize
Tick size
|
MetatraderSymbolSpecification.TradeMode |
tradeMode
Order execution type, or
null |
MetatraderSessions |
tradeSessions
Trade sessions, indexed by day of week
|
double |
volumeStep
Order volume step for the symbol
|
| Constructor and Description |
|---|
MetatraderSymbolSpecification() |
public String symbol
public double tickSize
public double minVolume
public double maxVolume
public double volumeStep
public List<MetatraderSymbolSpecification.FillingMode> fillingModes
public MetatraderSymbolSpecification.ExecutionMode executionMode
public int contractSize
public MetatraderSessions quoteSessions
public MetatraderSessions tradeSessions
public MetatraderSymbolSpecification.TradeMode tradeMode
nullpublic Double bondAccruedInterest
null – accumulated coupon interest, i.e. part of the coupon interest calculated
in proportion to the number of days since the coupon bond issuance or the last coupon interest paymentpublic Double bondFaceValue
null – initial bond value set by the issuerpublic Double optionStrike
null. The price at which an option buyer can buy (in a Call
option) or sell (in a Put option) the underlying asset, and the option seller is obliged to sell or buy
the appropriate amount of the underlying assetpublic Double optionPriceSensivity
nullpublic Double liquidityRate
nullpublic double initialMargin
public double maintenanceMargin
public double hedgedMargin
public Boolean hedgedMarginUsesLargerLeg
nullpublic String marginCurrency
public MetatraderSymbolSpecification.CalcMode priceCalculationMode
public String baseCurrency
public String profitCurrency
nullpublic MetatraderSymbolSpecification.SwapMode swapMode
public Double swapLong
nullpublic Double swapShort
nullpublic DayOfWeek swapRollover3Days
nullpublic List<MetatraderSymbolSpecification.ExpirationMode> allowedExpirationModes
public List<MetatraderSymbolSpecification.OrderType> allowedOrderTypes
public MetatraderSymbolSpecification.OrderGtcMode orderGTCMode
public int digits
public String path
nullpublic String description
public IsoTime startTime
public IsoTime expirationTime
Copyright © 2020. All rights reserved.