Interface Instrument

interface Instrument {
    chartCode: string;
    contractSize: string;
    controlledRiskAllowed: boolean;
    country: string;
    currencies: Currency[];
    epic: string;
    expiry: string;
    expiryDetails?: ExpiryDetail;
    forceOpenAllowed: boolean;
    limitedRiskPremium: LimitedRiskPremium;
    lotSize: number;
    marginDepositBands: MarginDepositBand[];
    marginFactor: number;
    marginFactorUnit: string;
    marketId: string;
    name: string;
    newsCode: string;
    onePipMeans: string;
    openingHours?: {
        marketTimes: string[];
    };
    rolloverDetails?: RolloverDetail;
    slippageFactor: SlippageFactor;
    specialInfo: string[];
    sprintMarketsMaximumExpiryTime?: number;
    sprintMarketsMinimumExpiryTime?: number;
    stopsLimitsAllowed: boolean;
    streamingPricesAvailable: boolean;
    type: InstrumentType;
    unit: InstrumentUnit;
    valueOfOnePip: string;
}

Properties

chartCode: string
contractSize: string
controlledRiskAllowed: boolean
country: string
currencies: Currency[]
epic: string
expiry: string
expiryDetails?: ExpiryDetail
forceOpenAllowed: boolean
limitedRiskPremium: LimitedRiskPremium
lotSize: number
marginDepositBands: MarginDepositBand[]
marginFactor: number
marginFactorUnit: string
marketId: string
name: string
newsCode: string
onePipMeans: string
openingHours?: {
    marketTimes: string[];
}

Type declaration

  • marketTimes: string[]
rolloverDetails?: RolloverDetail
slippageFactor: SlippageFactor
specialInfo: string[]
sprintMarketsMaximumExpiryTime?: number

For sprint markets only, the maximum value to be specified as the expiry of a sprint markets trade.

sprintMarketsMinimumExpiryTime?: number

For sprint markets only, the minimum value to be specified as the expiry of a sprint markets trade.

stopsLimitsAllowed: boolean
streamingPricesAvailable: boolean
valueOfOnePip: string