Hello Robert,
I'm trying to replicate your results from the "Advanced Futures Trading Strategies" book. In the code for strategy one you calculate the returns as follows:
(adjusted_price - adjusted_price.shift(1)) * position_contracts_held.shift(1) * multiplier * fx_series_aligned /...