isAuthorized()) Header("Location: /login.php"); require('../header.html'); echo "

Known tickers

\n"; function printDir($dir,$name) { $classes = array("indexOddRow","indexEvenRow"); echo "

$name

\n"; echo "\n"; $dirName = "../../data/$dir"; $dir = opendir($dirName); $tickers = array(); $rowIdx = 0; $names = array(); while($name = readdir($dir)) { if (is_file("$dirName/$name")) $names[] = $name; } sort($names); foreach($names as $name) { $tickers[] = $name; if (count($tickers) == 5) { echo ""; $tickers = array(); $rowIdx = 1-$rowIdx; } } closedir($dir); if (count($tickers) > 0) echo ""; echo "
".implode("",$tickers)."
".implode("",$tickers)."
\n"; } printDir("bcpp","BCPP"); printDir("nasdaq","FOREIGN"); ?>

1) { ?>
  

Ticker must be available on finance.yahoo.com.
Uživatelé přihlášení pod regulérním (nedemonstračním) účtem mají možnost přidat z této stránky libovolný ticker z finance.yahoo.com.

<< Menu