mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
Slightly improve trade color scheme
This commit is contained in:
parent
977c8814b3
commit
d4d30f4005
|
@ -485,6 +485,7 @@ export default defineComponent({
|
|||
itemStyle: {
|
||||
// color: tradeSellColor,
|
||||
color: (v) => v.data[4],
|
||||
opacity: 0.9,
|
||||
},
|
||||
symbol: (v) => v[2],
|
||||
symbolRotate: (v) => v[3],
|
||||
|
|
|
@ -40,7 +40,7 @@ export function getTradeEntries(dataset: PairHistory, filteredTrades: Trade[]) {
|
|||
ENTRY_SYMB,
|
||||
trade.is_short ? 180 : 0,
|
||||
// (trade.profit_abs ?? 0) > 0 ? '#31e04b' : '#fc0505',
|
||||
trade.is_short ? '#b21dbf' : '#0099ff',
|
||||
trade.is_short ? '#AD00FF' : '#0066FF',
|
||||
'',
|
||||
// trade.profit_abs,
|
||||
buildToolTip(trade, 'entry'),
|
||||
|
@ -58,7 +58,7 @@ export function getTradeEntries(dataset: PairHistory, filteredTrades: Trade[]) {
|
|||
trade.close_rate,
|
||||
EXIT_SYMB,
|
||||
trade.is_short ? 180 : 0,
|
||||
trade.is_short ? '#b21dbf' : '#0099ff',
|
||||
trade.is_short ? '#AD00FF' : '#0066FF',
|
||||
// (trade.profit_abs ?? 0) > 0 ? '#31e04b' : '#fc0505',
|
||||
formatPercent(trade.profit_ratio, 2),
|
||||
buildToolTip(trade, 'exit'),
|
||||
|
|
Loading…
Reference in New Issue
Block a user