Calculation method for CLOSED

faq

#1

Have searched the documentation and not found any mention

What is the default method (FIFO, LIFO, Avg…)?
Can this be preset?

Stock ABC
1 May buy 1,000 @ $10
2 May buy 1,000 @ $30
3 May sell 1,000 @ $40

Report on 4 May
FIFO: Open pos 1,000 @ $30, Closed P&L = $30,000
LIFO: Open pos 1,000 @ $10, Closed P&L = $10,000
Avg: Open pos 1,000 @ $20, Closed P&L = $20,000


#2

Sorry for the poor organization of documents :frowning:

Answer: Averaging.

=> Avg: Open pos 1,000 @ $20, Closed P&L = $20,000