Mariner Backtesting - ADR

American depositary receipts GUIDs

An ADR (American depositary receipt) is a negotiable certificate issued by a US bank representing a specified number of shares (or one share) in a foreign stock traded on a U.S. exchange.

ADRs are listed on either the NYSE, AMEX or Nasdaq but they are also sold OTC.

The most common use for these lists is to narrow your universe of symbols in is_symbol_qualified.

See the example below for returning only those symbols that qualified for the GUID listed, were between $2 and $500, and over 100,000 average volume...

 

 @classmethod
def is_symbol_qualified(cls, symbol, md, service, account):
    GUID = '6b2fc6d0-3f87-41c3-a8e2-1507f43cb36e'
    # This combination of service calls returns a 1 if the current symbol is in the specified list, a zero if it is not
    mylist = service.symbol_list.in_list(service.symbol_list.get_handle(GUID),symbol)
    return mylist and md.stat.prev_close>2 and md.stat.prev_close<500 and md.stat.avol>100000
Note:
  • GUIDs are lowercase.
List GUID
ADRs 6b2fc6d0-3f87-41c3-a8e2-1507f43cb36e
Argentina 20f91dbf-8d8c-4c70-80da-f89f85100c31
Australia 4e3258b0-5f88-4df1-8ede-9d1c6004ffcb
Belgium f3a2059c-e1e5-4d96-8fe9-1ed7c5486b6a
Brazil 5bd3819f-25d2-4b55-b7e8-0f4136eef57c
Britain bbec8519-dc31-4581-adbd-1df8fb6e05fd
Cayman Islands 19e477d0-81a0-4b0b-9436-70e86f38bc7f
Chile cb9c4c07-a32a-44f9-a88e-1baa10d3104a
China af6cafb8-df41-4814-a907-66ac291fc4d6
Colombia d7c53417-ff93-493d-a2ce-08f1f228237d
Cyprus 03902f4b-0100-40fb-9fcb-d16b3150e2f9
Denmark afc87228-0f72-47fc-87c8-5352a625b905
Finland 6d43f1fe-138d-4afa-b859-64d2f5953351
France e9007167-1b40-4388-a9d4-cdf8e1ddb0f6
Germany c1bf04aa-9c20-4ffb-84bc-9b80defb65af
Great Britain f061e83c-651e-4be8-a0b1-35f5929b086d
Greece f1efa0e2-8bd4-44a7-802a-06049297fdc8
Hong Kong 495d48a2-fe22-4d0b-b685-fa99940ec3b1
India 4075de03-03c6-4321-ae46-3390ef18ef67
Indonesia 75b320e0-cda5-4baf-82ad-8dcaa9355127
Ireland 11328281-aa56-4b5c-b10f-4314c01d2dc9
Israel 7c01eab8-d7e9-4c6a-8262-06d039aa9329
Italy e740bd56-b271-4eb6-8d53-c18584ce044b
Japan ac0f8ab1-089e-4113-af27-c99670d32d8d
Jersey d6fdadd8-b4d2-4f35-a35e-79a6e0d42321
Luxembourg 68d8e807-babf-4602-9223-e7d970e915f1
Mexico 9dbbcb0a-b090-41e3-91a8-843e4fcd1dc9
Netherlands 24e60b5c-3e93-419b-895c-e5a5c16f6dc2
Norway bebe1ca8-6baa-48d3-bcdc-1f9b27fb461b
Panama 029dbc49-26f4-4171-ade8-b0eedae5335c
Peru d61e01fc-701d-4730-aa30-5ca200cbedfe
Philippines dbbcdf18-8735-4b67-b25c-6818a46d2950
Portugal 18b2d738-fec9-46cf-8bca-d9cd54a0d165
Russia 9f15700f-6ce2-4f39-8c2a-8e274c555d63
South Africa 1b07f649-3117-4804-9bc4-f462e2974e72
South Korea 43f11866-32b5-4555-ac5c-f7a120924c7e
Spain 0833c805-ef3d-4131-9159-fe40a90bfe0c
Sweden 42f2997d-aa2d-4674-8c86-aef4b730cbe3
Switzerland d771c346-674e-4ef0-970e-708a17b1ad8c
Taiwan e94cdf2f-6bc1-4b73-8c2b-ef3e7aff0d6f
Turkey 5f7bd87c-0f68-40a7-89d7-2928a15e7104