Skip to content

Commit

Permalink
add prediction markets section
Browse files Browse the repository at this point in the history
  • Loading branch information
crispheaney committed Aug 19, 2024
1 parent b5886b7 commit 97a59fa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions source/includes/_prediction_markets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Prediction Markets

Prediction Markets are Perp Markets with the `contract_type` set as `Prediction`.

Prediction Markets function the same as Perp Markets with the following additional constraints:

- Prices must be between 0 and 1
- Funding is paused
- Margin ratios are set to 1 so that the position is fully collateralized
- The margin system uses `1 - oracle price` to value short positions
- They use prelaunch oracles (the oracle price is the mark twap)
1 change: 1 addition & 0 deletions source/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ includes:
- historicaldata
- errors
- market_constants
- prediction_markets

search: true

Expand Down

0 comments on commit 97a59fa

Please sign in to comment.