Downloads · 30 days
0
poolside-laguna-hackathon/trade-pool
trade-pool is a reinforcement learning model from poolside-laguna-hackathon. Use it for the reinforcement learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
Poolside × Prime Intellect Research Hackathon — Foundations track.
Downloads · 30 days
0
Access
Public
Updated May 30, 2026
Repo size
—
Likes
3
Public
Click a slice to open those files.
.py27.4 KB · 42%
From the Hugging Face model README
Poolside × Prime Intellect Research Hackathon — Foundations track.
A LoRA adapter for poolside/Laguna-XS.2, trained with reinforcement learning so the
model becomes a coding agent that writes causal crypto trading-strategy functions,
scored by a leak-proof out-of-sample backtest.
Trading discipline that normally lives as prompt text (a memory file of rules) is turned into adapter weights by rewarding disciplined, profitable behaviour on held-out market data. The verifier is the backtest.
verifiers, v0 SingleTurnEnv, pushed to stimulir/trade-pool):
the agent is given a Base-chain token's in-sample price history + a library of causal
indicators (RSI, MACD, MAs, z-score, Bollinger, volatility) and must write
def strategy(features, position) -> target_position.poolside/Laguna-XS.2, 50 steps, batch 128,
rollouts_per_example=8, enable_thinking=false. FREE hosted Laguna run.RL produced a clean, monotonic reward climb on the training environment:
| Stage | Total reward |
|---|---|
| step ~0 (baseline) | ~0.15 |
| step ~8 | 0.19 |
| step ~11 | 0.28 |
| step ~13 (peak) | ~0.42 |
| step ~50 (final) | ~0.34–0.41 |
Every rubric component improved together (not single-metric gaming):
reward_valid 0.30 → ~0.70 (writes valid trading code far more often),
reward_sharpe 0.10 → 0.33, drawdown/exposure/cost all up. Held-out-symbol eval on base
Laguna scored reward_valid 0.75 / reward_sharpe 0.45, confirming the env is in the
healthy trainable band before training.
checkpoint_id) — genuine parametric continuation.use_seed_principles=false); if the trained adapter stays disciplined, the rules now
live in the weights, not the prompt.trade_pool/ — the full verifiers environment (features, causal backtester, executor,
rubric, data) — installable, builds to a wheel, bundles its own OHLCV tape.adapter/ — the trained LoRA adapter weights for poolside/Laguna-XS.2.configs/ — the RL training config(s).reward_curve.txt, eval_*.json — training + eval metrics.prime env push --path ./trade_pool --visibility PRIVATE # -> <you>/trade-pool
prime eval run <you>/trade-pool -m poolside/laguna-xs.2 -n 8 -r 1
prime train run configs/iter_1.toml # FREE hosted Laguna RL
prime deployments create <adapter_id> # serve the adapter
Built at the Poolside London hackathon, 29–30 May 2026. Team: TradePool (Tosin Dairo).