mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-26 04:55:15 +00:00
endValue handling if no trade close_timestamp
This commit is contained in:
parent
c15e0edee5
commit
098ef58a5d
|
@ -457,7 +457,9 @@ export default defineComponent({
|
|||
const navigateChartToTrade = (trade: Trade) => {
|
||||
sliderPosition.value = {
|
||||
startValue: trade.open_timestamp,
|
||||
endValue: trade.close_timestamp,
|
||||
endValue: trade.close_timestamp
|
||||
? trade.close_timestamp
|
||||
: trade.open_timestamp + 3 * 60 * 60 * 1000,
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user