mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-23 03:25:15 +00:00
Show slightly different values for Position increase calls
This commit is contained in:
parent
c8a0174726
commit
2128850dcf
|
@ -3,7 +3,7 @@
|
|||
id="forceentry-modal"
|
||||
ref="modal"
|
||||
v-model="model"
|
||||
title="Force entering a trade"
|
||||
:title="positionIncrease ? `Increasing position for ${pair}` : 'Force entering a trade'"
|
||||
@show="resetForm"
|
||||
@hidden="resetForm"
|
||||
@ok="handleEntry"
|
||||
|
@ -37,6 +37,7 @@
|
|||
id="pair-input"
|
||||
v-model="selectedPair"
|
||||
required
|
||||
:disabled="positionIncrease"
|
||||
@keydown.enter="handleEntry"
|
||||
@focus="inputSelect"
|
||||
></b-form-input>
|
||||
|
@ -124,6 +125,7 @@ import { ForceEnterPayload, OrderSides } from '@/types';
|
|||
const props = defineProps({
|
||||
modelValue: { required: true, default: false, type: Boolean },
|
||||
pair: { type: String, default: '' },
|
||||
positionIncrease: { type: Boolean, default: false },
|
||||
});
|
||||
const emit = defineEmits(['update:modelValue']);
|
||||
const botStore = useBotStore();
|
||||
|
|
|
@ -80,7 +80,11 @@
|
|||
</b-form-group>
|
||||
</div>
|
||||
<force-exit-form v-if="activeTrades" v-model="forceExitVisible" :trade="feTrade" />
|
||||
<ForceEntryForm v-model="increasePosition.visible" :pair="increasePosition.trade?.pair" />
|
||||
<ForceEntryForm
|
||||
v-model="increasePosition.visible"
|
||||
:pair="increasePosition.trade?.pair"
|
||||
position-increase
|
||||
/>
|
||||
|
||||
<b-modal v-model="removeTradeVisible" title="Exit trade" @ok="forceExitExecuter">
|
||||
{{ confirmExitText }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user