@include('common.header')
Account Type : IDA Account No : B0286 BO ID : 1604650046798971 Account : Active Date : 06-05-2024
Name : Account No Address : C/O- Ideal Tailors, Hosain Market (1st Floor), Chowmuhani, Noakhali
@php $marginable_securities = []; $unrealizeValueShowPlace = 0; $totalCostAmountWithCom = 0; $totalWeightCost = 0; $totalMktAmount = 0; $totalWeightMarket = 0; $cashDividendTax = 20; $totalGainLossWithCom = 0; $marginableSecurities = 0; $nonMarginableSecurities = 0; $indCharge = 0; $netGainLossWithMfee = 0; $returnOnInvestments = 0.00; $currentAssetsOrLiabilities = 0.00; $totalIPOApplicationAmount = 0.00; $totalRightApplicationAmount = 0.00; $scripWiseStockDivFraction = 0.00; $unclearCheque = 0.00; $UNIQUE_MARGIN_NONMARGIN = ''; $TOTAL_COST_PRICE = 0; $TOTAL_MARKET_PRICE = 0; $TOTAL_GAINLOSS_PRICE = 0; $MARGIN_DISPLAY = 0; @endphp @foreach ($marginable_securities as $index => $securities) @php $instName = $securities->instrument_name; $symbol = $securities->symbol; $holdingShare = $securities->total_share; $maturedShare = $securities->matured_share; $avgRate = number_format($securities->avg_rate,2); $closePrice = $securities->close_price; $ycp = $securities->ycp; $indTotalCostAmount = $securities->total_cost_amount; $indTotalMktAmount = $securities->total_mkt_amount; $indCharge = $securities->charge; $sectorName = $securities->sector_name; $marginNonmargin = $securities->margin_or_nonmargin_flag; // $scripWiseStockDivFraction = 0;//$this->getStockDivFraction($pDate1,$portfolioCode,$securities->INSTRUMENT_DETAILS_ID); // $pe_ratio = $securities->pe_ratio; if($closePrice == 0) { $bCom = 0; $unGainLoss = 0; $gainLossPercentWithCom = 0; $netGL = 0; $gainLossPercentWithoutCom = 0; } else { $bCom = (($indCharge*$indTotalMktAmount)/100); $unGainLoss = (($indTotalMktAmount-$indTotalCostAmount)); if($indTotalCostAmount>0){ $gainLossPercentWithCom = (($unGainLoss*100)/$indTotalCostAmount); $netGL = ($indTotalMktAmount-$indTotalCostAmount); $gainLossPercentWithoutCom = (($netGL*100)/$indTotalCostAmount); } else { $gainLossPercentWithCom = 0.00; $netGL = ($indTotalMktAmount-0); $gainLossPercentWithoutCom = 0.00; } } //echo $indTotalMktAmount;exit; if($marginNonmargin == 'y') { $marginableSecurities += $indTotalMktAmount; } else { $nonMarginableSecurities += $indTotalMktAmount; } $totalMktAmount += $indTotalMktAmount; $totalCostAmountWithCom += $indTotalCostAmount; $totalGainLossWithCom += $unGainLoss; if($closePrice == 0) { $changePricePercent = 0; $weightCost = 0; $weightMarket = 0; $totGainLossPcttWithoutCom = 0; } else { if($ycp == 0) { if($allCostAmount==0){ $weightCost = 0; }else{ $weightCost = (($indTotalCostAmount*100)/$allCostAmount); } $changePricePercent = 0; $weightMarket = 0; $totGainLossPcttWithoutCom = 0; } else { $changePricePercent = ((($closePrice/$ycp)-1)*100); $weightCost = (($indTotalCostAmount*100)/$allCostAmount); $weightMarket = (($indTotalMktAmount*100)/$allMktAmount); $totGainLossPcttWithoutCom =($totalGainLossWithCom/$totalCostAmountWithCom)*100; } } if($totalCostAmountWithCom) { $totGainLossPcttWithoutCom =($totalGainLossWithCom*100)/$totalCostAmountWithCom; } else { $totGainLossPcttWithoutCom = 0; } //echo $totGainLossPcttWithoutCom; exit; $totalWeightCost += $weightCost; $totalWeightMarket += $weightMarket; if($unGainLoss<0){ $showUnGainLoss = '('.number_format(abs($unGainLoss),0).')'; }else{ $showUnGainLoss = number_format($unGainLoss,0); } if($gainLossPercentWithoutCom<0){ $showgainLossPercentWithoutCom = '('.number_format(abs($gainLossPercentWithoutCom),2).')'; }else{ $showgainLossPercentWithoutCom = number_format($gainLossPercentWithoutCom,2); } if($totalGainLossWithCom<0){ $showtotalGainLossWithCom = '('.number_format(abs($totalGainLossWithCom),2).')'; } else{ $showtotalGainLossWithCom = number_format($totalGainLossWithCom,2); } if($totGainLossPcttWithoutCom<0){ $showtotGainLossPcttWithoutCom = '('.number_format(abs($totGainLossPcttWithoutCom),2).')'; }else{ $showtotGainLossPcttWithoutCom = number_format($totGainLossPcttWithoutCom,2); } @endphp @endforeach @for ($test = 0; $test < 10; $test++) @endfor
Sl. Company Name Quantity Average Cost Total Cost Market Rate Market Value Unrealize Gain/Loss % Gain/Loss % Cost Value
Total Saleable
Marginable Securities
{{ ($index +1) }} {{ $symbol }} {{ number_format($holdingShare,2) }} {{ number_format($maturedShare,0) }} {{ $avgRate }} {{ number_format($indTotalCostAmount,2) }} {{ number_format($closePrice,2) }} {{ number_format($indTotalMktAmount,2) }} {{ $showUnGainLoss }} {{ $showgainLossPercentWithoutCom }} {{ number_format($weightCost,2) }}
{{ ($test +1) }}
Total Marginable Securities: 54545454 54545454
Non Marginable Securities
Total Non Marginable Securities: 54545454 54545454
Total: 54545454 54545454 (544.54) 454 454
Account Status Till Today
Current Balance / (Loan) : 4,731.43 Market value of Securities : 4,731.43
Payable Fees & Charges * : 4,731.43 IPO Application : 4,731.43
Receivables Sales : 4,731.43 Pre IPO Application : 4,731.43
Receivables Dividend : 4,731.43 Preference Application : 4,731.43
Coupon Receivable : 4,731.43 Right Application : 4,731.43
Accrued Fees & Charges : 4,731.43 IPO /Withdrawal Order : 4,731.43
Current Assets / (Liabilities) : 4,731.43 AV of the Portfolio : 4,731.43
Equity to Debt Ratio : 4,731.43 Equity : 4,731.43
Deposit : 4,731.43 Loan Ratio : 4,731.43
Total Fund Transfer In : 4,731.43 Purchase Power : 4,731.43
Realize Gain / ( Loss ) : 4,731.43 Netting Status : 4,731.43
Dividend Income : 4,731.43
Deposit : 4,731.43 Dividend Income : 4,731.43
Withdrawal : 4,731.43 Realize Gain / ( Loss ) : 4,731.43
Total Fund Transfer Out : 4,731.43 Unrealize Gain / ( Loss ) : 4,731.43
Total Withdrawal : 4,731.43 Net Gain / (Loss) : 4,731.43
Current Deposit : 4,731.43
Dividend/Coupon Receivable
Sl. Company Name Net Div(BDT)
1 SUMITPOWER 1,701.00
Bonus Share Receivable
Sl. Company Name Share
1 SUMITPOWER 1,701.00
* Payable fees and charges comprises accrued but unpaid interest on margin loan and management fee and becomes due for payment after each quarter. Unless paid by the clients within 15 days of every quarter-end, payable fees and charges may be realized/adjusted by selling of securities/from the sale proceeds of securities within 30 days.
No buy will be allowed if there is any negative purchase power.
@include('common.footer')