mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-26 13:05:15 +00:00
Small style improvements, always show Graph link
This commit is contained in:
parent
7b68d9ce7a
commit
1616c10602
|
@ -76,6 +76,14 @@
|
|||
@click="savePlotConfig"
|
||||
>Save</b-button
|
||||
>
|
||||
<b-button
|
||||
class="ml-1"
|
||||
variant="primary"
|
||||
size="sm"
|
||||
title="Load configuration from text box below"
|
||||
@click="resetConfig"
|
||||
>Reset</b-button
|
||||
>
|
||||
<b-button
|
||||
id="showButton"
|
||||
class="ml-1"
|
||||
|
@ -85,15 +93,7 @@
|
|||
@click="showConfig = !showConfig"
|
||||
>Show</b-button
|
||||
>
|
||||
<b-button
|
||||
v-if="showConfig"
|
||||
class="ml-1"
|
||||
variant="primary"
|
||||
size="sm"
|
||||
title="Load configuration from text box below"
|
||||
@click="resetConfig"
|
||||
>Reset</b-button
|
||||
>
|
||||
|
||||
<b-button
|
||||
v-if="showConfig"
|
||||
class="ml-1"
|
||||
|
|
|
@ -154,7 +154,10 @@ export default class BacktestResultView extends Vue {
|
|||
get backtestResultStats() {
|
||||
// Transpose Result into readable format
|
||||
return [
|
||||
{ metric: 'Total trades', value: this.backtestResult.total_trades },
|
||||
{
|
||||
metric: 'Total trades / Daily Avg Trades',
|
||||
value: `${this.backtestResult.total_trades} / ${this.backtestResult.trades_per_day}`,
|
||||
},
|
||||
// { metric: 'First trade', value: this.backtestResult.backtest_fi },
|
||||
// { metric: 'First trade Pair', value: this.backtestResult.backtest_best_day },
|
||||
{
|
||||
|
@ -163,7 +166,6 @@ export default class BacktestResultView extends Vue {
|
|||
this.backtestResult.profit_total_abs,
|
||||
)}`,
|
||||
},
|
||||
{ metric: 'Trades per day', value: this.backtestResult.trades_per_day },
|
||||
|
||||
{
|
||||
metric: 'Best day',
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<b-navbar-nav>
|
||||
<b-nav-item v-if="!canRunBacktest" to="/trade">Trade</b-nav-item>
|
||||
<b-nav-item v-if="!canRunBacktest" to="/dashboard">Dashboard</b-nav-item>
|
||||
<b-nav-item v-if="canRunBacktest" to="/graph">Graph</b-nav-item>
|
||||
<b-nav-item to="/graph">Graph</b-nav-item>
|
||||
<b-nav-item v-if="canRunBacktest" to="/backtest">Backtest</b-nav-item>
|
||||
<BootswatchThemeSelect />
|
||||
</b-navbar-nav>
|
||||
|
|
Loading…
Reference in New Issue
Block a user