Itr Wala
karanb192/itr-wala
File Indian income tax returns (ITR) for FY 2025-26 / AY 2026-27.
XtQuant QMT Python SDK - 集成行情数据(xtdata)和交易接口(xttrade),支持A股、期货、期权等中国证券市场。
$ npx skills add LeoYeAI/openclaw-master-skills --skill xtquant -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills xtquant --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/xtquant .claude/skills/xtquant && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "xtquant" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/xtquant into .claude/skills/xtquant/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xtquant", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/xtquantType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add LeoYeAI/openclaw-master-skills --skill xtquant -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills xtquant --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/xtquant .agents/skills/xtquant && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "xtquant" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/xtquant into .agents/skills/xtquant/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xtquant", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill xtquant -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills xtquant --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/xtquant .cursor/skills/xtquant && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "xtquant" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/xtquant into .cursor/skills/xtquant/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xtquant", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/LeoYeAI/openclaw-master-skills.git --path skills/xtquant--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add LeoYeAI/openclaw-master-skills --skill xtquant -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills xtquant --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/xtquant .gemini/skills/xtquant && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "xtquant" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/xtquant into .gemini/skills/xtquant/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xtquant", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install LeoYeAI/openclaw-master-skills xtquantInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add LeoYeAI/openclaw-master-skills --skill xtquant -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/xtquant .github/skills/xtquant && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "xtquant" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/xtquant into .github/skills/xtquant/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xtquant", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill xtquant -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills xtquant --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/xtquant .opencode/skills/xtquant && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "xtquant" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/xtquant into .opencode/skills/xtquant/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xtquant", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
xtquantXtQuant QMT Python SDK - 集成行情数据(xtdata)和交易接口(xttrade),支持A股、期货、期权等中国证券市场。
Xtquant is an agent skill from LeoYeAI/openclaw-master-skills. XtQuant QMT Python SDK - 集成行情数据(xtdata)和交易接口(xttrade),支持A股、期货、期权等中国证券市场。
Its SKILL.md is about 4.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files (for example `QUICK_REFERENCE.md`, `README.md` and `_meta.json`).
It sits in Business, Finance & HR. It works with Python. The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (Python), which the agent can run.
Shell commands in SKILL.md call:
pipFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
dict.thinktrader.netthinktrader.netspace.bilibili.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Xtquant loads about 4.2k tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 646 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 646 words, ~4,242 tokens.
.claude/skills/xtquant/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.XtQuant is the Python SDK for the QMT/miniQMT quantitative trading platform, developed by ThinkTrader (XunTou Technology). It contains two core modules:
⚠️ Requires miniQMT or QMT client running on Windows. XtQuant connects to the QMT process via local TCP. You need QMT/miniQMT access enabled by your broker.
pip install xtquantYou can also download from the official website: http://dict.thinktrader.net/nativeApi/download_xtquant.html
Your Python script (any IDE, any Python version)
↓ (xtquant SDK, pip install)
├── xtdata → miniQMT (market data service, TCP connection)
└── xttrade → miniQMT (trading service, TCP connection)
↓
Broker trading system| Module | Import | Purpose |
|---|---|---|
xtdata | from xtquant import xtdata | Market data: K-lines, tick, Level 2, financials, sectors |
xttrader | from xtquant.xttrader import XtQuantTrader | Trading: order placement, queries, callbacks |
xtconstant | from xtquant import xtconstant | Constants: order types, price types, market codes |
xttype | from xtquant.xttype import StockAccount | Account types: STOCK, CREDIT, FUTURE |
from xtquant import xtdata
# Connect to local miniQMT (default: localhost)
xtdata.connect()
# Download historical K-line data (must download to local cache before first access)
xtdata.download_history_data('000001.SZ', '1d', start_time='20240101', end_time='20240630')
# Get local K-line data (returns a dict of DataFrames keyed by stock code)
data = xtdata.get_market_data_ex(
[], # field_list, empty list means all fields
['000001.SZ'], # stock_list, list of stock codes
period='1d',
start_time='20240101',
end_time='20240630',
dividend_type='front' # 复权类型: none (unadjusted), front (forward-adjusted), back (backward-adjusted), front_ratio (proportional forward), back_ratio (proportional backward)
)
print(data['000001.SZ'])def on_data(datas):
"""Quote data callback function, receives pushed real-time data"""
for stock_code, data in datas.items():
print(stock_code, data)
# Subscribe to tick data for a single stock
xtdata.subscribe_quote('000001.SZ', period='tick', callback=on_data)
# Subscribe to full-market quote push
xtdata.subscribe_whole_quote(['SH', 'SZ'], callback=on_data)
xtdata.run() # Block the current thread, continuously receiving callback data# First download financial data to local cache
xtdata.download_financial_data(['000001.SZ'])
# Then retrieve financial data from local cache
data = xtdata.get_financial_data(['000001.SZ'])
# Available financial reports: Balance (balance sheet), Income (income statement), CashFlow (cash flow statement),
# PershareIndex (per-share indicators), CapitalStructure (capital structure), TOP10HOLDER (top 10 shareholders),
# TOP10FLOWHOLDER (top 10 tradable shareholders), SHAREHOLDER (shareholder count)# Get detailed instrument info (name, price limits, tick size, etc.)
info = xtdata.get_instrument_detail('000001.SZ')
# Get security type (stock/index/fund/bond, etc.)
itype = xtdata.get_instrument_type('000001.SZ')
# Get list of stocks in a sector
stocks = xtdata.get_stock_list_in_sector('沪深A股')
# Get list of trading dates
days = xtdata.get_trading_dates('SH', start_time='20240101', end_time='20240630')from xtquant import xtconstant
from xtquant.xttrader import XtQuantTrader, XtQuantTraderCallback
from xtquant.xttype import StockAccount
# Create a trader instance (path points to miniQMT's userdata_mini directory)
path = r'D:\国金证券QMT交易端\userdata_mini'
session_id = 123456 # Each strategy must use a unique session_id
xt_trader = XtQuantTrader(path, session_id)
# Register a callback class to receive real-time push notifications
class MyCallback(XtQuantTraderCallback):
def on_disconnected(self):
print('Disconnected')
def on_stock_order(self, order):
print(f'Order update: {order.stock_code} status={order.order_status}')
def on_stock_trade(self, trade):
print(f'Trade update: {trade.stock_code} {trade.traded_volume}@{trade.traded_price}')
def on_order_error(self, order_error):
print(f'Order error: {order_error.error_msg}')
def on_order_stock_async_response(self, response):
print(f'Async order response: order_id={response.order_id}')
xt_trader.register_callback(MyCallback())
xt_trader.start()
connect_result = xt_trader.connect() # 收益率 0 on successful connection
# Create an account object and subscribe to push notifications
account = StockAccount('your_account_id')
xt_trader.subscribe(account) # Enable push notifications for this account
# Place order: limit buy 600000.SH, 1000 shares at price 10.5
order_id = xt_trader.order_stock(
account, '600000.SH', xtconstant.STOCK_BUY, 1000,
xtconstant.FIX_PRICE, 10.5, 'strategy1', 'test_order'
)
# 收益率 order_id > 0 on success, -1 on failure
# 查询持仓
positions = xt_trader.query_stock_positions(account)
for pos in positions:
print(pos.stock_code, pos.volume, pos.can_use_volume, pos.market_value)
# Query orders
orders = xt_trader.query_stock_orders(account)
# Query assets
asset = xt_trader.query_stock_asset(account)
print(f'Available cash: {asset.cash}, Total assets: {asset.total_asset}')
# 撤单
xt_trader.cancel_order_stock(account, order_id)
# Block the main thread, waiting for callbacks
xt_trader.run_forever()| Market | Format | Example |
|---|---|---|
| Shanghai A-shares | XXXXXX.SH | 600000.SH |
| Shenzhen A-shares | XXXXXX.SZ | 000001.SZ |
| Beijing Stock Exchange | XXXXXX.BJ | 430047.BJ |
| Shanghai Index | XXXXXX.SH | 000001.SH (SSE Composite Index) |
| Shenzhen Index | XXXXXX.SZ | 399001.SZ (SZSE Component Index) |
| CFFEX Futures | XXXX.IF | IF2401.IF (CSI 300 Futures) |
| SHFE Futures | XXXX.SF | ag2407.SF (Silver Futures) |
| DCE Futures | XXXX.DF | m2405.DF (Soybean Meal Futures) |
| ZCE Futures | XXXX.ZF | CF405.ZF (Cotton Futures) |
| INE Futures | XXXX.INE | sc2407.INE (Crude Oil Futures) |
| Shanghai Options | XXXXXXXX.SHO | 10004358.SHO |
| Shenzhen Options | XXXXXXXX.SZO | 90000001.SZO |
| ETF | XXXXXX.SH/SZ | 510300.SH |
| Convertible Bonds | XXXXXX.SH/SZ | 113050.SH |
tick, 1m, 5m, 15m, 30m, 1h, 1d, 1w, 1mon
| Asset | Market Data (xtdata) | Trading (xttrade) |
|---|---|---|
| A-shares (Shanghai & Shenzhen) | ✅ K-lines, tick, Level 2, financials | ✅ Buy/Sell |
| ETF | ✅ K-lines, tick, IOPV | ✅ Buy/Sell, Subscribe/Redeem |
| Convertible Bonds | ✅ K-lines, tick | ✅ Buy/Sell |
| Futures | ✅ K-lines, tick | ✅ Open long/Close long/Open short/Close short |
| Options | ✅ K-lines, tick | ✅ Buy/Sell open/close, Exercise |
| Indices | ✅ K-lines, tick | ❌ |
| Funds | ✅ K-lines, tick | ✅ Buy/Sell |
| Margin Trading | ✅ Via credit account | ✅ Full credit trading |
| Category | Constants |
|---|---|
| Stock | STOCK_BUY (23, buy), STOCK_SELL (24, sell) |
| Credit | CREDIT_FIN_BUY (margin buy), CREDIT_SLO_SELL (short sell), CREDIT_BUY_SECU_REPAY (buy to repay securities), CREDIT_DIRECT_CASH_REPAY (direct cash repayment), etc. |
| Futures | FUTURE_BUY_OPEN (open long), FUTURE_SELL_CLOSE (close long), FUTURE_SELL_OPEN (open short), FUTURE_BUY_CLOSE (close short) |
| Options | STOCK_OPTION_BUY_OPEN (buy to open), STOCK_OPTION_SELL_CLOSE (sell to close), STOCK_OPTION_EXERCISE (exercise), etc. |
| Price Type | FIX_PRICE (11, limit), ANY_PRICE (12, market), LATEST_PRICE (5, latest price), MARKET_PEER_PRICE_FIRST (best counterparty price), etc. |
StockAccount('id') # Regular stock account
StockAccount('id', 'CREDIT') # Credit account (margin trading)
StockAccount('id', 'FUTURE') # Futures accountThe market data module follows a unified download → retrieve pattern:
subscribe_quote, subscribe_whole_quote — real-time pushdownload_history_data, download_financial_data — download from server to local cache (synchronous/blocking)get_market_data_ex, get_financial_data — read from local cache (fast)Register an XtQuantTraderCallback subclass to receive real-time push notifications:
| Callback | Data Type | Trigger Event |
|---|---|---|
on_stock_order(order) | XtOrder | Order status change |
on_stock_trade(trade) | XtTrade | Trade execution |
on_stock_position(position) | XtPosition | Position change |
on_stock_asset(asset) | XtAsset | Asset change |
on_order_error(error) | XtOrderError | Order placement failure |
on_cancel_error(error) | XtCancelError | Order cancellation failure |
on_disconnected() | — | Connection lost |
on_order_stock_async_response(resp) | XtOrderResponse | Async order response |
smart_algo_order_asyncsession_id must be unique per strategy — different strategies need different IDs.connect() is a one-time connection — it does not auto-reconnect after disconnection; you must call it again manually.subscribe(account) to receive trading push callbacks.dividend_type='front' to get forward-adjusted K-line data.from xtquant import xtdata
xtdata.connect()
# Get the full list of Shanghai & Shenzhen A-shares
stock_list = xtdata.get_stock_list_in_sector('沪深A股')
print(f"Total {len(stock_list)} A-shares")
# Batch download daily K-line data (recommended to download in batches to avoid timeout)
batch_size = 50
for i in range(0, len(stock_list), batch_size):
batch = stock_list[i:i+batch_size]
for stock in batch:
try:
xtdata.download_history_data(stock, '1d', start_time='20240101', end_time='20240630')
except Exception as e:
print(f"Failed to download {stock}: {e}")
print(f"Downloaded {min(i+batch_size, len(stock_list))}/{len(stock_list)}")
# Batch retrieve data
data = xtdata.get_market_data_ex(
[], stock_list[:10], period='1d',
start_time='20240101', end_time='20240630',
dividend_type='front'
)
for code, df in data.items():
print(f"{code}: {len(df)} records, latest close={df['close'].iloc[-1]}")from xtquant import xtdata, xtconstant
from xtquant.xttrader import XtQuantTrader, XtQuantTraderCallback
from xtquant.xttype import StockAccount
import threading
# === Trading Callbacks ===
class MyCallback(XtQuantTraderCallback):
def on_stock_order(self, order):
print(f'Order: {order.stock_code} status={order.order_status} {order.status_msg}')
def on_stock_trade(self, trade):
print(f'Trade: {trade.stock_code} {trade.traded_volume}@{trade.traded_price}')
def on_order_error(self, error):
print(f'Error: {error.error_msg}')
# === Initialize Trading ===
path = r'D:\券商QMT\userdata_mini'
xt_trader = XtQuantTrader(path, 888888)
xt_trader.register_callback(MyCallback())
xt_trader.start()
xt_trader.connect()
account = StockAccount('your_account')
xt_trader.subscribe(account)
# === Quote Monitoring Parameters ===
target_stock = '000001.SZ'
buy_price = 10.50 # Target buy price
sell_price = 11.50 # Target sell price
bought = False
def on_tick(datas):
"""Real-time tick callback: automatically places orders when price hits target"""
global bought
for code, tick in datas.items():
price = tick['lastPrice']
print(f'{code}: latest price={price}')
# Price drops to or below target buy price, buy
if price <= buy_price and not bought:
order_id = xt_trader.order_stock(
account, code, xtconstant.STOCK_BUY, 100,
xtconstant.FIX_PRICE, buy_price, 'auto_buy', '条件触发买入'
)
print(f'Buy triggered: order_id={order_id}')
bought = True
# Price rises to or above target sell price, sell
elif price >= sell_price and bought:
order_id = xt_trader.order_stock(
account, code, xtconstant.STOCK_SELL, 100,
xtconstant.FIX_PRICE, sell_price, 'auto_sell', '条件触发卖出'
)
print(f'Sell triggered: order_id={order_id}')
bought = False
# === Start quote subscription (separate thread) ===
xtdata.connect()
def run_data():
xtdata.subscribe_quote(target_stock, period='tick', callback=on_tick)
xtdata.run()
t = threading.Thread(target=run_data, daemon=True)
t.start()
# Keep the main thread running
xt_trader.run_forever()from xtquant import xtdata, xtconstant
from xtquant.xttrader import XtQuantTrader, XtQuantTraderCallback
from xtquant.xttype import StockAccount
import pandas as pd
xtdata.connect()
# Define stock pool
stock_pool = ['000001.SZ', '600036.SH', '601318.SH', '000858.SZ', '300750.SZ']
# Download historical data
for stock in stock_pool:
xtdata.download_history_data(stock, '1d', start_time='20240101', end_time='20241231')
# Retrieve data and compute signals
signals = {}
for stock in stock_pool:
data = xtdata.get_market_data_ex([], [stock], period='1d',
start_time='20240101', end_time='20241231', dividend_type='front')
df = data[stock]
# Calculate 5-day and 20-day moving averages
df['ma5'] = df['close'].rolling(5).mean()
df['ma20'] = df['close'].rolling(20).mean()
# Determine the latest signal
if len(df) >= 21:
latest = df.iloc[-1]
prev = df.iloc[-2]
if prev['ma5'] <= prev['ma20'] and latest['ma5'] > latest['ma20']:
signals[stock] = 'BUY' # 金叉
elif prev['ma5'] >= prev['ma20'] and latest['ma5'] < latest['ma20']:
signals[stock] = 'SELL' # 死叉
else:
signals[stock] = 'HOLD' # Hold
print("Trading signals:")
for stock, signal in signals.items():
print(f" {stock}: {signal}")from xtquant import xtdata
xtdata.connect()
# Get the list of Shanghai & Shenzhen A-shares
stock_list = xtdata.get_stock_list_in_sector('沪深A股')
# Download financial data
xtdata.download_financial_data(stock_list[:100]) # Download the first 100
# Retrieve financial data
for stock in stock_list[:10]:
data = xtdata.get_financial_data([stock])
if stock in data and 'PershareIndex' in data[stock]:
psi = data[stock]['PershareIndex']
if len(psi) > 0:
latest = psi[-1]
roe = latest.get('du_return_on_equity', 0)
eps = latest.get('s_fa_eps_basic', 0)
print(f"{stock}: ROE={roe}, EPS={eps}")对于 AI Agent,在使用该量化/数据工具时应遵循以下高阶策略和最佳实践,以确保任务的高效完成:
在获取数据或执行操作后,AI 应当主动检查返回的结果格式是否符合预期,以及是否存在缺失值(NaN)或空数据。
if df.empty: 进行校验;捕获 Exception 以防网络或接口错误导致进程崩溃。AI 经常需要进行宏观经济分析或跨市场对比。应善于将当前接口与其他数据源或工具组合使用。
对于交易和策略类任务,AI 可以定期拉取数据并建立监控机制。
由 大佬量化 维护 — 量化交易教学与策略研发团队。
微信客服: bossquant1 · Bilibili · 搜索 大佬量化 — 微信公众号 / Bilibili / 抖音
© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 9 other files in skills/xtquant of LeoYeAI/openclaw-master-skills.
Open the folder on GitHubat commit e5199b5
Xtquant next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Xtquant this skillLeoYeAI/openclaw-master-skills | 2.2k | — | ~4.2k | Automated safety check: Pass | MIT | |
| Itr Walakaranb192/itr-wala | 871 | — | ~3.6k | Automated safety check: Pass | MIT | |
| Tushare Datazillionare/zillionare | 318 | 2 repos | ~2.3k | Automated safety check: Pass | None | |
| Global Stock Datasimonlin1212/global-stock-data | 1.7k | — | ~19k | Automated safety check: Pass | Apache-2.0 | |
| Korean Government Grant Searchdjfksjd/ir-search | 392 | — | ~3.5k | Automated safety check: Notes | MIT | |
| Kalshi Traderyanfrigo/kalshi-ai-trading-bot | 612 | — | ~3.4k | Automated safety check: Pass | MIT |
karanb192/itr-wala
File Indian income tax returns (ITR) for FY 2025-26 / AY 2026-27.
zillionare/zillionare
面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。
simonlin1212/global-stock-data
美股港股全栈数据工具包(官方源优先)— 十三层架构·30+端点·11数据源·全部零鉴权。在原有行情/K线/技术指标(MA/MACD/RSI/KDJ/布林带)/基本面/资金面/期权/SEC Filing/工具八层之上,新增:CBOE官方期权链(完整希腊字母+IV+0DTE流+异动识别)、FINRA全市场每日空头成交量、SEC…
djfksjd/ir-search
Surveys open Korean government startup and R&D support programs and sorts them by fit with your project, checking eligibility against the original notices.
ryanfrigo/kalshi-ai-trading-bot
The disciplined process for autonomously and profitably trading the live Kalshi account on each /loop tick, with Claude as the decision-maker.
wudengyao/stock-analysis-team
提供股票多维度分析团队协同研究能力;当用户需要股票分析、投资决策支持、风险评估、市场复盘或回测验证时使用. An agent skill from wudengyao/stock-analysis-team.
LeoYeAI/openclaw-master-skills
Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.
LeoYeAI/openclaw-master-skills
Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.
LeoYeAI/openclaw-master-skills
Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.
LeoYeAI/openclaw-master-skills
Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.
LeoYeAI/openclaw-master-skills
Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.
LeoYeAI/openclaw-master-skills
Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.
Works with
Categories
XtQuant QMT Python SDK - 集成行情数据(xtdata)和交易接口(xttrade),支持A股、期货、期权等中国证券市场。. Xtquant is an agent skill from LeoYeAI/openclaw-master-skills.
Xtquant fits situations like: business, Finance & HR work in your project.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill xtquant -a claude-code`. Or copy the skill folder (skills/xtquant in LeoYeAI/openclaw-master-skills) into .claude/skills/xtquant in your project. Claude Code loads it when a task matches its description.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill xtquant -a codex`. Or copy the skill folder (skills/xtquant in LeoYeAI/openclaw-master-skills) into .agents/skills/xtquant in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill xtquant -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xtquant, .gemini/skills/xtquant, .github/skills/xtquant and .opencode/skills/xtquant in your project.
Going by SKILL.md and its folder, Xtquant needs Python for the scripts in its folder and the command-line tools its instructions call (pip). Our summary lists: Python 3.
SKILL.md names 3 domains. As links in the text: dict.thinktrader.net, thinktrader.net and space.bilibili.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Xtquant is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.2k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Xtquant: Itr Wala (karanb192/itr-wala, 871 stars), Tushare Data (zillionare/zillionare, 318 stars), Global Stock Data (simonlin1212/global-stock-data, 1.7k stars) and Korean Government Grant Search (djfksjd/ir-search, 392 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,158 GitHub stars. The repository holds 1,215 skills in this directory. The repository was last updated on July 20, 2026.
Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.