Tópicos Especiais em Estatística Comp.

WebScraping com Python

Prof. Jodavid Ferreira

UFPE







WebScraping com Python


O que é Web Scraping?



  • O Web Scraping é uma área da Text Mining (Mineração de Texto) ;



O que é Mineração de Texto?

Segundo o Livro ‘Text Mining in Practice with R’:


* “Mineração de texto é o processo de destilar1 insights de texto”.

Onde a mineração de texto se encaixa?



* Para acadêmicos, pode auxiliar na compreensão de transcrições qualitativas ou em um estudo da linguagem;


* Para empresas, pode render informações interessantes que auxiliarão na modelagem preditiva por exemplo;


* Aos profissionais de marketing, podem auxiliar na criação de textos, fornecendo recomendações precisas para sua organização.


* Então, a mineração de texto pode ser usada em qualquer decisão baseada em dados, onde o texto se encaixa naturalmente como uma entrada.

Pacote beautifulsoup4


  • O Beatiful Soup tem uma proposta de ser uma biblioteca Python para projetos rápidos, como raspagem de tela.

  • Tenta facilitar a extração de dados de sites mal projetados, reduzindo o tempo de trabalho de horas para minutos.

  • Link da Bilioteca: https://www.crummy.com/software/BeautifulSoup/

  • Versão mais recente: Beautiful Soup 4.12.3

  • Instalar biblioteca: pip install beautifulsoup4

Instalando o Beautiful Soup



Lembrem de usar anaconda e ambientes virtuais


pip install beautifulsoup4



Lendo o pacote:


from bs4 import BeautifulSoup

Exemplo 1:

Extraindo informações do site Trading Economics


Passo 1: Lendo as bibliotecas e URL

import requests
from bs4 import BeautifulSoup
import pandas as pd
# URL da página que contém a tabela
url = 'https://tradingeconomics.com/country-list/balance-of-trade'

# Obter o conteúdo da página
response = requests.get(url)
html_content = response.content


Link: https://tradingeconomics.com/country-list/balance-of-trade

Exemplo 1:

Extraindo informações do site Trading Economics


Essas informações do site Trading Economics representam dados econômicos de diferentes países:

  1. Country (País): Refere-se ao país ao qual os dados econômicos se aplicam. Pode ser o nome completo do país ou uma abreviação.

  2. Last (Último): Este campo mostra o valor mais recente do indicador econômico específico. Esse valor representa a última medição disponível desse dado.

  3. Previous (Anterior): Este campo apresenta o valor anterior do mesmo indicador econômico, ou seja, o valor que foi registrado na medição anterior.

  4. Reference (Referência): Indica o período ao qual os dados se referem. Por exemplo, pode ser o mês ou o trimestre em que os dados foram coletados.

  5. Unit (Unidade): Especifica a unidade de medida dos dados. Pode ser uma moeda (por exemplo, USD, EUR), uma porcentagem, uma taxa de crescimento, entre outras formas de medição.

Exemplo 1:

Extraindo informações do site Trading Economics


Passo 2:

Vamos analisar o conteúdo da página usando a função BeautifulSoup do pacote bs4:

# Analisar o conteúdo HTML
soup = BeautifulSoup(html_content, 'html.parser')
print(soup)
<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1" name="viewport"/>
<title>Human Verification</title>
<style>
        body {
            font-family: "Arial";
        }
    </style>
<script type="text/javascript">
    window.awsWafCookieDomainList = [];
    window.gokuProps = {
"key":"AQIDAHjcYu/GjX+QlghicBgQ/7bFaQZ+m5FKCMDnO+vTbNg96AGXaiOXxd4eRTJpR4tupO+JAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMMClaxg5plz2UIAbEAgEQgDscaLZUX/GGB1d+t1xLVRf+LK94jgXmhWksnZFxTl1Y5/E/oLB7sic+i0yYNesSHgqDcZWD02on3swWDA==",
          "iv":"CgAGhjLxPyAAAAfv",
          "context":"+ZGKpGSmKk6s1h6bmje31YH8LofKGdPMU5rf3F9MEVTakVNq7k8JrF2AjuSHRDJa0A7oDaMfDv9IRscbWxn8xZ4cgJ9jD+UoYK2HpcdSN39hoSu6d5MGPJSqmSXhhBNcCczIgzHvGFMDrCms89Zvd9G1gBgspQE9B3t7I5qEXf7w5ZIteCNpfh4zV/P9OriipK0wS644FnK4I6eOIH+9oP4eaWDHWyaZDrRXkW+Szc/HIfJng2qrmbYI7Lat+nORFPC5kld7lHi9Jbzs4j3/9mrELzssOwQQWY2pOLGzfam4d742U2pt4JvrdFiI4JTXS0cC8dohh6PxM8c="
};
    </script>
<script src="https://91ba28030c9c.4b02381c.us-east-1.token.awswaf.com/91ba28030c9c/70b06788b3c5/1a22b45a2144/challenge.js"></script>
<script src="https://91ba28030c9c.4b02381c.us-east-1.captcha.awswaf.com/91ba28030c9c/70b06788b3c5/1a22b45a2144/captcha.js"></script>
</head>
<body>
<div id="captcha-container"></div>
<script type="text/javascript">
        AwsWafIntegration.saveReferrer();
        window.addEventListener("load", function() {
          const container = document.querySelector("#captcha-container");
          CaptchaScript.renderCaptcha(container, async (voucher) => {
              await ChallengeScript.submitCaptcha(voucher);
              window.location.reload(true);
          }
      );
    });
    </script>
<noscript>
<h1>JavaScript is disabled</h1>
        In order to continue, you need to verify that you're not a robot by solving a CAPTCHA puzzle.
         The CAPTCHA puzzle requires JavaScript. Enable JavaScript and then reload the page.
    </noscript>
</body>
</html>

. . .

O site conseguiu identificar que não é um humano que está acessando o site. O que fazer?

Exemplo 1:

Extraindo informações do site Trading Economics


Vamos voltar ao Passo 1 e adicionar um headers.

Passo 1: Lendo as bibliotecas e URL

# Cabeçalho necessário para google
headers = {  # <-- so the Google will treat your script as a "real" user browser.
    "User-Agent":
    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.19582"
}
# --------------------------------------

# URL da página que contém a tabela
url = 'https://tradingeconomics.com/country-list/balance-of-trade'

# Obter o conteúdo da página
response = requests.get(url, headers = headers)
html_content = response.content

# Analisar o conteúdo HTML
soup = BeautifulSoup(html_content, 'html.parser')

Exemplo 1:

Extraindo informações do site Trading Economics


print(soup)

<!DOCTYPE html>

<html>
<head id="ctl00_Head1"><meta charset="utf-8"/><title>
    Balance of Trade - Countries - List
</title><meta content="This page displays a table with actual values, consensus figures, forecasts, statistics and historical data charts for - Balance of Trade. This page provides values for Balance of Trade reported in several countries. The table has current values for Balance of Trade, previous releases, historical highs and record lows, release frequency, reported unit and currency plus links to historical data charts." id="metaDesc" name="description"/><meta content="Country List,Balance of Trade,data,chart,actual,historical,values,calendar,forecast,graph," id="metaKeyword" name="keywords"/><meta content="width=device-width,minimum-scale=1,initial-scale=1,maximum-scale=1" name="viewport"/><meta content="#333333" name="theme-color"/>
<link crossorigin="anonymous" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.3/css/bootstrap.min.css" integrity="sha512-SbiR/eusphKoMVVXysTKG/7VseWii+Y3FdHrt0EpKgpToZeemhqHeZeLWLhJutz/2ut2Vw1uQEj2MbRF+TVBUA==" referrerpolicy="no-referrer" rel="stylesheet"/>
<link crossorigin="anonymous" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.10.2/font/bootstrap-icons.min.css" integrity="sha512-YFENbnqHbCRmJt5d+9lHimyEMt8LKSNTMLSaHjvsclnZGICeY/0KYEeiHwD1Ux4Tcao0h60tdcMv+0GljvWyHg==" referrerpolicy="no-referrer" rel="stylesheet"/>
<link href="//d3fy651gv2fhd3.cloudfront.net/stylesheet.min.css?v=20240822a" rel="stylesheet"/>
<script type="text/javascript">var TEChartSettings = {}; var TESymbol = ''; var TECountry = ''; var TECategory = ''; var TEFrequency = ''; var TELanguage = ''; var TELastUpdate = '20240731000000'; var TEChartVersion = ''; var symbol = ''; var symbolType = ''; var hasCalendar = false; var isLoggedIn = false; var TEAlertsName = ''; var TEChartsDatasource = 'https://d3ii0wo49og5mi.cloudfront.net'; var IsMobile =  false; var TEChartsMeta = ''; var TEForecast = []; var TEAuthorization = ''; var TESecurify = ''; var TESecurifyUrl = ''; var TEType = ''; var TEChartUrl = '/country-list/balance-of-trade'; var TEComparable = 0; var isAlertsLoaded = false; var IsDarkMode = false; var isPakoLoaded = false; var TEChartsToken = '20240229:nazare'; var TEObfuscationkey = 'tradingeconomics-charts-core-api-key'; var isCopyright = false</script>
<script type="text/javascript">var DEBUG = false;if (window.location.host.indexOf('localhost') > -1) DEBUG = true;else if (window.location.href.indexOf('debug') > -1) DEBUG = true;if (!DEBUG) {if (!window.console) window.console = {};var methods = ["log", "debug", "info"];for (var i = 0; i < methods.length; i++) {console[methods[i]] = function () { };}}</script>
<link href="//d3fy651gv2fhd3.cloudfront.net/favicon.ico" rel="icon"/><link href="https://tradingeconomics.com/country-list/balance-of-trade" rel="canonical"/>
<script type="application/ld+json">{"@context":"https://schema.org/","@graph":[
    {"@context": "https://schema.org","@type": "Organization","url": "https://tradingeconomics.com","name": "TRADING ECONOMICS","logo": {"@type": "ImageObject","url": "https://tradingeconomics.com/images/logo.png?v=schema"}},
        {"@type": "Dataset","name": "BALANCE OF TRADE by Country Dataset","alternateName": "BALANCE OF TRADE by Country Dataset (2024)","description": "This dataset provides values for BALANCE OF TRADE reported in several countries. The data includes current values, previous releases, historical highs and record lows, release frequency, reported unit and currency. ","url":"https://tradingeconomics.com/country-list/balance-of-trade","keywords": "BALANCE OF TRADE,data,historical,forecast,comparison","temporalCoverage": "2024","spatialCoverage": "World",
            "creator": {"@type": "Organization","url": "https://tradingeconomics.com","name": "TRADING ECONOMICS","logo": {"@type": "ImageObject","url": "https://tradingeconomics.com/images/logo.png?v=schema"}},
            "distribution": [{"@type": "DataDownload","encodingFormat": "CSV","contentUrl": "https://tradingeconomics.com/country-list/balance-of-trade"},{"@type": "DataDownload","encodingFormat": "JSON","contentUrl": "https://tradingeconomics.com/country-list/balance-of-trade"},{"@type": "DataDownload","encodingFormat": "XML","contentUrl": "https://tradingeconomics.com/country-list/balance-of-trade"},{"@type": "DataDownload","encodingFormat": "Excel","contentUrl": "https://tradingeconomics.com/country-list/balance-of-trade"}],
            "includedInDataCatalog": {"@type": "DataCatalog","name": "TRADING ECONOMICS"},"version": "20240830","dateModified": "20240830T01:31:00.00Z", "isAccessibleForFree": true,"license" : "https://creativecommons.org/licenses/by/4.0/"
 }]}</script>
</head>
<body>
<script>IsDarkMode=false;</script>
<form action="/country-list/balance-of-trade" id="aspnetForm" method="post">
<div class="aspNetHidden">
<input id="__VIEWSTATE" name="__VIEWSTATE" type="hidden" value="IZ1Lh/f0nGOj57HzlKfoeNLM0wxmj9zvMzG1mC/By6fyDeKLno1jGRZXVF/KXzNw030ZV5pdwkW4ZTXqAASnO0ioHfg="/>
</div>
<div class="aspNetHidden">
<input id="__VIEWSTATEGENERATOR" name="__VIEWSTATEGENERATOR" type="hidden" value="9ED6FB81"/>
</div>
<nav class="navbar navbar-dark fixed-top" id="ctl00_NavigationUC1_ctl00_menu" role="navigation">
<div class="container">
<div class="navbar-header navbar-header-search" id="searchMobileHeader">
<div class="d-flex justify-content-between">
<a class="navbar-brand" style="width: 100%">
<input autocomplete="off" class="nav-search-input-class navbar-search-2" id="thisIstheTinySearchBoxIdTag" placeholder="Search" type="text"/>
</a>
<ul class="dropdown-menu navbar-search-1" id="thisIstheTinySearchResultsIdTag">
<li>
<div class="container-fluid">
<div class="dpTaResult" id="dpSearch-resultCnt-tiny">
</div>
</div>
</li>
</ul>
<div class="navbar-mobile-close-search">
<a class="navbar-mobile-item" id="thisIsTheTinyRemoveId" noref=""><i class="bi bi-x-lg"></i></a>
</div>
</div>
</div>
<div class="navbar-header navbar-collapse float-end" id="mainHeader">
<div class="d-flex">
<button aria-controls="tesidemenuoptions" class="navbar-toggler" data-bs-target="#tesidemenu" data-bs-toggle="offcanvas" type="button">
<span class="navbar-toggler-icon"></span>
</button>
<div class="logo-banner d-flex justify-content-between float-right">
<a class="navbar-brand" href="/">
<svg aria-label="Trading Economics logo" height="35" version="1.1" viewbox="0 0 34.131 9.2604" width="129" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
<g fill="#858585" stroke="#858585" stroke-width=".1"><path d="m1.3315 8.5517v-3.7879h2.8086v0.64079h-2.0438v0.83974h1.9017v0.6382h-1.9017v1.0309h2.1162v0.6382z"></path><path d="m7.2846 7.1591 0.74156 0.23513q-0.17053 0.62012-0.56844 0.92242-0.39532 0.29972-1.0051 0.29972-0.75448 0-1.2402-0.51418-0.48576-0.51676-0.48576-1.4108 0-0.94568 0.48834-1.4676 0.48834-0.52452 1.2842-0.52452 0.69505 0 1.1291 0.41083 0.25838 0.24288 0.38757 0.69763l-0.75706 0.18087q-0.067179-0.29456-0.28164-0.46509-0.21187-0.17053-0.51676-0.17053-0.42116 0-0.68471 0.30231-0.26097 0.30231-0.26097 0.97927 0 0.7183 0.25838 1.0232 0.25838 0.30489 0.67179 0.30489 0.30489 0 0.52452-0.19379 0.21962-0.19379 0.31523-0.60978z"></path><path d="m8.5275 6.681q0-0.57878 0.17312-0.97152 0.12919-0.28939 0.3514-0.51935 0.22479-0.22996 0.49093-0.34106 0.35398-0.14986 0.81649-0.14986 0.83716 0 1.3384 0.51935 0.50385 0.51935 0.50385 1.4444 0 0.91726-0.49868 1.4366-0.49868 0.51676-1.3333 0.51676-0.84491 0-1.3436-0.51418-0.49868-0.51676-0.49868-1.4211zm0.78807-0.025838q0 0.64337 0.29714 0.97669 0.29714 0.33073 0.75448 0.33073 0.45734 0 0.74931-0.32815 0.29456-0.33073 0.29456-0.9896 0-0.65112-0.2868-0.97152-0.28422-0.32039-0.75706-0.32039-0.47284 0-0.76223 0.32556-0.28939 0.32298-0.28939 0.97669z"></path><path d="m12.806 8.5517v-3.7879h0.74414l1.5503 2.5296v-2.5296h0.71055v3.7879h-0.7674l-1.527-2.4701v2.4701z"></path><path d="m16.465 6.681q0-0.57878 0.17312-0.97152 0.12919-0.28939 0.3514-0.51935 0.22479-0.22996 0.49093-0.34106 0.35398-0.14986 0.81649-0.14986 0.83716 0 1.3384 0.51935 0.50384 0.51935 0.50384 1.4444 0 0.91726-0.49868 1.4366-0.49868 0.51676-1.3333 0.51676-0.84491 0-1.3436-0.51418-0.49868-0.51676-0.49868-1.4211zm0.78807-0.025838q0 0.64337 0.29714 0.97669 0.29714 0.33073 0.75448 0.33073t0.74931-0.32815q0.29456-0.33073 0.29456-0.9896 0-0.65112-0.2868-0.97152-0.28422-0.32039-0.75706-0.32039t-0.76223 0.32556q-0.28939 0.32298-0.28939 0.97669z"></path><path d="m20.726 8.5517v-3.7879h1.1446l0.6873 2.5838 0.67955-2.5838h1.1472v3.7879h-0.71055v-2.9817l-0.75189 2.9817h-0.73639l-0.74931-2.9817v2.9817z"></path><path d="m25.121 8.5517v-3.7879h0.76481v3.7879z"></path><path d="m29.038 7.1591 0.74156 0.23513q-0.17053 0.62012-0.56844 0.92242-0.39532 0.29972-1.0051 0.29972-0.75448 0-1.2402-0.51418-0.48576-0.51676-0.48576-1.4108 0-0.94568 0.48834-1.4676 0.48834-0.52452 1.2842-0.52452 0.69505 0 1.1291 0.41083 0.25838 0.24288 0.38757 0.69763l-0.75706 0.18087q-0.06718-0.29456-0.28164-0.46509-0.21187-0.17053-0.51676-0.17053-0.42116 0-0.68471 0.30231-0.26097 0.30231-0.26097 0.97927 0 0.7183 0.25838 1.0232 0.25838 0.30489 0.67179 0.30489 0.30489 0 0.52452-0.19379 0.21962-0.19379 0.31523-0.60978z"></path><path d="m30.242 7.3193 0.74414-0.072347q0.06718 0.37465 0.2713 0.55035 0.2067 0.1757 0.55552 0.1757 0.36949 0 0.55552-0.15503 0.18862-0.15761 0.18862-0.3669 0-0.13436-0.0801-0.22738-0.077514-0.095602-0.27388-0.16536-0.13436-0.046509-0.61237-0.16536-0.61495-0.15245-0.863-0.37465-0.34882-0.31264-0.34882-0.76223 0-0.28939 0.16278-0.54002 0.16536-0.25321 0.47284-0.38499 0.31006-0.13178 0.74672-0.13178 0.71314 0 1.0723 0.31264 0.36174 0.31264 0.37982 0.83457l-0.76481 0.03359q-0.04909-0.29197-0.21187-0.41858-0.1602-0.12919-0.48317-0.12919-0.33331 0-0.52193 0.13694-0.12144 0.08785-0.12144 0.23513 0 0.13436 0.11369 0.22996 0.14469 0.12144 0.7028 0.25321t0.82424 0.27389q0.26872 0.13953 0.41858 0.38499 0.15244 0.24288 0.15244 0.60203 0 0.32556-0.18087 0.60978-0.18087 0.28422-0.5116 0.42375-0.33073 0.13694-0.82424 0.13694-0.7183 0-1.1033-0.33073-0.38499-0.33331-0.45992-0.96893z"></path></g>
<g fill="#ddd" stroke="#ddd" stroke-width=".1"><path d="m1.4629 4.2437v-2.8324h-1.0116v-0.57671h2.7091v0.57671h-1.0092v2.8324z"></path><path d="m3.607 4.2437v-3.4091h1.4487q0.54648 0 0.79297 0.093018 0.24882 0.090692 0.39765 0.32556 0.14883 0.23487 0.14883 0.53718 0 0.3837-0.22557 0.63484-0.22557 0.24882-0.67438 0.31393 0.22324 0.13022 0.36742 0.28603 0.1465 0.1558 0.393 0.55345l0.41625 0.66508h-0.82321l-0.49764-0.74182q-0.2651-0.39765-0.36277-0.49997-0.097668-0.10464-0.20696-0.14185-0.1093-0.039532-0.34649-0.039532h-0.13953v1.4232zm0.68833-1.9673h0.50927q0.49532 0 0.61857-0.041858t0.19301-0.14418q0.069763-0.10232 0.069763-0.2558 0-0.17208-0.093018-0.27673-0.090692-0.10697-0.25812-0.13488-0.083716-0.011627-0.50229-0.011627h-0.53718z"></path><path d="m10.118 4.2437h-0.74879l-0.29766-0.77437h-1.3627l-0.28138 0.77437h-0.73019l1.3278-3.4091h0.72786zm-1.2674-1.3488-0.46974-1.265-0.46044 1.265z"></path><path d="m10.481 0.8346h1.2581q0.42556 0 0.6488 0.065112 0.29998 0.088367 0.51392 0.31393 0.21394 0.22557 0.32556 0.55345 0.11162 0.32556 0.11162 0.8046 0 0.4209-0.10464 0.72554-0.1279 0.37207-0.36509 0.60229-0.17906 0.17441-0.48369 0.27208-0.22789 0.072089-0.60926 0.072089h-1.2953zm0.68833 0.57671v2.258h0.51392q0.28835 0 0.41625-0.032556 0.16743-0.041858 0.27673-0.14185 0.11162-0.099994 0.18138-0.32789 0.06976-0.23022 0.06976-0.62554t-0.06976-0.60694-0.19534-0.33021q-0.12557-0.1186-0.31858-0.16046-0.14418-0.032556-0.56508-0.032556z"></path><path d="m13.902 4.2437v-3.4091h0.68833v3.4091z"></path><path d="m15.253 4.2437v-3.4091h0.66973l1.3953 2.2766v-2.2766h0.6395v3.4091h-0.69066l-1.3743-2.2231v2.2231z"></path><path d="m20.271 2.9903v-0.57438h1.4836v1.3581q-0.21627 0.20929-0.62787 0.36974-0.40928 0.15813-0.83018 0.15813-0.53485 0-0.9325-0.22324-0.39765-0.22557-0.59764-0.64182-0.19999-0.41858-0.19999-0.90925 0-0.53253 0.22324-0.94645 0.22324-0.41393 0.65345-0.63484 0.32789-0.16976 0.81623-0.16976 0.63484 0 0.99064 0.26743 0.35812 0.2651 0.46044 0.73484l-0.68368 0.1279q-0.072088-0.25115-0.27208-0.39532-0.19766-0.1465-0.49532-0.1465-0.45114 0-0.71856 0.28603-0.2651 0.28603-0.2651 0.84879 0 0.60694 0.26975 0.91157 0.26975 0.30231 0.70693 0.30231 0.21627 0 0.43253-0.083716 0.21859-0.086041 0.3744-0.20696v-0.43253z"></path></g>
</svg>
</a>
<div class="d-flex align-items-center nav-options">
<div class="d-flex align-items-center nav-entry-link-group">
<a class="nav-entry-link d-none d-md-block" href="/calendar"><span>Calendar</span></a>
<a class="nav-entry-link d-none d-md-block" href="/stream"><span>News</span></a>
<div class="dropdown">
<a class="dropdown d-flex nav-entry-link d-none d-md-block" data-bs-toggle="dropdown" href="#"><span>Markets</span></a>
<ul class="dropdown-menu nav-dropdown-menu">
<li class="dropdown-item nav-dropdown-item"><a href="/commodities">Commodities</a></li>
<li class="dropdown-item nav-dropdown-item"><a href="/currencies">Currencies</a></li>
<li class="dropdown-item nav-dropdown-item"><a href="/stocks">Stocks</a></li>
<li class="dropdown-item nav-dropdown-item"><a href="/bonds">Bonds</a></li>
<li class="dropdown-item nav-dropdown-item"><a href="/crypto">Crypto</a></li>
<li class="dropdown-item nav-dropdown-item"><a href="/earnings">Earnings</a></li>
</ul>
</div>
<a class="nav-entry-link d-none d-lg-block" href="/indicators"><span>Indicators</span></a>
<a class="nav-entry-link d-none d-xl-block" href="/countries"><span>Countries</span></a>
<a class="nav-entry-link d-none d-xl-block" href="/forecasts"><span>Forecasts</span></a>
</div>
<div class="search-li d-none d-lg-block">
<a class="nav-searchbox-class stickydropdown d-block" id="thisIsTheSearchPlaceholderId" noref="" title="Search">
<div class="typeahead-searchbox-glyphicon-wrapper d-flex" id="thisIsTheSearchBoxWrapperId">
<input aria-label="Search" autocomplete="off" class="d-none d-md-block nav-search-input-class" id="thisIstheSearchBoxIdTag" placeholder="Search" type="text"/>
</div>
</a>
<ul class="dropdown-menu nav-dropdown-menu typeahead-wrapper" id="thisIstheSearchResultsIdTag">
<li>
<div class="container">
<div class="dpTaResult" id="dpSearch-resultCnt">
</div>
</div>
</li>
</ul>
</div>
<div>
<a class="d-block d-lg-none navbar-mobile-item" id="thisIsTheTinyGlyphiconId"><i class="bi bi-search me-2"></i></a>
</div>
<div class="dropdown dropdown-notification-list">
<button class="btn btn-notification-list" data-bs-target="#offcanvasTop" data-bs-toggle="offcanvas" id="dropdownNotificationList" type="button">
<svg data-name="notification-empty" height="21px" id="notification-empty" style="vertical-align:middle !important" viewbox="0 0 24 24" width="21px" xmlns="http://www.w3.org/2000/svg"><rect fill="none" height="24" id="view-box" width="24"></rect><path d="M6,17v-.5H2.25A2.253,2.253,0,0,1,0,14.25v-.382a2.542,2.542,0,0,1,1.415-2.289A1.248,1.248,0,0,0,2.1,10.572l.446-4.91a6.225,6.225,0,0,1,12.4,0l.446,4.91a1.26,1.26,0,0,0,.686,1.005,2.547,2.547,0,0,1,1.418,2.29v.382a2.252,2.252,0,0,1-2.25,2.25H11.5V17A2.75,2.75,0,0,1,6,17Zm1.5,0A1.25,1.25,0,0,0,10,17v-.5H7.5ZM4.045,5.8,3.6,10.708A2.738,2.738,0,0,1,2.089,12.92a1.055,1.055,0,0,0-.589.949v.382A.751.751,0,0,0,2.25,15h13A.751.751,0,0,0,16,14.25v-.382a1.054,1.054,0,0,0-.586-.948A2.739,2.739,0,0,1,13.9,10.708L13.456,5.8a4.725,4.725,0,0,0-9.411,0Z" fill="#ddd" id="Shape" transform="translate(3.25 2.25)"></path></svg>
<svg data-name="notification-new" height="21px" id="notification-new" style="vertical-align:middle !important; display:none" viewbox="0 0 24 24" width="21px" xmlns="http://www.w3.org/2000/svg"><rect fill="none" height="24" id="view-box" width="24"></rect><path d="M6,17v-.5H2.25A2.253,2.253,0,0,1,0,14.25v-.382a2.542,2.542,0,0,1,1.415-2.289A1.247,1.247,0,0,0,2.1,10.572l.446-4.91A6.227,6.227,0,0,1,10.618.286a5.477,5.477,0,0,0-.635,1.374A4.794,4.794,0,0,0,8.75,1.5,4.7,4.7,0,0,0,4.045,5.8L3.6,10.708A2.739,2.739,0,0,1,2.089,12.92a1.055,1.055,0,0,0-.589.949v.382A.751.751,0,0,0,2.25,15h13A.751.751,0,0,0,16,14.25v-.382a1.053,1.053,0,0,0-.586-.948A2.739,2.739,0,0,1,13.9,10.708l-.2-2.18a5.473,5.473,0,0,0,1.526.221l.166,1.822a1.26,1.26,0,0,0,.686,1.005,2.547,2.547,0,0,1,1.418,2.29v.382a2.252,2.252,0,0,1-2.25,2.25H11.5V17A2.75,2.75,0,0,1,6,17Zm1.5,0A1.25,1.25,0,0,0,10,17v-.5H7.5ZM15.047,6.744A3.486,3.486,0,0,1,13.5,6.28L13.456,5.8a4.7,4.7,0,0,0-1.648-3.185,3.5,3.5,0,0,1,.61-1.417A6.221,6.221,0,0,1,14.95,5.662l.1,1.081v0Z" fill="#ddd" id="Shape" transform="translate(3.25 2.25)"></path>
<path d="M3.5,7A3.5,3.5,0,1,1,7,3.5,3.5,3.5,0,0,1,3.5,7Z" data-name="Shape" fill="#4287f5" id="Shape-2" transform="translate(15 2)"></path>
</svg>
</button>
<div aria-labelledby="offcanvasTopLabel" class="offcanvas offcanvas-top notification-list container custom-offcanvas" data-bs-scroll="true" id="offcanvasTop" style="top:50px !important; border: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);" tabindex="-1">
<div class="empty-notificationlist">
<div class="empty-notificationlist-content">
<span>You have no new notifications</span>
<br/>
<i class="bi bi-bell-slash-fill"></i>
<br/>
<div><a class="empty-notificationlist-more" href="/stream" title="Show all news"><div class="btn btn-outline-secondary">All News</div></a></div>
</div>
</div>
</div>
</div>
<div class="userOptionsMenu">
<a aria-controls="offcanvasGuest" data-bs-toggle="offcanvas" href="#offcanvasGuest" role="button" title=""><i class="bi bi-person"></i></a>
</div>
</div>
</div>
</div>
</div>
<div aria-labelledby="offcanvasGuestLabel" class="offcanvas offcanvas-end" id="offcanvasGuest" tabindex="-1">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="offcanvasGuestLabel"><b>Members</b></h5>
<button aria-label="Close" class="btn-close" data-bs-dismiss="offcanvas" type="button"></button>
</div>
<div class="offcanvas-body user-offcanvas-body">
<div class="list-group list-group-user">
<a class="user-item list-group-item" href="/analytics/pricing.aspx?source=menu ">
<b class="list-group-item-heading"><i class="bi bi-save2-fill me-2"></i> DATA PLANS</b><br/>
<span class="list-group-item-text">Download historical data for 20 million indicators using your browser.</span>
</a>
<div class="user-item list-group-item">
<div class="navbar-user-link">
<a class="navbar-te-link mx-1" href="/analytics/pricing.aspx?source=menu">Subscription Plans</a>
                            |
                            <a class="navbar-te-link mx-1" href="/analytics/features.aspx?source=menu">Features</a>
