Feat: Adds multi currency support to API (#90)

This commit is contained in:
hackerESQ
2025-04-10 21:24:44 -05:00
committed by GitHub
parent 1ef8dd9378
commit dd21227f8f
5 changed files with 9 additions and 0 deletions
+1
View File
@@ -21,6 +21,7 @@ class HoldingResource extends JsonResource
'portfolio_id' => $this->portfolio_id,
'symbol' => $this->symbol,
'quantity' => $this->quantity,
'currency' => $this->market_data->currency,
'reinvest_dividends' => $this->reinvest_dividends,
'average_cost_basis' => $this->average_cost_basis,
'total_cost_basis' => $this->total_cost_basis,