Skip to content

Commit

Permalink
feat: address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiajia-Cui committed Jul 31, 2024
1 parent 000c9b7 commit 47b2efd
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions protocol/0007-POSN-non_core_positions_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ When a party is subject to [loss socialisation](./0002-STTL-settlement.md#loss-s

The API is expected to expose:

### Position (for the market for the key)
### Position

- Open volume (this is a core API).
- Open volume average entry price (method = averaged).
The following must be available for each market and for each key using the P&L method "averaged" (as opposed to FIFO):

- Position volume (this is a core API).
- Position average entry price.
- Unrealised P&L.
- Realised P&L.
- Realised P&L since the last time the position changed from 0 or flipped sign.
Expand All @@ -59,8 +61,8 @@ The API is expected to expose:
- Taker fees paid since the last time the position changed from 0 or flipped sign.
- Maker fees received.
- Maker fees received since the last time the position changed from 0 or flipped sign.
- Fundings total.
- Fundings total since the last time the position changed from 0 or flipped sign.
- Funding total.
- Funding total since the last time the position changed from 0 or flipped sign.

### Trade

Expand Down

0 comments on commit 47b2efd

Please sign in to comment.