Instruments (v4)
Returns a single extended instrument by id
get/v4/user/accounts/{server}/{accountId}/instruments/extended/{instrumentId}
Request
- Base URLhttps://trading-api.oanda.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
server'oanda' | 'oanda-demo' | 'otms' | 'v20' | 'v20-demo' | 'oj' | 'oj-demo' | 'opt' | 'ftmo-1' required
Account trading server.
accountIdstring required
The user's account identifier.
instrumentIdstring required
Instrument identifier.
Response
OK
Example response
{
"data": {
"category": "INDEX",
"tradeMode": "TRADE_FULL",
"marginCalcMode": "TRADE_MODE_FOREX",
"profitConvert": "BY_MARKET",
"type": "CFD",
"marketHours": [
{
"type": "MARKET_OPEN"
}
],
"tradeHours": [
{
"type": "MARKET_OPEN"
}
],
"quoteHours": [
{
"type": "MARKET_OPEN"
}
],
"marginCurrency": "USD"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.