Historical

Get Comtrade Historical data

By symbol

Get historical data for one or multiple symbols

/comtrade/historical/{symbol}

te.getCmtHistorical(symbol = 'PRTESP24031', output_type='df')
data = te.getComtrade(symbol = 'PRTESP24031').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/comtrade/historical/PRTESP24031?c=guest:guest");

/comtrade/historical/{symbols}

te.getCmtHistorical(symbol = 'PRTESP24031, NORZWEXX991', output_type='df')
data = te.getComtrade(symbol = 'PRTESP24031, NORZWEXX991').then(function(data){
    console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/comtrade/historical/PRTESP24031,NORZWEXX991?c=guest:guest");

Response fields

FieldTypeDescriptionExample
SymbolstringUnique symbol used by Trading Economics“NORZWEXX991”
DatestringYear of the updated series“1995-12-31T00:00:00”
ValuestringTrade value3161.0