stock-bot/apps/stock/web-app/src/lib/constants.ts

41 lines
1.2 KiB
TypeScript

import {
BeakerIcon,
BuildingLibraryIcon,
ChartBarIcon,
ChartPieIcon,
CircleStackIcon,
CurrencyDollarIcon,
DocumentTextIcon,
ServerStackIcon,
} from '@heroicons/react/24/outline';
export interface NavigationItem {
name: string;
href?: string;
icon: React.ComponentType<React.SVGProps<SVGSVGElement>>;
children?: NavigationItem[];
}
export const navigation: NavigationItem[] = [
{
name: 'Market Data',
icon: CurrencyDollarIcon,
children: [
{ name: 'Exchanges', href: '/exchanges', icon: BuildingLibraryIcon },
{ name: 'Symbols', href: '/symbols', icon: ChartBarIcon },
],
},
{ name: 'Strategies', href: '/strategies', icon: DocumentTextIcon },
{ name: 'Backtests', href: '/backtests', icon: BeakerIcon },
{ name: 'Research', href: '/research', icon: BeakerIcon },
{ name: 'Experiments', href: '/experiments', icon: BeakerIcon },
{ name: 'Paper deployments', href: '/paper', icon: DocumentTextIcon },
{
name: 'System',
icon: ServerStackIcon,
children: [
{ name: 'Monitoring', href: '/system/monitoring', icon: ChartPieIcon },
{ name: 'Pipeline', href: '/system/pipeline', icon: CircleStackIcon },
],
},
];