Back

Not Shorting Crypto - Invalid Orders

It won't short Crypto. 

Returns Invalid Order on all short entry orders.

Have tried using Order("ETHUSD",-100);

I have the brokerage set to GDAX.

I have plenty in cash for the short margin requirement.

Update Backtest








Hi, 

From what I've heard, margin trading on GDAX is either:

1) Only enabled for BTCUSD.

2) Only enabled for institutions (i.e. really big investors).

3) Disabled for everybody until further notice. 

Option 3) is more likely. And without margin, you will not be able to short on GDAX, at least for the moment. In any case, if you do not intend to trade with a margin acccount, be sure to initialize your algorithm by precizing that you are using a cash account, using the following snippet (assuming you are using Python):

self.AddCrypto("BTCUSD", Resolution.Daily, Market.GDAX)  # pair to trade
self.SetBrokerageModel(BrokerageName.GDAX, AccountType.Cash)  # crypto brokerage

Thank you. Cordially,

Benjamin.

0

"General "announcement" -- GDAX removed leverage/margin trading from all their clients. They hope later to offer to _institutional_ clients only and they have no ETA on when this might be.
We now model GDAX as a Cash Account type -- this means you cannot short or sell tokens you do not have. If you want to convert BTC -> EUR or LTC etc -- you need to _own_ the BTC in you cashbook"
-Recent QC post in Slack channel

0

Update Backtest





0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Loading...

This discussion is closed