mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-11 02:33:51 +00:00
Merge branch 'master' into vue-grid-merge
This commit is contained in:
commit
b31f426750
|
@ -14,7 +14,7 @@ export default class ProfitSymbol extends Vue {
|
|||
|
||||
get isProfitable() {
|
||||
console.log(this.trade);
|
||||
const res = (this.trade.close_profit ?? 1) < 0 || (this.trade.current_profit ?? 1) < 0;
|
||||
const res = (this.trade.close_profit ?? 0) > 0 || (this.trade.current_profit ?? 0) > 0;
|
||||
console.log(res);
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user