Few bugs. I found the cron, but:
1-one portfolio value is 147,300.700, it displays 130,135.20 in top portfolios
2-In table user I have many values as -9999999.999 in both ambportval and ambportgainamt
3-If you sell all your stocks, the new portfolio value is not updated and it still displays in top portfoloios.
I am not sure I understand the WHERE clause in the cron
Quote:
$symbols = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "stocktrader WHERE 1 GROUP BY symbol");
|