본문으로 건너뛰기

트레이딩

포지션

포지션은 단일 결과에서 보유한 순 주식 수입니다. 이 페이지에서는 포지션의 모양, 청산 방법, 정산 시 주식이 USDC로 전환되는 방법을 설명합니다.

포지션 추적 방식

포지션은 순수치입니다 — 동일한 결과에서 100개 매수 후 30개 매도하면 포지션은 70주가 됩니다.

  • 사용자별 결과당 하나의 포지션 — 별도의 롱/숏 회계 없음.
  • 평균 매수가는 체결 내역의 가중 평균으로 추적됩니다.
  • 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시간 이의 제기 창 동안 포지션 값이 이상해 보일 수 있으니 창이 닫힌 후의 수치를 신뢰하십시오.