MM 引擎根据博彩公司赔率自动下单。客户端API提供所有交易活动的 只读访问。您不通过此API下单 — 引擎会自动完成。
步骤1:验证身份
确认您的API密钥有效并查看客户端信息:
curl -H "X-API-Key: YOUR_API_KEY" \
https://mmapi.55-tech.com/api/v1/me
响应:
{
"client": "your-client",
"clientName": "Your Client Name",
"active": true
}
步骤2:查看交易所订单
查看引擎在交易所下的订单:
curl -H "X-API-Key: YOUR_API_KEY" \
https://mmapi.55-tech.com/api/v1/orders
按交易所、赛事或状态过滤:
# 已成交的 Polymarket 订单
curl -H "X-API-Key: YOUR_API_KEY" \
"https://mmapi.55-tech.com/api/v1/orders?exchange=polymarket&status=FILLED"
# 特定赛事的未结订单
curl -H "X-API-Key: YOUR_API_KEY" \
"https://mmapi.55-tech.com/api/v1/orders/open?fixture_id=id1000000861624412"
每个订单包含交易所特定标识符、成交金额和赔率快照:
{
"orderId": 123,
"fixtureId": "id1000000861624412",
"outcomeId": 161,
"exchange": "polymarket",
"exchangeOrderId": "0x1a2b3c...",
"exchangeOutcomeId": "12345678",
"orderStatus": "FILLED",
"matchedStatus": "FULLY_MATCHED",
"orderCents": 0.45,
"orderStake": 100.0,
"matchedStake": 100.0,
"settlementStatus": "UNDECIDED",
"bookmakerOutcomePrice": 1.808,
"bookmakerOutcomeLimit": 5000.0,
"createdAt": "2026-02-15T10:30:00Z",
"matchedAt": "2026-02-15T10:30:05Z"
}
步骤3:查看对冲投注
查看在博彩公司下的对冲投注:
curl -H "X-API-Key: YOUR_API_KEY" \
https://mmapi.55-tech.com/api/v1/bets
每个投注通过 orderId 与交易所订单关联:
{
"betId": 456,
"orderId": 123,
"client": "your-client",
"bookmaker": "vertex",
"bookmakerBetId": "789",
"placedPrice": 1.808,
"placedStake": 100.0,
"betStatus": "matched",
"settlementStatus": null,
"placedAt": "2026-02-15T10:30:08Z"
}
步骤4:查看持仓
查看所有赛事和交易所的汇总持仓:
curl -H "X-API-Key: YOUR_API_KEY" \
https://mmapi.55-tech.com/api/v1/positions
获取持仓摘要:
curl -H "X-API-Key: YOUR_API_KEY" \
https://mmapi.55-tech.com/api/v1/positions/summary
步骤5:查看盈亏
获取盈亏明细:
curl -H "X-API-Key: YOUR_API_KEY" \
https://mmapi.55-tech.com/api/v1/pnl
按日期范围过滤:
curl -H "X-API-Key: YOUR_API_KEY" \
"https://mmapi.55-tech.com/api/v1/pnl?from_date=2026-01-01&to_date=2026-01-31"
步骤6:查看赛事
查看引擎正在交易的赛事:
curl -H "X-API-Key: YOUR_API_KEY" \
https://mmapi.55-tech.com/api/v1/fixtures
按运动、锦标赛或直播状态过滤:
# 仅直播赛事
curl -H "X-API-Key: YOUR_API_KEY" \
"https://mmapi.55-tech.com/api/v1/fixtures?live=true"
# 按锦标赛过滤
curl -H "X-API-Key: YOUR_API_KEY" \
"https://mmapi.55-tech.com/api/v1/fixtures?tournament_id=17"
步骤7:列出账户
查看您的交易所账户(凭证永远不会暴露):
curl -H "X-API-Key: YOUR_API_KEY" \
https://mmapi.55-tech.com/api/v1/accounts
[
{
"exchange": "polymarket",
"username": "0x1234...abcd",
"client": "your-client",
"bookmaker": "vertex",
"balance": 50000.0,
"maxOutcomeStake": 1000.0,
"active": true
}
]
下一步
WebSocket 更新
获取实时订单成交、对冲投注和比分更新。