Skip to content

Commit

Permalink
vue: v0.3.0: accounting
Browse files Browse the repository at this point in the history
  • Loading branch information
suenot committed May 29, 2019
1 parent cbb0fec commit 6369561
Show file tree
Hide file tree
Showing 7 changed files with 122 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Kupi-terminal – crypto currency trading terminal

[![License](https://img.shields.io/badge/licence-GPL--2.0-blue.svg)](https://raw.githubusercontent.com/kupi-network/kupi-terminal/master/LICENSE) [![Discord](https://img.shields.io/discord/430374279343898624.svg?color=4D64BA&label=chat%20on%20discord)](https://discord.gg/2PtuMAg) ![Version](https://img.shields.io/badge/express_server-0.6.0-blue.svg) ![Version](https://img.shields.io/badge/react_client-0.6.0-blue.svg) ![Version](https://img.shields.io/badge/vue_client-0.2.0-blue.svg) [![codecov](https://codecov.io/gh/kupi-network/kupi-terminal/branch/master/graph/badge.svg)](https://codecov.io/gh/kupi-network/kupi-terminal) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/a0b7b6b595fd4b3db3818fed7665b1bf)](https://www.codacy.com/app/suenot/kupi-terminal?utm_source=github.com&utm_medium=referral&utm_content=kupi-network/kupi-terminal&utm_campaign=Badge_Grade) [![Build Status](https://travis-ci.org/kupi-network/kupi-terminal.svg?branch=master)](https://travis-ci.org/kupi-network/kupi-terminal)
[![License](https://img.shields.io/badge/licence-GPL--2.0-blue.svg)](https://raw.githubusercontent.com/kupi-network/kupi-terminal/master/LICENSE) [![Discord](https://img.shields.io/discord/430374279343898624.svg?color=4D64BA&label=chat%20on%20discord)](https://discord.gg/2PtuMAg) ![Version](https://img.shields.io/badge/express_server-0.6.0-blue.svg) ![Version](https://img.shields.io/badge/react_client-0.6.0-blue.svg) ![Version](https://img.shields.io/badge/vue_client-0.3.0-blue.svg) [![codecov](https://codecov.io/gh/kupi-network/kupi-terminal/branch/master/graph/badge.svg)](https://codecov.io/gh/kupi-network/kupi-terminal) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/a0b7b6b595fd4b3db3818fed7665b1bf)](https://www.codacy.com/app/suenot/kupi-terminal?utm_source=github.com&utm_medium=referral&utm_content=kupi-network/kupi-terminal&utm_campaign=Badge_Grade) [![Build Status](https://travis-ci.org/kupi-network/kupi-terminal.svg?branch=master)](https://travis-ci.org/kupi-network/kupi-terminal)

Open source, customized, extendable trading terminal that supports 130+ crypto stocks.

Expand Down
110 changes: 110 additions & 0 deletions packages/vue-client/public/img/widgets/accounting.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
<td>{{deal.pairs | commas}}</td>
<td>{{deal.coins | commas}}</td>
<!-- <td>DNT, BTC, ETH, BNB</td> -->
<td>-{{deal.credited | toFixed(8)}} USD ({{deal.credited_trades}} trades)</td>
<td>+{{deal.debited | toFixed(8)}} USD ({{deal.debited_trades}} trades)</td>
<td>{{deal.total | toFixed(8)}} USD ({{deal.total_trades}} trades)</td>
<td>-{{deal.credited | toFixed(8)}} ({{deal.credited_trades}} trades)</td>
<td>+{{deal.debited | toFixed(8)}} ({{deal.debited_trades}} trades)</td>
<td>{{deal.total | toFixed(8)}} ({{deal.total_trades}} trades)</td>
<!-- <td>closed / open</td> -->
<td>{{deal.timestamp_open | moment('dmyhms')}} — {{deal.timestamp_closed | moment('dmyhms')}} ({{deal.timestamp_duration | duration() }})</td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
<td>{{deal.stocks | commas}}</td>
<td>{{deal.coins | commas}}</td>
<td>{{deal.pairs | commas}}</td>
<td>{{deal.credited | toFixed(8)}} USD ({{deal.credited_trades}})</td>
<td>{{deal.debited | toFixed(8)}} USD ({{deal.debited_trades}})</td>
<td>{{deal.total | toFixed(8)}} USD ({{deal.total_trades}})</td>
<td>{{deal.credited | toFixed(8)}} ({{deal.credited_trades}})</td>
<td>{{deal.debited | toFixed(8)}} ({{deal.debited_trades}})</td>
<td>{{deal.total | toFixed(8)}} ({{deal.total_trades}})</td>
<!-- <td>{{deal.status}}</td> -->
<td>{{deal.timestamp_open | moment('dmyhms')}} — {{deal.timestamp_closed | moment('dmyhms')}} ({{deal.timestamp_duration | duration() }})</td>
<td class="nowrap">
Expand Down
7 changes: 5 additions & 2 deletions packages/vue-client/src/utils_components/Menu/Menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
<div class="menu">
<ul>
<el-tooltip content="Trade" placement="right">
<router-link tag="li" to="/trade"><img src="/img/widgets/002-business-and-finance.svg"></router-link>
<router-link tag="li" to="/trade"><img src="/img/widgets/trade.svg"></router-link>
</el-tooltip>
<el-tooltip content="Balance" placement="right">
<router-link tag="li" to="/balance"><img src="/img/widgets/040-business-and-finance-18.svg"></router-link>
<router-link tag="li" to="/balance"><img src="/img/widgets/balance.svg"></router-link>
</el-tooltip>
<el-tooltip content="Accounting" placement="right">
<router-link tag="li" to="/deals"><img src="/img/widgets/accounting.svg"></router-link>
</el-tooltip>
<!-- <el-tooltip content="Signals" placement="right">
<router-link tag="li" to="/signals"><img src="/img/widgets/021-order.svg"></router-link>
Expand Down

0 comments on commit 6369561

Please sign in to comment.