fix:use with instead of own for smart prompt
This commit is contained in:
@@ -50,7 +50,7 @@ class PortfolioController extends Controller
|
||||
$formattedHoldings = '';
|
||||
foreach($portfolio->holdings as $holding) {
|
||||
$formattedHoldings .= " * Holding of ".$holding->market_data->name." (".$holding->symbol.")"
|
||||
."; own ". ($holding->quantity > 0 ? $holding->quantity : 'ZERO') . " shares"
|
||||
."; with ". ($holding->quantity > 0 ? $holding->quantity : 'ZERO') . " shares"
|
||||
."; avg cost basis ". $holding->average_cost_basis
|
||||
."; curr market value ". $holding->market_data->market_value
|
||||
."; unrealized gains ". $holding->market_gain_dollars
|
||||
|
||||
Reference in New Issue
Block a user