Hi guys!

I'm working on an algorithm attempting to pair trade crypto currencies! However I have run into an issue that I'm curious about. Moreover, it might be something that needs updating :) 

Currently it is possible to short on bitfinex and on coinbase pro, both brokers supported by Quantconnect.

https://techcrunch.com/2020/02/12/coinbase-launches-margin-trading-for-some-users/ https://support.bitfinex.com/hc/en-us/articles/115004555165-Intro-to-Margin-Trading

Nevertheless, below statements all lead to my account setting being put to a 'Cash' account type, and therefore not accepting shorting.

self.SetBrokerageModel(AccountType.Margin) self.SetBrokerageModel(BrokerageName.GDAX, AccountType.Margin) leaving out the SetBrokerageModel statement

My question is twofold;

1. is there a way to circumvent this?

2. Should QuantConnect support Margin trading with Cryptos now that there are supported brokers offering it?

thanks in advance for any comments or insights,

best,

 

Dirk