The Public API Skills Pack
A fully distributable bundle of agent skills, prompt templates, a dependency-free API client, and schema contracts — everything a capable AI agent needs to integrate with the CoinQuant platform without guesswork.
Built for agents with brains
The CoinQuant Public API Skills Pack is designed around a single principle: deterministic API calls first, AI reasoning second. Rather than letting an agent improvise around undocumented behavior, this pack gives it verified schemas, classified response contracts, and explicit operating rules that govern every interaction with the platform.
The pack ships with ten skill documents covering every layer of the API surface — from JWT validation and credit budgeting to multi-step research workflows, robustness testing, and community leaderboard access. A dependency-free Python client and a live validation suite round out the bundle, so you can confirm your integration is working against the real API before committing to a production workflow.
access_token and store it in token.json.What's inside
The archive unpacks to a structured directory with four top-level folders. Skills are numbered in load order — an agent should ingest them sequentially before reasoning about any API interaction.
cq_api_client.py and live validation suiteUp and running in minutes
Unpack the archive, drop in your token, and validate the connection before any paid workflow.
access_token from CoinQuant Settings → Service Accounts.tar xf coinquant-public-api-skills-pack-v1.tar.gz cd coinquant-public-api-skills-pack cp examples/token.example.json token.json # edit token.json — paste your access_token value
python3 --version # must be 3.11+ python3 -m py_compile scripts/*.py python3 -m unittest discover -s tests -q
python3 scripts/cq_api_client.py --token-file token.json validate-token python3 scripts/cq_api_client.py --token-file token.json credits
python3 scripts/cq_api_client.py --token-file token.json \ prompt 'Reply in one sentence: hello CoinQuant.'
--paid or --backtest flags only when you're ready to consume credits and create artifacts.python3 scripts/validate_live_pack.py --safe
The serious trader pipeline
For experienced users, the pack exposes a full research operating model that mirrors how a professional quant approaches strategy development — structured, evidence-driven, and resistant to overfit. Each phase uses the CoinQuant domain expert and public backtester as authoritative sources rather than relying on the agent’s own inferences.
strategy_version_id, then run an accurate CoinQuant backtest. Never synthesize IDs.Parameter sweep engine
The pack includes a first-class sweep command that automates the full cycle: token validation, credit snapshot, base strategy generation, finalization, backtest, and per-variant exploration. Each run produces a manifest.json, sanitized per-step JSON artifacts, schema-diff summaries, and a summary.md.
python3 scripts/cq_api_client.py sweep \ --config examples/xrp_sweep.example.json \ --output-dir ./evidence/xrp-sweep \ --max-credits 5000
--max-credits flag stops between runs using the observed credit delta, but a single in-flight prompt or backtest can consume credits before the guard triggers. Use small first-pass sweeps on tight budgets and prefer --dry-run to verify config before spending.Live-verified behavior
This pack was validated against the production API on 2026-05-06. The findings below reflect observed runtime behavior, not documentation assumptions. Agents loading this pack should treat these as ground truth until a newer validation run supersedes them.
Token handling
The pack uses a token.json file pattern rather than shell arguments or environment variables by default. Token files are listed in .gitignore and keep JWTs out of shell history, process listings, and chat logs. Environment variables remain supported for controlled automation contexts where secrets are managed externally.
If a token has expired, the client will not proceed to any paid or LLM work — it will stop and instruct you to regenerate a key in the CoinQuant frontend. Never pass raw JWTs as positional arguments to shell commands.