Skip to content

Commit

Permalink
Updated scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
simba77 committed Aug 27, 2024
1 parent 3c84859 commit 7c4384a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Command/ScheduleCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$scheduler->php($rootDir . '/bin/console securities:get-moex-futures')->everyMinute(15);
$scheduler->php($rootDir . '/bin/console securities:get-moex-shares')->everyMinute(15);
// $scheduler->php($rootDir . '/bin/console securities:get-spb-shares')->everyMinute(5);
$scheduler->php($rootDir . '/bin/console securities:get-tinvest-shares')->daily(22);
$scheduler->php($rootDir . '/bin/console securities:get-tinvest-shares')->daily(19);
$scheduler->php($rootDir . '/bin/console securities:get-market-data')->everyMinute(2);

// Set daily profit to 0. (Set current prices as prev)
$scheduler->php($rootDir . '/bin/console securities:update-prev-prices')->daily(6);
$scheduler->php($rootDir . '/bin/console securities:update-prev-prices')->daily(3);

$list = $scheduler->run();
foreach ($list as $item) {
Expand Down

0 comments on commit 7c4384a

Please sign in to comment.