跳到主要内容

Simulate Points

Estimate the Trading Points a hypothetical trade would earn, taking the daily / weekly caps into account. Read-only.

POST /points/simulate?epoch=3
Content-Type: application/json

Auth: Authorization: Bearer <JWT> from the EIP-712 login. API keys are not accepted.

Request body

{ "trade_amount": "10000", "order_type": "taker", "tier": 2 }
FieldTypeRequiredDescription
trade_amountdecimalyesUSD notional
order_typestringyesmaker / taker
tierintno1–3; omitted → the user's actual tier

Response (data)

{
"tp_estimate": "10.00",
"tp_effective": "10.00",
"hp_estimate": "0",
"total_estimate": "10.00",
"tier": "T2",
"role_rate": "1.0",
"daily_cap_status": { "used": "120.50", "cap": 5000, "remaining": "4879.50" },
"weekly_cap_status": { "used": "980.00", "cap": 25000, "remaining": "24020.00" }
}

tp_estimate = trade_amount / 1000 × role_rate; tp_effective is clipped by the remaining daily and weekly caps. hp_estimate is a placeholder (0).