developers:predictionmarkets

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
developers:predictionmarkets [2026/08/27 16:52] – [Key FIX Tags] chrisdevelopers:predictionmarkets [2026/08/27 19:07] (current) chris
Line 1: Line 1:
-====== THIS PAGE IS UNDER CONSTRUCTION ====== 
- 
- 
- 
 ====== Prediction Markets ====== ====== Prediction Markets ======
  
Line 47: Line 43:
 **Note:** Settlement messages are generated by the platform and do not represent a resting order in the book. They will not appear in the order book feed and should be treated as system-generated close events. **Note:** Settlement messages are generated by the platform and do not represent a resting order in the book. They will not appear in the order book feed and should be treated as system-generated close events.
 </WRAP> </WRAP>
- 
-===== WebSocket API ===== 
- 
-Settlement is communicated via the standard order update message on the Trading API WebSocket feed. Subscribe to the account feed and watch for order updates matching the criteria above. 
- 
-For full message field definitions see [[developers:websocket:messages|Message Reference]] and [[developers:websocket:orders|Order Routing]]. 
- 
-==== Example: Won (Long Position, Settles at 1) ==== 
- 
-The following is an example order update received when a long position of 1 contract settles in the money. 
- 
-<code javascript> 
-// [TBD -- WebSocket order update JSON/Protobuf example] 
-// Fields to highlight: 
-//   side:       Sell 
-//   price:      1 
-//   order_type: [TBD settlement type] 
-//   qty:        1 
-//   status:     [TBD] 
-</code> 
- 
-==== Example: Lost (Long Position, Settles at 0) ==== 
- 
-<code javascript> 
-// [TBD -- WebSocket order update JSON/Protobuf example] 
-// Fields to highlight: 
-//   side:       Sell 
-//   price:      0 
-//   order_type: [TBD settlement type] 
-//   qty:        1 
-//   status:     [TBD] 
-</code> 
- 
-==== Example: Won (Short Position, Settles at 0) ==== 
- 
-<code javascript> 
-// [TBD -- WebSocket order update JSON/Protobuf example] 
-// Fields to highlight: 
-//   side:       Buy 
-//   price:      0 
-//   order_type: [TBD settlement type] 
-//   qty:        1 
-//   status:     [TBD] 
-</code> 
  
 ===== FIX API ===== ===== FIX API =====
Line 115: Line 67:
 | 37  | OrderID            | Identifier assigned by broker/exchange for the settlement order | | 37  | OrderID            | Identifier assigned by broker/exchange for the settlement order |
 | 38  | OrderQty           | Total quantity of the settlement order | | 38  | OrderQty           | Total quantity of the settlement order |
-| 39  | OrdStatus          | [TBD] +| 39  | OrdStatus          | Order Status 
-| 40  | OrdType            | [TBD -- settlement order type] |+| 40  | OrdType            | Order Type |
 | 44  | Price              | 0 or 1 | | 44  | Price              | 0 or 1 |
 | 48  | SecurityID         | Identifier for the underlying contract/instrument | | 48  | SecurityID         | Identifier for the underlying contract/instrument |
Line 128: Line 80:
 | 60  | TransactTime       | Timestamp of the actual transaction/execution | | 60  | TransactTime       | Timestamp of the actual transaction/execution |
 | 97  | LocateReqd         | Whether a locate was required (relevant for short positions) | | 97  | LocateReqd         | Whether a locate was required (relevant for short positions) |
-| 107 | SecurityDesc       Human-readable name/description of the contract |+| 107 | SecurityDesc       Name of the contract |
 | 151 | LeavesQty          | Remaining quantity left to be filled (0 once fully settled) | | 151 | LeavesQty          | Remaining quantity left to be filled (0 once fully settled) |
 | 167 | SecurityType       | Type of instrument (e.g., option) being settled | | 167 | SecurityType       | Type of instrument (e.g., option) being settled |
  • developers/predictionmarkets.1787849572.txt.gz
  • Last modified: 2026/08/27 16:52
  • by chris