Trading agent & evaluation
Royin
A team-built Wallex trading-agent prototype with simulation, risk limits and decision review.
A model proposes. Risk rules decide what can run.
Royin connects an asset, timestamp and market evidence to each decision. The repository also records the team’s Wallex-specific recognition at the hackathon.
Research and risk
Structured forecasts with independent limits
- Before an order
Size positions using volatility and liquidity and check fees, quantity steps and resale viability.
Orders and evaluation
Simulate, reconcile and replay
- Survive interruption
Track locked funds, partial fills and uncertain order states. Persist position and model-budget state across restarts.
- Measure outcomes
Monitor equity, drawdown and model use, then replay a recorded run against a baseline.
Product views
Image unavailable
Documented monitoring dashboard.
Image unavailable
Drawdown and portfolio monitoring view.
Architecture and tools
What happens between a forecast and an order
-
Capture market context
Market inputs and timestamps are validated before they are passed to the model.
-
Check the proposal
The host applies its own risk and state checks to the model’s structured proposal.
-
Keep a decision trail
Executed and blocked decisions are logged. The featured chart compares drawdown on demonstration data.
Agent and broker
Structured model output, broker adapters and persisted state.
- Python
- Pydantic AI
- SQLite
- Wallex API
Monitoring
An RTL dashboard reads decision and ledger records.
- HTML
- CSS
- JavaScript
- SVG