交易
交易指南
下委託、查看成交、管理持倉。本章節端對端介紹在 SatoriEx 上交易的全流程,從首次 curl 呼叫到執行報價機器人。
預設為託管,需要時可上鏈
SatoriEx is a custodial CLOB exchange — orders are signed by your session token, not by your wallet, so trades are fast and require no per-trade network gas. On-chain settlement via the CTF bridge is planned. Today, every fill settles on the SatoriEx ledger.
您的第一筆交易,端對端
使用 REST API 讀取委託簿,然後下限價委託。公開市場資料無需驗證;下委託需要驗證。
# 1) Read the order book
curl https://staging.satoriex.io/api/v1/markets/MKT_ID/orderbook
# 2) Place a limit order (auth required)
# Returns 202 Accepted — order is queued; fills arrive via WebSocket
curl -X POST https://staging.satoriex.io/api/v1/orders \
-H "Authorization: Bearer $SATORIEX_TOKEN" \
-H "Content-Type: application/json" \
-d '{"market_id":"MKT_ID","outcome_id":"OUT_ID","side":1,"price":4200,"quantity":100}'
# side: 1=buy 2=sell | price: BPS (4200 = 42%) | quantity: sharesReplace MKT_ID and OUT_ID with values from /api/v1/markets. Start with small sizes on a low-volume market while you validate your integration.