Skip to content

Commit

Permalink
refactor: add AC for network trades
Browse files Browse the repository at this point in the history
  • Loading branch information
witgaw committed Nov 14, 2023
1 parent 45c0dfd commit 34e3b6e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion protocol/0012-POSR-position_resolution.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@

- When the network places an order to reduce its position such that resulting trades would activate the price monitoring trigger the order gets cancelled, network's position remains unchanged and no further orders get placed by the network in this time instance. (<a name="0012-POSR-016" href="#0012-POSR-016">0012-POSR-016</a>)

- When the network places an order which trades successfully and there are no other trades within the mark-to-market window then then when the window elapses the price from network's last trade is used as the mark price (<a name="0012-POSR-017" href="#0012-POSR-017">0012-POSR-017</a>)
- When the network places an order which trades successfully and there are no other trades within the mark-to-market window then then when the window elapses the price from network's last trade is used as the mark price (<a name="0012-POSR-017" href="#0012-POSR-017">0012-POSR-017</a>)

- Network initiated trades get registered within price monitoring engine like any other trades (<a name="0012-POSR-017" href="#0012-POSR-017">0012-POSR-017</a>)

## Summary

Expand Down
3 changes: 2 additions & 1 deletion protocol/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@
"0012-POSR-014",
"0012-POSR-015",
"0012-POSR-016",
"0012-POSR-017"
"0012-POSR-017",
"0012-POSR-018"
]
},
"Passive liquidity": {
Expand Down

0 comments on commit 34e3b6e

Please sign in to comment.