add shenzhen to ISIN
authorAlan <alan@roojs.com>
Wed, 28 Feb 2024 08:24:01 +0000 (16:24 +0800)
committerAlan <alan@roojs.com>
Wed, 28 Feb 2024 08:24:01 +0000 (16:24 +0800)
Finance/ISIN.php

index 2313e75..9e53c7e 100644 (file)
@@ -22,7 +22,10 @@ class Finance_ISIN
             
         }
         if ($ar[1] == 'PA') {
-              return $this->getExchangeISIN($ar[0], 'EURONEXT');
+            return $this->getExchangeISIN($ar[0], 'EURONEXT');
+        }
+        if ($ar[1] == 'SZ') {
+            return $this->getExchangeISIN($ar[0], 'SZSE');
         }
 
         // get isin by location