Skip to main content
GET
Get game liability
計算呼叫方在單場賽事上的最壞情況下的財務負債(最大風險敞口),計入該賽事每個市場上的每一筆投注。 該值始終 <= 0 — 即使完全對沖的持倉也可能因雨取消、中止或取消資格而產生虧損。

請求

GET /user/getGameLiability
string
必填
要計算負債的賽事 ID。

回應

number
帳戶貨幣計的最壞情況虧損。始終 <= 0。呼叫方在該賽事上沒有投注時回傳 0。

示例

授權

Authorization
string
header
必填

Pass your auth token in the Authorization header. The Bearer prefix is optional; the server also accepts a signed auth cookie or a token field in the request body.

查詢參數

gameID
string
必填

A 4casters game id (ObjectID). Get game ids from GET /exchange/v2/getGames or GET /exchange/v2/getOrderbook.

回應

Liability for the requested game (always <= 0).

data
object