Remove from workspace members, delete K8s deployment, remove nginx routing. Training metrics and system health now served directly by API Gateway. Changes: - Cargo.toml: remove services/monitoring_service from workspace members - services/monitoring_service/: deleted entirely (6 files) - infra/k8s/services/monitoring-service.yaml: deleted - infra/k8s/network-policies/monitoring-service.yaml: deleted - infra/k8s/network-policies/api-gateway.yaml: remove egress rule to monitoring-service - infra/k8s/network-policies/web-gateway.yaml: remove egress rule to monitoring-service - infra/k8s/services/api-gateway.yaml: remove stale MONITORING_SERVICE_URL env var - infra/k8s/gitlab/tailscale-proxy.yaml: redirect monitor.fxhnt.ai to api-gateway:50051 - .gitlab-ci.yml: remove monitoring_service from compile, copy, and deploy loops - services/trading_service/src/services/monitoring.rs: update stale comments to reference api_gateway (not monitoring_service) as training metrics host Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
trading_service
Core execution engine for order placement, position keeping, risk integration, and real-time P&L tracking.
Key Types
TradingServiceImpl-- main gRPC serviceOrderExecutor-- high-throughput order handlingPositionManager-- real-time position and P&L trackingRiskIntegration-- pre-trade and post-trade compliance
gRPC Endpoints
PlaceOrder-- submit new ordersCancelOrder-- cancel existing ordersGetPosition-- query current positionsSubscribeMarketData-- market data feedsGetPnlUpdates-- real-time P&L updates
Configuration
GRPC_PORT-- gRPC listen portDATABASE_URL-- PostgreSQL connection stringTLS_ENABLED-- enable TLS 1.3 (default: false)TLS_CERT_PATH,TLS_KEY_PATH,TLS_CA_PATH-- TLS certificatesTLS_REQUIRE_CLIENT_CERT-- mutual TLS (default: false)
Testing
SQLX_OFFLINE=true cargo test -p trading_service --lib