Moby Agent Marketplace Connect Moby MCP Get the app

Qlib

COMMUNITY· Repos & libraries · by Microsoft · v0.9.7

Qlib is Microsoft's open-source quant research platform: load Moby candles, build features, train a model and backtest a signal across many tokens at once.

What it touches

Reads
OHLCV CSVs you export (for example from Moby's get_token_ohlcv), converted to Qlib's .bin format
Writes
Local data directory, trained models and backtest reports
Tools
Python library `pyqlib` with scripts; Python 3.8 to 3.12
Trades
Never trades

About

Qlib (pip install pyqlib) is a quant research framework from Microsoft. It stores OHLCV in its own .bin format, builds features with an expression engine (Ref($close, 60) / $close), trains models from a zoo of baselines (LightGBM, transformers, and more), and runs portfolio-style backtests with its own analysis reports. It is built for research on many instruments over long histories.

What it adds to Moby. Cross-sectional research. Backtesting.py tests one token at a time; Qlib ranks a universe. Export candles for the Solana tokens your agent follows, convert them with scripts/dump_bin.py, and test whether a feature set predicts next-day returns across the group.

How to pair it. Pull get_token_ohlcv for a basket (your watchlist, the top of get_screener_leaderboard, or wallets' holdings from get_whale_wallet_holdings), write one CSV per token with date, open, high, low, close, volume, dump to Qlib format and run a workflow. Use the result to shape a Moby strategy, not to pick a trade. Moby returns candles newest-first; reverse them before you feed them in.

What it does not do. It does not trade and does not read Moby directly. Its data collectors, examples and benchmarks are for stocks; on short, thin memecoin histories a model will overfit, so keep it to tokens with weeks of candles. It is heavy to install (LightGBM, Cython) and the main branch has unreleased breaking changes; stick to the PyPI release.

Install

Third-party code: Moby does not audit or control it. Read the source before you run it.

  1. pip install pyqlib
  2. Export one CSV per token with columns symbol, date, open, high, low, close, volume, oldest row first, into one folder.
  3. From a clone of the repo, convert them: python scripts/dump_bin.py dump_all --data_path <csv folder> --qlib_dir ~/.qlib/qlib_data/moby --include_fields open,close,high,low,volume --date_field_name date --symbol_field_name symbol
  4. Point a workflow at ~/.qlib/qlib_data/moby; the data guide is at https://qlib.readthedocs.io/en/latest/component/data.html
  5. Ask: *"Pull 30 days of hourly candles for my watchlist tokens with get_token_ohlcv, put them oldest-first, dump them to Qlib format and test whether a 24-candle momentum feature ranks next-day returns."*

Works with

  • Grok Bot
  • Claude Code
  • Codex

Curated listing. Moby did not audit the code. · Version 0.9.7 · Updated 2026-11-02

Run these with Moby

Get the Moby app, connect your agent to Moby's MCP, then manage its limits from the app.