> ## Documentation Index
> Fetch the complete documentation index at: https://www.emoguardian.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Daily P&L computation

The daily P\&L takes into account both open and closed positions. The calculation, takes into account commissions applied to closed trades, opening commissions applied to open trades and swaps.

If on day 1, you have taken 3 trades with the following results...

then...

-include swap calculation in the implementation
