mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
Improve graphical layout, allow chart view without selected timeframe
This commit is contained in:
parent
2bd8b21210
commit
dfe662b4fe
|
@ -7,7 +7,7 @@
|
|||
:options="botStore.activeBot.strategyList"
|
||||
>
|
||||
</b-form-select>
|
||||
<div class="ms-2">
|
||||
<div class="ms-1">
|
||||
<b-button @click="botStore.activeBot.getStrategyList">
|
||||
<i-mdi-refresh />
|
||||
</b-button>
|
||||
|
|
|
@ -174,6 +174,7 @@ export interface StrategyResult {
|
|||
strategy: string;
|
||||
/** Code of the strategy class */
|
||||
code: string;
|
||||
timeframe: string;
|
||||
}
|
||||
|
||||
export interface FreqAIModelListResult {
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
<!-- <b-form-checkbox v-model="historicView">HistoricData</b-form-checkbox> -->
|
||||
<!-- </div> -->
|
||||
<div v-if="botStore.activeBot.isWebserverMode" class="mx-md-3 mt-2">
|
||||
<div class="d-flex flex-wrap">
|
||||
<div class="col-md-3 text-start">
|
||||
<div class="d-flex flex-wrap gap-1">
|
||||
<div class="col-md-3 text-start me-1">
|
||||
<span>Strategy</span>
|
||||
<StrategySelect v-model="strategy" class="mt-1"></StrategySelect>
|
||||
</div>
|
||||
|
@ -27,7 +27,9 @@
|
|||
"
|
||||
:historic-view="botStore.activeBot.isWebserverMode"
|
||||
:timeframe="
|
||||
botStore.activeBot.isWebserverMode ? selectedTimeframe : botStore.activeBot.timeframe
|
||||
botStore.activeBot.isWebserverMode
|
||||
? selectedTimeframe || botStore.activeBot.strategy.timeframe || ''
|
||||
: botStore.activeBot.timeframe
|
||||
"
|
||||
:trades="botStore.activeBot.trades"
|
||||
:timerange="botStore.activeBot.isWebserverMode ? timerange : ''"
|
||||
|
|
Loading…
Reference in New Issue
Block a user