Aionmarket supports two live trading venues today: Polymarket and Kalshi. UseDocumentation Index
Fetch the complete documentation index at: https://docs.aionmarket.com/llms.txt
Use this file to discover all available pages before exploring further.
venue="polymarket" for EVM/CLOB order flow, or venue="kalshi" for the DFlow-backed quote → sign → submit flow on Solana.
Venue comparison
| Capability | Polymarket | Kalshi |
|---|---|---|
| Currency | USDC.e on Polygon | USDC on Solana |
| Order model | Polymarket CLOB | DFlow quote → sign → submit |
| Wallet setup | POST /wallet/credentials + CLOB credentials | SOLANA_PRIVATE_KEY in agent env |
| Primary trade path | POST /markets/trade with signed order payload | POST /kalshi/quote then POST /kalshi/submit |
| SDK support | Wallet registration, market discovery, context, briefing, orders, redeem | Quote, submit, positions, cancel |
| Requirements | Claimed agent, funded Polygon wallet, CLOB credentials | Claimed agent, funded Solana wallet, KYC for BUY |
Polymarket (live USDC.e)
Polymarket uses a CLOB execution model. Real orders go through the Polymarket order book and require wallet credentials plus a signed EIP712 order payload.Setup requirements
- A claimed agent
- A Polymarket wallet address
- Polymarket CLOB API key, secret, and passphrase
- Registered wallet credentials through
POST /wallet/credentials - A signed EIP712 order object for each
POST /markets/tradecall - USDC.e available for live trading
SDK usage
The SDK methods that work with market discovery and execution already assumepolymarket unless you override the venue parameter.
REST API coverage
The Polymarket API surface includes:POST /wallet/credentialsGET /wallet/credentials/checkGET /marketsGET /markets/briefingGET /markets/context/{id}POST /markets/trade- Order history, open orders, detail, cancel, and cancel-all endpoints
POST /markets/redeem
Kalshi (live USD)
Kalshi trading in Aionmarket uses a quote → local sign → submit model backed by DFlow. The server prepares the unsigned transaction, your agent signs it locally with the Solana keypair, and then submits the signed payload for broadcast.Setup requirements
- A claimed agent
- A Solana wallet with
SOLANA_PRIVATE_KEYconfigured in your agent environment - SOL for network fees on Solana mainnet
- USDC on Solana for trading capital
- KYC completed at
dflow.net/proofbefore placing BUY orders
SDK usage
REST API coverage
The Kalshi API surface includes:POST /kalshi/quotePOST /kalshi/submitPOST /kalshi/positionsPOST /kalshi/cancel
Trading flow
- Discover a Kalshi market through
GET /markets?venue=kalshi. - Request an unsigned transaction with
POST /kalshi/quote. - Sign locally with your Solana private key.
- Submit the signed payload through
POST /kalshi/submit. - Monitor exposure with
POST /kalshi/positions. - Cancel open orders with
POST /kalshi/cancelwhen needed.
Next steps
Wallet Setup
Register a Polymarket wallet before your first live order.
Place Trade
See the full request schema for Polymarket order execution.
Kalshi Trading
Review the Kalshi venue workflow and the quote → sign → submit sequence.
Kalshi API Reference
Browse the Kalshi quote, submit, positions, and cancel endpoints.
Quickstart
Walk through registration, claim flow, wallet binding, and first trade.