src/components/order/index/orderPage.tsx
Purpose
Single entry point for per-index trading UI on the admin dashboard. Selects the correct segment page based on index setting configuration.Segment routing
activeSegment comes from IndexSetting.activeSegment ("cash" | "futures" | "options").
Props passed to segment pages
Related setting fields
tradingModes on the index setting enables/disables segments in the form; activeSegment determines which page renders on the dashboard.