diff --git a/apps/trading/pages/markets/trade-grid.tsx b/apps/trading/pages/markets/trade-grid.tsx index 1aac09459..f96383ecd 100644 --- a/apps/trading/pages/markets/trade-grid.tsx +++ b/apps/trading/pages/markets/trade-grid.tsx @@ -23,6 +23,8 @@ import { PriceCellChange, } from '@vegaprotocol/ui-toolkit'; import type { CandleClose } from '@vegaprotocol/types'; +import { MarketTradingMode } from '@vegaprotocol/types'; +import startCase from 'lodash/startCase'; const TradingViews = { Candles: CandlesChartContainer, @@ -87,20 +89,18 @@ export const TradeMarketHeader = ({ Volume {market.data && market.data.indicativeVolume !== '0' - ? market.data.indicativeVolume + ? Number(market.data.indicativeVolume).toLocaleString() : '-'}
Trading mode - {market.tradingMode} - -
-
- State - - {market.state} + {startCase( + market.tradingMode === MarketTradingMode.Continuous + ? 'Continuous Trading' + : market.tradingMode + )}