Skip to content

Commit

Permalink
Add summary tab
Browse files Browse the repository at this point in the history
  • Loading branch information
neokarasu authored Jan 10, 2018
1 parent 58d50a9 commit 948f778
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Features:
- A tab to keep track of your Bitfinex portfolio
- A tab to keep track of your Binance portfolio
- A tab to keep track of potential coins with simulated profit
- A summary tab listing profits per paper wallet/exchange only
- Easy to add interesting coins if necessary

Coins added for paper wallet, using public keys:
Expand Down
101 changes: 100 additions & 1 deletion coins.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,105 @@
<!-- Content of the Summary tab goes here -->



<div class="wrapper">

<div class="table">
<div class="row header blue" style="display:table-row">
<div class="cell">Summary (in dollars)</div>
</div>
</div>
<div class="table">
<div class="row header green">
<div class="cell">
Type
</div>
<div class="cell">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</div>
<div class="cell">
Profit
</div>
<div class="cell">
Profit&nbsp;%
</div>
</div>

<div class="row">
<div class="cell" data-title="WalletType">
Paper Wallet
</div>
<div class="cell" data-title="empty">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</div>
<div class="cell" data-title="profit">
$&nbsp;<?=round($paper_total_profit, 2)?>
</div>
<div class="cell" data-title="profit %">
<?=round($paper_total_percent_profit, 2)?>%
</div>
</div>

<div class="row">
<div class="cell" data-title="WalletType">
Bitfinex
</div>
<div class="cell" data-title="empty">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</div>
<div class="cell" data-title="profit">
$&nbsp;<?=round($bfn_total_profit, 2)?>
</div>
<div class="cell" data-title="profit %">
<?=round($bfn_total_percent_profit, 2)?>%
</div>
</div>

<div class="row">
<div class="cell" data-title="WalletType">
Binance
</div>
<div class="cell" data-title="empty">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</div>
<div class="cell" data-title="profit">
$&nbsp;<?=round($bin_total_profit, 2)?>
</div>
<div class="cell" data-title="profit %">
<?=round($bin_total_percent_profit, 2)?>%
</div>
</div>

<div class="row">
<div class="cell" data-title="Coin">
&nbsp;
</div>
<div class="cell" data-title="Symbol">
&nbsp;
</div>
<div class="cell" data-title="Rate">
&nbsp;
</div>
<div class="cell" data-title="buyin_rate">
&nbsp;
</div>
<div class="cell" data-title="empty">
Total:
</div>
<div class="cell" data-title="profit">
$&nbsp;<?=round($summary_total_profit, 2)?>
</div>
<div class="cell" data-title="profit %">
<?=round($summary_percent_profit, 2)?>%
</div>
</div>

</div>

</div>

</div>

<!-- End of content of the Summary tab -->


Expand Down Expand Up @@ -887,7 +986,7 @@
$&nbsp;<?=round($bin_total_profit, 2)?>
</div>
<div class="cell" data-title="profit %">
<?=round($bin_total_percent_profit, 2)?>%
<?=round($bin_total_percent_profit, 2)?>%
</div>
</div>

Expand Down

0 comments on commit 948f778

Please sign in to comment.