mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
Fix bug in forcesell all
This commit is contained in:
parent
136f7a8267
commit
9413e75b12
|
@ -146,13 +146,14 @@ export default class BotControls extends Vue {
|
||||||
}
|
}
|
||||||
|
|
||||||
handleForceSell() {
|
handleForceSell() {
|
||||||
this.$bvModal.msgBoxConfirm(`Really forcesell ALL trades?`).then((value) => {
|
this.$bvModal.msgBoxConfirm(`Really forcesell ALL trades?`).then((value: boolean) => {
|
||||||
console.log(value);
|
if (value) {
|
||||||
const payload: ForceSellPayload = {
|
const payload: ForceSellPayload = {
|
||||||
tradeid: 'all',
|
tradeid: 'all',
|
||||||
// TODO: support ordertype (?)
|
// TODO: support ordertype (?)
|
||||||
};
|
};
|
||||||
this.forcesell(payload);
|
this.forcesell(payload);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user