Spot, perpetual, futures, options, and instant swap orders and queries. Quotes need no auth.
Run a 24/7 Gate.io AI Quant Bot with AstraQuant Gate Edition & TradeSkill
TradeSkill gives Claude Code, Codex, and Cursor on-demand Gate CLI research and risk checks. For unattended 24/7 execution, sister repository AstraQuant Gate Edition (gate.astraquant.top) targets Gate.io V4 USDT-settled perpetuals natively with 2-key auth, synthetic OCO cloud protection, and sandbox-first safety.
Copy this prompt and send it to any AI coding assistant (Claude Code, Cursor, Windsurf, Codex, OpenClaw, etc.):
Please install gate-cex-trade following https://tradeskill.si/install/skillhub.en.md.TradeSkill Gate Skills vs AstraQuant Gate Edition Architecture
| Dimension | TradeSkill (tradeskill.si) | AstraQuant Gate Edition (gate.astraquant.top) |
|---|---|---|
| Workflow | On-demand research, risk audits & CLI trades in AI IDEs | 24/7 Docker autonomous engine + live web workstation |
| Gate API Stack | Upstream Gate CLI & MCP research modules | Native Gate V4 HMAC-SHA512 client + contract_stats factors |
| Authentication | Local CLI configuration with zero custodial risk | 2-key API Key + Secret only (no passphrase required) |
| Risk & Rebates | 20% Gate fee rebate referral (code MCHDBKYF) | Independent /price_orders SL/TP + opt-in X-Gate-Channel-Id |
1. Purpose-Built for Gate.io V4 USDT-M Perpetuals
AstraQuant Gate Edition ships a dedicated single-venue runtime tailored to Gate V4 futures semantics: strict HMAC-SHA512 signing, id_string precision preservation, dual/single position mode handling (auto_size + reduce_only), and descending millisecond candle normalization.
Because Gate V4 limit orders do not carry attached TP/SL legs cleanly across order states, the execution layer mounts independent cloud trigger orders after fill and sweeps orphan triggers automatically on close.
2. Quick Deployment, Sandbox Checks & 20% Fee Rebate
Start in sandbox mode (api-testnet.gateapi.io) with 2-key credentials before switching to live (api.gateio.ws). Pair an isolated sub-account registered with Gate referral code MCHDBKYF to lock in 20% perpetual fee rebates.
- Only API Key and Secret Key are needed in backend/.env—no passphrase prompt anywhere in the UI.
- Public derivatives factors pull Gate funding rates, contract_stats OI series, and top-trader ratios keylessly.
- Set ASTRA_STRICT_PROMO_MODE=1 whenever clean promo screenshots without referral links are needed.
git clone https://github.com/0xethanq/astra-quant-gate.git && cd astra-quant-gate && cp backend/env.example backend/.env && docker compose up -d --buildReady-to-Copy Agent Prompts
Use gate-info-research and gate-info-risk keylessly to rank top Gate USDT perpetual pairs by volume and funding rate.Audit my Gate sandbox connectivity, max leverage caps, and post-fill price-order SL/TP settings in AstraQuant.Skills Covered in This Guide
Browse all skillsSingle-token research reports, market overview, multi-asset comparisons, and macro analysis.
Pre-interaction safety checks: contract vulnerability scan, address tags, and incident audit.
Partner Exchanges & Fee Rebates for Live Bots
Create an isolated trading account with official fee rebates applied before live bot automation; existing accounts remain compatible with all skills.
Frequently Asked Questions
How does AstraQuant Gate Edition differ from the main repo?
The Gate Edition exports a clean single-venue codebase locked strictly to Gate.io V4 futures with zero cross-exchange references; for OKX V5 or Binance USDⓈ-M, see the sibling terminals at okx.astraquant.top and bn.astraquant.top (or astraquant.top) and their TradeSkill guides.
Does Gate.io V4 require a passphrase in AstraQuant?
No. Gate V4 uses HMAC-SHA512 with API Key and Secret Key only.
Can I toggle off promotional links for community showcases?
Yes. Set ASTRA_STRICT_PROMO_MODE=1 to hide all invite codes and external promotion cards cleanly.