mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
Add stoploss on exchange to botstatus view
This commit is contained in:
parent
6d8961ac11
commit
8fd1fa4b34
|
@ -14,8 +14,15 @@
|
|||
on
|
||||
<strong>{{ botStore.activeBot.botState.exchange }}</strong> in
|
||||
<strong>{{ botStore.activeBot.botState.trading_mode || 'spot' }}</strong> markets, with
|
||||
Strategy
|
||||
<strong>{{ botStore.activeBot.botState.strategy }}</strong>
|
||||
Strategy <strong>{{ botStore.activeBot.botState.strategy }}</strong
|
||||
>.
|
||||
</p>
|
||||
<p v-if="'stoploss_on_exchange' in botStore.activeBot.botState">
|
||||
Stoploss on exchange is
|
||||
<strong>{{
|
||||
botStore.activeBot.botState.stoploss_on_exchange ? 'enabled' : 'disabled'
|
||||
}}</strong
|
||||
>.
|
||||
</p>
|
||||
<p>
|
||||
Currently <strong>{{ botStore.activeBot.botState.state }}</strong
|
||||
|
|
|
@ -144,7 +144,6 @@ export interface BotState {
|
|||
stake_currency: string;
|
||||
stake_currency_decimals?: number;
|
||||
available_balance?: number;
|
||||
stoploss: number;
|
||||
strategy: string;
|
||||
/** Timeframe in readable form (e.g. 5m) */
|
||||
timeframe: string;
|
||||
|
@ -155,6 +154,8 @@ export interface BotState {
|
|||
/** Given name of the bot */
|
||||
bot_name: string;
|
||||
|
||||
stoploss: number;
|
||||
stoploss_on_exchange?: boolean;
|
||||
trailing_only_offset_is_reached: boolean;
|
||||
trailing_stop: boolean;
|
||||
trailing_stop_positive: number;
|
||||
|
|
Loading…
Reference in New Issue
Block a user