Skip to content

Rates and Indices

Returns the current rate of various financials

Private Client SA

Get current rates

js
invsy.api.privateClient.pbsa.rates.get().then(res => {
    return res.result;
})
invsy.api.privateClient.pbsa.rates.get().then(res => {
    return res.result;
})

Wealth and Investment SA

Get current indices international rates

js
invsy.api.privateClient.wisa.market_data.indices.international.get().then(res => {
    return res.result;
})
invsy.api.privateClient.wisa.market_data.indices.international.get().then(res => {
    return res.result;
})

Get current indices local rates

js
invsy.api.privateClient.wisa.market_data.indices.local.get().then(res => {
    return res.result;
})
invsy.api.privateClient.wisa.market_data.indices.local.get().then(res => {
    return res.result;
})

Get current currency rates

js
invsy.api.privateClient.wisa.market_data.currency.get().then(res => {
    return res.result;
})
invsy.api.privateClient.wisa.market_data.currency.get().then(res => {
    return res.result;
})

Get current commodity rates

js
invsy.api.privateClient.wisa.market_data.commodity.get().then(res => {
    return res.result;
})
invsy.api.privateClient.wisa.market_data.commodity.get().then(res => {
    return res.result;
})

Get current dividends rates

js
invsy.api.privateClient.wisa.market_data.dividends.get().then(res => {
    return res.result;
})
invsy.api.privateClient.wisa.market_data.dividends.get().then(res => {
    return res.result;
})

Get current indices international history rates

js
invsy.api.privateClient.wisa.market_data.indices.international.history('DOW','2021-09-19','2022-09-19').then(res => {
    return res.result;
})
invsy.api.privateClient.wisa.market_data.indices.international.history('DOW','2021-09-19','2022-09-19').then(res => {
    return res.result;
})
ts
//available parameters
["DOW","FTSE","Hang Seng","AUS All Ords"]
//available parameters
["DOW","FTSE","Hang Seng","AUS All Ords"]

Get current indices local history rates

js
invsy.api.privateClient.wisa.market_data.indices.local.history('J203','2021-09-19','2022-09-19').then(res => {
    return res.result;
})
invsy.api.privateClient.wisa.market_data.indices.local.history('J203','2021-09-19','2022-09-19').then(res => {
    return res.result;
})
ts
//available parameters
["J203","J200","J202","J580","J258","J253","J232"]
//available parameters
["J203","J200","J202","J580","J258","J253","J232"]

Get current currency history rates

js
invsy.api.privateClient.wisa.market_data.currency.history('USDZAR','2021-09-19','2022-09-19').then(res => {
    return res.result;
})
invsy.api.privateClient.wisa.market_data.currency.history('USDZAR','2021-09-19','2022-09-19').then(res => {
    return res.result;
})
ts
//available parameters
["USDZAR","GBPZAR","EURZAR","AUDZAR","CHFZAR"]
//available parameters
["USDZAR","GBPZAR","EURZAR","AUDZAR","CHFZAR"]

Get current commodity history rates

js
invsy.api.privateClient.wisa.market_data.commodity.history('GOLD','2021-09-19','2022-09-19').then(res => {
    return res.result;
})
invsy.api.privateClient.wisa.market_data.commodity.history('GOLD','2021-09-19','2022-09-19').then(res => {
    return res.result;
})
ts
//available parameters
["GOLD","PALLADIUM","PLATINUM","SILVER"]
//available parameters
["GOLD","PALLADIUM","PLATINUM","SILVER"]