コンテンツへスキップ

トレーディング

ポジション

ポジションとは単一のアウトカムに保有するネットシェア数です。このページではポジションの構造、クローズ方法、決済がシェアをUSDCに変換する仕組みを説明します。

ポジションの追跡方法

ポジションはネットです — 同じアウトカムで100購入して30売却すると70シェアのポジションになります。

  • ユーザーごと・アウトカムごとに1ポジション — ロング/ショートの別々の会計はありません。
  • 平均購入価格は全約定の加重平均で追跡されます。
  • P&L is computed client-side from cost_basis and the current mid — the positions endpoint exposes avg_buy_price (cents, 0–100) and cost_basis (USDC dollars), not pre-computed P&L fields.

ポジションのフィールド

Every position response carries these fields. cost_basis is in USDC dollars at the API boundary. avg_buy_price is in cents on a 0–100 scale (e.g. 50 = $0.50). shares is an integer count.

フィールド意味
market_id このポジションが属するマーケット。
outcome_id シェアを保有しているマーケットのアウトカム。
shares ネットシェア数 — 購入マイナス売却。
avg_buy_price Weighted average buy price across all open shares, in cents (0–100; e.g. 50 = $0.50). Server converts micro-dollars → cents at the API boundary.
cost_basis Total cost basis in USDC dollars. P&L must be computed client-side from cost_basis and the current market mid — no micro-dollar conversion needed at the API boundary.

確定前のポジションクローズ

マーケットが確定のために停止する前であれば、いつでも注文板に売り戻すことができます。

  1. 現在のマーケット価格と深さを確認します。
  2. 即時約定のために最良ビッド以下で売り注文を出すか、待機指値のためにビッド以上に出します。
  3. Verify the fill in the next /me/positions response — compute realised P&L from cost_basis and the fill proceeds (the endpoint does not return realised_pnl).

決済

マーケットが確定すると、勝利シェアはそれぞれ1 USDCをあなたの残高に支払い、敗北シェアはゼロです。クレジットはアトミックです — マーケットが閉じた瞬間に確認できます。

異議申し立て期間に注意してください

確定が承認された後でも、異議申し立てが開かれている間は決済が一時停止されます。2時間の異議申し立て期間中はポジション値が奇妙に見える場合があります。期間後の数値を信頼してください。