</div>
</div>
</div>
<div class="list-group list-group-user">
<a class="user-item list-group-item" href="/api/">
<b class="list-group-item-heading"><i class="bi bi-phone mx-1 me-2"></i>API GATEWAY</b><br/>
<span class="list-group-item-text mx-1">Direct access to our data from your apps using any programing language.</span>
</a>
<div class="user-item list-group-item">
<div>
<a class="navbar-te-link mx-1" href="https://developer.tradingeconomics.com/">Developer</a> |
                            <a class="navbar-te-link mx-1" href="https://docs.tradingeconomics.com/" target="_blank">Docs</a> |
                            <a class="navbar-te-link mx-1" href="/api/?source=menu">Features</a>
</div>
</div>
</div>
<div class="list-group list-group-user">
<a class="user-item list-group-item" href="https://sso.tradingeconomics.com/sso/login?returnurl=https://tradingeconomics.com/country-list/balance-of-trade"><i class="bi bi-person-fill"></i> Already a user? <b>Login</b></a>
</div>
<style>
    .form-switch {
        width: 3.5em !important;
        height: 2em !important
    }
    .bi-sun-fill {
        font-size: 12px;
        color: #ddd !important;
    }
    .bi-moon-fill {
        font-size: 10px;
        color: #333 !important;
    }
    .darkmode-toggle-container {
        width: auto;
        padding: 0px;
        margin-left: 0px;
        margin-top: 0px;
        border: none;
    }
    .form-check-div-sun {
        width: 20px;
        margin-bottom: 3px;
        margin-left: -54px;
        position: relative
    }
    .form-check-div-moon {
        width: 20px;
        margin-bottom: 3px;
        margin-left: 3px;
        position: relative
    }
    .dk-switch-right-menu{
        padding-left:10px;
    }
</style>
<div class="list-group list-group-user dk-switch-right-menu">
<div class="d-flex align-items-center darkmode-toggle-container">
<div class="form-check form-switch darkmode-form-switch user-item">
<input class="form-check-input p-1" id="flexSwitchCheckChecked" role="button" type="checkbox"/>
</div>
<div class="form-check-div-sun">
<label class="form-check-label form-check-label-sun p-1 d-inline" for="flexSwitchCheckChecked"><i class="bi bi-sun-fill"></i></label>
</div>
<div class="form-check-div-moon">
<label class="form-check-label form-check-label-moon p-1 d-inline" for="flexSwitchCheckChecked"><i class="bi bi-moon-fill"></i></label>
</div>
</div>
</div>
<script>
    function SetTheme(isDark) {
        console.log('Changing theme', isDark);
        if (IsDarkMode != isDark) {
            IsDarkMode = isDark;
            document.body.classList.toggle("dark-theme");
            // Set cookie
            const d = new Date();
            d.setTime(d.getTime() + (365 * 24 * 60 * 60 * 1000));
            let expires = "expires=" + d.toUTCString();
            document.cookie = "IsDarkMode" + "=" + IsDarkMode + ";" + expires + ";path=/";
            IsDarkMode ? ga('event', 'te_darkmode_on') : ga('event', 'te_darkmode_off');
            window.location.reload();
        }
    }
    document.addEventListener('DOMContentLoaded', function () {
        let checkbox = document.getElementById("flexSwitchCheckChecked");
        let sundiv = document.getElementsByClassName("form-check-label-sun")[0];
        let moondiv = document.getElementsByClassName("form-check-label-moon")[0];

        if (IsDarkMode) {
            sundiv.classList.add("d-none");
            moondiv.classList.remove("d-none");
        } else {
            moondiv.classList.add("d-none");
            sundiv.classList.remove("d-none");
        }
        checkbox.checked = IsDarkMode;
    });



    document.getElementById("flexSwitchCheckChecked").addEventListener("change", function () {
        SetTheme(!IsDarkMode)
    });

</script>
</div>
</div>
<div aria-labelledby="tesidemenuoptions" class="offcanvas offcanvas-start" id="tesidemenu" tabindex="-1">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="offcanvasWithBothOptionsLabel"></h5>
<button aria-label="Close" class="btn-close" data-bs-dismiss="offcanvas" type="button"></button>
</div>
<div class="offcanvas-body">
<div class="row navbar-nav-scroll" style="--bs-scroll-height: 95vh;">
<div class="accordion" id="accordionNavbar">
<div class="accordion-item">
<div class="accordion-header menu-main-option"><a class="nav-link accordion-button navmenu-mobile-item" href="/calendar" target="_self"><i class="bi bi-calendar3 me-2"></i>Calendar</a></div>
</div>
<div class="accordion-item">
<div class="accordion-header menu-main-option"><a class="nav-link accordion-button navmenu-mobile-item" href="/stream" target="_self"><i class="bi bi-layout-text-sidebar me-2"></i>News</a></div>
</div>
<div class="accordion-item">
<div class="accordion-header menu-main-option d-flex align-items-center">
<button aria-controls="collapseTwo" aria-expanded="false" class="accordion-button navmenu-mobile-item collapsed" data-bs-target="#collapseMarkets" data-bs-toggle="collapse" type="button">
<i class="bi bi-arrow-down-up me-2"></i>Markets
                                <i class="bi bi-caret-up-fill ms-auto caret-toggle"></i>
</button>
</div>
<div class="accordion-collapse collapse show" data-bs-parent="#accordionNavbar" id="collapseMarkets">
<div class="accordion-body mobile-accordion-body">
<ul class="nav navbar-nav navbarMobile">
<li><a class="navmobile-link nav-link" href="/currencies" target="_self">Currencies</a></li>
<li><a class="navmobile-link nav-link" href="/stocks" target="_self">Stocks</a></li>
<li><a class="navmobile-link nav-link" href="/commodities" target="_self">Commodities</a></li>
<li><a class="navmobile-link nav-link" href="/bonds" target="_self">Bonds</a></li>
<li><a class="navmobile-link nav-link" href="/crypto" target="_self">Crypto</a></li>
<li><a class="navmobile-link nav-link" href="/earnings" target="_self">Earnings</a></li>
<li><a class="navmobile-link nav-link" href="/holidays" target="_self">Holidays</a></li>
</ul>
</div>
</div>
</div>
<div class="accordion-item">
<div class="accordion-header menu-main-option d-flex align-items-center">
<button aria-controls="collapseTwo" aria-expanded="false" class="accordion-button navmenu-mobile-item collapsed" data-bs-target="#collapseCountries" data-bs-toggle="collapse" type="button">
<i class="bi bi-globe me-2"></i>Countries<i class="bi bi-caret-down-fill ms-auto caret-toggle"></i>
</button>
</div>
<div class="accordion-collapse collapse" data-bs-parent="#accordionNavbar" id="collapseCountries">
<div class="accordion-body mobile-accordion-body">
<ul class="nav navbar-nav navbarMobile">
<li><a class="navmobile-link nav-link" href="/united-states/indicators" target="_self">United States</a></li>
<li><a class="navmobile-link nav-link" href="/united-kingdom/indicators" target="_self">United Kingdom</a></li>
<li><a class="navmobile-link nav-link" href="/euro-area/indicators" target="_self">Euro Area</a></li>
<li><a class="navmobile-link nav-link" href="/australia/indicators" target="_self">Australia</a></li>
<li><a class="navmobile-link nav-link" href="/canada/indicators" target="_self">Canada</a></li>
<li><a class="navmobile-link nav-link" href="/japan/indicators" target="_self">Japan</a></li>
<li><a class="navmobile-link nav-link" href="/china/indicators" target="_self">China</a></li>
<li><a class="navmobile-link nav-link" href="/brazil/indicators" target="_self">Brazil</a></li>
<li><a class="navmobile-link nav-link" href="/russia/indicators" target="_self">Russia</a></li>
<li><a class="navmobile-link nav-link" href="/india/indicators" target="_self">India</a></li>
<li><a class="navmobile-link nav-link" href="/countries" target="_self"><i class="bi bi-plus-square me-2"></i>More Countries</a></li>
</ul>
</div>
</div>
</div>
<div class="accordion-item">
<div class="accordion-header menu-main-option d-flex align-items-center">
<button aria-controls="collapseTwo" aria-expanded="false" class="accordion-button navmenu-mobile-item collapsed" data-bs-target="#collapseIndicators" data-bs-toggle="collapse" type="button">
<i class="bi bi-bar-chart-fill me-2"></i>Indicators
                                    <i class="bi bi-caret-down-fill ms-auto caret-toggle"></i>
</button>
</div>
<div class="accordion-collapse collapse" data-bs-parent="#accordionNavbar" id="collapseIndicators">
<div class="accordion-body mobile-accordion-body">
<ul class="nav navbar-nav navbarMobile">
<li><a class="navmobile-link nav-link" href="/country-list/interest-rate" target="_self">Interest Rate</a></li>
<li><a class="navmobile-link nav-link" href="/country-list/inflation-rate" target="_self">Inflation Rate</a></li>
<li><a class="navmobile-link nav-link" href="/country-list/unemployment-rate" target="_self">Unemployment Rate</a></li>
<li><a class="navmobile-link nav-link" href="/country-list/gdp-growth-rate" target="_self">GDP Growth</a></li>
<li><a class="navmobile-link nav-link" href="/country-list/gdp-per-capita" target="_self">GDP per Capita</a></li>
<li><a class="navmobile-link nav-link" href="/country-list/current-account-to-gdp" target="_self">Current Account</a></li>
<li><a class="navmobile-link nav-link" href="/country-list/gold-reserves" target="_self">Gold Reserves</a></li>
<li><a class="navmobile-link nav-link" href="/country-list/government-debt-to-gdp" target="_self">Government Debt</a></li>
<li><a class="navmobile-link nav-link" href="/country-list/crude-oil-production" target="_self">Crude Oil Production</a></li>
<li><a class="navmobile-link nav-link" href="/country-list/gasoline-prices" target="_self">Gasoline Prices</a></li>
<li><a class="navmobile-link nav-link" href="/country-list/rating" target="_self">Credit Rating</a></li>
<li><a class="navmobile-link nav-link" href="/indicators" target="_self"><i class="bi bi-plus-square me-2"></i>More Indicators</a></li>
</ul>
</div>
</div>
</div>
<div class="accordion-item">
<div class="accordion-header menu-main-option d-flex align-items-center">
<button aria-controls="collapseTwo" aria-expanded="false" class="accordion-button navmenu-mobile-item collapsed" data-bs-target="#collapseForecasts" data-bs-toggle="collapse" type="button">
<i class="bi bi-graph-down-arrow me-2"></i>Forecasts
                                <i class="bi bi-caret-down-fill ms-auto caret-toggle"></i>
</button>
</div>
<div class="accordion-collapse collapse" data-bs-parent="#accordionNavbar" id="collapseForecasts">
<div class="accordion-body mobile-accordion-body">
<ul class="nav navbar-nav navbarMobile">
<li class="d-block d-sm-none"><a class="navmobile-link nav-link" href="/indicators?g=forecast" target="_self">Markets &amp; Indicators</a></li>
<li class="d-block d-sm-none"><a class="navmobile-link nav-link" href="/forecasts" target="_self">Countries</a></li>
<li class="d-none d-sm-block"><a class="navmobile-link nav-link" href="/forecasts">Countries</a></li>
<li class="d-none d-sm-block"><a class="navmobile-link nav-link" href="/indicators?g=forecast">Indicators</a></li>
<li class="d-none d-sm-block"><a class="navmobile-link nav-link" href="/forecast/currency">Currencies</a></li>
<li class="d-none d-sm-block"><a class="navmobile-link nav-link" href="/forecast/stock-market">Stocks</a></li>
<li class="d-none d-sm-block"><a class="navmobile-link nav-link" href="/forecast/commodity">Commodities</a></li>
<li class="d-none d-sm-block"><a class="navmobile-link nav-link" href="/forecast/government-bond-10y">Bonds</a></li>
<li class="d-none d-sm-block"><a class="navmobile-link nav-link" href="/forecast/crypto">Crypto</a></li>
</ul>
</div>
</div>
</div>
<div class="accordion-item">
<div class="accordion-header menu-main-option d-flex align-items-center">
<button aria-controls="collapseTwo" aria-expanded="false" class="accordion-button navmenu-mobile-item collapsed" data-bs-target="#collapseSolutions" data-bs-toggle="collapse" type="button">
<i class="bi bi-code-square me-2"></i>Solutions
                                <i class="bi bi-caret-down-fill ms-auto caret-toggle"></i>
</button>
</div>
<div class="accordion-collapse collapse" data-bs-parent="#accordionNavbar" id="collapseSolutions">
<div class="accordion-body mobile-accordion-body">
<ul class="nav navbar-nav navbarMobile">
<li><a class="navmobile-link nav-link" href="/analytics/features.aspx" title="Register">Data Subscriptions</a></li>
<li><a class="navmobile-link nav-link" href="/api/" title="Register">API Access</a></li>
<li><a class="navmobile-link nav-link" href="/analytics/pricing.aspx?source=nav">Pricing</a></li>
</ul>
</div>
</div>
</div>
<div class="accordion-item">
<div class="accordion-header menu-main-option d-flex align-items-center">
<button aria-controls="collapseTwo" aria-expanded="false" class="accordion-button navmenu-mobile-item collapsed" data-bs-target="#collapseApps" data-bs-toggle="collapse" type="button">
<i class="bi bi-phone me-2"></i>Apps
                                <i class="bi bi-caret-down-fill ms-auto caret-toggle"></i>
</button>
</div>
<div class="accordion-collapse collapse" data-bs-parent="#accordionNavbar" id="collapseApps">
<div class="accordion-body mobile-accordion-body">
<ul class="nav navbar-nav navbarMobile">
<li><a class="navmobile-link nav-link" href="https://itunes.apple.com/us/app/trading-economics/id1142178921?mt=8" target="_self">App Store</a></li>
<li><a class="navmobile-link nav-link" href="https://play.google.com/store/apps/details?id=com.tradingeconomics.calendar" target="_self">Google Play</a></li>
<li><a class="navmobile-link nav-link" href="https://www.twitter.com/teconomics" target="_self">Twitter</a></li>
</ul>
</div>
</div>
</div>
<div class="accordion-item">
<div class="accordion-header menu-main-option d-flex align-items-center">
<button aria-controls="collapseTwo" aria-expanded="false" class="accordion-button navmenu-mobile-item collapsed" data-bs-target="#collapseMore" data-bs-toggle="collapse" type="button">
<i class="bi bi-question-circle me-2"></i>About
                                <i class="bi bi-caret-down-fill ms-auto caret-toggle"></i>
</button>
</div>
<div class="accordion-collapse collapse" data-bs-parent="#accordionNavbar" id="collapseMore">
<div class="accordion-body mobile-accordion-body">
<ul class="nav navbar-nav navbarMobile">
<li><a class="navmobile-link nav-link" href="/api/customers.aspx" target="_self">Customers</a></li>
<li><a class="navmobile-link nav-link" href="/investors.aspx" target="_self">Investors</a></li>
<li><a class="navmobile-link nav-link" href="/careers.aspx" target="_self">Careers</a></li>
<li><a class="navmobile-link nav-link" href="/about-te.aspx" target="_self">About us</a></li>
<li><a class="navmobile-link nav-link" href="/contact.aspx" target="_self">Contact</a></li>
</ul>
</div>
</div>
</div>
<div class="accordion-item d-block d-md-none" style="border: none">
<div class="accordion-header menu-main-option accordion-last-item" style="padding: 30px 0px !important;"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</nav>
<script>
    document.addEventListener('DOMContentLoaded', function () {
        let accordionHeaders = document.querySelectorAll('.menu-main-option');

        accordionHeaders.forEach(function (header) {
            header.addEventListener('click', function () {
                let caretIcon = header.querySelector('.caret-toggle');

                let allCaretIcons = document.querySelectorAll('.menu-main-option .caret-toggle');

                allCaretIcons.forEach(function (icon) {
                    if (icon !== caretIcon) {
                        icon.classList.remove('bi-caret-up-fill');
                        icon.classList.add('bi-caret-down-fill');
                    }
                });
                caretIcon.classList.toggle('bi-caret-down-fill');
                caretIcon.classList.toggle('bi-caret-up-fill');
            });
        });
    });
