diff --git a/src/components/ftbot/TradeDetail.vue b/src/components/ftbot/TradeDetail.vue index c2316a0a..0de1d2f0 100644 --- a/src/components/ftbot/TradeDetail.vue +++ b/src/components/ftbot/TradeDetail.vue @@ -112,13 +112,21 @@ )}, filled ${formatPrice(order.filled)}`" > (#{{ key + 1 }}) + + - {{ order.ft_order_side }} for - {{ formatPrice(order.safe_price) }} | + {{ + order.ft_order_side + }} + for {{ formatPrice(order.safe_price) }} | {{ formatPrice(order.remaining, 8) }} / @@ -136,6 +144,8 @@ import { formatPercent, formatPriceCurrency, formatPrice, timestampms } from '@/shared/formatters'; import { Trade } from '@/types'; +const colorStore = useColorStore(); + defineProps({ trade: { required: true, type: Object as () => Trade }, stakeCurrency: { required: true, type: String }, @@ -148,4 +158,11 @@ defineProps({ width: 100%; display: block; } +.color-up { + color: v-bind('colorStore.colorUp'); +} + +.color-down { + color: v-bind('colorStore.colorDown'); +}