clean up scheduled commands
also add comments to each command
This commit is contained in:
@@ -40,7 +40,7 @@ class RefreshSplitData extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$holdings = Holding::distinct()->get(['symbol']);
|
||||
$holdings = Holding::where('quantity', '>', 0)->distinct()->get(['symbol']);
|
||||
|
||||
foreach ($holdings as $holding) {
|
||||
$this->line('Refreshing ' . $holding->symbol);
|
||||
|
||||
Reference in New Issue
Block a user