mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-26 21:15:15 +00:00
don't require open trades in cumprofitchart
This commit is contained in:
parent
cf4fdacd0e
commit
2a033370fb
|
@ -50,7 +50,7 @@ const CHART_PROFIT = 'Profit';
|
|||
|
||||
const props = defineProps({
|
||||
trades: { required: true, type: Array as () => ClosedTrade[] },
|
||||
openTrades: { required: true, type: Array as () => Trade[] },
|
||||
openTrades: { required: false, type: Array as () => Trade[], default: () => [] },
|
||||
showTitle: { default: true, type: Boolean },
|
||||
profitColumn: { default: 'profit_abs', type: String },
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user