added

Added Position to Fills WS Channel

Added post_position field to the fills WS Channel that will indicate your position post-trade.

Details

  • The post_position field shows your net position after the fill is executed
  • A negative value indicates that you have a net NO position
  • A positive value indicates that you have a net YES position
  • This field helps traders track their position changes in real-time without additional queries

Example

{
  "type": "fill",
  "sid": 13,
  "msg": {
    "trade_id": "d91bc706-ee49-470d-82d8-11418bda6fed",
    "order_id": "ee587a1c-8b87-4dcf-b721-9f6f790619fa",
    "market_ticker": "HIGHNY-22DEC23-B53.5",
    "is_taker": true,
    "side": "yes",
    "yes_price": 75,
    "no_price": 25,
    "count": 278,
    "action": "buy",
    "post_position": 350,
    "ts": 1671899397
  }
}

API Version

2.0.7