Here I am plotting how portfolio value changes as a function of execution fee (depends on whether we do a limit or market order and the principal risk we take while in position). In this example I am using 5,8,11,14 and 17 basis points for theshold (if funding rate exceed this level then we enter the trade) and same numbers for the execution fee. Reddest red corresponds to 5Bps threshold while greenest green is 17Bps. Five plots show how equity curve varied over the past year. Not all of the results are without leverage.

This is similar to the previous figure, but is a 3-D plot of Returns vs Threshold vs Execution fee.