Full Description
ExchCountry("cid,cid,cid,...") pertains to the country of the exchange on which a security trades. The command enables you to include, exclude, or apply different rules to stocks that trade in different exchanges. For example, Country("CAN") is true for both CNSWF:USA and CSU:CAN, but ExchCountry("CAN") will bring up only CSU:CAN. Use cases: to exclude stocks that trade in Turkey, Greece, or Bulgaria, use this command: !ExchCountry("TUR, GRC, BGR"). To buy British stocks but avoid the stamp tax, use this command: Country("GBR") and !ExchCountry("GBR").
| Country |
Country Code |
| Albania | ALB |
| Algeria | DZA |
| Andorra | AND |
| Angola | AGO |
| Anguilla | AIA |
| Antigua and Barbuda | ATG |
| Argentina | ARG |
| Armenia | ARM |
| Australia | AUS |
| Austria | AUT |
| Azerbaijan | AZE |
| Bahamas | BHS |
| Bahrain | BHR |
| Bangladesh | BGD |
| Barbados | BRB |
| Belarus | BLR |
| Belgium | BEL |
| Belize | BLZ |
| Bermuda | BMU |
| Bolivia | BOL |
| Bosnia and Herzegovina | BIH |
| Botswana | BWA |
| Brazil | BRA |
| Bulgaria | BGR |
| Cambodia | KHM |
| Cameroon | CMR |
| Canada | CAN |
| Cayman Islands | CYM |
| Chile | CHL |
| China | CHN |
| Colombia | COL |
| Congo | COD |
| Costa Rica | CRI |
| Cote d'Ivoire | CIV |
| Croatia | HRV |
| Curacao | CUW |
| Cyprus | CYP |
| Czech Republic | CZE |
| Denmark | DNK |
| Dominican Republic | DOM |
| Ecuador | ECU |
| Egypt | EGY |
| El Salvador | SLV |
| Estonia | EST |
| Faroe Islands | FRO |
| Finland | FIN |
| France | FRA |
| Gabon | GAB |
| Georgia | GEO |
| Germany | DEU |
| Ghana | GHA |
| Gibraltar | GIB |
| Greece | GRC |
| Greenland | GRL |
| Guadeloupe | GLP |
| Guam | GUM |
| Guernsey | GGY |
| Holy See | VAT |
| Hong Kong | HKG |
| Hungary | HUN |
| Iceland | ISL |
| India | IND |
| Indonesia | IDN |
| Iran | IRN |
| Iraq | IRQ |
| Ireland | IRL |
| Isle of Man | IMN |
| Israel | ISR |
| Italy | ITA |
| Jamaica | JAM |
| Japan | JPN |
| Jersey | JEY |
| Jordan | JOR |
| Kazakhstan | KAZ |
| Kenya | KEN |
| Kuwait | KWT |
| Kyrgyzstan | KGZ |
| Laos | LAO |
| Latvia | LVA |
| Lebanon | LBN |
| Liechtenstein | LIE |
| Lithuania | LTU |
| Luxembourg | LUX |
| Macau | MAC |
| Macedonia | MKD |
| Malawi | MWI |
| Malaysia | MYS |
| Malta | MLT |
| Marshall Islands | MHL |
| Mauritius | MUS |
| Mayotte | MYT |
| Mexico | MEX |
| Moldova | MDA |
| Monaco | MCO |
| Mongolia | MNG |
| Montenegro | MNE |
| Montserrat | MSR |
| Morocco | MAR |
| Mozambique | MOZ |
| Myanmar | MMR |
| Namibia | NAM |
| Nepal | NPL |
| Netherlands | NLD |
| New Zealand | NZL |
| Nicaragua | NIC |
| Nigeria | NGA |
| Norway | NOR |
| Oman | OMN |
| Pakistan | PAK |
| Panama | PAN |
| Papua New Guinea | PNG |
| Peru | PER |
| Philippines | PHL |
| Poland | POL |
| Portugal | PRT |
| Puerto Rico | PRI |
| Qatar | QAT |
| Reunion | REU |
| Romania | ROU |
| Russia | RUS |
| Rwanda | RWA |
| Saint Vincent and Grenadines | VCT |
| San Marino | SMR |
| Saudi Arabia | SAU |
| Senegal | SEN |
| Serbia | SRB |
| Seychelles | SYC |
| Sierra Leone | SLE |
| Singapore | SGP |
| Slovakia | SVK |
| Slovenia | SVN |
| Solomon Islands | SLB |
| South Africa | ZAF |
| South Korea | KOR |
| Spain | ESP |
| Sri Lanka | LKA |
| St. Pierre and Miquelon | SPM |
| Svalbard and Jan Mayen | SJM |
| Swaziland | SWZ |
| Sweden | SWE |
| Switzerland | CHE |
| Syria | SYR |
| Taiwan | TWN |
| Tanzania | TZA |
| Thailand | THA |
| Trinidad and Tobago | TTO |
| Tunisia | TUN |
| Turkey | TUR |
| Turks and Caicos Islands | TCA |
| Uganda | UGA |
| Ukraine | UKR |
| United Arab Emirates | ARE |
| United Kingdom | GBR |
| United States | USA |
| Uruguay | URY |
| Venezuela | VEN |
| Viet Nam | VNM |
| Virgin Islands (British) | VGB |
| Virgin Islands (U.S.) | VIR |
| Zambia | ZMB |
| Zimbabwe | ZWE |