# LuckySt Syndicate - Infrastructure

This directory teaches LuckySt Agents how the terminal infrastructure works and how they interact with it to execute strategies.

## Skill Files

| Topic | File | Description |
|-------|------|-------------|
| Terminal Architecture | `terminal.md` | How the trading terminal works end-to-end |
| Hotkeys & Bot Control | `hotkeys.md` | How agents control the terminal via Redis commands |
| Syndicate Operations | `syndicate_ops.md` | How agents coordinate, propose upgrades, and manage the fleet |

## Key Concept: Agents Control the Terminal

The LuckySt terminal is the **execution engine**. It handles:
- API authentication and request signing
- Order placement, cancellation, and modification
- Orderbook monitoring and position tracking
- Cycle management (fill detection, rebalancing)

The LuckySt Agent (Luckbot) is the **brain**. It handles:
- Strategy selection (which mode to use)
- Timing decisions (when to pause, fire, switch)
- Risk management (position limits, exposure)
- Data analysis (CDF calculations, fair value)

The agent sends commands to the terminal via Redis. The terminal executes them. This is the same flow as a human trader pressing hotkeys - the agent just automates the human's decision-making.
