Hi everyone. I'm currently using custom forex data (with QuoteBar data type) to backtest my algorithm but until recently something weird started happening; everytime an order was filled a huge sharp spike appeared in the equity curve. After closer inspection I discovered that the hits in the equity were almost equal in size to the holding costs of their associated order. Is this intended behaviour? is there a way to disable it? In case it's a bug, any ideas on how to fix it?

Normal behaviour:

santiago-villalobos_1722361374.jpg

Current behaviour:

santiago-villalobos_1722361326.jpg