Feat: Adds multi currency support (#88)
This commit is contained in:
+8
-1
@@ -3,6 +3,7 @@
|
||||
declare(strict_types=1);
|
||||
|
||||
use App\Console\Commands\CaptureDailyChange;
|
||||
use App\Console\Commands\RefreshCurrencyData;
|
||||
use App\Console\Commands\RefreshDividendData;
|
||||
use App\Console\Commands\RefreshMarketData;
|
||||
use App\Console\Commands\RefreshSplitData;
|
||||
@@ -11,12 +12,13 @@ use Illuminate\Support\Facades\Schedule;
|
||||
|
||||
/**
|
||||
* This scheduled job refreshes market data from your selected data provider
|
||||
* Update the cadence with the MARKET_DATA_REFRESH key in your env file
|
||||
* Note: Update the cadence with the MARKET_DATA_REFRESH key in your env file (default: 30 minutes)
|
||||
*/
|
||||
Schedule::command(RefreshMarketData::class)->weekdays()->everyMinute();
|
||||
|
||||
/**
|
||||
* This scheduled job records daily changes to your portfolios every weekday
|
||||
* Note: Update the time of day with the DAILY_CHANGE_TIME key in your env file (default: 23:00)
|
||||
*/
|
||||
Schedule::command(CaptureDailyChange::class)->dailyAt(config('investbrain.daily_change_time_of_day'))->weekdays();
|
||||
|
||||
@@ -34,3 +36,8 @@ Schedule::command(RefreshSplitData::class)->weekly();
|
||||
* Periodically reconciles your holdings with transactions and dividends
|
||||
*/
|
||||
Schedule::command(SyncHoldingData::class)->yearly();
|
||||
|
||||
/**
|
||||
* Refreshes currency exchange data daily
|
||||
*/
|
||||
Schedule::command(RefreshCurrencyData::class)->daily();
|
||||
|
||||
Reference in New Issue
Block a user