Crypto allows a lot of decimals.
I experience some problems because this mm doesn't allow decimals, and price of btc can be 10k+.
So I suggest you to add allow decimals and decimals selection feature.
It would be nice if you can add this fast, because I'm kind of stuck because of this.
I haven't found any engine that supports bitfinex margin trading in any available engine in StrategyQuant.
I generate strategies using Multicharts engine because in some cases metatrader engine results are unreal.
just out of curiosity, aren't you using also some other trading library like Gekko or Zenbot for crypto trading?