21 - Admin Section
Overview
Architecture Diagram
┌──────────────────────────────────────────────────────────────────────────────┐
│ Admin Section Architecture │
└──────────────────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────────────────┐
│ Admin Dashboard │
│ /admin │
│ │
│ ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ │
│ │ Freeze Qty │ │ Holidays │ │ Market Timings │ │
│ │ Management │ │ Calendar │ │ Configuration │ │
│ │ /admin/freeze │ │ /admin/holidays│ │ /admin/timings │ │
│ └────────┬────────┘ └────────┬────────┘ └────────┬────────┘ │
│ │ │ │ │
│ └────────────────────┼────────────────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────────────────────────────────────────────────────────────┐ │
│ │ Admin API Endpoints │ │
│ │ /admin/api/* │ │
│ └─────────────────────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────────────────┐
│ Monitoring Dashboards │
│ │
│ ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ │
│ │ Security │ │ Traffic │ │ Latency │ │
│ │ Dashboard │ │ Dashboard │ │ Dashboard │ │
│ │ /logs/security │ │ /logs/traffic │ │ /logs/latency │ │
│ │ │ │ │ │ │ │
│ │ - IP bans │ │ - HTTP logs │ │ - Order RTT │ │
│ │ - 404 tracking │ │ - Request/sec │ │ - Percentiles │ │
│ │ - API abuse │ │ - Error rates │ │ - SLA metrics │ │
│ └─────────────────┘ └─────────────────┘ └─────────────────┘ │
└─────────────────────────────────────────────────────────────────────────────┘Freeze Quantity Management
Purpose
API Endpoints
Method
Endpoint
Description
Database Schema
Example Request
Common Freeze Quantities
Symbol
Exchange
Freeze Qty
Market Holidays Management
Purpose
API Endpoints
Method
Endpoint
Description
Database Schema
Holiday Types
Type
Description
Supported Exchanges
Example Request
Market Timings Configuration
Purpose
API Endpoints
Method
Endpoint
Description
Default Timings
Exchange
Market Open
Market Close
Example Request
System Settings
Analyzer Mode Toggle
Settings Schema
Security Dashboard
Access
Features
Security Tables
Traffic Dashboard
Access
Features
Latency Dashboard
Access
Features
SLA Thresholds
Metric
Target
Access Control
Session Validation
Rate Limiting
Endpoint
Limit
React Components
File Structure
API Client
System Permissions
Endpoint
Checks
Path
Required Permission
Key Files Reference
File
Purpose
Last updated