Trading between the Funding Rates in Perpetual Futures Trading