</script>
<style>body {padding-top: 140px;}.pagemenu {top: 50px;}.pagetabs {top: 90px;}.navbar-default .navbar-nav>.active>a{ background-color: whitesmoke;} .navbar .navbar-expand-lg>.active, .navbar .navbar-expand-lg>.active>a{background-color: #f5f5f5;} .navbar .navbar-expand-lg>li:hover, .navbar .navbar-expand-lg>li:hover>a{background-color: #fff;} .nav-link:focus{color: #000;}</style>
<style>.title-notes {padding-left: 10px;font-size: 80%;padding-top: 3px;font-weight:lighter;}</style>
<div id="ctl00_ctl05_pageMenu">
<div class="pagemenu">
<div class="container">
<div class="row">
<div class="col-xl-12" style="display: flex; flex-direction: row">
<h1 class="title-indicator">Balance of Trade</h1>
</div>
</div>
</div>
</div>
</div>
<div class="pagetabs" id="ctl00_ctl05_pageTabs">
<div class="container">
<ul class="nav nav-tabs" id="pagemenutabs" style="border-bottom: none;">
<li class="nav-item">
<a class="" href="">
                        World 
                         
                    </a>
</li>
<li class="nav-item">
<a class="" href="?continent=europe">
                        Europe 
                         
                    </a>
</li>
<li class="nav-item">
<a class="" href="?continent=america">
                        America 
                         
                    </a>
</li>
<li class="nav-item">
<a class="" href="?continent=asia">
                        Asia 
                         
                    </a>
</li>
<li class="nav-item">
<a class="" href="?continent=africa">
                        Africa 
                         
                    </a>
</li>
<li class="nav-item">
<a class="" href="?continent=australia">
                        Australia 
                         
                    </a>
</li>
<li class="nav-item">
<a class="" href="?continent=g20">
                        G20 
                         
                    </a>
</li>
</ul>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-xl-8 col-lg-8" role="main">
<style>.te-title-footer {border: 1px solid #dddd;padding:10px; background-color: #f5f5f5;font-size: 16px;}.te-description-footer {border: 1px solid #dddd;padding:20px; margin-top: 20px;}</style>
<script>TEComparable=0;</script>
<div id="ctl00_ContentPlaceHolder1_ctl01_UpdatePanel1" style="padding-top: 5px;">
<div class="card">
<div class="table-responsive">
<table class="table table-hover table-heatmap" data-sortable="">
<thead>
<tr>
<th style="cursor: pointer">Country</th>
<th data-heatmap="0" data-heatmap-limit="181" data-sortable="true" style="cursor: pointer">Last </th>
<th data-sortable="true" style="cursor: pointer">Previous </th>
<th class="d-none d-sm-block" style="cursor: pointer">Reference</th>
<th class="" data-sortable="false"> Unit</th>
</tr>
</thead>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/afghanistan/balance-of-trade">
                                        Afghanistan
                                    </a></td>
<td data-heatmap-value="0"><span class="te-value-negative">-6798</span></td>
<td><span class="te-value-negative">-5169</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/albania/balance-of-trade">
                                        Albania
                                    </a></td>
<td data-heatmap-value="-1"><span class="te-value-negative">-52150</span></td>
<td><span class="te-value-negative">-41945</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">ALL Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/algeria/balance-of-trade">
                                        Algeria
                                    </a></td>
<td data-heatmap-value="-2">3790</td>
<td>2338</td>
<td class="d-none d-sm-table-cell"><span>Sep/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/angola/balance-of-trade">
                                        Angola
                                    </a></td>
<td data-heatmap-value="-3">5627</td>
<td>6362</td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/argentina/balance-of-trade">
                                        Argentina
                                    </a></td>
<td data-heatmap-value="-4">1575</td>
<td>1911</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/armenia/balance-of-trade">
                                        Armenia
                                    </a></td>
<td data-heatmap-value="-5"><span class="te-value-negative">-372</span></td>
<td><span class="te-value-negative">-315</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/aruba/balance-of-trade">
                                        Aruba
                                    </a></td>
<td data-heatmap-value="-6"><span class="te-value-negative">-632</span></td>
<td><span class="te-value-negative">-680</span></td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">AWG Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/australia/balance-of-trade">
                                        Australia
                                    </a></td>
<td data-heatmap-value="-7">5589</td>
<td>5052</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">AUD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/austria/balance-of-trade">
                                        Austria
                                    </a></td>
<td data-heatmap-value="-8">2.5</td>
<td>303</td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/azerbaijan/balance-of-trade">
                                        Azerbaijan
                                    </a></td>
<td data-heatmap-value="-9">2669439</td>
<td>2829101</td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">USD Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/bahamas/balance-of-trade">
                                        Bahamas
                                    </a></td>
<td data-heatmap-value="-10"><span class="te-value-negative">-825</span></td>
<td><span class="te-value-negative">-881</span></td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">BSD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/bahrain/balance-of-trade">
                                        Bahrain
                                    </a></td>
<td data-heatmap-value="-11"><span class="te-value-negative">-162</span></td>
<td><span class="te-value-negative">-150</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">BHD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/bangladesh/balance-of-trade">
                                        Bangladesh
                                    </a></td>
<td data-heatmap-value="-12"><span class="te-value-negative">-268</span></td>
<td><span class="te-value-negative">-171</span></td>
<td class="d-none d-sm-table-cell"><span>Apr/24</span></td>
<td class="">BDT Billion</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/barbados/balance-of-trade">
                                        Barbados
                                    </a></td>
<td data-heatmap-value="-13"><span class="te-value-negative">-259451</span></td>
<td><span class="te-value-negative">-262785</span></td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">BBD Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/belarus/balance-of-trade">
                                        Belarus
                                    </a></td>
<td data-heatmap-value="-14"><span class="te-value-negative">-197</span></td>
<td><span class="te-value-negative">-532</span></td>
<td class="d-none d-sm-table-cell"><span>Jan/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/belgium/balance-of-trade">
                                        Belgium
                                    </a></td>
<td data-heatmap-value="-15">2250</td>
<td>3307</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/belize/balance-of-trade">
                                        Belize
                                    </a></td>
<td data-heatmap-value="-16"><span class="te-value-negative">-207222</span></td>
<td><span class="te-value-negative">-189608</span></td>
<td class="d-none d-sm-table-cell"><span>Apr/24</span></td>
<td class="">BZD Thousands</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/benin/balance-of-trade">
                                        Benin
                                    </a></td>
<td data-heatmap-value="-17"><span class="te-value-negative">-410</span></td>
<td><span class="te-value-negative">-333</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">XOF Billion</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/bermuda/balance-of-trade">
                                        Bermuda
                                    </a></td>
<td data-heatmap-value="-18"><span class="te-value-negative">-134</span></td>
<td><span class="te-value-negative">-116</span></td>
<td class="d-none d-sm-table-cell"><span>Sep/23</span></td>
<td class="">BMD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/bhutan/balance-of-trade">
                                        Bhutan
                                    </a></td>
<td data-heatmap-value="-19"><span class="te-value-negative">-14818</span></td>
<td><span class="te-value-negative">-11977</span></td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">BTN Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/bolivia/balance-of-trade">
                                        Bolivia
                                    </a></td>
<td data-heatmap-value="-20"><span class="te-value-negative">-86.3</span></td>
<td><span class="te-value-negative">-80.8</span></td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/bosnia-and-herzegovina/balance-of-trade">
                                        Bosnia and Herzegovina
                                    </a></td>
<td data-heatmap-value="-21"><span class="te-value-negative">-1191300</span></td>
<td><span class="te-value-negative">-1138222</span></td>
<td class="d-none d-sm-table-cell"><span>Feb/24</span></td>
<td class="">BAM Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/botswana/balance-of-trade">
                                        Botswana
                                    </a></td>
<td data-heatmap-value="-22"><span class="te-value-negative">-2357</span></td>
<td><span class="te-value-negative">-1750</span></td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">BWP Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/brazil/balance-of-trade">
                                        Brazil
                                    </a></td>
<td data-heatmap-value="-23">7640</td>
<td>6710</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/brunei/balance-of-trade">
                                        Brunei
                                    </a></td>
<td data-heatmap-value="-24">371</td>
<td>422</td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">BND Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/bulgaria/balance-of-trade">
                                        Bulgaria
                                    </a></td>
<td data-heatmap-value="-25"><span class="te-value-negative">-640</span></td>
<td><span class="te-value-negative">-1249</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">BGN Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/burkina-faso/balance-of-trade">
                                        Burkina Faso
                                    </a></td>
<td data-heatmap-value="-26"><span class="te-value-negative">-262</span></td>
<td><span class="te-value-negative">-243</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">XOF Billion</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/burundi/balance-of-trade">
                                        Burundi
                                    </a></td>
<td data-heatmap-value="-27"><span class="te-value-negative">-202159</span></td>
<td><span class="te-value-negative">-189767</span></td>
<td class="d-none d-sm-table-cell"><span>Apr/24</span></td>
<td class="">BIF Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/cambodia/balance-of-trade">
                                        Cambodia
                                    </a></td>
<td data-heatmap-value="-28"><span class="te-value-negative">-2721</span></td>
<td>714</td>
<td class="d-none d-sm-table-cell"><span>Apr/24</span></td>
<td class="">KHR Billion</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/cameroon/balance-of-trade">
                                        Cameroon
                                    </a></td>
<td data-heatmap-value="-29"><span class="te-value-negative">-123</span></td>
<td><span class="te-value-negative">-135</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">XAF Billion</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/canada/balance-of-trade">
                                        Canada
                                    </a></td>
<td data-heatmap-value="-30">638</td>
<td><span class="te-value-negative">-1610</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">CAD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/cape-verde/balance-of-trade">
                                        Cape Verde
                                    </a></td>
<td data-heatmap-value="-31"><span class="te-value-negative">-8480</span></td>
<td><span class="te-value-negative">-7213</span></td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">CVE Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/cayman-islands/balance-of-trade">
                                        Cayman Islands
                                    </a></td>
<td data-heatmap-value="-32"><span class="te-value-negative">-1489</span></td>
<td><span class="te-value-negative">-1467</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">KYD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/chad/balance-of-trade">
                                        Chad
                                    </a></td>
<td data-heatmap-value="-33">1464</td>
<td>1948</td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">XAF Billion</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/chile/balance-of-trade">
                                        Chile
                                    </a></td>
<td data-heatmap-value="-34">1295</td>
<td>1990</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/china/balance-of-trade">
                                        China
                                    </a></td>
<td data-heatmap-value="-35">84.65</td>
<td>99.05</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Billion</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/colombia/balance-of-trade">
                                        Colombia
                                    </a></td>
<td data-heatmap-value="-36"><span class="te-value-negative">-0.84</span></td>
<td><span class="te-value-negative">-1.09</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Billion</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/comoros/balance-of-trade">
                                        Comoros
                                    </a></td>
<td data-heatmap-value="-37"><span class="te-value-negative">-33412</span></td>
<td><span class="te-value-negative">-36205</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">KMF Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/congo/balance-of-trade">
                                        Congo
                                    </a></td>
<td data-heatmap-value="-38">1864</td>
<td>3940</td>
<td class="d-none d-sm-table-cell"><span>Dec/22</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/costa-rica/balance-of-trade">
                                        Costa Rica
                                    </a></td>
<td data-heatmap-value="-39"><span class="te-value-negative">-157</span></td>
<td><span class="te-value-negative">-279</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/croatia/balance-of-trade">
                                        Croatia
                                    </a></td>
<td data-heatmap-value="-40"><span class="te-value-negative">-1600</span></td>
<td><span class="te-value-negative">-1920</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/cuba/balance-of-trade">
                                        Cuba
                                    </a></td>
<td data-heatmap-value="-41"><span class="te-value-negative">-7663</span></td>
<td><span class="te-value-negative">-6465</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/22</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/cyprus/balance-of-trade">
                                        Cyprus
                                    </a></td>
<td data-heatmap-value="-42"><span class="te-value-negative">-447941</span></td>
<td><span class="te-value-negative">-693391</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Thousand</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/czech-republic/balance-of-trade">
                                        Czech Republic
                                    </a></td>
<td data-heatmap-value="-43">29318</td>
<td>11893</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">CZK Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/denmark/balance-of-trade">
                                        Denmark
                                    </a></td>
<td data-heatmap-value="-44">23629</td>
<td>19689</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">DKK Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/djibouti/balance-of-trade">
                                        Djibouti
                                    </a></td>
<td data-heatmap-value="-45">48584</td>
<td>61421</td>
<td class="d-none d-sm-table-cell"><span>Dec/22</span></td>
<td class="">DJF Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/dominican-republic/balance-of-trade">
                                        Dominican Republic
                                    </a></td>
<td data-heatmap-value="-46"><span class="te-value-negative">-1227</span></td>
<td><span class="te-value-negative">-1360</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/east-timor/balance-of-trade">
                                        East Timor
                                    </a></td>
<td data-heatmap-value="-47"><span class="te-value-negative">-80834</span></td>
<td><span class="te-value-negative">-75663</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/ecuador/balance-of-trade">
                                        Ecuador
                                    </a></td>
<td data-heatmap-value="-48">602686</td>
<td>558620</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Thousand</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/egypt/balance-of-trade">
                                        Egypt
                                    </a></td>
<td data-heatmap-value="-49"><span class="te-value-negative">-3570</span></td>
<td><span class="te-value-negative">-2681</span></td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/el-salvador/balance-of-trade">
                                        El Salvador
                                    </a></td>
<td data-heatmap-value="-50"><span class="te-value-negative">-769</span></td>
<td><span class="te-value-negative">-707</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/eritrea/balance-of-trade">
                                        Eritrea
                                    </a></td>
<td data-heatmap-value="-51"><span class="te-value-negative">-29</span></td>
<td><span class="te-value-negative">-712</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/estonia/balance-of-trade">
                                        Estonia
                                    </a></td>
<td data-heatmap-value="-52"><span class="te-value-negative">-268</span></td>
<td><span class="te-value-negative">-196</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/ethiopia/balance-of-trade">
                                        Ethiopia
                                    </a></td>
<td data-heatmap-value="-53"><span class="te-value-negative">-2920</span></td>
<td><span class="te-value-negative">-3290</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/euro-area/balance-of-trade">
                                        Euro Area
                                    </a></td>
<td data-heatmap-value="-54">22335</td>
<td>14006</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/european-union/balance-of-trade">
                                        European Union
                                    </a></td>
<td data-heatmap-value="-55">20907</td>
<td>10231</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/faroe-islands/balance-of-trade">
                                        Faroe Islands
                                    </a></td>
<td data-heatmap-value="-56">502298</td>
<td><span class="te-value-negative">-160091</span></td>
<td class="d-none d-sm-table-cell"><span>Apr/24</span></td>
<td class="">DKK Thousand</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/fiji/balance-of-trade">
                                        Fiji
                                    </a></td>
<td data-heatmap-value="-57"><span class="te-value-negative">-446784</span></td>
<td><span class="te-value-negative">-403369</span></td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">FJD Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/finland/balance-of-trade">
                                        Finland
                                    </a></td>
<td data-heatmap-value="-58">995</td>
<td>20</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/france/balance-of-trade">
                                        France
                                    </a></td>
<td data-heatmap-value="-59"><span class="te-value-negative">-6088</span></td>
<td><span class="te-value-negative">-7716</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/gabon/balance-of-trade">
                                        Gabon
                                    </a></td>
<td data-heatmap-value="-60">1312</td>
<td>1229</td>
<td class="d-none d-sm-table-cell"><span>Sep/22</span></td>
<td class="">XAF Billion</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/gambia/balance-of-trade">
                                        Gambia
                                    </a></td>
<td data-heatmap-value="-61"><span class="te-value-negative">-12454816</span></td>
<td><span class="te-value-negative">-12444934</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">GMD Thousands</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/georgia/balance-of-trade">
                                        Georgia
                                    </a></td>
<td data-heatmap-value="-62"><span class="te-value-negative">-738</span></td>
<td><span class="te-value-negative">-684</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/germany/balance-of-trade">
                                        Germany
                                    </a></td>
<td data-heatmap-value="-63">20.4</td>
<td>23.5</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Billion</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/ghana/balance-of-trade">
                                        Ghana
                                    </a></td>
<td data-heatmap-value="-64">70.9</td>
<td>324</td>
<td class="d-none d-sm-table-cell"><span>Apr/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/greece/balance-of-trade">
                                        Greece
                                    </a></td>
<td data-heatmap-value="-65"><span class="te-value-negative">-2354</span></td>
<td><span class="te-value-negative">-3390</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/guatemala/balance-of-trade">
                                        Guatemala
                                    </a></td>
<td data-heatmap-value="-66"><span class="te-value-negative">-1039</span></td>
<td><span class="te-value-negative">-1126</span></td>
<td class="d-none d-sm-table-cell"><span>Apr/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/guinea/balance-of-trade">
                                        Guinea
                                    </a></td>
<td data-heatmap-value="-67">1389</td>
<td>992</td>
<td class="d-none d-sm-table-cell"><span>Jun/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/guinea-bissau/balance-of-trade">
                                        Guinea Bissau
                                    </a></td>
<td data-heatmap-value="-68"><span class="te-value-negative">-108</span></td>
<td><span class="te-value-negative">-97</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">XOF Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/guyana/balance-of-trade">
                                        Guyana
                                    </a></td>
<td data-heatmap-value="-69">3378</td>
<td>2210</td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/haiti/balance-of-trade">
                                        Haiti
                                    </a></td>
<td data-heatmap-value="-70"><span class="te-value-negative">-156</span></td>
<td><span class="te-value-negative">-114</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/honduras/balance-of-trade">
                                        Honduras
                                    </a></td>
<td data-heatmap-value="-71"><span class="te-value-negative">-861</span></td>
<td><span class="te-value-negative">-1080</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/hong-kong/balance-of-trade">
                                        Hong Kong
                                    </a></td>
<td data-heatmap-value="-72"><span class="te-value-negative">-21842</span></td>
<td><span class="te-value-negative">-55740</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">HKD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/hungary/balance-of-trade">
                                        Hungary
                                    </a></td>
<td data-heatmap-value="-73">1095</td>
<td>1001</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/iceland/balance-of-trade">
                                        Iceland
                                    </a></td>
<td data-heatmap-value="-74"><span class="te-value-negative">-33920</span></td>
<td><span class="te-value-negative">-48051</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">ISK Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/india/balance-of-trade">
                                        India
                                    </a></td>
<td data-heatmap-value="-75"><span class="te-value-negative">-23.5</span></td>
<td><span class="te-value-negative">-21</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Billion</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/indonesia/balance-of-trade">
                                        Indonesia
                                    </a></td>
<td data-heatmap-value="-76">470</td>
<td>2395</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/iran/balance-of-trade">
                                        Iran
                                    </a></td>
<td data-heatmap-value="-77"><span class="te-value-negative">-5625</span></td>
<td><span class="te-value-negative">-4743</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/iraq/balance-of-trade">
                                        Iraq
                                    </a></td>
<td data-heatmap-value="-78">17549</td>
<td>16756</td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/ireland/balance-of-trade">
                                        Ireland
                                    </a></td>
<td data-heatmap-value="-79">4792986</td>
<td>6965677</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/israel/balance-of-trade">
                                        Israel
                                    </a></td>
<td data-heatmap-value="-80"><span class="te-value-negative">-3292</span></td>
<td><span class="te-value-negative">-2347</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/italy/balance-of-trade">
                                        Italy
                                    </a></td>
<td data-heatmap-value="-81">5065</td>
<td>6377</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/ivory-coast/balance-of-trade">
                                        Ivory Coast
                                    </a></td>
<td data-heatmap-value="-82">206</td>
<td>345</td>
<td class="d-none d-sm-table-cell"><span>Feb/24</span></td>
<td class="">XOF Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/jamaica/balance-of-trade">
                                        Jamaica
                                    </a></td>
<td data-heatmap-value="-83"><span class="te-value-negative">-1348759</span></td>
<td><span class="te-value-negative">-1348759</span></td>
<td class="d-none d-sm-table-cell"><span>Sep/23</span></td>
<td class="">USD Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/japan/balance-of-trade">
                                        Japan
                                    </a></td>
<td data-heatmap-value="-84"><span class="te-value-negative">-622</span></td>
<td>224</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">JPY Billion</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/jordan/balance-of-trade">
                                        Jordan
                                    </a></td>
<td data-heatmap-value="-85"><span class="te-value-negative">-948348</span></td>
<td><span class="te-value-negative">-668285</span></td>
<td class="d-none d-sm-table-cell"><span>Feb/24</span></td>
<td class="">JOD Thousands</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/kazakhstan/balance-of-trade">
                                        Kazakhstan
                                    </a></td>
<td data-heatmap-value="-86">1964</td>
<td>1961</td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/kenya/balance-of-trade">
                                        Kenya
                                    </a></td>
<td data-heatmap-value="-87"><span class="te-value-negative">-121460</span></td>
<td><span class="te-value-negative">-118088</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">KES Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/kosovo/balance-of-trade">
                                        Kosovo
                                    </a></td>
<td data-heatmap-value="-88"><span class="te-value-negative">-495877</span></td>
<td><span class="te-value-negative">-425395</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">EUR Thousand</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/kuwait/balance-of-trade">
                                        Kuwait
                                    </a></td>
<td data-heatmap-value="-89">3200</td>
<td>3570</td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">KWD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/kyrgyzstan/balance-of-trade">
                                        Kyrgyzstan
                                    </a></td>
<td data-heatmap-value="-90"><span class="te-value-negative">-754</span></td>
<td><span class="te-value-negative">-940</span></td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/laos/balance-of-trade">
                                        Laos
                                    </a></td>
<td data-heatmap-value="-91">257</td>
<td><span class="te-value-negative">-171</span></td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/latvia/balance-of-trade">
                                        Latvia
                                    </a></td>
<td data-heatmap-value="-92"><span class="te-value-negative">-369</span></td>
<td><span class="te-value-negative">-246</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/lebanon/balance-of-trade">
                                        Lebanon
                                    </a></td>
<td data-heatmap-value="-93"><span class="te-value-negative">-397</span></td>
<td><span class="te-value-negative">-1217</span></td>
<td class="d-none d-sm-table-cell"><span>Aug/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/lesotho/balance-of-trade">
                                        Lesotho
                                    </a></td>
<td data-heatmap-value="-94"><span class="te-value-negative">-3329</span></td>
<td><span class="te-value-negative">-3766</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/23</span></td>
<td class="">LSL Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/liberia/balance-of-trade">
                                        Liberia
                                    </a></td>
<td data-heatmap-value="-95"><span class="te-value-negative">-53.36</span></td>
<td><span class="te-value-negative">-4.97</span></td>
<td class="d-none d-sm-table-cell"><span>Apr/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/libya/balance-of-trade">
                                        Libya
                                    </a></td>
<td data-heatmap-value="-96">96391</td>
<td>69029</td>
<td class="d-none d-sm-table-cell"><span>Dec/22</span></td>
<td class="">LYD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/liechtenstein/balance-of-trade">
                                        Liechtenstein
                                    </a></td>
<td data-heatmap-value="-97">414</td>
<td>406</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">CHF Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/lithuania/balance-of-trade">
                                        Lithuania
                                    </a></td>
<td data-heatmap-value="-98">410</td>
<td><span class="te-value-negative">-286</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/luxembourg/balance-of-trade">
                                        Luxembourg
                                    </a></td>
<td data-heatmap-value="-99"><span class="te-value-negative">-0.61</span></td>
<td><span class="te-value-negative">-0.7</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Billion</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/macau/balance-of-trade">
                                        Macau
                                    </a></td>
<td data-heatmap-value="-100"><span class="te-value-negative">-9399100</span></td>
<td><span class="te-value-negative">-9083400</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">Thousand MOP</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/macedonia/balance-of-trade">
                                        Macedonia
                                    </a></td>
<td data-heatmap-value="-101"><span class="te-value-negative">-229500</span></td>
<td><span class="te-value-negative">-309400</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/madagascar/balance-of-trade">
                                        Madagascar
                                    </a></td>
<td data-heatmap-value="-102"><span class="te-value-negative">-589181</span></td>
<td><span class="te-value-negative">-582467</span></td>
<td class="d-none d-sm-table-cell"><span>Feb/23</span></td>
<td class="">MGA Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/malawi/balance-of-trade">
                                        Malawi
                                    </a></td>
<td data-heatmap-value="-103"><span class="te-value-negative">-318400</span></td>
<td><span class="te-value-negative">-333702</span></td>
<td class="d-none d-sm-table-cell"><span>Apr/24</span></td>
<td class="">MWK Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/malaysia/balance-of-trade">
                                        Malaysia
                                    </a></td>
<td data-heatmap-value="-104">6400</td>
<td>14300</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">MYR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/maldives/balance-of-trade">
                                        Maldives
                                    </a></td>
<td data-heatmap-value="-105"><span class="te-value-negative">-243</span></td>
<td><span class="te-value-negative">-264</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/mali/balance-of-trade">
                                        Mali
                                    </a></td>
<td data-heatmap-value="-106"><span class="te-value-negative">-333</span></td>
<td><span class="te-value-negative">-445</span></td>
<td class="d-none d-sm-table-cell"><span>Sep/23</span></td>
<td class="">XOF Billion</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/malta/balance-of-trade">
                                        Malta
                                    </a></td>
<td data-heatmap-value="-107"><span class="te-value-negative">-311925</span></td>
<td><span class="te-value-negative">-382936</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/mauritania/balance-of-trade">
                                        Mauritania
                                    </a></td>
<td data-heatmap-value="-108"><span class="te-value-negative">-8.6</span></td>
<td><span class="te-value-negative">-0.63</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">MRU Billion</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/mauritius/balance-of-trade">
                                        Mauritius
                                    </a></td>
<td data-heatmap-value="-109"><span class="te-value-negative">-16432</span></td>
<td><span class="te-value-negative">-14747</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">MUR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/mexico/balance-of-trade">
                                        Mexico
                                    </a></td>
<td data-heatmap-value="-110"><span class="te-value-negative">-72</span></td>
<td><span class="te-value-negative">-1037</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/moldova/balance-of-trade">
                                        Moldova
                                    </a></td>
<td data-heatmap-value="-111"><span class="te-value-negative">-404</span></td>
<td><span class="te-value-negative">-414</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/monaco/balance-of-trade">
                                        Monaco
                                    </a></td>
<td data-heatmap-value="-112"><span class="te-value-negative">-272</span></td>
<td><span class="te-value-negative">-281</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/mongolia/balance-of-trade">
                                        Mongolia
                                    </a></td>
<td data-heatmap-value="-113">344</td>
<td>546</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/montenegro/balance-of-trade">
                                        Montenegro
                                    </a></td>
<td data-heatmap-value="-114"><span class="te-value-negative">-352174</span></td>
<td><span class="te-value-negative">-320100</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">EUR Thousand</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/morocco/balance-of-trade">
                                        Morocco
                                    </a></td>
<td data-heatmap-value="-115"><span class="te-value-negative">-22349</span></td>
<td><span class="te-value-negative">-26383</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">MAD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/mozambique/balance-of-trade">
                                        Mozambique
                                    </a></td>
<td data-heatmap-value="-116"><span class="te-value-negative">-103</span></td>
<td><span class="te-value-negative">-256</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/myanmar/balance-of-trade">
                                        Myanmar
                                    </a></td>
<td data-heatmap-value="-117"><span class="te-value-negative">-457</span></td>
<td>129</td>
<td class="d-none d-sm-table-cell"><span>Dec/22</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/namibia/balance-of-trade">
                                        Namibia
                                    </a></td>
<td data-heatmap-value="-118"><span class="te-value-negative">-6879</span></td>
<td><span class="te-value-negative">-11816</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">NAD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/nepal/balance-of-trade">
                                        Nepal
                                    </a></td>
<td data-heatmap-value="-119"><span class="te-value-negative">-126162</span></td>
<td><span class="te-value-negative">-137258</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">NPR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/netherlands/balance-of-trade">
                                        Netherlands
                                    </a></td>
<td data-heatmap-value="-120">13310</td>
<td>12060</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/new-caledonia/balance-of-trade">
                                        New Caledonia
                                    </a></td>
<td data-heatmap-value="-121"><span class="te-value-negative">-12396</span></td>
<td><span class="te-value-negative">-7703</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">XPF Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/new-zealand/balance-of-trade">
                                        New Zealand
                                    </a></td>
<td data-heatmap-value="-122"><span class="te-value-negative">-963</span></td>
<td>585</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">NZD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/nicaragua/balance-of-trade">
                                        Nicaragua
                                    </a></td>
<td data-heatmap-value="-123"><span class="te-value-negative">-95.82</span></td>
<td><span class="te-value-negative">-67.54</span></td>
<td class="d-none d-sm-table-cell"><span>Apr/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/niger/balance-of-trade">
                                        Niger
                                    </a></td>
<td data-heatmap-value="-124"><span class="te-value-negative">-128796</span></td>
<td><span class="te-value-negative">-486924</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">XOF Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/nigeria/balance-of-trade">
                                        Nigeria
                                    </a></td>
<td data-heatmap-value="-125">2158251</td>
<td>1835116</td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">NGN Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/north-korea/balance-of-trade">
                                        North Korea
                                    </a></td>
<td data-heatmap-value="-126"><span class="te-value-negative">-601</span></td>
<td><span class="te-value-negative">-121</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/22</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/norway/balance-of-trade">
                                        Norway
                                    </a></td>
<td data-heatmap-value="-127">59300</td>
<td>61700</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">NOK Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/oman/balance-of-trade">
                                        Oman
                                    </a></td>
<td data-heatmap-value="-128">677</td>
<td>391</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">OMR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/pakistan/balance-of-trade">
                                        Pakistan
                                    </a></td>
<td data-heatmap-value="-129"><span class="te-value-negative">-542823</span></td>
<td><span class="te-value-negative">-669950</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">PKR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/palestine/balance-of-trade">
                                        Palestine
                                    </a></td>
<td data-heatmap-value="-130"><span class="te-value-negative">-359</span></td>
<td><span class="te-value-negative">-419</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/panama/balance-of-trade">
                                        Panama
                                    </a></td>
<td data-heatmap-value="-131"><span class="te-value-negative">-1129488</span></td>
<td><span class="te-value-negative">-1093564</span></td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">PAB Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/papua-new-guinea/balance-of-trade">
                                        Papua New Guinea
                                    </a></td>
<td data-heatmap-value="-132">5910</td>
<td>5701</td>
<td class="d-none d-sm-table-cell"><span>Sep/23</span></td>
<td class="">PGK Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/paraguay/balance-of-trade">
                                        Paraguay
                                    </a></td>
<td data-heatmap-value="-133"><span class="te-value-negative">-398337</span></td>
<td><span class="te-value-negative">-232937</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Thousands</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/peru/balance-of-trade">
                                        Peru
                                    </a></td>
<td data-heatmap-value="-134">2466</td>
<td>1982</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/philippines/balance-of-trade">
                                        Philippines
                                    </a></td>
<td data-heatmap-value="-135"><span class="te-value-negative">-4303634</span></td>
<td><span class="te-value-negative">-4707383</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/poland/balance-of-trade">
                                        Poland
                                    </a></td>
<td data-heatmap-value="-136"><span class="te-value-negative">-191</span></td>
<td><span class="te-value-negative">-447</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/portugal/balance-of-trade">
                                        Portugal
                                    </a></td>
<td data-heatmap-value="-137"><span class="te-value-negative">-1892</span></td>
<td><span class="te-value-negative">-2213</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/puerto-rico/balance-of-trade">
                                        Puerto Rico
                                    </a></td>
<td data-heatmap-value="-138">593</td>
<td>1126</td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/qatar/balance-of-trade">
                                        Qatar
                                    </a></td>
<td data-heatmap-value="-139">20133</td>
<td>19575</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">QAR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/romania/balance-of-trade">
                                        Romania
                                    </a></td>
<td data-heatmap-value="-140"><span class="te-value-negative">-2779</span></td>
<td><span class="te-value-negative">-2975</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/russia/balance-of-trade">
                                        Russia
                                    </a></td>
<td data-heatmap-value="-141">11480</td>
<td>12158</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/rwanda/balance-of-trade">
                                        Rwanda
                                    </a></td>
<td data-heatmap-value="-142"><span class="te-value-negative">-362</span></td>
<td><span class="te-value-negative">-330</span></td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/sao-tome-and-principe/balance-of-trade">
                                        Sao Tome and Principe
                                    </a></td>
<td data-heatmap-value="-143"><span class="te-value-negative">-10.43</span></td>
<td><span class="te-value-negative">-7.2</span></td>
<td class="d-none d-sm-table-cell"><span>Feb/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/saudi-arabia/balance-of-trade">
                                        Saudi Arabia
                                    </a></td>
<td data-heatmap-value="-144">30189</td>
<td>30767</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">SAR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/senegal/balance-of-trade">
                                        Senegal
                                    </a></td>
<td data-heatmap-value="-145"><span class="te-value-negative">-340</span></td>
<td><span class="te-value-negative">-306</span></td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">XOF Billion</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/serbia/balance-of-trade">
                                        Serbia
                                    </a></td>
<td data-heatmap-value="-146"><span class="te-value-negative">-819</span></td>
<td><span class="te-value-negative">-928</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/seychelles/balance-of-trade">
                                        Seychelles
                                    </a></td>
<td data-heatmap-value="-147"><span class="te-value-negative">-86.8</span></td>
<td><span class="te-value-negative">-64.3</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/sierra-leone/balance-of-trade">
                                        Sierra Leone
                                    </a></td>
<td data-heatmap-value="-148"><span class="te-value-negative">-47.89</span></td>
<td><span class="te-value-negative">-20.06</span></td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/singapore/balance-of-trade">
                                        Singapore
                                    </a></td>
<td data-heatmap-value="-149">6486</td>
<td>3078</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">SGD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/slovakia/balance-of-trade">
                                        Slovakia
                                    </a></td>
<td data-heatmap-value="-150">647</td>
<td>372</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/slovenia/balance-of-trade">
                                        Slovenia
                                    </a></td>
<td data-heatmap-value="-151"><span class="te-value-negative">-644</span></td>
<td><span class="te-value-negative">-596</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/somalia/balance-of-trade">
                                        Somalia
                                    </a></td>
<td data-heatmap-value="-152"><span class="te-value-negative">-3395</span></td>
<td><span class="te-value-negative">-4613</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/22</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/south-africa/balance-of-trade">
                                        South Africa
                                    </a></td>
<td data-heatmap-value="-153">24230</td>
<td>19959</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">ZAR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/south-korea/balance-of-trade">
                                        South Korea
                                    </a></td>
<td data-heatmap-value="-154">3620</td>
<td>7990</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/spain/balance-of-trade">
                                        Spain
                                    </a></td>
<td data-heatmap-value="-155"><span class="te-value-negative">-712908</span></td>
<td><span class="te-value-negative">-2348680</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/sri-lanka/balance-of-trade">
                                        Sri Lanka
                                    </a></td>
<td data-heatmap-value="-156"><span class="te-value-negative">-370</span></td>
<td><span class="te-value-negative">-393</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/sudan/balance-of-trade">
                                        Sudan
                                    </a></td>
<td data-heatmap-value="-157"><span class="te-value-negative">-829854</span></td>
<td><span class="te-value-negative">-733784</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/22</span></td>
<td class="">USD Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/suriname/balance-of-trade">
                                        Suriname
                                    </a></td>
<td data-heatmap-value="-158">222</td>
<td>236</td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/swaziland/balance-of-trade">
                                        Swaziland
                                    </a></td>
<td data-heatmap-value="-159">574</td>
<td>1814</td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">SZL Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/sweden/balance-of-trade">
                                        Sweden
                                    </a></td>
<td data-heatmap-value="-160">6500</td>
<td>8100</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">SEK Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/switzerland/balance-of-trade">
                                        Switzerland
                                    </a></td>
<td data-heatmap-value="-161">4103</td>
<td>4777</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">CHF Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/syria/balance-of-trade">
                                        Syria
                                    </a></td>
<td data-heatmap-value="-162"><span class="te-value-negative">-17383055</span></td>
<td><span class="te-value-negative">-9331075</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/22</span></td>
<td class="">SYP Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/taiwan/balance-of-trade">
                                        Taiwan
                                    </a></td>
<td data-heatmap-value="-163">4830</td>
<td>4680</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/tajikistan/balance-of-trade">
                                        Tajikistan
                                    </a></td>
<td data-heatmap-value="-164"><span class="te-value-negative">-884799</span></td>
<td><span class="te-value-negative">-236027</span></td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/tanzania/balance-of-trade">
                                        Tanzania
                                    </a></td>
<td data-heatmap-value="-165"><span class="te-value-negative">-1144</span></td>
<td><span class="te-value-negative">-1483</span></td>
<td class="d-none d-sm-table-cell"><span>Sep/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/thailand/balance-of-trade">
                                        Thailand
                                    </a></td>
<td data-heatmap-value="-166"><span class="te-value-negative">-1373</span></td>
<td>218</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/trinidad-and-tobago/balance-of-trade">
                                        Trinidad and Tobago
                                    </a></td>
<td data-heatmap-value="-167">628</td>
<td>738</td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/tunisia/balance-of-trade">
                                        Tunisia
                                    </a></td>
<td data-heatmap-value="-168"><span class="te-value-negative">-1604</span></td>
<td><span class="te-value-negative">-1641</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">TND Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/turkey/balance-of-trade">
                                        Turkey
                                    </a></td>
<td data-heatmap-value="-169"><span class="te-value-negative">-7295</span></td>
<td><span class="te-value-negative">-5892</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/turkmenistan/balance-of-trade">
                                        Turkmenistan
                                    </a></td>
<td data-heatmap-value="-170">10151</td>
<td>9912</td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/uganda/balance-of-trade">
                                        Uganda
                                    </a></td>
<td data-heatmap-value="-171"><span class="te-value-negative">-332</span></td>
<td><span class="te-value-negative">-278</span></td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/ukraine/balance-of-trade">
                                        Ukraine
                                    </a></td>
<td data-heatmap-value="-172"><span class="te-value-negative">-2870</span></td>
<td><span class="te-value-negative">-2222</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/united-kingdom/balance-of-trade">
                                        United Kingdom
                                    </a></td>
<td data-heatmap-value="-173"><span class="te-value-negative">-5324</span></td>
<td><span class="te-value-negative">-5770</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">GBP Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/united-states/balance-of-trade">
                                        United States
                                    </a></td>
<td data-heatmap-value="-174"><span class="te-value-negative">-73.1</span></td>
<td><span class="te-value-negative">-75</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Billion</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/uruguay/balance-of-trade">
                                        Uruguay
                                    </a></td>
<td data-heatmap-value="-175">177476</td>
<td>31823</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/uzbekistan/balance-of-trade">
                                        Uzbekistan
                                    </a></td>
<td data-heatmap-value="-176"><span class="te-value-negative">-1131</span></td>
<td><span class="te-value-negative">-835</span></td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/vietnam/balance-of-trade">
                                        Vietnam
                                    </a></td>
<td data-heatmap-value="-177">2.12</td>
<td>3.2</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Billion</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/yemen/balance-of-trade">
                                        Yemen
                                    </a></td>
<td data-heatmap-value="-178"><span class="te-value-negative">-5204919353</span></td>
<td><span class="te-value-negative">-4965847645</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/22</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/zambia/balance-of-trade">
                                        Zambia
                                    </a></td>
<td data-heatmap-value="-179">1384</td>
<td>1375</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">ZMW Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/zimbabwe/balance-of-trade">
                                        Zimbabwe
                                    </a></td>
<td data-heatmap-value="-180"><span class="te-value-negative">-219</span></td>
<td><span class="te-value-negative">-151</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
</table>
</div>
</div>
<br>
<br>
</br></br></div>
<style>.news-link {padding-bottom: 5px;}</style>
<div id="ctl00_ContentPlaceHolder1_ctl02_DivArticles">
<div class="row">
<div class="col-md-6" id="ctl00_ContentPlaceHolder1_ctl02_tdRelatedNews">
<div class="card">
<div class="card-header">Related</div>
<div class="card-body">
<div class="news-link"><a href="/montenegro/balance-of-trade">Montenegro Trade Deficit Widens Sharply in July</a></div>
<div class="news-link"><a href="/macau/balance-of-trade">Macau Trade Gap Narrows Slightly in July</a></div>
<div class="news-link"><a href="/qatar/balance-of-trade">Qatar Trade Surplus Largest in 11 Months</a></div>
<div class="news-link"><a href="/turkey/balance-of-trade">Turkey Trade Deficit Narrows in July</a></div>
<div class="news-link"><a href="/sweden/balance-of-trade">Sweden Trade Surplus Widens in July</a></div>
<div class="news-link"><a href="/mexico/balance-of-trade">Mexico July Trade Gap Smaller than Anticipated</a></div>
<div class="news-link"><a href="/hong-kong/balance-of-trade">Hong Kong Trade Deficit Narrows in July</a></div>
<div class="news-link"><a href="/thailand/balance-of-trade">Thailand Trade Gap Narrows in July</a></div>
<div class="news-link"><a href="/el-salvador/balance-of-trade">El Salvador Trade Deficit Widens in July</a></div>
<div class="news-link"><a href="/kosovo/balance-of-trade">Kosovo Trade Deficit Highest in 8 Months</a></div>
<br>
</br></div>
</div>
</div>
<div class="col-md-6">
<div id="ctl00_ContentPlaceHolder1_ctl02_tdTopNews">
<div class="card">
<div class="card-header">Latest</div>
<div class="card-body">
<div class="news-link"><a href="/philippines/producer-prices-change">Philippines Producer Prices Fall at Faster Pace</a></div>
<div class="news-link"><a href="/japan/stock-market">Japanese Shares Set to End Volatile Month Flat</a></div>
<div class="news-link"><a href="/australia/stock-market">Australian Shares Rise as Commodities Lift</a></div>
<div class="news-link"><a href="/united-states/stock-market">US Futures Steady Ahead of PCE Inflation Report</a></div>
<div class="news-link"><a href="/japan/industrial-production-mom">Japan Industrial Output Rises Less than Expected</a></div>
<div class="news-link"><a href="/japan/retail-sales-annual">Japan Retail Sales Growth Misses Forecast in July</a></div>
<div class="news-link"><a href="/japan/tokyo-core-cpi">Tokyo Inflation Beats Expectations in August</a></div>
<div class="news-link"><a href="/japan/unemployment-rate">Japan Jobless Rate Rises to 11-Month Peak</a></div>
<div class="news-link"><a href="/south-korea/retail-sales">South Korea Retail Sales Drop 1.9% MoM in July</a></div>
<div class="news-link"><a href="/south-korea/industrial-production-mom">South Korea Industrial Production Falls 3.6% MoM in July</a></div>
<br>
<a href="../stream" id="ctl00_ContentPlaceHolder1_ctl02_moreTopNews">
<div class="btn-group btn-group-sm">
<button class="btn btn-outline-secondary" type="button">
<i class="bi bi-plus-lg"></i>
</button>
</div>
</a>
</br></div>
</div>
</div>
</div>
</div>
</div>
<br/>
<br/>
<h2 class="te-description-footer" id="summary">This page displays a table with actual values, consensus figures, forecasts, statistics and historical data charts for - Balance of Trade. This page provides values for Balance of Trade reported in several countries. The table has current values for Balance of Trade, previous releases, historical highs and record lows, release frequency, reported unit and currency plus links to historical data charts.</h2><br/>
</div>
<div class="col-xl-4 col-lg-4" id="ctl00_rightSideMenu">
<style>#sidebar {padding-left: 2px; padding-right: 2px;}  #sidebar .accordion-header{border-radius: 0;}</style>
<div id="sidebar">
<div id="PanelAllMenus">
<div id="ctl00_LeftSideMenuContainer1_ctl00_AdPanel">
<div style="margin-bottom: 15px;">
<!-- ad_above_rightsidemenu -->
<ins class="adsbygoogle" data-ad-client="ca-pub-3400948010513654" data-ad-format="auto" data-ad-slot="2300452639" data-full-width-responsive="true" style="display:block"></ins>
</div>
</div>
<div class="accordion accordion-flush" id="accordion">
<div class="accordion-item card-small-spacing">
<h2 class="accordion-header">
<button aria-controls="0" aria-expanded="false" class="accordion-button collapsed" data-bs-parent="#accordion" data-bs-target="#0" data-bs-toggle="collapse" type="button">
<b class="dropdown-toggle"></b>  Trade
                        </button>
</h2>
<div class="accordion-collapse collapse show" data-bs-parent="#accordion" id="0">
<div class="accordion-body">
<a href="/country-list/balance-of-trade" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl00_Repeater2_ctl00_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Balance of Trade</a><br/>
<a href="/country-list/capital-flows" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl00_Repeater2_ctl01_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Capital Flows</a><br/>
<a href="/country-list/crude-oil-production" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl00_Repeater2_ctl02_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Crude Oil Production</a><br/>
<a href="/country-list/current-account" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl00_Repeater2_ctl03_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Current Account</a><br/>
<a href="/country-list/current-account-to-gdp" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl00_Repeater2_ctl04_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Current Account to GDP</a><br/>
<a href="/country-list/exports" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl00_Repeater2_ctl05_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Exports</a><br/>
<a href="/country-list/external-debt" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl00_Repeater2_ctl06_HyperLink2" style="text-decoration: none; text-transform: capitalize;">External Debt</a><br/>
<a href="/country-list/foreign-direct-investment" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl00_Repeater2_ctl07_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Foreign Direct Investment</a><br/>
<a href="/country-list/gold-reserves" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl00_Repeater2_ctl08_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Gold Reserves</a><br/>
<a href="/country-list/imports" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl00_Repeater2_ctl09_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Imports</a><br/>
<a href="/country-list/remittances" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl00_Repeater2_ctl10_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Remittances</a><br/>
<a href="/country-list/terms-of-trade" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl00_Repeater2_ctl11_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Terms of Trade</a><br/>
<a href="/country-list/terrorism-index" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl00_Repeater2_ctl12_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Terrorism Index</a><br/>
<a href="/country-list/tourism-revenues" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl00_Repeater2_ctl13_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Tourism Revenues</a><br/>
<a href="/country-list/tourist-arrivals" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl00_Repeater2_ctl14_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Tourist Arrivals</a><br/>
<a href="/country-list/weapons-sales" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl00_Repeater2_ctl15_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Weapons Sales</a><br/>
</div>
</div>
</div>
<div class="accordion-item card-small-spacing">
<h2 class="accordion-header">
<button aria-controls="1" aria-expanded="false" class="accordion-button collapsed" data-bs-parent="#accordion" data-bs-target="#1" data-bs-toggle="collapse" type="button">
<b class="dropdown-toggle"></b>  Markets
                        </button>
</h2>
<div class="accordion-collapse collapse" data-bs-parent="#accordion" id="1">
<div class="accordion-body">
<a href="/commodities" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl01_Repeater2_ctl00_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Commodity</a><br/>
<a href="/currencies" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl01_Repeater2_ctl01_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Currency</a><br/>
<a href="/bonds" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl01_Repeater2_ctl02_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Government Bond 10Y</a><br/>
<a href="/stocks" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl01_Repeater2_ctl03_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Stock Market</a><br/>
</div>
</div>
</div>
<div class="accordion-item card-small-spacing">
<h2 class="accordion-header">
<button aria-controls="2" aria-expanded="false" class="accordion-button collapsed" data-bs-parent="#accordion" data-bs-target="#2" data-bs-toggle="collapse" type="button">
<b class="dropdown-toggle"></b>  GDP
                        </button>
</h2>
<div class="accordion-collapse collapse" data-bs-parent="#accordion" id="2">
<div class="accordion-body">
<a href="/country-list/full-year-gdp-growth" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl02_Repeater2_ctl00_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Full Year GDP Growth</a><br/>
<a href="/country-list/gdp" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl02_Repeater2_ctl01_HyperLink2" style="text-decoration: none; text-transform: capitalize;">GDP</a><br/>
<a href="/country-list/gdp-annual-growth-rate" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl02_Repeater2_ctl02_HyperLink2" style="text-decoration: none; text-transform: capitalize;">GDP Annual Growth Rate</a><br/>
<a href="/country-list/gdp-constant-prices" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl02_Repeater2_ctl03_HyperLink2" style="text-decoration: none; text-transform: capitalize;">GDP Constant Prices</a><br/>
<a href="/country-list/gdp-from-agriculture" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl02_Repeater2_ctl04_HyperLink2" style="text-decoration: none; text-transform: capitalize;">GDP from Agriculture</a><br/>
<a href="/country-list/gdp-from-construction" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl02_Repeater2_ctl05_HyperLink2" style="text-decoration: none; text-transform: capitalize;">GDP from Construction</a><br/>
<a href="/country-list/gdp-from-manufacturing" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl02_Repeater2_ctl06_HyperLink2" style="text-decoration: none; text-transform: capitalize;">GDP from Manufacturing</a><br/>
<a href="/country-list/gdp-from-mining" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl02_Repeater2_ctl07_HyperLink2" style="text-decoration: none; text-transform: capitalize;">GDP from Mining</a><br/>
<a href="/country-list/gdp-from-public-administration" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl02_Repeater2_ctl08_HyperLink2" style="text-decoration: none; text-transform: capitalize;">GDP from Public Administration</a><br/>
<a href="/country-list/gdp-from-services" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl02_Repeater2_ctl09_HyperLink2" style="text-decoration: none; text-transform: capitalize;">GDP from Services</a><br/>
<a href="/country-list/gdp-from-transport" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl02_Repeater2_ctl10_HyperLink2" style="text-decoration: none; text-transform: capitalize;">GDP from Transport</a><br/>
<a href="/country-list/gdp-from-utilities" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl02_Repeater2_ctl11_HyperLink2" style="text-decoration: none; text-transform: capitalize;">GDP from Utilities</a><br/>
<a href="/country-list/gdp-growth-rate" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl02_Repeater2_ctl12_HyperLink2" style="text-decoration: none; text-transform: capitalize;">GDP Growth Rate</a><br/>
<a href="/country-list/gdp-per-capita" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl02_Repeater2_ctl13_HyperLink2" style="text-decoration: none; text-transform: capitalize;">GDP per Capita</a><br/>
<a href="/country-list/gdp-per-capita-ppp" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl02_Repeater2_ctl14_HyperLink2" style="text-decoration: none; text-transform: capitalize;">GDP per Capita PPP</a><br/>
<a href="/country-list/gross-fixed-capital-formation" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl02_Repeater2_ctl15_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Gross Fixed Capital Formation</a><br/>
<a href="/country-list/gross-national-product" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl02_Repeater2_ctl16_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Gross National Product</a><br/>
</div>
</div>
</div>
<div class="accordion-item card-small-spacing">
<h2 class="accordion-header">
<button aria-controls="3" aria-expanded="false" class="accordion-button collapsed" data-bs-parent="#accordion" data-bs-target="#3" data-bs-toggle="collapse" type="button">
<b class="dropdown-toggle"></b>  Labour
                        </button>
</h2>
<div class="accordion-collapse collapse" data-bs-parent="#accordion" id="3">
<div class="accordion-body">
<a href="/country-list/employed-persons" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl00_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Employed Persons</a><br/>
<a href="/country-list/employment-change" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl01_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Employment Change</a><br/>
<a href="/country-list/employment-rate" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl02_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Employment Rate</a><br/>
<a href="/country-list/full-time-employment" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl03_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Full Time Employment</a><br/>
<a href="/country-list/initial-jobless-claims" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl04_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Initial Jobless Claims</a><br/>
<a href="/country-list/job-vacancies" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl05_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Job Vacancies</a><br/>
<a href="/country-list/labor-force-participation-rate" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl06_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Labor Force Participation Rate</a><br/>
<a href="/country-list/labour-costs" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl07_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Labour Costs</a><br/>
<a href="/country-list/long-term-unemployment-rate" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl08_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Long Term Unemployment Rate</a><br/>
<a href="/country-list/minimum-wages" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl09_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Minimum Wages</a><br/>
<a href="/country-list/non-farm-payrolls" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl10_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Non Farm Payrolls</a><br/>
<a href="/country-list/part-time-employment" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl11_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Part Time Employment</a><br/>
<a href="/country-list/population" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl12_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Population</a><br/>
<a href="/country-list/productivity" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl13_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Productivity</a><br/>
<a href="/country-list/retirement-age-men" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl14_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Retirement Age Men</a><br/>
<a href="/country-list/retirement-age-women" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl15_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Retirement Age Women</a><br/>
<a href="/country-list/unemployed-persons" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl16_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Unemployed Persons</a><br/>
<a href="/country-list/unemployment-rate" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl17_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Unemployment Rate</a><br/>
<a href="/country-list/wage-growth" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl18_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Wage Growth</a><br/>
<a href="/country-list/wages" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl19_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Wages</a><br/>
<a href="/country-list/wages-in-manufacturing" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl20_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Wages in Manufacturing</a><br/>
<a href="/country-list/youth-unemployment-rate" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl03_Repeater2_ctl21_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Youth Unemployment Rate</a><br/>
</div>
</div>
</div>
<div class="accordion-item card-small-spacing">
<h2 class="accordion-header">
<button aria-controls="4" aria-expanded="false" class="accordion-button collapsed" data-bs-parent="#accordion" data-bs-target="#4" data-bs-toggle="collapse" type="button">
<b class="dropdown-toggle"></b>  Prices
                        </button>
</h2>
<div class="accordion-collapse collapse" data-bs-parent="#accordion" id="4">
<div class="accordion-body">
<a href="/country-list/consumer-price-index-cpi" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl04_Repeater2_ctl00_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Consumer Price Index CPI</a><br/>
<a href="/country-list/core-consumer-prices" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl04_Repeater2_ctl01_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Core Consumer Prices</a><br/>
<a href="/country-list/core-inflation-rate" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl04_Repeater2_ctl02_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Core Inflation Rate</a><br/>
<a href="/country-list/cpi-housing-utilities" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl04_Repeater2_ctl03_HyperLink2" style="text-decoration: none; text-transform: capitalize;">CPI Housing Utilities</a><br/>
<a href="/country-list/export-prices" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl04_Repeater2_ctl04_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Export Prices</a><br/>
<a href="/country-list/food-inflation" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl04_Repeater2_ctl05_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Food Inflation</a><br/>
<a href="/country-list/gdp-deflator" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl04_Repeater2_ctl06_HyperLink2" style="text-decoration: none; text-transform: capitalize;">GDP Deflator</a><br/>
<a href="/country-list/harmonised-consumer-prices" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl04_Repeater2_ctl07_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Harmonised Consumer Prices</a><br/>
<a href="/country-list/harmonised-inflation-rate-mom" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl04_Repeater2_ctl08_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Harmonised Inflation Rate MoM</a><br/>
<a href="/country-list/harmonised-inflation-rate-yoy" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl04_Repeater2_ctl09_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Harmonised Inflation Rate YoY</a><br/>
<a href="/country-list/import-prices" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl04_Repeater2_ctl10_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Import Prices</a><br/>
<a href="/country-list/inflation-expectations" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl04_Repeater2_ctl11_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Inflation Expectations</a><br/>
<a href="/country-list/inflation-rate" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl04_Repeater2_ctl12_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Inflation Rate</a><br/>
<a href="/country-list/inflation-rate-mom" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl04_Repeater2_ctl13_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Inflation Rate MoM</a><br/>
<a href="/country-list/producer-price-inflation-mom" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl04_Repeater2_ctl14_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Producer Price Inflation MoM</a><br/>
<a href="/country-list/producer-prices" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl04_Repeater2_ctl15_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Producer Prices</a><br/>
<a href="/country-list/producer-prices-change" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl04_Repeater2_ctl16_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Producer Prices Change</a><br/>
</div>
</div>
</div>
<div class="accordion-item card-small-spacing">
<h2 class="accordion-header">
<button aria-controls="5" aria-expanded="false" class="accordion-button collapsed" data-bs-parent="#accordion" data-bs-target="#5" data-bs-toggle="collapse" type="button">
<b class="dropdown-toggle"></b>  Money
                        </button>
</h2>
<div class="accordion-collapse collapse" data-bs-parent="#accordion" id="5">
<div class="accordion-body">
<a href="/country-list/banks-balance-sheet" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl05_Repeater2_ctl00_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Banks Balance Sheet</a><br/>
<a href="/country-list/cash-reserve-ratio" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl05_Repeater2_ctl01_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Cash Reserve Ratio</a><br/>
<a href="/country-list/central-bank-balance-sheet" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl05_Repeater2_ctl02_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Central Bank Balance Sheet</a><br/>
<a href="/country-list/deposit-interest-rate" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl05_Repeater2_ctl03_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Deposit Interest Rate</a><br/>
<a href="/country-list/foreign-exchange-reserves" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl05_Repeater2_ctl04_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Foreign Exchange Reserves</a><br/>
<a href="/country-list/interbank-rate" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl05_Repeater2_ctl05_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Interbank Rate</a><br/>
<a href="/country-list/interest-rate" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl05_Repeater2_ctl06_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Interest Rate</a><br/>
<a href="/country-list/lending-rate" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl05_Repeater2_ctl07_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Lending Rate</a><br/>
<a href="/country-list/loan-growth" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl05_Repeater2_ctl08_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Loan Growth</a><br/>
<a href="/country-list/loans-to-private-sector" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl05_Repeater2_ctl09_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Loans to Private Sector</a><br/>
<a href="/country-list/money-supply-m0" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl05_Repeater2_ctl10_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Money Supply M0</a><br/>
<a href="/country-list/money-supply-m1" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl05_Repeater2_ctl11_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Money Supply M1</a><br/>
<a href="/country-list/money-supply-m2" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl05_Repeater2_ctl12_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Money Supply M2</a><br/>
<a href="/country-list/money-supply-m3" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl05_Repeater2_ctl13_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Money Supply M3</a><br/>
<a href="/country-list/private-debt-to-gdp" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl05_Repeater2_ctl14_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Private Debt to GDP</a><br/>
</div>
</div>
</div>
<div class="accordion-item card-small-spacing">
<h2 class="accordion-header">
<button aria-controls="6" aria-expanded="false" class="accordion-button collapsed" data-bs-parent="#accordion" data-bs-target="#6" data-bs-toggle="collapse" type="button">
<b class="dropdown-toggle"></b>  Government
                        </button>
</h2>
<div class="accordion-collapse collapse" data-bs-parent="#accordion" id="6">
<div class="accordion-body">
<a href="/country-list/asylum-applications" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl06_Repeater2_ctl00_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Asylum Applications</a><br/>
<a href="/country-list/corruption-index" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl06_Repeater2_ctl01_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Corruption Index</a><br/>
<a href="/country-list/corruption-rank" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl06_Repeater2_ctl02_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Corruption Rank</a><br/>
<a href="/country-list/rating" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl06_Repeater2_ctl03_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Credit Rating</a><br/>
<a href="/country-list/fiscal-expenditure" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl06_Repeater2_ctl04_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Fiscal Expenditure</a><br/>
<a href="/country-list/government-budget" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl06_Repeater2_ctl05_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Government Budget</a><br/>
<a href="/country-list/government-budget-value" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl06_Repeater2_ctl06_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Government Budget Value</a><br/>
<a href="/country-list/government-debt" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl06_Repeater2_ctl07_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Government Debt</a><br/>
<a href="/country-list/government-debt-to-gdp" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl06_Repeater2_ctl08_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Government Debt to GDP</a><br/>
<a href="/country-list/government-revenues" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl06_Repeater2_ctl09_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Government Revenues</a><br/>
<a href="/country-list/government-spending" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl06_Repeater2_ctl10_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Government Spending</a><br/>
<a href="/country-list/government-spending-to-gdp" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl06_Repeater2_ctl11_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Government Spending to GDP</a><br/>
<a href="/holidays" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl06_Repeater2_ctl12_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Holidays</a><br/>
<a href="/country-list/military-expenditure" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl06_Repeater2_ctl13_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Military Expenditure</a><br/>
</div>
</div>
</div>
<div class="accordion-item card-small-spacing">
<h2 class="accordion-header">
<button aria-controls="7" aria-expanded="false" class="accordion-button collapsed" data-bs-parent="#accordion" data-bs-target="#7" data-bs-toggle="collapse" type="button">
<b class="dropdown-toggle"></b>  Business
                        </button>
</h2>
<div class="accordion-collapse collapse" data-bs-parent="#accordion" id="7">
<div class="accordion-body">
<a href="/country-list/bankruptcies" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl00_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Bankruptcies</a><br/>
<a href="/country-list/business-confidence" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl01_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Business Confidence</a><br/>
<a href="/country-list/capacity-utilization" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl02_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Capacity Utilization</a><br/>
<a href="/country-list/car-production" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl03_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Car Production</a><br/>
<a href="/country-list/car-registrations" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl04_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Car Registrations</a><br/>
<a href="/country-list/cement-production" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl05_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Cement Production</a><br/>
<a href="/country-list/changes-in-inventories" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl06_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Changes in Inventories</a><br/>
<a href="/country-list/composite-pmi" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl07_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Composite PMI</a><br/>
<a href="/country-list/corporate-profits" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl08_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Corporate Profits</a><br/>
<a href="/country-list/electricity-production" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl09_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Electricity Production</a><br/>
<a href="/country-list/factory-orders" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl10_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Factory Orders</a><br/>
<a href="/country-list/industrial-production" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl11_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Industrial Production</a><br/>
<a href="/country-list/industrial-production-mom" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl12_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Industrial Production Mom</a><br/>
<a href="/country-list/leading-economic-index" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl13_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Leading Economic Index</a><br/>
<a href="/country-list/manufacturing-pmi" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl14_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Manufacturing PMI</a><br/>
<a href="/country-list/manufacturing-production" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl15_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Manufacturing Production</a><br/>
<a href="/country-list/mining-production" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl16_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Mining Production</a><br/>
<a href="/country-list/new-orders" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl17_HyperLink2" style="text-decoration: none; text-transform: capitalize;">New Orders</a><br/>
<a href="/country-list/services-pmi" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl18_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Services PMI</a><br/>
<a href="/country-list/small-business-sentiment" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl19_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Small Business Sentiment</a><br/>
<a href="/country-list/steel-production" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl20_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Steel Production</a><br/>
<a href="/country-list/total-vehicle-sales" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl21_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Total Vehicle Sales</a><br/>
<a href="/country-list/zew-economic-sentiment-index" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl07_Repeater2_ctl22_HyperLink2" style="text-decoration: none; text-transform: capitalize;">ZEW Economic Sentiment Index</a><br/>
</div>
</div>
</div>
<div class="accordion-item card-small-spacing">
<h2 class="accordion-header">
<button aria-controls="8" aria-expanded="false" class="accordion-button collapsed" data-bs-parent="#accordion" data-bs-target="#8" data-bs-toggle="collapse" type="button">
<b class="dropdown-toggle"></b>  Consumer
                        </button>
</h2>
<div class="accordion-collapse collapse" data-bs-parent="#accordion" id="8">
<div class="accordion-body">
<a href="/country-list/bank-lending-rate" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl08_Repeater2_ctl00_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Bank Lending Rate</a><br/>
<a href="/country-list/consumer-confidence" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl08_Repeater2_ctl01_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Consumer Confidence</a><br/>
<a href="/country-list/consumer-credit" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl08_Repeater2_ctl02_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Consumer Credit</a><br/>
<a href="/country-list/consumer-spending" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl08_Repeater2_ctl03_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Consumer Spending</a><br/>
<a href="/country-list/disposable-personal-income" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl08_Repeater2_ctl04_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Disposable Personal Income</a><br/>
<a href="/country-list/gasoline-prices" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl08_Repeater2_ctl05_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Gasoline Prices</a><br/>
<a href="/country-list/households-debt-to-gdp" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl08_Repeater2_ctl06_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Households Debt to GDP</a><br/>
<a href="/country-list/households-debt-to-income" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl08_Repeater2_ctl07_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Households Debt to Income</a><br/>
<a href="/country-list/personal-savings" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl08_Repeater2_ctl08_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Personal Savings</a><br/>
<a href="/country-list/personal-spending" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl08_Repeater2_ctl09_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Personal Spending</a><br/>
<a href="/country-list/private-sector-credit" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl08_Repeater2_ctl10_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Private Sector Credit</a><br/>
<a href="/country-list/retail-sales-mom" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl08_Repeater2_ctl11_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Retail Sales MoM</a><br/>
<a href="/country-list/retail-sales-yoy" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl08_Repeater2_ctl12_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Retail Sales YoY</a><br/>
</div>
</div>
</div>
<div class="accordion-item card-small-spacing">
<h2 class="accordion-header">
<button aria-controls="9" aria-expanded="false" class="accordion-button collapsed" data-bs-parent="#accordion" data-bs-target="#9" data-bs-toggle="collapse" type="button">
<b class="dropdown-toggle"></b>  Housing
                        </button>
</h2>
<div class="accordion-collapse collapse" data-bs-parent="#accordion" id="9">
<div class="accordion-body">
<a href="/country-list/building-permits" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl09_Repeater2_ctl00_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Building Permits</a><br/>
<a href="/country-list/construction-output" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl09_Repeater2_ctl01_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Construction Output</a><br/>
<a href="/country-list/home-ownership-rate" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl09_Repeater2_ctl02_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Home Ownership Rate</a><br/>
<a href="/country-list/housing-index" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl09_Repeater2_ctl03_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Housing Index</a><br/>
<a href="/country-list/housing-starts" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl09_Repeater2_ctl04_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Housing Starts</a><br/>
<a href="/country-list/price-to-rent-ratio" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl09_Repeater2_ctl05_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Price to Rent Ratio</a><br/>
<a href="/country-list/residential-property-prices" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl09_Repeater2_ctl06_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Residential Property Prices</a><br/>
</div>
</div>
</div>
<div class="accordion-item card-small-spacing">
<h2 class="accordion-header">
<button aria-controls="10" aria-expanded="false" class="accordion-button collapsed" data-bs-parent="#accordion" data-bs-target="#10" data-bs-toggle="collapse" type="button">
<b class="dropdown-toggle"></b>  Taxes
                        </button>
</h2>
<div class="accordion-collapse collapse" data-bs-parent="#accordion" id="10">
<div class="accordion-body">
<a href="/country-list/corporate-tax-rate" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl10_Repeater2_ctl00_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Corporate Tax Rate</a><br/>
<a href="/country-list/personal-income-tax-rate" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl10_Repeater2_ctl01_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Personal Income Tax Rate</a><br/>
<a href="/country-list/sales-tax-rate" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl10_Repeater2_ctl02_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Sales Tax Rate</a><br/>
<a href="/country-list/social-security-rate" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl10_Repeater2_ctl03_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Social Security Rate</a><br/>
<a href="/country-list/social-security-rate-for-companies" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl10_Repeater2_ctl04_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Social Security Rate For Companies</a><br/>
<a href="/country-list/social-security-rate-for-employees" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl10_Repeater2_ctl05_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Social Security Rate For Employees</a><br/>
</div>
</div>
</div>
<div class="accordion-item card-small-spacing">
<h2 class="accordion-header">
<button aria-controls="11" aria-expanded="false" class="accordion-button collapsed" data-bs-parent="#accordion" data-bs-target="#11" data-bs-toggle="collapse" type="button">
<b class="dropdown-toggle"></b>  Energy
                        </button>
</h2>
<div class="accordion-collapse collapse" data-bs-parent="#accordion" id="11">
<div class="accordion-body">
<a href="/country-list/crude-oil-rigs" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl11_Repeater2_ctl00_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Crude Oil Rigs</a><br/>
<a href="/country-list/natural-gas-stocks-capacity" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl11_Repeater2_ctl01_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Natural Gas Stocks Capacity</a><br/>
<a href="/country-list/natural-gas-stocks-injection" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl11_Repeater2_ctl02_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Natural Gas Stocks Injection</a><br/>
<a href="/country-list/natural-gas-stocks-inventory" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl11_Repeater2_ctl03_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Natural Gas Stocks Inventory</a><br/>
<a href="/country-list/natural-gas-stocks-withdrawal" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl11_Repeater2_ctl04_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Natural Gas Stocks Withdrawal</a><br/>
</div>
</div>
</div>
<div class="accordion-item card-small-spacing">
<h2 class="accordion-header">
<button aria-controls="12" aria-expanded="false" class="accordion-button collapsed" data-bs-parent="#accordion" data-bs-target="#12" data-bs-toggle="collapse" type="button">
<b class="dropdown-toggle"></b>  Health
                        </button>
</h2>
<div class="accordion-collapse collapse" data-bs-parent="#accordion" id="12">
<div class="accordion-body">
<a href="/country-list/hospital-beds" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl12_Repeater2_ctl00_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Hospital Beds</a><br/>
<a href="/country-list/hospitals" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl12_Repeater2_ctl01_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Hospitals</a><br/>
<a href="/country-list/icu-beds" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl12_Repeater2_ctl02_HyperLink2" style="text-decoration: none; text-transform: capitalize;">ICU Beds</a><br/>
<a href="/country-list/medical-doctors" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl12_Repeater2_ctl03_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Medical Doctors</a><br/>
<a href="/country-list/nurses" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl12_Repeater2_ctl04_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Nurses</a><br/>
</div>
</div>
</div>
<div class="accordion-item card-small-spacing">
<h2 class="accordion-header">
<button aria-controls="13" aria-expanded="false" class="accordion-button collapsed" data-bs-parent="#accordion" data-bs-target="#13" data-bs-toggle="collapse" type="button">
<b class="dropdown-toggle"></b>  Climate
                        </button>
</h2>
<div class="accordion-collapse collapse" data-bs-parent="#accordion" id="13">
<div class="accordion-body">
<a href="/country-list/co2-emissions" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl13_Repeater2_ctl00_HyperLink2" style="text-decoration: none; text-transform: capitalize;">CO2 Emissions</a><br/>
<a href="/country-list/precipitation" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl13_Repeater2_ctl01_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Precipitation</a><br/>
<a href="/country-list/temperature" id="ctl00_LeftSideMenuContainer1_ctl01_Repeater1_ctl13_Repeater2_ctl02_HyperLink2" style="text-decoration: none; text-transform: capitalize;">Temperature</a><br/>
</div>
</div>
</div>
</div>
</div>
<br/>
<br/>
<div id="ctl00_LeftSideMenuContainer1_AdAnalyticsSquare_AdPanel">
<style>.te-ad{border:thin solid #d3d3d3;width:100%;height:100%;background-image: linear-gradient(#333, #808080); text-align:left;padding:20px;color:#333}.te-ad-link{color:#fff;text-decoration:underline}.te-ad-text{padding-top:10px;color:#ededed}.te-ad-h2{font-size:24px;line-height: 22px; font-weight:700;color: #fff}.te-ad-h1{font-size:11px;padding-bottom:0; color: #fff}.te-ad-item{font-weight:bold}</style>
<a href="https://tradingeconomics.com/analytics/features.aspx?source=300x250" style="text-decoration: none;" target="_blank">
<div class="te-ad">
<div class="te-ad-h1">TRADING ECONOMICS</div>
<span class="te-ad-h2">Subscriptions  </span>
<div class="te-ad-text">
<div>
                We have a plan for your needs. Standard users can export data in a easy to use web interface. Advanced users can use our excel add-in or our Python/R/Matlab packages. API users can feed a custom application.
            </div>
<br/>
<div class="row">
<div class="col-xs-12 col-md-7">
<div class="te-ad-item">Economic Calendar</div>
<div class="te-ad-item">Historical Data</div>
<div class="te-ad-item">News Stream</div>
<div class="te-ad-item">Earnings Releases</div>
<div class="te-ad-item">Credit Ratings</div>
<div class="te-ad-item">Forecasts</div>
</div>
<div class="col-xs-12 col-md-5">
<div class="te-ad-item">Markets</div>
<div class="te-ad-item">Currencies</div>
<div class="te-ad-item">Stocks</div>
<div class="te-ad-item">Commodities</div>
<div class="te-ad-item">Bonds</div>
<div class="te-ad-item">Crypto</div>
</div>
</div>
<br/>
<div class="btn btn-primary">Get Started</div>
</div>
</div>
<br/></a>
</div>
<br/>
<div id="ctl00_LeftSideMenuContainer1_ctl02_AdPanel">
<style>.te-job-ad{background-image: linear-gradient(#f2f2f2, #fff)}.te-job-ad-text{padding-bottom:7px;padding-top:3px;}.te-job-ad-title{font-size:24px;font-weight:700;}.te-job-ad-item{font-weight:normal}
            body.dark-theme .te-job-ad{background-image: none;}
        </style>
<div class="te-job-ad">
<a href="https://tradingeconomics.com/careers.aspx?source=jobad" style="text-decoration: none;" target="_blank">
<div class="card">
<div class="card-body">
<div class="te-job-ad-title">
                    We Are Hiring
                </div>
<div class="te-job-ad-text">
                 Trading Economics welcomes candidates from around the world. Current job openings:
                </div>
<div class="te-job-ad-item"><b>Web Developer</b> | <b>Data Analyst</b> | <b>Sales</b></div>
<br/>
<span class="btn btn-info">Apply Now</span>
<br/>
</div>
</div>
</a>
<br/>
</div>
</div>
<br/>
</div>
<br/>
<br/>
<br/>
</div>
</div>
<br/>
<br/>
</div>
<div class="container-fluid te-footer">
<footer>
<div class="container">
<div class="row">
<div id="ctl00_Footer1_PanelFooter">
<style>.footer-spacer{padding: 4px}.footer-spacer-head{padding: 30px 4px 4px 4px;}@media only screen and (max-width:768px){.footer-icons{display: flex;margin-left: 50%;}.footer-icons a{padding: 0 12px 8px 0px; }}.footer-twitter{width: 50px; height: 50px;}.footer-github{width: 40px; height: 40px;}.footer-appstore{display: inline-block; overflow: hidden; background: url(//d3fy651gv2fhd3.cloudfront.net/images/appstore-lrg.svg?v=20171228) no-repeat; width: 135px; height: 40px; background-size: contain;}</style>
<br/> <br/>
<div class="container">
<div class="row">
<div class="col-lg-2 col-md-2 col-6">
<div class="footerHeader">Indicators</div>
<a class="footerItems" href="../" id="ctl00_Footer1_HyperLink6">Homepage</a><br/>
<a class="footerItems" href="../countries" id="ctl00_Footer1_HyperLink17">Countries</a><br/>
<a class="footerItems" href="../indicators" id="ctl00_Footer1_HyperLink18">Indicators</a><br/>
<a class="footerItems" href="../calendar" id="ctl00_Footer1_HyperLink1">Calendar</a><br/>
<a class="footerItems" href="../forecasts" id="ctl00_Footer1_HyperLink2">Forecasts</a><br/>
<a class="footerItems" href="rating" id="ctl00_Footer1_HyperLink11">Ratings</a>
</div>
<div class="col-lg-2 col-md-2 col-6">
<div class="footerHeader">Solutions</div>
<a href="/analytics/features.aspx?source=footer"><span class="footerItems">Data Subscriptions</span></a><br/>
<a href="/api/?source=footer"><span class="footerItems">API Access</span></a><br/>
<a href="/analytics/excel.aspx"><span class="footerItems">Excel Add-In</span></a><br/>
<a href="https://developer.tradingeconomics.com/" target="_blank"><span class="footerItems">Developer Account</span></a><br/>
<a href="https://docs.tradingeconomics.com/" target="_blank"><span class="footerItems">Documentation</span></a><br/>
<a href="/analytics/pricing.aspx?source=footer" target="_blank"><span class="footerItems">Pricing</span></a><br/>
<br/>
</div>
<div class="col-lg-2 col-md-2 col-6">
<div class="footerHeader">About Us</div>
<a class="footerItems" href="../api/customers.aspx" id="ctl00_Footer1_HyperLink8">Customers</a><br/>
<a class="footerItems" href="../careers.aspx" id="ctl00_Footer1_HyperLink23">Careers</a><br/>
<a class="footerItems" href="../investors.aspx" id="ctl00_Footer1_HyperLink21">Investors</a><br/>
<a class="footerItems" href="../advertise.aspx" id="ctl00_Footer1_HyperLink20">Advertisers</a><br/>
<a class="footerItems" href="../about-te.aspx" id="ctl00_Footer1_HyperLink19">About us</a><br/>
<a class="footerItems" href="../privacy-policy.aspx" id="ctl00_Footer1_HyperLink9">Privacy</a>
</div>
<div class="col-lg-2 col-md-2 col-6">
<div class="footer-spacer-head"></div>
<a class="footer-appstore" href="https://itunes.apple.com/us/app/trading-economics/id1142178921?mt=8"></a>
<div class="footer-spacer"></div>
<a href="https://play.google.com/store/apps/details?id=com.tradingeconomics.calendar">
<img alt="Android app on Google Play" src="https://d3fy651gv2fhd3.cloudfront.net/images/google-play.png"/></a>
</div>
</div>
</div>
<br/>
<div class="footer-copyright">
<br/>
<span>Copyright ©2024 TRADING ECONOMICS<br/>
            All Rights Reserved</span><br/>
</div>
<br/>
<br/>
</div>
</div>
</div>
</footer>
</div>
</form>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.1/js/bootstrap.bundle.min.js"></script>
<style>.modal-dialog-centered{display:flex;align-items:center;justify-content:center;height:calc(100% - 60px)}.modal-footer,.modal-header{padding:10px 15px;border:none}#menu-download-dropdown li{padding:0;border-top:none}#menu-download-dropdown li a{padding:10px 20px;display:flex}</style>
<script>
    $(function(){
        console.log("/js/pagemenu-exports")

        // Bootstrap offcanvas events, fix for static one
        $('.navbar-toggler-icon').click(function () {
            $(".pagemenu, .pagetabs").css('padding-right', '17px');
        });
        $('.userOptionsMenu').click(function () {
            $(".pagemenu, .pagetabs").css('padding-right', '17px');
        });

        $('.offcanvas').on('show.bs.offcanvas hidden.bs.offcanvas', function () {
            var isShown = $(this).hasClass('show');
            $(".pagemenu, .pagetabs").css('padding-right', isShown ? '17px' : '');
        });


        var pageTabs = document.querySelector(".pagetabs");
        if (pageTabs) {
            pageTabs.addEventListener("click", function (e) {
                if (e.target.classList.contains("scroll-top-on-click")) {
                    window.scroll(0, 0);
                }
            });
        }
        // build the event to the click
        $('body').on("click", "a[data-download]", function (event) {
            event.preventDefault();
            event.stopPropagation();
            downloadBtnClickEvent(event);
        });

        $('.pagetabs').on('click', '.page-scroll', function () {
            $('html, body').animate({
                scrollTop: $($.attr(this, 'href')).offset().top
            }, 500);
            return false;
        });

        $('.pagetabs').on('click', '.page-scroll-adjusted', function () {
            $('html, body').animate({
                scrollTop: $($.attr(this, 'href')).offset().top - 135
            }, 500);
            return false;
        });
        var indicatorPage = false, calendarPage = false, forecastPage = false, snapshotPage = false;;
        var URL = window.location.pathname;
        var hasTabs = false;

        var tab = '<li class="nav-item"><a class="nav-link dropdown-toggle" href="" id="menu-download-btn" class="dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false"><i class="bi bi-download"></i>&nbsp;Export</a>'
        tab += '<ul id="menu-download-dropdown" class="dropdown-menu">'
        tab += '<li class="dropdown-item"><a href="#" data-download="csv"><img src="https://d3fy651gv2fhd3.cloudfront.net/images/downloadicons/download-csv-filled.svg" alt="CSV download button" style="height: 25px; width: 25px">&nbsp;&nbsp;Download Data</a></li>'
        tab += '<li class="dropdown-item"><a href="#" data-download="excel"><img src="https://d3fy651gv2fhd3.cloudfront.net/images/downloadicons/microsoft-excel-filled.svg" alt="Excel download button" style="height: 25px; width: 25px">&nbsp;&nbsp;Excel Add-in</a></li>'
        tab += '<li class="dropdown-item"><a href="#" data-download="api"><img src="https://d3fy651gv2fhd3.cloudfront.net/images/downloadicons/download-api.svg" alt="API download button" style="height: 25px; width: 25px">&nbsp;&nbsp;API Access</a></li>'
        tab += '</ul></li>'

        if (
            URL.indexOf("/currencies") > -1 || URL.indexOf("/stocks") > -1 || URL.indexOf("/bonds") > -1 || URL.indexOf("/commodities") > -1 || URL.indexOf("/crypto") > -1 || URL.indexOf(":") > -1 ||
            URL.indexOf("/forecast/currency") > -1 || URL.indexOf("/forecast/stock-market") > -1 || URL.indexOf("/forecast/government-bond-10y") > -1 || URL.indexOf("/forecast/commodity") > -1 || URL.indexOf("/forecast/crypto") > -1 ||
            // !isLoggedIn because API endpoints are still not implemented
            (!isLoggedIn && URL.split('/').length == 3 && (['indicators', 'forecast'].includes(URL.split('/')[2]) || ['country-list','forecastt'].includes(URL.split('/')[1])))) {

            var download_link = "https://docs.tradingeconomics.com/";

            if (!isLoggedIn) {

                if (!hasTabs) {
                    console.log("/js/pagemenu", "appending tab")

                    if (IsMobile) {
                        var tab = "<li><a href='" + download_link + "' data-download='csv' class='nav-link'><i class='bi bi-download d-none d-lg-inline'></i>&nbsp;Export</a></li>";
                        $('#pagemenutabs').append(tab);
                    }
                    else {
                        $('#pagemenutabs').append(tab);
                    }
                    hasTabs = true;
                    snapshotPage = true;
                }
            }
            else {

                var download_link = "https://api.tradingeconomics.com/";

                if (URL.indexOf("/forecast/commodity") > -1) {
                    download_link += "/markets/forecasts/commodity";
                } else if (URL.indexOf("/forecast/currency") > -1) {
                    download_link += "/markets/forecasts/currency";
                } else if (URL.indexOf("/forecast/stock-market") > -1) {
                    download_link += "/markets/forecasts/index";
                } else if (URL.indexOf("/forecast/government-bond-10y") > -1) {
                    download_link += "/markets/forecasts/bond";
                } else if (URL.indexOf("/forecast/crypto") > -1) {
                    download_link += "/markets/forecasts/crypto";
                } else if (URL.indexOf("/currencies") > -1) {
                    download_link += "markets/currency";
                } else if (URL.indexOf("/stocks") > -1) {
                    download_link += "markets/index";
                } else if (URL.indexOf("/bonds") > -1) {
                    download_link += "markets/bond";
                } else if (URL.indexOf("/commodities") > -1) {
                    download_link += "markets/commodities";
                } else if (URL.indexOf("/crypto") > -1) {
                    download_link += "markets/crypto";
                } else if (URL.indexOf(":") > -1) {
                    var currCsvDownload = $("#data a.export-btn-csv").attr("href");
                    download_link = currCsvDownload;
                }
                if (!hasTabs) {
                    var tab = "<li class='nav-item'><a class ='nav-link' href='" + download_link + "' data-download='csv'><i class='bi bi-download'></i>&nbsp;Export</a></li>";
                    $('#pagemenutabs').append(tab);
                    hasTabs = true;
                }
            }

            snapshotPage = true;
        }
        else if (URL.indexOf("/stock-market") > -1 || URL.indexOf("/currency") > -1 || URL.indexOf("/commodity/") > -1 || URL.indexOf("yield") > -1) {
            if (!isLoggedIn && !hasTabs) {
                console.log('@pagemmenu - adding download tab')
                if (IsMobile) {
                    var tab = "<li class='nav-item'><a class ='nav-link' href='" + download_link + "' data-download='csv'><i class='bi bi-download d-none d-lg-inline'></i>&nbsp;Export</a></li>";
                    $('#pagemenutabs').append(tab);
                    hasTabs = true;
                }
                else {
                    $('#pagemenutabs').append(tab);
                }
                hasTabs = true;
            }
        }
        else if ($("#menu-download-btn") && $("#menu-download-btn").length > 0) {
            indicatorPage = true;
            buildDownloadList($("#menu-download-btn"));
            $("#menu-download-btn").click(function () {
                ga('event', 'te_click_data_dropdown');
            });
        }
        else if ($(".calendar-download") && $(".calendar-download").length > 0) {
            calendarPage = true;
            buildDownloadButton($(".calendar-download"));
        }
        else if ($(".indicators-download") && $(".indicators-download").length > 0) {
            buildDownloadButton($(".indicators-download"));
        }

        function downloadBtnClickEvent(event) {
            console.log("download click ..");
            var downloadBtn = $(event.target).closest("a");
            var dataDownload = $(downloadBtn).attr("data-download");
            if (!dataDownload)
                return;
            console.log("data-download = " + dataDownload);

            var modalTitle = "";
            var modalContent = "";
            var modalFooter = "";
            var loginReturn = "https://sso.tradingeconomics.com/?returnurl=https://tradingeconomics.com" + URL;
            var loginAction = "<a class='btn btn-outline-secondary' href='" + loginReturn + "' target='_blank'>" + (IsMobile ? "Login" : "Member?  <b>Login</b>") + "</a>";
            var GAEvent = null;

            var gCategory = null;
            if (indicatorPage) {
                gCategory = 'Indicator';
                if (gCategory && URL.indexOf("forecast") > -1) { gCategory += '_forecast' };
            }
            else if (calendarPage) {
                gCategory = 'Calendar';
                if (gCategory && URL.indexOf("forecast") > -1) { gCategory += '_forecast' };
            }
            else if (snapshotPage) {
                gCategory = 'Snapshot';
                if (URL.indexOf("/forecast/commodity") > -1) gCategory = "markets_forecasts_commodity";
                else if (URL.indexOf("/forecast/currency") > -1) gCategory = "markets_forecasts_currency";
                else if (URL.indexOf("/forecast/stock-market") > -1) gCategory = "markets_forecasts_index";
                else if (URL.indexOf("/forecast/government-bond-10y") > -1) gCategory = "_markets_forecasts_bond";
                else if (URL.indexOf("/forecast/crypto") > -1) gCategory = "markets_forecasts_crypto";
                else if (URL.indexOf("/currencies") > -1) gCategory = "markets_currency";
                else if (URL.indexOf("/stocks") > -1) gCategory = "markets_index";
                else if (URL.indexOf("/bonds") > -1) gCategory = "markets_bond";
                else if (URL.indexOf("/commodities") > -1) gCategory = "markets_commodities";
                else if (URL.indexOf("/crypto") > -1) gCategory = "markets_crypto";
                else if (URL.indexOf(":") > -1) gCategory = "markets_symbols";
                else if (URL.indexOf("/country-list/") > -1) gCategory = 'category';
                else if (URL.indexOf("/forecast/") > -1) gCategory = 'category_forecast';
                else if (URL.indexOf("forecast") > -1) gCategory = 'country_forecast';
                else if (URL.indexOf("/indicators") > -1) gCategory = 'country';
            }

            switch (dataDownload) {
                case "csv":
                    if (isLoggedIn) {
                        GAEvent = 'te_click_csv_download';
                        ga('event', GAEvent);
                        console.log('GAEvent', GAEvent);
                        downloadItem(event.target, dataDownload);
                        return;
                    } else {
                        //modalTitle = "<b>Join Trading Economics</b>";
                        modalContent = "Trading Economics has more than 20 million economic indicators for nearly 200 countries, plus exchange rates, government bond yields, stock indexes, shares and  commodity prices. ";
                        modalContent += "Subscription users can use our site to export data in <b>CSV</b>, <b>JSON</b> or <b>XML</b>. Users can get it directly through an <b>Excel</b> add-in. ";
                        modalContent += "Clients can also use an <b>API</b> to have direct access to our data, to query our real-time economic calendar and to subscribe to updates from any programming language.";
                        modalFooter += "<div style='text-align:center;'><div class='btn-group'><a class='btn btn-outline-secondary' href='https://tradingeconomics.com/analytics/features.aspx' target='_blank'>Learn More</a>";
                        modalFooter += "<a class='btn btn-outline-secondary' href='https://tradingeconomics.com/analytics/pricing.aspx' target='_blank'>Pricing</a>";
                        modalFooter += "<a class='btn btn-outline-secondary' href='https://tradingeconomics.com/contact.aspx?subject=data' target='_blank'>" + (IsMobile ? "Contact" : "Questions? <b>Contact us</b>") + "</a>";
                        modalFooter += loginAction;
                        modalFooter += "</div></div>"

                        GAEvent = 'te_click_csv';
                        if (gCategory != null) GAEvent += '_' + gCategory.toLowerCase();
                    }
                    break;
                case "excel":
                    modalTitle = "<b>Trading Economics Excel Add-in</b>";
                    modalContent += "The Trading Economics Excel Addin allows users with an active subscription to access our data directly from excel. "
                    modalContent += "Trading Economic provides more than 20 million economic indicators for nearly 200 countries, plus exchange rates, government bond yields, stock indexes, and commodity prices. ";
                    modalFooter = "<div style='text-align:center;'><div class='btn-group'><a class='btn btn-outline-secondary' href='https://tradingeconomics.com/analytics/excel.aspx' target='_blank'>Learn More</a>";
                    modalFooter += "<a class='btn btn-outline-secondary'  data-download='excel-addin'>Download Addin</a>";
                    modalFooter += "<a class='btn btn-outline-secondary' href='https://tradingeconomics.com/contact.aspx?subject=excel' target='_blank'>Questions? <b>Contact us</b></a>";
                    if (!isLoggedIn)
                        modalFooter += loginAction;
                    modalFooter += "</div></div>";

                    GAEvent = 'te_click_excel';
                    if (gCategory != null) GAEvent += '_' + gCategory.toLowerCase();

                    break;
                case "api":
                    modalTitle = "<b>Trading Economics API</b>";
                    modalContent = "<div>";
                    modalContent += "API Users have direct access to our economic data from any programming language, can query our real-time calendar, retrieve financial market quotes and subscribe to live updates. ";
                    modalContent += "Trading Economics provides more than 20 million economic indicators for nearly 200 countries, plus exchange rates, government bond yields, stock indexes, and commodity prices."
                    modalContent += "</div>";
                    modalFooter = "<div style='text-align:center;'><div class='btn-group'><a class='btn btn-outline-secondary' href='https://tradingeconomics.com/api/' target='_blank'>Learn More</a>";
                    modalFooter += "<a class='btn btn-outline-secondary' href='https://docs.tradingeconomics.com/' target='_blank'>API Docs</a>";
                    modalFooter += "<a class='btn btn-outline-secondary' href='https://tradingeconomics.com/api/contact.aspx' target='_blank'>Questions? <b>Contact us</b></a>";
                    if (!isLoggedIn)
                        modalFooter += loginAction;
                    modalFooter += "</div></div>";

                    GAEvent = 'te_click_api';
                    if (gCategory != null) GAEvent += '_' + gCategory.toLowerCase();

                    break;
                case "api-calendar":
                    modalTitle = "<b>Trading Economics API</b>"
                    modalContent = "The Trading Economics API provides you with direct access to our calendar,  instant updates after economic events get released, historical data on thousands of indicators and live market quotes. ";

                    modalFooter = "<div style='text-align:center'><div class='btn-group'><a class='btn btn-outline-secondary' href='../api/?source=calendar' target='_blank'>Learn More</a>";
                    modalFooter += "<a class='btn btn-outline-secondary' href='https://tradingeconomics.com/api/contact.aspx?subject=api+calendar' target='_blank'>Any question? <b>Contact us</b></a>";
                    if (!isLoggedIn)
                        modalFooter += loginAction;
                    modalFooter += "</div></div>";

                    GAEvent = 'te_click_calendar_api';
                    break;

                case "excel-addin":
                    GAEvent = 'te_click_excel';
                    window.location = 'https://github.com/tradingeconomics/tradingeconomics/raw/master/Excel/All_Releases/ExcelAddInDeploy_latest.msi';
                    return;
                    break;

                case "forecast":
                    //modalTitle = "<b>Trading Economics Forecasts</b>";
                    modalContent += "At TRADING ECONOMICS, our forecasts rely on our proprietary global macro model and analysts expectations. We believe that global economies and financial markets are closely intertwined. Our approach involves establishing a general directional bias and then utilizing computer algorithms to calculate price levels. "
                    modalContent += "<br><br>We have five standard investment ratings: "
                    modalContent += "<br><br><img class='recommendation-img' src='//d3fy651gv2fhd3.cloudfront.net/images/recommendations.png' />"
                    modalContent += "<br><br><p><b>Disclaimer</b></p>";
                    modalContent += "Forecasts and ratings displayed on TRADING ECONOMICS are for informational purposes only. Trading involves a significant risk of loss and may not be suitable for all investors. Therefore, we advise users to exercise caution and do their own research before making any financial decisions."
                    modalFooter += "</div></div>"
                    GAEvent = 'te_click_forecast';
            }

            if (GAEvent != null) {
                ga('event', GAEvent);
                console.log('GAEvent: ', GAEvent);
            }

            showDownloadModal(modalTitle, modalContent, modalFooter);
        }


        function showDownloadModal(modalTitle, modalContent, modalFooter) {
            var modal = "<div class ='modal' id='downloadModal' tabindex='-1' role='dialog' aria-labelledby='myModalLabel'>";
            modal += "<div class='modal-dialog modal-dialog-centered' role='document'>";
            modal += "<div class='modal-content'>";
            modal += "<div class='modal-header'><div class='modal-title'></div><button type='button' class ='btn-close' data-bs-dismiss='modal' aria-label='Close'></button></div>";
            modal += "<div class='modal-body' style='text-align:justify;'></div>"
            modal += "<div class='modal-footer'></div>"
            modal += "</div></div></div>"

            var jModal = $(modal);

            $(jModal).find(".modal-title").html(modalTitle);

            // define the modal content
            if (modalContent)
                $(jModal).find(".modal-body").html(modalContent);
            else
                $(jModal).find(".modal-body").remove();

            // define the modal footer
            if (modalFooter)
                $(jModal).find(".modal-footer").html(modalFooter);
            else
                $(jModal).find(".modal-footer").remove();

            $(jModal).on('show.bs.modal', function (e) {
                $(".navbar").css("padding-right", "17px");
                $(".pagemenu").css("padding-right", "17px");
                $(".pagetabs").css("padding-right", "17px");
            });

            $(jModal).on('hide.bs.modal', function (e) {
                $(".navbar").css("padding-right", "");
                $(".pagemenu").css("padding-right", "");
                $(".pagetabs").css("padding-right", "");
            });


            $(jModal).modal("show");
        }

        function buildDownloadList(downloadBtn) {
            console.log("/js/pagemenu", "buildDownloadList", downloadBtn)
            downloadBtn.addClass("dropdown-toggle");
            downloadBtn.attr("data-bs-toggle", "dropdown");
            var csvLink = $("<li><a href='#' data-download='csv'><img src='https://d3fy651gv2fhd3.cloudfront.net/images/downloadicons/download-csv-filled.svg' alt='CSV download button' style='height: 25px; width: 25px'>&nbsp;&nbsp;Download Data</a></li>");
            var excelLink = $("<li><a href='#' data-download='excel'><img src='https://d3fy651gv2fhd3.cloudfront.net/images/downloadicons/microsoft-excel-filled.svg' alt='Excel download button' style='height: 25px; width: 25px'>&nbsp;&nbsp;Excel Add-in</a></li>");
            var apiLink = $("<li><a href='#' data-download='api'><img src='https://d3fy651gv2fhd3.cloudfront.net/images/downloadicons/download-api.svg' alt='API download button' style='height: 25px; width: 25px'>&nbsp;&nbsp;API Access</a></li>");
            var dataportalLink = $("<li><a href='https://data.tradingeconomics.com'><i class='bi bi-save2-fill ms-1'></i>&nbsp;&nbsp;Data Portal</a></li>");

            // THIS IS A HACK SO WE DONT NEED TO REWRITE THE LINK BUILT IN THIS MOMENT
            var currCsvDownload = $("#data a.export-btn-csv").attr("href");
            if (currCsvDownload)
                csvLink = $("<li><a href='" + currCsvDownload + "' data-download='csv' target='_blank'><img src='https://d3fy651gv2fhd3.cloudfront.net/images/downloadicons/download-csv-filled.svg' alt='CSV download button' style='height: 25px; width: 25px'>&nbsp;&nbsp;Download Data</a></li>");
            var downloadList = $("<ul id='menu-download-dropdown' class='dropdown-menu'>");
            downloadList.append(csvLink);
            downloadList.append(excelLink);
            downloadList.append(apiLink);

            if (isLoggedIn) downloadList.append(dataportalLink);

            downloadBtn.after(downloadList);
        }

        function buildDownloadButton(container) {
            if (isLoggedIn) {
                var downloadBtn = $("<a id='HyperLinkToDownload' href='https://api.tradingeconomics.com/calendar' class='btn btn-info' data-download='csv'><i class='bi bi-download'></i><span class='d-none d-lg-inline'>&nbsp;Download</span></a>");
                var apiBtn = $("<a id='HyperLinkToAPI' href='#' class='btn btn btn-outline-secondary' data-download='api-calendar'><i class='bi bi-grid-fill hidden-sm'></i>&nbsp;API</a>");
                $(container).append(downloadBtn);
                $(container).append(apiBtn);
            } else {
                var downloadBtn = $("<a id='HyperLinkToDownload' href='https://api.tradingeconomics.com/calendar' class='btn btn-outline-secondary' data-download='api-calendar'><i class='bi bi-download'></i><span class='d-none d-lg-inline'>&nbsp;Download</span></a>");
                $(container).append(downloadBtn);
            }
        }


        var lock_download = false;
        function downloadItem(target, format) {

            target = $(target).closest('a');

            if (!target || target.length == 0 || !$(target).is('a')) {
                console.log('Download link not found');
                return;
            }

            if (lock_download)
                return;

            lock_download = true;

            var url = $(target).attr('href');
            console.log('url to download = ' + url);

            var d_type = format;
            if (format == 'csv') {
                url = url.replace('format=csv', 'format=json');
                d_type = 'json';
            }

            var loader = $("<span>&nbsp;</span><div class='loader' style='height: 15px;width: 15px;display: inline-block;vertical-align: text-bottom;'></div>");
            $(target).append(loader);

            $.ajax({
                url: url,
                type: "GET",
                dataType: d_type,
                xhrFields: {
                    withCredentials: true
                },
            }).done(function (data, status, xhr) {
                console.log('SUCCESS');
                console.log('status = ' + xhr.status);
                console.log('data = ' + data.length);

                // ga event for logged in successful CSV download
                if (indicatorPage) {
                    var GAEvent = 'te_click_data_dropdown'
                    ga('event', GAEvent, { 'format': format });
                    console.log('GAEvent:', GAEvent);
                }
                else if (calendarPage) {
                    var GAEvent = 'te_click_calendar'
                    ga('event', GAEvent, { 'format': format });
                    console.log('GAEvent:', GAEvent);
                }
                else if (snapshotPage) {
                    var GAEvent = 'te_click_snapshot'
                    ga('event', GAEvent, { 'format': format });
                    console.log('GAEvent:', GAEvent);
                }
                var filename = buildFilename(url, format);
                downloadData(data, filename, format);

            }).fail(function (xhr, status, error) {
                console.log('ERROR');
                console.log('status = ' + xhr.status);
                console.log('error message = ' + xhr.responseText)

                // ga event for logged in failed CSV download
                if (indicatorPage) {
                    var GAEvent = 'te_click_data_dropdown'
                    ga('event', GAEvent, { 'format': format });
                    console.log('GAEvent::', GAEvent);
                }
                else if (calendarPage) {
                    var GAEvent = 'te_click_calendar'
                    ga('event', GAEvent, { 'format': format });
                    console.log('GAEvent::', GAEvent);
                }
                else if (snapshotPage) {
                    var GAEvent = 'te_click_snapshot'
                    ga('event', GAEvent, { 'format': format });
                    console.log('GAEvent::', GAEvent);
                }
                if (xhr.status) {
                    switch (xhr.status) {
                        case 401: // unauthorized
                            launchInvalidKeyModal();
                            break;
                        case 403: // forbidden
                            launchTrialOverModal();
                            break;
                        case 400: // bad request
                            launchBadRequestModal();
                            break;
                        case 409: // conflict (more requests per second than allowed)
                            launchThrottleModal();
                            break;
                        default:
                            console.log('Unhandled status = ' + xhr.status)
                            var redirect_url = '';
                            if (TECountry) {
                                redirect_url = 'https://data.tradingeconomics.com/data/export/bycountry?country=' + TECountry;
                            } else {
                                redirect_url = 'https://data.tradingeconomics.com/';
                            }
                            console.log('redirecting to: ' + redirect_url);
                            window.open(redirect_url, '_blank');
                            break;
                    }
                }
            }).always(function (xhr, status, error) {
                lock_download = false;
                console.log('done downloading!');
                loader.remove();
            });
        };

        function buildFilename(url, format) {
            var filename = decodeURI(url);
            filename = filename.replace("https://api.tradingeconomics.com/", "");
            var questionMark = filename.indexOf('?');
            if (questionMark != -1)
                filename = filename.substring(0, questionMark);
            filename = filename.replace(/\//g, '_');
            filename = filename.replace(/\s/g, '_');
            filename = filename.replace(/:/g, '_');
            filename = filename.replace(/-/g, '_');
            return filename + '.' + format;
        }

        function downloadData(data, filename, type) {
            var dataFile = null;

            switch (type) {
                case "csv":
                    var csv = convertArrayOfObjectsToCSV({ data: data });
                    if (csv == null) return;
                    // create the csv file
                    var dataFile = new Blob([csv], { type: "text/csv;charset=utf-8" });
                    break;
                case "json":
                    var dataFile = new Blob([JSON.stringify(data)], { type: "text/json;charset=utf-8" });
                    break;
                case "xml":
                    var dataFile = new Blob([new XMLSerializer().serializeToString(data.documentElement)], { type: "text/plain;charset=utf-8" });
                    break;
            }

            if (dataFile != null) {
                var anchor = document.createElement('a');
                anchor.href = window.URL.createObjectURL(dataFile);
                anchor.setAttribute("d-none", true);
                anchor.setAttribute("target", "_self");
                anchor.setAttribute("download", filename);
                document.body.appendChild(anchor);
                anchor.click();
                anchor.remove();
            }
        }

        /* Download CSV from: https://halistechnology.com/2015/05/28/use-javascript-to-export-your-data-as-csv/ */
        function convertArrayOfObjectsToCSV(args) {
            var result, ctr, keys, columnDelimiter, lineDelimiter, data;

            data = args.data || null;
            if (data == null || !data.length) {
                return null;
            }

            columnDelimiter = args.columnDelimiter || ',';
            lineDelimiter = args.lineDelimiter || '\r\n';

            keys = Object.keys(data[0]);

            result = '';
            result += keys.join(columnDelimiter);
            result += lineDelimiter;

            data.forEach(function (item) {
                ctr = 0;
                keys.forEach(function (key) {
                    if (ctr > 0) result += columnDelimiter;

                    result += item[key];
                    ctr++;
                });
                result += lineDelimiter;
            });

            return result;
        }

        function errorModal(title, text, actionLink, actionMsg, contactSubject) {
            var modalTitle = "<span><b>" + title + "</b></span>";
            var modalFooter = "<div style='text-align:center;'><div class='btn-group'>";
            if (actionLink && actionMsg)
                modalFooter += "<a class='btn btn-primary' href='" + actionLink + "'>" + actionMsg + "</a>";
            modalFooter += "<a class='btn btn-outline-secondary' href='https://tradingeconomics.com/contact.aspx?subject=" + contactSubject + "' target='_blank'>Any question? <b>Contact us</b></a></div></div>";
            showDownloadModal(modalTitle, text, modalFooter);
        }

        function launchTrialOverModal(experience) {
            errorModal("Trading Economics Data",
                "Activate your plan to get more data from Trading Economics",
                "https://billing.tradingeconomics.com/plans.aspx?activate=true",
                "ACTIVATE",
                "account+limit");
        }

        function launchInvalidKeyModal() {
            errorModal("Trading Economics Data",
                "Trading Economics provides its premium members with access to more than 20 million indicators for 196 countries plus historical/delayed/live quotes for exchange rates, stocks, indexes, bonds and commodity prices. Subscribe to a plan to download data in a easy to use web interface, using our excel addin or our API.",
                "https://billing.tradingeconomics.com/plans.aspx?lead=true",
                "Get Started",
                "Subscription+Plans");
        }

        function launchThrottleModal() {
            errorModal("Trading Economics Data",
                "Limit of request per second reached",
                null,
                null,
                "API+Access");
        }

        function launchBadRequestModal() {
            errorModal("Trading Economics Data",
                "Something went wrong with the request, please contact support@tradingeconomics.com, or click the button bellow",
                "https://tradingeconomics.com/api/contact.aspx?subject=Bad+Request",
                "CONTACT SUPPORT",
                "API+Access");
        }
    });
</script>
<script>/*! sortable.js 0.8.0 */(function () { var a, b, c, d, e, g; a = "table[data-sortable]", d = /^-?[£$¤]?[\d,.]+%?$/, g = /^\s+|\s+$/g, c = ["click"], b = function (a, b, c) { return null != a.addEventListener ? a.addEventListener(b, c, !1) : a.attachEvent("on" + b, c) }, e = { init: function (b) { var c, d, f, g, h; for (null == b && (b = {}), null == b.selector && (b.selector = a), d = document.querySelectorAll(b.selector), h = [], f = 0, g = d.length; g > f; f++)c = d[f], h.push(e.initTable(c)); return h }, initTable: function (a) { var b, c, d, f, g, h; if (1 === (null != (h = a.tHead) ? h.rows.length : void 0) && "true" !== a.getAttribute("data-sortable-initialized")) { for (a.setAttribute("data-sortable-initialized", "true"), d = a.querySelectorAll("th"), b = f = 0, g = d.length; g > f; b = ++f)c = d[b], "false" !== c.getAttribute("data-sortable") && e.setupClickableTH(a, c, b); return a } }, setupClickableTH: function (a, d, f) { var g, h, i, j, k, l; for (i = e.getColumnType(a, f), h = function (b) { var c, g, h, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, C, D; if (b.handled === !0) return !1; for (b.handled = !0, m = "true" === this.getAttribute("data-sorted"), n = this.getAttribute("data-sorted-direction"), h = m ? "ascending" === n ? "descending" : "ascending" : i.defaultSortDirection, p = this.parentNode.querySelectorAll("th"), s = 0, w = p.length; w > s; s++)d = p[s], d.setAttribute("data-sorted", "false"), d.removeAttribute("data-sorted-direction"); if (this.setAttribute("data-sorted", "true"), this.setAttribute("data-sorted-direction", h), o = a.tBodies[0], l = [], m) { for (D = o.rows, v = 0, z = D.length; z > v; v++)g = D[v], l.push(g); for (l.reverse(), B = 0, A = l.length; A > B; B++)k = l[B], o.appendChild(k) } else { for (r = null != i.compare ? i.compare : function (a, b) { return b - a }, c = function (a, b) { return a[0] === b[0] ? a[2] - b[2] : i.reverse ? r(b[0], a[0]) : r(a[0], b[0]) }, C = o.rows, j = t = 0, x = C.length; x > t; j = ++t)k = C[j], q = e.getNodeValue(k.cells[f]), null != i.comparator && (q = i.comparator(q)), l.push([q, k, j]); for (l.sort(c), u = 0, y = l.length; y > u; u++)k = l[u], o.appendChild(k[1]) } return "function" == typeof window.CustomEvent && "function" == typeof a.dispatchEvent ? a.dispatchEvent(new CustomEvent("Sortable.sorted", { bubbles: !0 })) : void 0 }, l = [], j = 0, k = c.length; k > j; j++)g = c[j], l.push(b(d, g, h)); return l }, getColumnType: function (a, b) { var c, d, f, g, h, i, j, k, l, m, n; if (d = null != (l = a.querySelectorAll("th")[b]) ? l.getAttribute("data-sortable-type") : void 0, null != d) return e.typesObject[d]; for (m = a.tBodies[0].rows, h = 0, j = m.length; j > h; h++)for (c = m[h], f = e.getNodeValue(c.cells[b]), n = e.types, i = 0, k = n.length; k > i; i++)if (g = n[i], g.match(f)) return g; return e.typesObject.alpha }, getNodeValue: function (a) { var b; return a ? (b = a.getAttribute("data-value"), null !== b ? b : "undefined" != typeof a.innerText ? a.innerText.replace(g, "") : a.textContent.replace(g, "")) : "" }, setupTypes: function (a) { var b, c, d, f; for (e.types = a, e.typesObject = {}, f = [], c = 0, d = a.length; d > c; c++)b = a[c], f.push(e.typesObject[b.name] = b); return f } }, e.setupTypes([{ name: "numeric", defaultSortDirection: "descending", match: function (a) { return a.match(d) }, comparator: function (a) { return parseFloat(a.replace(/[^0-9.-]/g, ""), 10) || 0 } }, { name: "date", defaultSortDirection: "ascending", reverse: !0, match: function (a) { return !isNaN(Date.parse(a)) }, comparator: function (a) { return Date.parse(a) || 0 } }, { name: "alpha", defaultSortDirection: "ascending", match: function () { return !0 }, compare: function (a, b) { return a.localeCompare(b) } }]), setTimeout(e.init, 0), "function" == typeof define && define.amd ? define(function () { return e }) : "undefined" != typeof exports ? module.exports = e : window.Sortable = e }).call(this);</script>
<script async="" src="//d3fy651gv2fhd3.cloudfront.net/js/search.min.js?v=20240502" type="text/javascript"></script>
<script>
    TENotificationsHistorical = []
    TENotificationsNews = []
    //console.log('• Notifications Script Loaded - 20240701')
    
    setTimeout(() => {
        getNotificationsFromCookie()
        loadBellStatus()
    },1000)


    function loadBellStatus() {
        //console.log("• get bell status from cookie")
        var seenData = false
        const cookieData = document.cookie.split(';').find(item => item.trim().startsWith('TENewNotifications'));
        if (cookieData) {
            seenData = cookieData.split('TENewNotifications=')[1].split(',')[0]
        }

        if (seenData == 'true') {
            //console.log("new notification")
            $('#notification-new').show()
            $('#notification-empty').hide()
        } else {
            $('#notification-new').hide()
            $('#notification-empty').show()
         }
    }

    function setNotificationCookieStatus(status) {
        document.cookie = `TENewNotifications=${status.toString()}; expires=${createExpirationDate('eod')}; path=/`;
    }

    function changeIconStatus(isHover) {
        try {
            //console.log("change bell")
            if (TENotificationsHistorical.length > 0 && !isHover) {
                $('#notification-new').show()
                $('#notification-empty').hide()
                setNotificationCookieStatus(true)
            } else if (TENotificationsNews.length > 0 && !isHover) {
                $('#notification-new').show()
                $('#notification-empty').hide()
                setNotificationCookieStatus(true)
            } else {
                $('#notification-new').hide()
                $('#notification-empty').show()
                setNotificationCookieStatus(false)
            }

        } catch (e) {
            console.error(e)
        }
    }

    function timeAgo(datetime) {
        try {
            const now = new Date();
            const diff = now - new Date(datetime);
            let seconds = Math.floor(diff / 1000);
            const minuteInSecs = 60;
            const hourInSecs = minuteInSecs * 60;

            let timeAgoString;
            if (seconds < minuteInSecs) {
                if (seconds == 0) {
                    seconds = 1
                }
                const plural = seconds == 1 ? '' : 's';
                timeAgoString = `${seconds} second${plural} ago`;
            } else if (seconds < hourInSecs) {
                const minutes = Math.floor(seconds / minuteInSecs);
                timeAgoString = `${minutes} minutes ago`;
            } else {
                const hours = Math.floor(seconds / hourInSecs);
                const plural = hours > 1 ? 's' : '';
                timeAgoString = `${hours} hour${plural} ago`;
            }
            return timeAgoString;
        } catch (e) {
            console.error(e)
        }
    }

    function createExpirationDate(span) {
        const expires = new Date();
        if (span == '1d') {
            expires.setDate(expires.getDate() + 1)
            return expires.toUTCString()
        } else if (span == '1h') {
            expires.setHours(expires.getHours() + 1);
            return expires.toUTCString();
        } else if (span == 'eod') { //end of day
            const expiresTime = new Date(expires.getTime());
            expiresTime.setHours(23, 59, 59); 
            return expiresTime.toUTCString();
        }
    }

    function removeNotificationIndex(i) {
        try {
            if (TENotificationsHistorical.length == 0 && TENotificationsNews.length > 0) {
                TENotificationsNews.splice(i, 1);
                document.cookie = `TELastNews=${JSON.stringify(TENotificationsNews)}; path=/`;
            }
            if (TENotificationsHistorical.length > 0) {
                TENotificationsHistorical.splice(i, 1);
            }

            $('.notification-list').empty();
            addNotificationCookie()

            if (TENotificationsNews.length == 0 || (TENotificationsNews.length == 0 && TENotificationsHistorical.length == 0)) {
                addEmptyContent()
            }

            if (TENotificationsHistorical.length > 0 || TENotificationsNews.length > 0) {
                upsertNotification(null, true, false)
            }
        } catch (e) {
            console.error(e)
        }
    }

    function addEmptyContent() {
        try {

            //console.log("Add Empty Content")
            const notificationList = $('.notification-list');
            notificationList.empty();

                //notificationList.append('<div style="display:flex;justify-content:space-between;align-itens:center"><span style="margin-left:18px"><b>Notifications</b></span></div>')

                    let html = `<div class="empty-notificationlist">
                                    <div class="empty-notificationlist-content">
                                       <span>You have no new notifications</span>
                                       <br>                                       
                                       <i class="bi bi-bell-slash-fill"></i>
                                       <br>
                                       <div><a href="/stream" title="Show all news" class="empty-notificationlist-more"><div class="btn btn-outline-secondary">All News</div></a></div>

                                    </div>
                                </div>`;
            notificationList.append(html);
        } catch (e) {
            console.error(e)
        }
    }

    function addContent() {
        try {
            //console.log("AddContent")
            const notifiList = TENotificationsHistorical.length > 0 ? TENotificationsHistorical : TENotificationsNews;

            const notificationList = $('.notification-list');
            notificationList.empty();

            if (notifiList.length > 0) {
                notificationList.append('<div class="notificationList-first-title"><span style="margin-left:18px"><b>Notifications</b></span><span class="notifications-clean-all" title="Delete all notifications">Clear all</span></div>')


                for (let i = notifiList.length - 1; i >= 0; i--) {
                    const notification = notifiList[i];
                    let html = `<div>
                  <div class="card notificationlist-card" style="margin:0;">
                    <div class="card-body notificationlist-body">
                      <div class="notificationlist-header">
                        <div class="notificationlist-header-title"><a href="${notification.url}"><b>${notification.title}</b></a><span class="badge badge-notification-type" style="background-color:${notification.color}">${notification.type}</span></div>
                        <span id="n-${i}" title="Delete" style="cursor:pointer"><i id="cleanIndividualNotif" class="bi bi-trash3"></i></span>
                      </div>
                      <span  style="font-size:15px">${notification.text}</span>
                      <div class="notificationlist-footer">
                        <p>${timeAgo(notification.datetime)}</p>
                      </div>
                    </div>
                  </div>
                </div>`;
                    notificationList.append(html);

                    $(`#n-${i}`).on('click', function () {
                        removeNotificationIndex(i)
                    })
                }

                notificationList.append('<div class="notificationlist-more-div"><a href="/stream" title="Show more streams" class="notificationlist-more"><div class="btn btn-outline-secondary">More News</div></a></div>')


                $('.notifications-clean-all').on('click', function () {
                    //console.log("Clicked")
                    notificationList.empty();
                    if (TENotificationsHistorical.length > 0) {
                        document.cookie = "TENotifications=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/";
                        TENotificationsHistorical = []
                    } else if (TENotificationsNews.length > 0) {
                        document.cookie = `TELastNews=[]; path=/`;
                        TENotificationsNews = []
                    }
                    upsertNotification(null, true, false)
                });
            }   
        } catch (e) {
            console.error(e)
        }  
    }

    function fetchLastNews() {
        try {
            //console.log("• Fetch News")

            TENotificationsNews = []
            const newsUrl = '/ws/stream.ashx?start=0&size=3'
            fetch(newsUrl)
                    .then(response => {
                        if (!response.ok) {
                            console.error(`HTTP error! status: ${response.status}`);
                        }
                        return response.json();
                    })
                    .then(data => {
                        for (let item of data) {
                            if (item.description.length > 300) {
                                item.description = item.description.substring(0, 300) + ' ...';

                                let lastPeriodIndex = Math.min(item.description.lastIndexOf('. '), 300);

                                if (lastPeriodIndex !== -1) {
                                    item.description = item.description.substring(0, lastPeriodIndex + 1) + '..'; 
                                } else {
                                    item.description = item.description.substring(0, 300) + '...';
                                }
                            }
                            TENotificationsNews.unshift({ title: item.title, url: item.url, text: item.description, importance: item.importance, datetime: item.date, type: 'News', color: '#ddd' })
                        }
                        document.cookie = `TELastNews=${JSON.stringify(TENotificationsNews)}; path=/`;
                       // console.log("• Saved News on Cookies TELastNews")
                        upsertNotification(null, true, false)
                    })
                    .catch(error => {
                        console.error('Error fetching last news:', error);
                    });
            
            
        } catch (e) {
            console.error(e)
        } 
    }

    function getNotificationsFromCookie() {
        try {
            //console.log("• get Notifications From Cookie")
            const cookieData = document.cookie.split(';').find(item => item.trim().startsWith('TENotifications'));
            if (cookieData) {
                let encodedData = cookieData.split('TENotifications=')[1].split(',')
                //const decrompressedData = pako.inflate(encodedData, { to: 'string' });
                try {
                    TENotificationsHistorical = JSON.parse(encodedData);
                    //console.log(TENotificationsHistorical)
                    if (TENotificationsHistorical.length > 0) {
                        upsertNotification(null, true, false)
                    }
                } catch (error) {
                    console.error("Error parsing existing cookie data:", error);
                }
            }
        } catch (e) {
            console.error(e)
        }
    }

    function estimateNotificationSize() {
        return JSON.stringify(TENotificationsHistorical).length;
    }

    function getCookieSize() {
        try {
            let safeLoop = 0
            const cookies = document.cookie.split(';');
            let total = 0
            for (const cookie of cookies) {
                if (safeLoop == 50) {
                    return 0;
                }
                const [key, value] = cookie.trim().split('=');
                if (key !== 'TENotifications') {
                    total = total + JSON.stringify(cookie).length + 2
                }
                safeLoop++
            }
            return total;
        } catch (e) {
            console.error(e);
        }

    }

    function manageCookieSize(maxSize) {
        try {
            //console.log("• Check threshold of cookies size");

            const currentCookieSize = getCookieSize();
            const currentNotificationsSize = estimateNotificationSize();
            let totalBytes = currentCookieSize + currentNotificationsSize;
            let nLoopCount = 0;
            //console.log("• Current Cookies Estimated Size: " + currentCookieSize);
            //console.log("• With Notifications Cookie Estimated Size: " + currentNotificationsSize);

            if (totalBytes > maxSize) {
                while (nLoopCount < 10 && totalBytes > maxSize) {
                    //console.log("---------------------> nLoopCount: " + nLoopCount);

                    TENotificationsHistorical.shift();
                    totalBytes = currentCookieSize + estimateNotificationSize();
                    //console.log(`• Notification removed to control cookie size. New size: ${totalBytes} bytes`);

                    if (totalBytes <= maxSize) {
                        //console.log(`• Cookie size is already within limit: ${totalBytes} bytes`);
                        break;
                    }
                    nLoopCount++;
                }
            }// else {
                //console.log(`• Cookie size is within limit: ${totalBytes} bytes`);
            //}
        } catch (e) {
            console.error(e);
        }
    }

    function addNotificationCookie() {
        try {
            //console.log("• Add Notifications on Cookie");
            const isEmptyNews = TENotificationsNews.length === 0;
            const isEmptyHistorical = TENotificationsHistorical.length === 0;

            document.cookie = `TELastNews=${isEmptyNews ? '[]' : JSON.stringify(TENotificationsNews)}; path=/`;

            manageCookieSize(3400);

            if (isEmptyHistorical) {
                document.cookie = `TENotifications=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/`;
            } else {
                document.cookie = `TENotifications=${JSON.stringify(TENotificationsHistorical)}; expires=${createExpirationDate('1d')}; path=/`;
            }
        } catch (e) {
            console.error(e);
        }
    }

    function createDefaultNotification(n) {
        return {
            ...n,
            datetime: new Date(),
            type: n.importance > 0 ? 'Calendar' : 'News',
            color: n.importance > 0 ? '#ffb3ba' : '#ddd',
        };
    }

    function upsertNotification(n, cookie, fromStream) {
        try {
            //console.log("-----------------------------------------------> Start of upsert Notification on list flow");
            //console.log(`• Dealing with ${JSON.stringify(n)}`);

            if (!cookie) {
                const newNotification = createDefaultNotification(n);

                const existingNotification = TENotificationsHistorical.find(item => item.text === newNotification.text);
                if (existingNotification) {
                    TENotificationsHistorical.splice(TENotificationsHistorical.indexOf(existingNotification), 1);
                }
                TENotificationsHistorical.push(newNotification);
            }

            const notificationListContainer = $('.offcanvas-top.notification-list.container');
            const notificationList = $('.notification-list');

            if (!notificationList.length) {
                notificationListContainer.append(`<div class="offcanvas-header"></div>`);
            }

            if (TENotificationsHistorical.length > 0 || TENotificationsNews.length > 0) {
                if (fromStream == true) {
                    changeIconStatus(false);
                    setNotificationCookieStatus(true);
                }

                if (!cookie) {
                    addNotificationCookie();
                }

                addContent();
            } else {
                addEmptyContent();
            }
        } catch (e) {
            console.error(e);
        }
    }

    $('.btn-notification-list').on('click', function (event) {
        //console.log('click')
        event.preventDefault()
        let cookieNewsIsPresent = false

        //console.log("• Check if there is LastNews Cookie")
        const cookieData = document.cookie.split(';').find(item => item.trim().startsWith('TELastNews'));
        if (cookieData) {
            let cookieNews = cookieData.split('TELastNews=')[1].split(',')
            cookieNewsIsPresent = true
            TENotificationsNews = JSON.parse(cookieNews)
        }

        //console.log(cookieNewsIsPresent)

        if (TENotificationsHistorical.length == 0 && TENotificationsNews.length == 0 && !cookieNewsIsPresent) {
            //console.log("IF")
            $('.offcanvas-top').removeClass("show")
            $('.offcanvas-top').removeClass("showing")
            fetchLastNews()
        } else {
            if (TENotificationsNews.length > 0 || TENotificationsHistorical.length > 0) {
                upsertNotification(null, true, false)
            } else {
                addEmptyContent()
            }
        }
        changeIconStatus(true)
    });
</script>
<script async="" src="https://www.googletagmanager.com/gtag/js?id=G-SZ14JCTXWQ"></script>
<script>
    window.dataLayer = window.dataLayer || [];
    function ga() { dataLayer.push(arguments); }
    ga('js', new Date());
    ga('config', 'G-SZ14JCTXWQ', { 'allow_google_signals': false });
</script>
</body>
</html>

Exemplo 1:

Extraindo informações do site Trading Economics


Passo 3:

Vamos extrair a tabela do conteúdo da página

# Encontrar a tabela
table = soup.find('table')
print(table)
<table class="table table-hover table-heatmap" data-sortable="">
<thead>
<tr>
<th style="cursor: pointer">Country</th>
<th data-heatmap="0" data-heatmap-limit="181" data-sortable="true" style="cursor: pointer">Last </th>
<th data-sortable="true" style="cursor: pointer">Previous </th>
<th class="d-none d-sm-block" style="cursor: pointer">Reference</th>
<th class="" data-sortable="false"> Unit</th>
</tr>
</thead>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/afghanistan/balance-of-trade">
                                        Afghanistan
                                    </a></td>
<td data-heatmap-value="0"><span class="te-value-negative">-6798</span></td>
<td><span class="te-value-negative">-5169</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/albania/balance-of-trade">
                                        Albania
                                    </a></td>
<td data-heatmap-value="-1"><span class="te-value-negative">-52150</span></td>
<td><span class="te-value-negative">-41945</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">ALL Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/algeria/balance-of-trade">
                                        Algeria
                                    </a></td>
<td data-heatmap-value="-2">3790</td>
<td>2338</td>
<td class="d-none d-sm-table-cell"><span>Sep/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/angola/balance-of-trade">
                                        Angola
                                    </a></td>
<td data-heatmap-value="-3">5627</td>
<td>6362</td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/argentina/balance-of-trade">
                                        Argentina
                                    </a></td>
<td data-heatmap-value="-4">1575</td>
<td>1911</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/armenia/balance-of-trade">
                                        Armenia
                                    </a></td>
<td data-heatmap-value="-5"><span class="te-value-negative">-372</span></td>
<td><span class="te-value-negative">-315</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/aruba/balance-of-trade">
                                        Aruba
                                    </a></td>
<td data-heatmap-value="-6"><span class="te-value-negative">-632</span></td>
<td><span class="te-value-negative">-680</span></td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">AWG Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/australia/balance-of-trade">
                                        Australia
                                    </a></td>
<td data-heatmap-value="-7">5589</td>
<td>5052</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">AUD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/austria/balance-of-trade">
                                        Austria
                                    </a></td>
<td data-heatmap-value="-8">2.5</td>
<td>303</td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/azerbaijan/balance-of-trade">
                                        Azerbaijan
                                    </a></td>
<td data-heatmap-value="-9">2669439</td>
<td>2829101</td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">USD Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/bahamas/balance-of-trade">
                                        Bahamas
                                    </a></td>
<td data-heatmap-value="-10"><span class="te-value-negative">-825</span></td>
<td><span class="te-value-negative">-881</span></td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">BSD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/bahrain/balance-of-trade">
                                        Bahrain
                                    </a></td>
<td data-heatmap-value="-11"><span class="te-value-negative">-162</span></td>
<td><span class="te-value-negative">-150</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">BHD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/bangladesh/balance-of-trade">
                                        Bangladesh
                                    </a></td>
<td data-heatmap-value="-12"><span class="te-value-negative">-268</span></td>
<td><span class="te-value-negative">-171</span></td>
<td class="d-none d-sm-table-cell"><span>Apr/24</span></td>
<td class="">BDT Billion</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/barbados/balance-of-trade">
                                        Barbados
                                    </a></td>
<td data-heatmap-value="-13"><span class="te-value-negative">-259451</span></td>
<td><span class="te-value-negative">-262785</span></td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">BBD Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/belarus/balance-of-trade">
                                        Belarus
                                    </a></td>
<td data-heatmap-value="-14"><span class="te-value-negative">-197</span></td>
<td><span class="te-value-negative">-532</span></td>
<td class="d-none d-sm-table-cell"><span>Jan/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/belgium/balance-of-trade">
                                        Belgium
                                    </a></td>
<td data-heatmap-value="-15">2250</td>
<td>3307</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/belize/balance-of-trade">
                                        Belize
                                    </a></td>
<td data-heatmap-value="-16"><span class="te-value-negative">-207222</span></td>
<td><span class="te-value-negative">-189608</span></td>
<td class="d-none d-sm-table-cell"><span>Apr/24</span></td>
<td class="">BZD Thousands</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/benin/balance-of-trade">
                                        Benin
                                    </a></td>
<td data-heatmap-value="-17"><span class="te-value-negative">-410</span></td>
<td><span class="te-value-negative">-333</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">XOF Billion</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/bermuda/balance-of-trade">
                                        Bermuda
                                    </a></td>
<td data-heatmap-value="-18"><span class="te-value-negative">-134</span></td>
<td><span class="te-value-negative">-116</span></td>
<td class="d-none d-sm-table-cell"><span>Sep/23</span></td>
<td class="">BMD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/bhutan/balance-of-trade">
                                        Bhutan
                                    </a></td>
<td data-heatmap-value="-19"><span class="te-value-negative">-14818</span></td>
<td><span class="te-value-negative">-11977</span></td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">BTN Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/bolivia/balance-of-trade">
                                        Bolivia
                                    </a></td>
<td data-heatmap-value="-20"><span class="te-value-negative">-86.3</span></td>
<td><span class="te-value-negative">-80.8</span></td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/bosnia-and-herzegovina/balance-of-trade">
                                        Bosnia and Herzegovina
                                    </a></td>
<td data-heatmap-value="-21"><span class="te-value-negative">-1191300</span></td>
<td><span class="te-value-negative">-1138222</span></td>
<td class="d-none d-sm-table-cell"><span>Feb/24</span></td>
<td class="">BAM Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/botswana/balance-of-trade">
                                        Botswana
                                    </a></td>
<td data-heatmap-value="-22"><span class="te-value-negative">-2357</span></td>
<td><span class="te-value-negative">-1750</span></td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">BWP Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/brazil/balance-of-trade">
                                        Brazil
                                    </a></td>
<td data-heatmap-value="-23">7640</td>
<td>6710</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/brunei/balance-of-trade">
                                        Brunei
                                    </a></td>
<td data-heatmap-value="-24">371</td>
<td>422</td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">BND Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/bulgaria/balance-of-trade">
                                        Bulgaria
                                    </a></td>
<td data-heatmap-value="-25"><span class="te-value-negative">-640</span></td>
<td><span class="te-value-negative">-1249</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">BGN Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/burkina-faso/balance-of-trade">
                                        Burkina Faso
                                    </a></td>
<td data-heatmap-value="-26"><span class="te-value-negative">-262</span></td>
<td><span class="te-value-negative">-243</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">XOF Billion</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/burundi/balance-of-trade">
                                        Burundi
                                    </a></td>
<td data-heatmap-value="-27"><span class="te-value-negative">-202159</span></td>
<td><span class="te-value-negative">-189767</span></td>
<td class="d-none d-sm-table-cell"><span>Apr/24</span></td>
<td class="">BIF Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/cambodia/balance-of-trade">
                                        Cambodia
                                    </a></td>
<td data-heatmap-value="-28"><span class="te-value-negative">-2721</span></td>
<td>714</td>
<td class="d-none d-sm-table-cell"><span>Apr/24</span></td>
<td class="">KHR Billion</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/cameroon/balance-of-trade">
                                        Cameroon
                                    </a></td>
<td data-heatmap-value="-29"><span class="te-value-negative">-123</span></td>
<td><span class="te-value-negative">-135</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">XAF Billion</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/canada/balance-of-trade">
                                        Canada
                                    </a></td>
<td data-heatmap-value="-30">638</td>
<td><span class="te-value-negative">-1610</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">CAD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/cape-verde/balance-of-trade">
                                        Cape Verde
                                    </a></td>
<td data-heatmap-value="-31"><span class="te-value-negative">-8480</span></td>
<td><span class="te-value-negative">-7213</span></td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">CVE Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/cayman-islands/balance-of-trade">
                                        Cayman Islands
                                    </a></td>
<td data-heatmap-value="-32"><span class="te-value-negative">-1489</span></td>
<td><span class="te-value-negative">-1467</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">KYD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/chad/balance-of-trade">
                                        Chad
                                    </a></td>
<td data-heatmap-value="-33">1464</td>
<td>1948</td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">XAF Billion</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/chile/balance-of-trade">
                                        Chile
                                    </a></td>
<td data-heatmap-value="-34">1295</td>
<td>1990</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/china/balance-of-trade">
                                        China
                                    </a></td>
<td data-heatmap-value="-35">84.65</td>
<td>99.05</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Billion</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/colombia/balance-of-trade">
                                        Colombia
                                    </a></td>
<td data-heatmap-value="-36"><span class="te-value-negative">-0.84</span></td>
<td><span class="te-value-negative">-1.09</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Billion</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/comoros/balance-of-trade">
                                        Comoros
                                    </a></td>
<td data-heatmap-value="-37"><span class="te-value-negative">-33412</span></td>
<td><span class="te-value-negative">-36205</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">KMF Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/congo/balance-of-trade">
                                        Congo
                                    </a></td>
<td data-heatmap-value="-38">1864</td>
<td>3940</td>
<td class="d-none d-sm-table-cell"><span>Dec/22</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/costa-rica/balance-of-trade">
                                        Costa Rica
                                    </a></td>
<td data-heatmap-value="-39"><span class="te-value-negative">-157</span></td>
<td><span class="te-value-negative">-279</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/croatia/balance-of-trade">
                                        Croatia
                                    </a></td>
<td data-heatmap-value="-40"><span class="te-value-negative">-1600</span></td>
<td><span class="te-value-negative">-1920</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/cuba/balance-of-trade">
                                        Cuba
                                    </a></td>
<td data-heatmap-value="-41"><span class="te-value-negative">-7663</span></td>
<td><span class="te-value-negative">-6465</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/22</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/cyprus/balance-of-trade">
                                        Cyprus
                                    </a></td>
<td data-heatmap-value="-42"><span class="te-value-negative">-447941</span></td>
<td><span class="te-value-negative">-693391</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Thousand</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/czech-republic/balance-of-trade">
                                        Czech Republic
                                    </a></td>
<td data-heatmap-value="-43">29318</td>
<td>11893</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">CZK Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/denmark/balance-of-trade">
                                        Denmark
                                    </a></td>
<td data-heatmap-value="-44">23629</td>
<td>19689</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">DKK Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/djibouti/balance-of-trade">
                                        Djibouti
                                    </a></td>
<td data-heatmap-value="-45">48584</td>
<td>61421</td>
<td class="d-none d-sm-table-cell"><span>Dec/22</span></td>
<td class="">DJF Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/dominican-republic/balance-of-trade">
                                        Dominican Republic
                                    </a></td>
<td data-heatmap-value="-46"><span class="te-value-negative">-1227</span></td>
<td><span class="te-value-negative">-1360</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/east-timor/balance-of-trade">
                                        East Timor
                                    </a></td>
<td data-heatmap-value="-47"><span class="te-value-negative">-80834</span></td>
<td><span class="te-value-negative">-75663</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/ecuador/balance-of-trade">
                                        Ecuador
                                    </a></td>
<td data-heatmap-value="-48">602686</td>
<td>558620</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Thousand</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/egypt/balance-of-trade">
                                        Egypt
                                    </a></td>
<td data-heatmap-value="-49"><span class="te-value-negative">-3570</span></td>
<td><span class="te-value-negative">-2681</span></td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/el-salvador/balance-of-trade">
                                        El Salvador
                                    </a></td>
<td data-heatmap-value="-50"><span class="te-value-negative">-769</span></td>
<td><span class="te-value-negative">-707</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/eritrea/balance-of-trade">
                                        Eritrea
                                    </a></td>
<td data-heatmap-value="-51"><span class="te-value-negative">-29</span></td>
<td><span class="te-value-negative">-712</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/estonia/balance-of-trade">
                                        Estonia
                                    </a></td>
<td data-heatmap-value="-52"><span class="te-value-negative">-268</span></td>
<td><span class="te-value-negative">-196</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/ethiopia/balance-of-trade">
                                        Ethiopia
                                    </a></td>
<td data-heatmap-value="-53"><span class="te-value-negative">-2920</span></td>
<td><span class="te-value-negative">-3290</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/euro-area/balance-of-trade">
                                        Euro Area
                                    </a></td>
<td data-heatmap-value="-54">22335</td>
<td>14006</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/european-union/balance-of-trade">
                                        European Union
                                    </a></td>
<td data-heatmap-value="-55">20907</td>
<td>10231</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/faroe-islands/balance-of-trade">
                                        Faroe Islands
                                    </a></td>
<td data-heatmap-value="-56">502298</td>
<td><span class="te-value-negative">-160091</span></td>
<td class="d-none d-sm-table-cell"><span>Apr/24</span></td>
<td class="">DKK Thousand</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/fiji/balance-of-trade">
                                        Fiji
                                    </a></td>
<td data-heatmap-value="-57"><span class="te-value-negative">-446784</span></td>
<td><span class="te-value-negative">-403369</span></td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">FJD Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/finland/balance-of-trade">
                                        Finland
                                    </a></td>
<td data-heatmap-value="-58">995</td>
<td>20</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/france/balance-of-trade">
                                        France
                                    </a></td>
<td data-heatmap-value="-59"><span class="te-value-negative">-6088</span></td>
<td><span class="te-value-negative">-7716</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/gabon/balance-of-trade">
                                        Gabon
                                    </a></td>
<td data-heatmap-value="-60">1312</td>
<td>1229</td>
<td class="d-none d-sm-table-cell"><span>Sep/22</span></td>
<td class="">XAF Billion</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/gambia/balance-of-trade">
                                        Gambia
                                    </a></td>
<td data-heatmap-value="-61"><span class="te-value-negative">-12454816</span></td>
<td><span class="te-value-negative">-12444934</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">GMD Thousands</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/georgia/balance-of-trade">
                                        Georgia
                                    </a></td>
<td data-heatmap-value="-62"><span class="te-value-negative">-738</span></td>
<td><span class="te-value-negative">-684</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/germany/balance-of-trade">
                                        Germany
                                    </a></td>
<td data-heatmap-value="-63">20.4</td>
<td>23.5</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Billion</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/ghana/balance-of-trade">
                                        Ghana
                                    </a></td>
<td data-heatmap-value="-64">70.9</td>
<td>324</td>
<td class="d-none d-sm-table-cell"><span>Apr/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/greece/balance-of-trade">
                                        Greece
                                    </a></td>
<td data-heatmap-value="-65"><span class="te-value-negative">-2354</span></td>
<td><span class="te-value-negative">-3390</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/guatemala/balance-of-trade">
                                        Guatemala
                                    </a></td>
<td data-heatmap-value="-66"><span class="te-value-negative">-1039</span></td>
<td><span class="te-value-negative">-1126</span></td>
<td class="d-none d-sm-table-cell"><span>Apr/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/guinea/balance-of-trade">
                                        Guinea
                                    </a></td>
<td data-heatmap-value="-67">1389</td>
<td>992</td>
<td class="d-none d-sm-table-cell"><span>Jun/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/guinea-bissau/balance-of-trade">
                                        Guinea Bissau
                                    </a></td>
<td data-heatmap-value="-68"><span class="te-value-negative">-108</span></td>
<td><span class="te-value-negative">-97</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">XOF Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/guyana/balance-of-trade">
                                        Guyana
                                    </a></td>
<td data-heatmap-value="-69">3378</td>
<td>2210</td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/haiti/balance-of-trade">
                                        Haiti
                                    </a></td>
<td data-heatmap-value="-70"><span class="te-value-negative">-156</span></td>
<td><span class="te-value-negative">-114</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/honduras/balance-of-trade">
                                        Honduras
                                    </a></td>
<td data-heatmap-value="-71"><span class="te-value-negative">-861</span></td>
<td><span class="te-value-negative">-1080</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/hong-kong/balance-of-trade">
                                        Hong Kong
                                    </a></td>
<td data-heatmap-value="-72"><span class="te-value-negative">-21842</span></td>
<td><span class="te-value-negative">-55740</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">HKD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/hungary/balance-of-trade">
                                        Hungary
                                    </a></td>
<td data-heatmap-value="-73">1095</td>
<td>1001</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/iceland/balance-of-trade">
                                        Iceland
                                    </a></td>
<td data-heatmap-value="-74"><span class="te-value-negative">-33920</span></td>
<td><span class="te-value-negative">-48051</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">ISK Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/india/balance-of-trade">
                                        India
                                    </a></td>
<td data-heatmap-value="-75"><span class="te-value-negative">-23.5</span></td>
<td><span class="te-value-negative">-21</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Billion</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/indonesia/balance-of-trade">
                                        Indonesia
                                    </a></td>
<td data-heatmap-value="-76">470</td>
<td>2395</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/iran/balance-of-trade">
                                        Iran
                                    </a></td>
<td data-heatmap-value="-77"><span class="te-value-negative">-5625</span></td>
<td><span class="te-value-negative">-4743</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/iraq/balance-of-trade">
                                        Iraq
                                    </a></td>
<td data-heatmap-value="-78">17549</td>
<td>16756</td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/ireland/balance-of-trade">
                                        Ireland
                                    </a></td>
<td data-heatmap-value="-79">4792986</td>
<td>6965677</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/israel/balance-of-trade">
                                        Israel
                                    </a></td>
<td data-heatmap-value="-80"><span class="te-value-negative">-3292</span></td>
<td><span class="te-value-negative">-2347</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/italy/balance-of-trade">
                                        Italy
                                    </a></td>
<td data-heatmap-value="-81">5065</td>
<td>6377</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/ivory-coast/balance-of-trade">
                                        Ivory Coast
                                    </a></td>
<td data-heatmap-value="-82">206</td>
<td>345</td>
<td class="d-none d-sm-table-cell"><span>Feb/24</span></td>
<td class="">XOF Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/jamaica/balance-of-trade">
                                        Jamaica
                                    </a></td>
<td data-heatmap-value="-83"><span class="te-value-negative">-1348759</span></td>
<td><span class="te-value-negative">-1348759</span></td>
<td class="d-none d-sm-table-cell"><span>Sep/23</span></td>
<td class="">USD Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/japan/balance-of-trade">
                                        Japan
                                    </a></td>
<td data-heatmap-value="-84"><span class="te-value-negative">-622</span></td>
<td>224</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">JPY Billion</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/jordan/balance-of-trade">
                                        Jordan
                                    </a></td>
<td data-heatmap-value="-85"><span class="te-value-negative">-948348</span></td>
<td><span class="te-value-negative">-668285</span></td>
<td class="d-none d-sm-table-cell"><span>Feb/24</span></td>
<td class="">JOD Thousands</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/kazakhstan/balance-of-trade">
                                        Kazakhstan
                                    </a></td>
<td data-heatmap-value="-86">1964</td>
<td>1961</td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/kenya/balance-of-trade">
                                        Kenya
                                    </a></td>
<td data-heatmap-value="-87"><span class="te-value-negative">-121460</span></td>
<td><span class="te-value-negative">-118088</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">KES Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/kosovo/balance-of-trade">
                                        Kosovo
                                    </a></td>
<td data-heatmap-value="-88"><span class="te-value-negative">-495877</span></td>
<td><span class="te-value-negative">-425395</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">EUR Thousand</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/kuwait/balance-of-trade">
                                        Kuwait
                                    </a></td>
<td data-heatmap-value="-89">3200</td>
<td>3570</td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">KWD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/kyrgyzstan/balance-of-trade">
                                        Kyrgyzstan
                                    </a></td>
<td data-heatmap-value="-90"><span class="te-value-negative">-754</span></td>
<td><span class="te-value-negative">-940</span></td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/laos/balance-of-trade">
                                        Laos
                                    </a></td>
<td data-heatmap-value="-91">257</td>
<td><span class="te-value-negative">-171</span></td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/latvia/balance-of-trade">
                                        Latvia
                                    </a></td>
<td data-heatmap-value="-92"><span class="te-value-negative">-369</span></td>
<td><span class="te-value-negative">-246</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/lebanon/balance-of-trade">
                                        Lebanon
                                    </a></td>
<td data-heatmap-value="-93"><span class="te-value-negative">-397</span></td>
<td><span class="te-value-negative">-1217</span></td>
<td class="d-none d-sm-table-cell"><span>Aug/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/lesotho/balance-of-trade">
                                        Lesotho
                                    </a></td>
<td data-heatmap-value="-94"><span class="te-value-negative">-3329</span></td>
<td><span class="te-value-negative">-3766</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/23</span></td>
<td class="">LSL Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/liberia/balance-of-trade">
                                        Liberia
                                    </a></td>
<td data-heatmap-value="-95"><span class="te-value-negative">-53.36</span></td>
<td><span class="te-value-negative">-4.97</span></td>
<td class="d-none d-sm-table-cell"><span>Apr/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/libya/balance-of-trade">
                                        Libya
                                    </a></td>
<td data-heatmap-value="-96">96391</td>
<td>69029</td>
<td class="d-none d-sm-table-cell"><span>Dec/22</span></td>
<td class="">LYD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/liechtenstein/balance-of-trade">
                                        Liechtenstein
                                    </a></td>
<td data-heatmap-value="-97">414</td>
<td>406</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">CHF Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/lithuania/balance-of-trade">
                                        Lithuania
                                    </a></td>
<td data-heatmap-value="-98">410</td>
<td><span class="te-value-negative">-286</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/luxembourg/balance-of-trade">
                                        Luxembourg
                                    </a></td>
<td data-heatmap-value="-99"><span class="te-value-negative">-0.61</span></td>
<td><span class="te-value-negative">-0.7</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Billion</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/macau/balance-of-trade">
                                        Macau
                                    </a></td>
<td data-heatmap-value="-100"><span class="te-value-negative">-9399100</span></td>
<td><span class="te-value-negative">-9083400</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">Thousand MOP</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/macedonia/balance-of-trade">
                                        Macedonia
                                    </a></td>
<td data-heatmap-value="-101"><span class="te-value-negative">-229500</span></td>
<td><span class="te-value-negative">-309400</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/madagascar/balance-of-trade">
                                        Madagascar
                                    </a></td>
<td data-heatmap-value="-102"><span class="te-value-negative">-589181</span></td>
<td><span class="te-value-negative">-582467</span></td>
<td class="d-none d-sm-table-cell"><span>Feb/23</span></td>
<td class="">MGA Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/malawi/balance-of-trade">
                                        Malawi
                                    </a></td>
<td data-heatmap-value="-103"><span class="te-value-negative">-318400</span></td>
<td><span class="te-value-negative">-333702</span></td>
<td class="d-none d-sm-table-cell"><span>Apr/24</span></td>
<td class="">MWK Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/malaysia/balance-of-trade">
                                        Malaysia
                                    </a></td>
<td data-heatmap-value="-104">6400</td>
<td>14300</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">MYR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/maldives/balance-of-trade">
                                        Maldives
                                    </a></td>
<td data-heatmap-value="-105"><span class="te-value-negative">-243</span></td>
<td><span class="te-value-negative">-264</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/mali/balance-of-trade">
                                        Mali
                                    </a></td>
<td data-heatmap-value="-106"><span class="te-value-negative">-333</span></td>
<td><span class="te-value-negative">-445</span></td>
<td class="d-none d-sm-table-cell"><span>Sep/23</span></td>
<td class="">XOF Billion</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/malta/balance-of-trade">
                                        Malta
                                    </a></td>
<td data-heatmap-value="-107"><span class="te-value-negative">-311925</span></td>
<td><span class="te-value-negative">-382936</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/mauritania/balance-of-trade">
                                        Mauritania
                                    </a></td>
<td data-heatmap-value="-108"><span class="te-value-negative">-8.6</span></td>
<td><span class="te-value-negative">-0.63</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">MRU Billion</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/mauritius/balance-of-trade">
                                        Mauritius
                                    </a></td>
<td data-heatmap-value="-109"><span class="te-value-negative">-16432</span></td>
<td><span class="te-value-negative">-14747</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">MUR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/mexico/balance-of-trade">
                                        Mexico
                                    </a></td>
<td data-heatmap-value="-110"><span class="te-value-negative">-72</span></td>
<td><span class="te-value-negative">-1037</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/moldova/balance-of-trade">
                                        Moldova
                                    </a></td>
<td data-heatmap-value="-111"><span class="te-value-negative">-404</span></td>
<td><span class="te-value-negative">-414</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/monaco/balance-of-trade">
                                        Monaco
                                    </a></td>
<td data-heatmap-value="-112"><span class="te-value-negative">-272</span></td>
<td><span class="te-value-negative">-281</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/mongolia/balance-of-trade">
                                        Mongolia
                                    </a></td>
<td data-heatmap-value="-113">344</td>
<td>546</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/montenegro/balance-of-trade">
                                        Montenegro
                                    </a></td>
<td data-heatmap-value="-114"><span class="te-value-negative">-352174</span></td>
<td><span class="te-value-negative">-320100</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">EUR Thousand</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/morocco/balance-of-trade">
                                        Morocco
                                    </a></td>
<td data-heatmap-value="-115"><span class="te-value-negative">-22349</span></td>
<td><span class="te-value-negative">-26383</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">MAD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/mozambique/balance-of-trade">
                                        Mozambique
                                    </a></td>
<td data-heatmap-value="-116"><span class="te-value-negative">-103</span></td>
<td><span class="te-value-negative">-256</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/myanmar/balance-of-trade">
                                        Myanmar
                                    </a></td>
<td data-heatmap-value="-117"><span class="te-value-negative">-457</span></td>
<td>129</td>
<td class="d-none d-sm-table-cell"><span>Dec/22</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/namibia/balance-of-trade">
                                        Namibia
                                    </a></td>
<td data-heatmap-value="-118"><span class="te-value-negative">-6879</span></td>
<td><span class="te-value-negative">-11816</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">NAD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/nepal/balance-of-trade">
                                        Nepal
                                    </a></td>
<td data-heatmap-value="-119"><span class="te-value-negative">-126162</span></td>
<td><span class="te-value-negative">-137258</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">NPR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/netherlands/balance-of-trade">
                                        Netherlands
                                    </a></td>
<td data-heatmap-value="-120">13310</td>
<td>12060</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/new-caledonia/balance-of-trade">
                                        New Caledonia
                                    </a></td>
<td data-heatmap-value="-121"><span class="te-value-negative">-12396</span></td>
<td><span class="te-value-negative">-7703</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">XPF Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/new-zealand/balance-of-trade">
                                        New Zealand
                                    </a></td>
<td data-heatmap-value="-122"><span class="te-value-negative">-963</span></td>
<td>585</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">NZD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/nicaragua/balance-of-trade">
                                        Nicaragua
                                    </a></td>
<td data-heatmap-value="-123"><span class="te-value-negative">-95.82</span></td>
<td><span class="te-value-negative">-67.54</span></td>
<td class="d-none d-sm-table-cell"><span>Apr/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/niger/balance-of-trade">
                                        Niger
                                    </a></td>
<td data-heatmap-value="-124"><span class="te-value-negative">-128796</span></td>
<td><span class="te-value-negative">-486924</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">XOF Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/nigeria/balance-of-trade">
                                        Nigeria
                                    </a></td>
<td data-heatmap-value="-125">2158251</td>
<td>1835116</td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">NGN Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/north-korea/balance-of-trade">
                                        North Korea
                                    </a></td>
<td data-heatmap-value="-126"><span class="te-value-negative">-601</span></td>
<td><span class="te-value-negative">-121</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/22</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/norway/balance-of-trade">
                                        Norway
                                    </a></td>
<td data-heatmap-value="-127">59300</td>
<td>61700</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">NOK Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/oman/balance-of-trade">
                                        Oman
                                    </a></td>
<td data-heatmap-value="-128">677</td>
<td>391</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">OMR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/pakistan/balance-of-trade">
                                        Pakistan
                                    </a></td>
<td data-heatmap-value="-129"><span class="te-value-negative">-542823</span></td>
<td><span class="te-value-negative">-669950</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">PKR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/palestine/balance-of-trade">
                                        Palestine
                                    </a></td>
<td data-heatmap-value="-130"><span class="te-value-negative">-359</span></td>
<td><span class="te-value-negative">-419</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/panama/balance-of-trade">
                                        Panama
                                    </a></td>
<td data-heatmap-value="-131"><span class="te-value-negative">-1129488</span></td>
<td><span class="te-value-negative">-1093564</span></td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">PAB Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/papua-new-guinea/balance-of-trade">
                                        Papua New Guinea
                                    </a></td>
<td data-heatmap-value="-132">5910</td>
<td>5701</td>
<td class="d-none d-sm-table-cell"><span>Sep/23</span></td>
<td class="">PGK Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/paraguay/balance-of-trade">
                                        Paraguay
                                    </a></td>
<td data-heatmap-value="-133"><span class="te-value-negative">-398337</span></td>
<td><span class="te-value-negative">-232937</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Thousands</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/peru/balance-of-trade">
                                        Peru
                                    </a></td>
<td data-heatmap-value="-134">2466</td>
<td>1982</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/philippines/balance-of-trade">
                                        Philippines
                                    </a></td>
<td data-heatmap-value="-135"><span class="te-value-negative">-4303634</span></td>
<td><span class="te-value-negative">-4707383</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/poland/balance-of-trade">
                                        Poland
                                    </a></td>
<td data-heatmap-value="-136"><span class="te-value-negative">-191</span></td>
<td><span class="te-value-negative">-447</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/portugal/balance-of-trade">
                                        Portugal
                                    </a></td>
<td data-heatmap-value="-137"><span class="te-value-negative">-1892</span></td>
<td><span class="te-value-negative">-2213</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/puerto-rico/balance-of-trade">
                                        Puerto Rico
                                    </a></td>
<td data-heatmap-value="-138">593</td>
<td>1126</td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/qatar/balance-of-trade">
                                        Qatar
                                    </a></td>
<td data-heatmap-value="-139">20133</td>
<td>19575</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">QAR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/romania/balance-of-trade">
                                        Romania
                                    </a></td>
<td data-heatmap-value="-140"><span class="te-value-negative">-2779</span></td>
<td><span class="te-value-negative">-2975</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/russia/balance-of-trade">
                                        Russia
                                    </a></td>
<td data-heatmap-value="-141">11480</td>
<td>12158</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/rwanda/balance-of-trade">
                                        Rwanda
                                    </a></td>
<td data-heatmap-value="-142"><span class="te-value-negative">-362</span></td>
<td><span class="te-value-negative">-330</span></td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/sao-tome-and-principe/balance-of-trade">
                                        Sao Tome and Principe
                                    </a></td>
<td data-heatmap-value="-143"><span class="te-value-negative">-10.43</span></td>
<td><span class="te-value-negative">-7.2</span></td>
<td class="d-none d-sm-table-cell"><span>Feb/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/saudi-arabia/balance-of-trade">
                                        Saudi Arabia
                                    </a></td>
<td data-heatmap-value="-144">30189</td>
<td>30767</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">SAR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/senegal/balance-of-trade">
                                        Senegal
                                    </a></td>
<td data-heatmap-value="-145"><span class="te-value-negative">-340</span></td>
<td><span class="te-value-negative">-306</span></td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">XOF Billion</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/serbia/balance-of-trade">
                                        Serbia
                                    </a></td>
<td data-heatmap-value="-146"><span class="te-value-negative">-819</span></td>
<td><span class="te-value-negative">-928</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/seychelles/balance-of-trade">
                                        Seychelles
                                    </a></td>
<td data-heatmap-value="-147"><span class="te-value-negative">-86.8</span></td>
<td><span class="te-value-negative">-64.3</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/sierra-leone/balance-of-trade">
                                        Sierra Leone
                                    </a></td>
<td data-heatmap-value="-148"><span class="te-value-negative">-47.89</span></td>
<td><span class="te-value-negative">-20.06</span></td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/singapore/balance-of-trade">
                                        Singapore
                                    </a></td>
<td data-heatmap-value="-149">6486</td>
<td>3078</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">SGD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/slovakia/balance-of-trade">
                                        Slovakia
                                    </a></td>
<td data-heatmap-value="-150">647</td>
<td>372</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/slovenia/balance-of-trade">
                                        Slovenia
                                    </a></td>
<td data-heatmap-value="-151"><span class="te-value-negative">-644</span></td>
<td><span class="te-value-negative">-596</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/somalia/balance-of-trade">
                                        Somalia
                                    </a></td>
<td data-heatmap-value="-152"><span class="te-value-negative">-3395</span></td>
<td><span class="te-value-negative">-4613</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/22</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/south-africa/balance-of-trade">
                                        South Africa
                                    </a></td>
<td data-heatmap-value="-153">24230</td>
<td>19959</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">ZAR Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/south-korea/balance-of-trade">
                                        South Korea
                                    </a></td>
<td data-heatmap-value="-154">3620</td>
<td>7990</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/spain/balance-of-trade">
                                        Spain
                                    </a></td>
<td data-heatmap-value="-155"><span class="te-value-negative">-712908</span></td>
<td><span class="te-value-negative">-2348680</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">EUR Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/sri-lanka/balance-of-trade">
                                        Sri Lanka
                                    </a></td>
<td data-heatmap-value="-156"><span class="te-value-negative">-370</span></td>
<td><span class="te-value-negative">-393</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/sudan/balance-of-trade">
                                        Sudan
                                    </a></td>
<td data-heatmap-value="-157"><span class="te-value-negative">-829854</span></td>
<td><span class="te-value-negative">-733784</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/22</span></td>
<td class="">USD Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/suriname/balance-of-trade">
                                        Suriname
                                    </a></td>
<td data-heatmap-value="-158">222</td>
<td>236</td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/swaziland/balance-of-trade">
                                        Swaziland
                                    </a></td>
<td data-heatmap-value="-159">574</td>
<td>1814</td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">SZL Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/sweden/balance-of-trade">
                                        Sweden
                                    </a></td>
<td data-heatmap-value="-160">6500</td>
<td>8100</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">SEK Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/switzerland/balance-of-trade">
                                        Switzerland
                                    </a></td>
<td data-heatmap-value="-161">4103</td>
<td>4777</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">CHF Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/syria/balance-of-trade">
                                        Syria
                                    </a></td>
<td data-heatmap-value="-162"><span class="te-value-negative">-17383055</span></td>
<td><span class="te-value-negative">-9331075</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/22</span></td>
<td class="">SYP Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/taiwan/balance-of-trade">
                                        Taiwan
                                    </a></td>
<td data-heatmap-value="-163">4830</td>
<td>4680</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/tajikistan/balance-of-trade">
                                        Tajikistan
                                    </a></td>
<td data-heatmap-value="-164"><span class="te-value-negative">-884799</span></td>
<td><span class="te-value-negative">-236027</span></td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/tanzania/balance-of-trade">
                                        Tanzania
                                    </a></td>
<td data-heatmap-value="-165"><span class="te-value-negative">-1144</span></td>
<td><span class="te-value-negative">-1483</span></td>
<td class="d-none d-sm-table-cell"><span>Sep/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/thailand/balance-of-trade">
                                        Thailand
                                    </a></td>
<td data-heatmap-value="-166"><span class="te-value-negative">-1373</span></td>
<td>218</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/trinidad-and-tobago/balance-of-trade">
                                        Trinidad and Tobago
                                    </a></td>
<td data-heatmap-value="-167">628</td>
<td>738</td>
<td class="d-none d-sm-table-cell"><span>Mar/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/tunisia/balance-of-trade">
                                        Tunisia
                                    </a></td>
<td data-heatmap-value="-168"><span class="te-value-negative">-1604</span></td>
<td><span class="te-value-negative">-1641</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">TND Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/turkey/balance-of-trade">
                                        Turkey
                                    </a></td>
<td data-heatmap-value="-169"><span class="te-value-negative">-7295</span></td>
<td><span class="te-value-negative">-5892</span></td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/turkmenistan/balance-of-trade">
                                        Turkmenistan
                                    </a></td>
<td data-heatmap-value="-170">10151</td>
<td>9912</td>
<td class="d-none d-sm-table-cell"><span>Dec/23</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/uganda/balance-of-trade">
                                        Uganda
                                    </a></td>
<td data-heatmap-value="-171"><span class="te-value-negative">-332</span></td>
<td><span class="te-value-negative">-278</span></td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/ukraine/balance-of-trade">
                                        Ukraine
                                    </a></td>
<td data-heatmap-value="-172"><span class="te-value-negative">-2870</span></td>
<td><span class="te-value-negative">-2222</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/united-kingdom/balance-of-trade">
                                        United Kingdom
                                    </a></td>
<td data-heatmap-value="-173"><span class="te-value-negative">-5324</span></td>
<td><span class="te-value-negative">-5770</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">GBP Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/united-states/balance-of-trade">
                                        United States
                                    </a></td>
<td data-heatmap-value="-174"><span class="te-value-negative">-73.1</span></td>
<td><span class="te-value-negative">-75</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Billion</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/uruguay/balance-of-trade">
                                        Uruguay
                                    </a></td>
<td data-heatmap-value="-175">177476</td>
<td>31823</td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Thousand</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/uzbekistan/balance-of-trade">
                                        Uzbekistan
                                    </a></td>
<td data-heatmap-value="-176"><span class="te-value-negative">-1131</span></td>
<td><span class="te-value-negative">-835</span></td>
<td class="d-none d-sm-table-cell"><span>May/24</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/vietnam/balance-of-trade">
                                        Vietnam
                                    </a></td>
<td data-heatmap-value="-177">2.12</td>
<td>3.2</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">USD Billion</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/yemen/balance-of-trade">
                                        Yemen
                                    </a></td>
<td data-heatmap-value="-178"><span class="te-value-negative">-5204919353</span></td>
<td><span class="te-value-negative">-4965847645</span></td>
<td class="d-none d-sm-table-cell"><span>Dec/22</span></td>
<td class="">USD Million</td>
</tr>
<tr class="datatable-row-alternating">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/zambia/balance-of-trade">
                                        Zambia
                                    </a></td>
<td data-heatmap-value="-179">1384</td>
<td>1375</td>
<td class="d-none d-sm-table-cell"><span>Jul/24</span></td>
<td class="">ZMW Million</td>
</tr>
<tr class="datatable-row">
<td style="max-width: 120px; overflow: hidden; padding-left: 10px; text-align: left; font-weight: 600;">
<a href="/zimbabwe/balance-of-trade">
                                        Zimbabwe
                                    </a></td>
<td data-heatmap-value="-180"><span class="te-value-negative">-219</span></td>
<td><span class="te-value-negative">-151</span></td>
<td class="d-none d-sm-table-cell"><span>Jun/24</span></td>
<td class="">USD Million</td>
</tr>
</table>

. . .

Ainda está em formato HTML!

. . .

Vamos transformar em um data frame do pandas.

Exemplo 1:

Extraindo informações do site Trading Economics


Passo 4: Transformando em um Data Frame Pandas

# Extrair o cabeçalho
headers = []
for th in table.find_all('th'):
    headers.append(th.text.strip())

# Extrair as linhas de dados
rows = []
for tr in table.find_all('tr')[1:]:  # Ignora a primeira linha se for cabeçalho
    cells = tr.find_all('td')
    row = [cell.text.strip() for cell in cells]
    rows.append(row)

# Converter para DataFrame
trading_df = pd.DataFrame(rows, columns=headers)
trading_df['Last'] = pd.to_numeric(trading_df['Last'])
trading_df['Previous'] = pd.to_numeric(trading_df['Previous'])

trading_df.head()
       Country     Last  Previous Reference         Unit
0  Afghanistan  -6798.0   -5169.0    Dec/23  USD Million
1      Albania -52150.0  -41945.0    Jul/24  ALL Million
2      Algeria   3790.0    2338.0    Sep/23  USD Million
3       Angola   5627.0    6362.0    Mar/24  USD Million
4    Argentina   1575.0    1911.0    Jul/24  USD Million

Exemplo 1:

Extraindo informações do site Trading Economics


import pandas as pd
from plotnine import ggplot, aes, geom_col, geom_hline, labs, scale_fill_brewer, theme_minimal, theme, element_text

trading_df = trading_df.head(5)

# Criar o gráfico de barras
plot = (ggplot(trading_df, aes(y='Last', fill='Reference')) +
        geom_col(aes(x='Country')) +
        labs(title="", y="Valor mais recente do indicador econômico",
             x="País", fill="Período: ") +
        scale_fill_brewer() +
        theme_minimal() +
        geom_hline(yintercept=0, colour='red') +
        theme(legend_position='bottom'))

print(plot)

Exemplo 1:

Extraindo informações do site Trading Economics


print(plot)

Exemplo 2:

Extraindo Produtos e Preços do Ebay


Neste segundo exemplo vamos obter preço de produtos no site do Ebay.

Site: https://www.ebay.com/

. . .

Objetivo: Criar um data frame com produtos e preços obtidos do site.

Exemplo 2:

Site Ebay



Passo 1: Ler as bibliotecas

# ----------------------------------
# Importanto as bibliotecas para scraping
from bs4 import BeautifulSoup
import requests
# ----------------------------------
# Importanto bibliotecas para data frame
import pandas as pd
# ----------------------------------
# Trabalhar com datas
from datetime import date
# ----------------------------------

Passo 2: Definindo a data do Scraping

# ---------------------------------------
# Pegando a data da Obtenção do preço
# dd/mm/YYYY
today = date.today()
DataObtida = today.strftime("%d.%m.%Y")
# ---------------------------------------
print(DataObtida)
29.08.2024

Exemplo 2:

Site Ebay


Passo 3: Definição do produto e listas vazias

# -------------------------------
# Scraping - Plataforma ebay
# -------------------------------
# Produto
produto = ProdutoVerd =  "iphone"
# -----------------------------
# Lista de Itens e Preços
item_name = []
prices = []
data = []
# -----------------------------
# Plataforma Ebay
plataforma = 'ebay'
# -----------------------------

Exemplo 2:

Site Ebay


Passo 4: Criação da Função para o Scraping


# Laço para variar as páginas
for i in range(0,2):

    # -----------------------------------
    priceScrapUrl = "https://www.ebay.com/sch/i.html?_from=R40&_nkw="+produto+"&_sacat=0&_pgn="+str(i)

    # Fazendo o request na pagina
    r = requests.get(priceScrapUrl)
    data = r.text
    soup = BeautifulSoup(data)

    listings = soup.find_all('li', attrs={'class': 's-item'})

    for listing in listings:

        prod_name = " "
        prod_price = " "
        for name in listing.find_all('div', attrs={'class':"s-item__title"}):
            if(str(name.get_text(strip=True))!="None"):
                prod_name=str(name.get_text(strip=True))
                item_name.append(prod_name)

            if(prod_name!=" "):
                price = listing.find('span', attrs={'class':"s-item__price"})
                prod_price = str(price.get_text(strip=True))
                # ------------
                # Substituindo o caractere especial \xa0 por um espaço normal
                prod_price = prod_price.replace('\xa0', ' ')
                # ------------
                # Opcionalmente, você pode querer remover o 'a' entre os valores, dependendo do contexto
                prod_price = prod_price.replace('a', ' ')
                # -----------
                prices.append(prod_price)

Exemplo 2:

Site Ebay


Passo 5: Criação do Data Frame

data_requests = pd.DataFrame({"Plataforma":plataforma, "Name":item_name,
"Prices": prices, "DataObtida": DataObtida})

data_requests.head()
  Plataforma                                               Name       Prices  \
0       ebay                                       Shop on eBay       $20.00   
1       ebay                                       Shop on eBay       $20.00   
2       ebay  Novo anúncioApple iPhone 13 - 128 GB - Rosa (v...  R$ 1 381,61   
3       ebay  Novo anúncioApple iPhone 13 Pro Max - 256 GB -...  R$ 1 657,93   
4       ebay  Apple iPhone X (iPhone 10) 64GB 256GB todas as...    R$ 985,82   

   DataObtida  
0  29.08.2024  
1  29.08.2024  
2  29.08.2024  
3  29.08.2024  
4  29.08.2024  

Exemplo 3:

Scraping Imagens PetRS


Link: https://drive.google.com/file/d/13Da6emz693zKo_xPFmElUelnfTn6Qw3q/view?usp=sharing

Referências para serem utilizadas






OBRIGADO!


Slide produzido com quarto