I have cryptocurrency algorithm ramwork based algo (Bitfinex, Margin account), which works as expected.

When I set even empty security intializer, its behaviour change and, in one of sample algorithms no order can be completed with shorting errors:  

Unable to compute order quantity of XRPBTC. Reason: The cash model does not allow shorting. Returning null.

But with marging account shorting should be enabled (and without self.SetSecurityInitializer(self.CustomSecurityInitializer) it actually works).


Do I miss sometithing? Should security initializers work normally for cryptocurrency algorithms?

 

Author