Repository navigation
Configuration
Tony edited this page Aug 22, 2026
·
2 revisions
Configuration is environment-driven. .env.example is the authoritative key
catalog and safe-default reference.
| Family | Purpose | Default posture |
|---|---|---|
MYSQL_* |
Canonical market-data database | Optional |
COORD_DB_* |
Cross-device control/coordination SQL | Optional, TLS required |
KIS_PROD_* |
Production account/API configuration | No secret defaults |
TRADING_ENABLED |
Administrative hard-lock | Fail-closed |
BUYBOARD_ENGINE_ENABLED |
Kanban execution cutover | false |
KANBAN_STRATEGY_INSTANCE_ID |
Stable Kanban ownership identity | Must be deliberate |
KIS_LIVE_EXECUTION_MODE |
Disabled/controlled/full-live envelope | Disabled |
KIS_CONTROLLED_LIVE_* |
Symbol/notional pilot fences | Empty/zero |
KIS_WS_*, KIS_MARKET_DATA_*
|
Verified real-time capability | Fail-closed |
KIS_MUTATION_* |
Shared request budgets and spacing | Unknown/zero blocks entry |
EXTERNAL_ALERT_* |
Critical out-of-process alerting | Optional |
QUANT_BACKUP_DIR |
Offsite local-state backup target | Optional |
AUTO_CLAIM_MAIN_ON_HANDOFF |
PC ownership auto-claim | 0 |
Multiple PROD accounts can use KIS_PROD_ACCOUNTS or numbered
KIS_PROD_ACCOUNT_NO_1 through _20. Do not put real account numbers in
documentation, tests, or committed fixtures.
Changing a feature flag never bypasses lease, ownership, reconciliation, risk, market-data, mutation-budget, or broker-boundary checks. See Risk and Safety Controls.
- Home
- Supabase Deployment
- Project Tour
- Quick Start
- System Overview
- Architecture
- Installation and Environment Setup
- Configuration
- User Workflow
- Watchlist and Buy List
- Buy Board and Kanban States
- Scanner and Charts
- Market Data and Database
- Synchronization
- Web/PWA Operator Synchronization
- KIS API Integration
- Current Order Logic
- Order Lifecycle
- Risk and Safety Controls
- Background Jobs and Automation
- Testing
- Operations and Monitoring
- Troubleshooting
- Security
- Glossary