@alpha
I also wonder about the discrepancy. The closing price is 26.27. The sell creation order is 26.27. But then price and cost of that order is 27.25. There could be something like slippage, but in the tutorial no slippage is being set. The value 27.25
is not in the CSV either so it's generated somehow.
2000-01-13, Close, 26.27
2000-01-13, SELL CREATE, 26.27
2000-01-14, SELL EXECUTED, Price: 27.25, Cost: 27.25, Comm 0.03 ## Note the change in Cost here!