'$refresh', 'transaction-saved' => '$refresh' ]; // methods }; ?>
{{ __('Quantity Owned') }}: {{ $holding->quantity }}
{{ __('Average Cost Basis') }}: {{ Number::currency($holding->average_cost_basis ?? 0) }}
{{ __('Total Cost Basis') }}: {{ Number::currency($holding->total_cost_basis ?? 0) }}
{{ __('Realized Gain/Loss') }}: {{ Number::currency($holding->realized_gain_dollars ?? 0) }}
{{ __('Dividends Earned') }}: {{ Number::currency($holding->dividends_earned ?? 0) }}
{{ __('Last Refreshed') }}: {{ !is_null($holding->market_data->updated_at) ? \Carbon\Carbon::parse($holding->market_data->updated_at)->diffForHumans() : '' }}