Machine Trading is a workshop for researching trading strategies and evaluating AI models on Solana. Design a strategy, test it against simulated markets, and inspect how it behaves.
GitHub repository · Explore benchmark results · Documentation
The benchmark gives coding agents a trading objective, market interfaces, risk constraints and practice scenarios. Each agent builds a bot, which is then graded on hidden scenarios against an offline copy of Solana mainnet. Real protocol programs, transaction costs and task-specific risk rules shape the evaluation. Published strategies and trajectories let you inspect how each result was produced. These are simulated markets, not live-money trading results.
Run the benchmark with Prime
This package exposes Machine Trading as a Verifiers v1 taskset. It reuses immutable Harbor tasks, including their instructions, images and isolated graders. The default taskset includes all seven trading challenges.
Use Prime for evaluation and training experiments. Start with the benchmark development guide for setup and the grading guide for score definitions. Browse completed model runs in the benchmark explorer.
Configuration and evaluation boundaries
Keep the upstream timeouts, resource requests and separate verifier enabled.
The taskset rejects overrides that disable isolation or time limits. The evaluator
must supply MTX_EVAL_SEED as a secret available only to verification. Never put
it in task data, agent environment variables or a public evaluation configuration.
Hosted execution needs sandbox access and inference credentials. Publishing or installing this package does not start a paid evaluation. Hosted score and sandbox parity with Harbor have not yet been established; initial hosted runs are integration checks, not official benchmark results.
Related resources
- Harbor dataset: published tasks and leaderboard.
- Hugging Face results: result archives and trial/session tables.
- Source package: adapter code and validation checks.
Documentation revision
Package 0.17.1 updates the README for benchmark 0.17.0. Its taskset code, dependencies and pinned Harbor digest are unchanged from package 0.17.0.