mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
Use timestamp for stoploss update time
This commit is contained in:
parent
39eef24daf
commit
408e9c56d1
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -24,4 +24,4 @@ jobs:
|
|||
|
||||
- name: Run Lint
|
||||
run: |
|
||||
npm run lint-ci
|
||||
yarn lint-ci
|
||||
|
|
|
@ -4,6 +4,10 @@
|
|||
<label class="col-4">TradeId</label>
|
||||
<div class="col-8">{{ trade.trade_id }}</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<label class="col-4">Pair</label>
|
||||
<div class="col-8">{{ trade.pair }}</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<label class="col-4">Stoploss</label>
|
||||
<div class="col-8">
|
||||
|
@ -40,6 +44,18 @@
|
|||
<label class="col-4">Max Rate</label>
|
||||
<div class="col-8">{{ trade.max_rate }}</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<label class="col-4">Open date</label>
|
||||
<div class="col-8">{{ timestampms(trade.open_timestamp) }}</div>
|
||||
</div>
|
||||
<div class="row" v-if="trade.close_date">
|
||||
<label class="col-4">Close date</label>
|
||||
<div class="col-8">{{ timestampms(trade.close_timestamp) }}</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<label class="col-4">Stoploss last updated</label>
|
||||
<div class="col-8">{{ timestampms(trade.stoploss_last_update_timestamp) }}</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<label class="col-4">Current profit</label>
|
||||
<div class="col-8">{{ trade.current_profit_abs }}</div>
|
||||
|
@ -48,7 +64,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { formatPercent, formatPrice } from '@/shared/formatters';
|
||||
import { formatPercent, formatPrice, timestampms } from '@/shared/formatters';
|
||||
|
||||
export default {
|
||||
name: 'TradeDetail',
|
||||
|
@ -61,6 +77,7 @@ export default {
|
|||
methods: {
|
||||
formatPercent,
|
||||
formatPrice,
|
||||
timestampms,
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue
Block a user