One more suggestion,
You could rethink your Kraken credit FEE (PFEE) feature.
It complicates any model which want to tightly fit into the market environment.
I would prefer to have 0.05% discount on each trade permanently, or even get nothing but funds paid out as FEE could utilized internally in kraken for investments into people/techs/support. This feature is not model-friendly.