Skip to content

Position History

Position History provides a global overview regarding the history of all positions related to the XCore Accounts configured in the system.

Attribute Description
Account The name of the XCore account.
Seq The sequence ID of the position.
Prev Seq The sequence ID of the previous position
FIFO Seq Seq of the oldest record whose position change is still open (the head of the FIFO queue). A record that flattens or reverses the position points to itself.
Pos Delta How much of the FIFO Seq record's Base Delta is no longer open, in absolute value. Increases leave it unchanged; closing trades add the amount they close from that record.
Time The time in which the position operation took place.
Symbol The traded symbol.
Type The types of positions

- 0 = maker deal (MAKER)
- 1 = taker deal (TAKER)
- 2 = P&L settlement (labelled EXT in the Portal)
- 3 = position expiry
- 4 = external adjustment over the Portal or API

3 and 4 have no label in the Portal.
Base Delta The CurrentSequenceId.Base – PreviousSequenceId.Base. Without a previous record, the delta equals the record's Base.
Base The position amount in the symbol's base currency.

- For Sell Position, Base = -1 x (Trade Fill Size)
- For Buy Positions, Base = Trade Fill Size
Quote Delta The CurrentSequenceId.Quote – PreviousSequenceId.Quote. Without a previous record, the delta equals the record's Quote.
Quote The position amount in the symbol's quote currency.

- For Sell Position, Quote = Trade Fill Size x Trade Fill Price
- For Buy Positions, Quote = -1 x (Trade Fill Size x Trade Fill Price)
Closed Pl The calculated profit or loss based on the price difference of a given trading symbol, factoring in the base and quote position values. It utilizes the First-In-First-Out (FIFO) principle. Please note, ClosedPL is measured in the quote currency.

Ex.:

- Position 1: Buy 200k
- Position 2: Buy 700k
- Position 3: Buy 100k
- Position 4: Sell 200k

In this example, selling in position 4 would end the initial purchase at position 1. The resulting difference in the quote amount is added to Closed Pl, which accumulates the realized profit or loss of the symbol in quote currency until it is settled.
Overflow The trade volume which has been routed to Liquidity Providers as a result of trade requests which would increase the post-exposure above the exposure limit.
Comment free text to describe any position adjustments.
FIFO Size Base Delta of the FIFO Seq record.
FIFO Tail |FIFO Size| − Pos Delta, with the sign of FIFO Size: what remains open of that record.
FIFO Close Pos Delta, negative when this record's Base Delta is negative.

Note: Type, Prev Seq, Quote, Quote Delta, Overflow, Pos Delta and FIFO Close are hidden by default; add them with the column selector.