When trying to set Alpaca as the brokerage model with:
self.SetBrokerageModel(BrokerageName.Alpaca)
I get the following runtime error - any ideas?
During the algorithm initialization, the following exception has occurred: ArgumentOutOfRangeException : Exception of type 'System.ArgumentOutOfRangeException' was thrown.
Parameter name: brokerage
Actual value was Alpaca.
at QuantConnect.Brokerages.BrokerageModel.Create (QuantConnect.Securities.IOrderProvider orderProvider, QuantConnect.Brokerages.BrokerageName brokerage, QuantConnect.AccountType accountType) [0x000aa] in :0
at QuantConnect.Algorithm.QCAlgorithm.SetBrokerageModel (QuantConnect.Brokerages.BrokerageName brokerage, QuantConnect.AccountType accountType) [0x00008] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in :0
at Initialize in main.py:line 51 :: self.SetBrokerageModel(BrokerageName.Alpaca)
ArgumentOutOfRangeException : Exception of type 'System.ArgumentOutOfRangeException' was thrown.
Parameter name: brokerage
Actual value was Alpaca.
at QuantConnect.Brokerages.BrokerageModel.Create (QuantConnect.Securities.IOrderProvider orderProvider, QuantConnect.Brokerages.BrokerageName brokerage, QuantConnect.AccountType accountType) [0x000aa] in :0
at QuantConnect.Algorithm.QCAlgorithm.SetBrokerageModel (QuantConnect.Brokerages.BrokerageName brokerage, QuantConnect.AccountType accountType) [0x00008] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in :0
JumboFlan
Ah, just found this:
https://www.quantconnect.com/forum/discussion/10079/alpaca-brokerage-removed/p1Real shame!
Jared Broad
Hi there, recently we removed Alpaca from supported brokerages due to limitations in their rate-limiting technology making live trading unstable. Tradier is being added now which is also a $0 fee brokerage, or we also support Interactive Brokers Pro which is quite affordable.
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.
CAPOCAPITAL
Jared is there still a possibility of restoring Alpaca as a supported brokerage if the rate-limiting and agreements are resolved?
Jared Broad
Yes, as long as its stable for users and there is no claim on their IP
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.
JumboFlan
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.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!