diff --git a/components/trade/TradingViewChart.tsx b/components/trade/TradingViewChart.tsx index 5d9982e9..205fac6c 100644 --- a/components/trade/TradingViewChart.tsx +++ b/components/trade/TradingViewChart.tsx @@ -366,10 +366,12 @@ const TradingViewChart = () => { typeof order.side === 'string' ? t(order.side) : 'bid' in order.side - ? t('buy') - : t('sell') - const isLong = side.toLowerCase() === 'buy' - const isShort = side.toLowerCase() === 'sell' + ? t('long') + : t('short') + const isLong = + side.toLowerCase() === 'buy' || side.toLowerCase() === 'long' + const isShort = + side.toLowerCase() === 'sell' || side.toLowerCase() === 'short' const [minOrderDecimals, tickSizeDecimals] = getOrderDecimals() const orderSizeUi: string = formatNumericValue( order.size,