How would I start going about this? If I wanted the same data I was pulling from this previously using PythonQuandl and instead use NasdaqDataLink to still pull specific Key Economic Indicators. Lets say the following example:
from QuantConnect.Python import PythonQuandl
import numpy as np
class QuandlImporterAlgorithm(QCAlgorithm):
def Initialize(self):
self.quandlCode = "OECD/KEI_LOLITOAA_OECDE_ST_M"
#self.SetBrokerageModel(BrokerageName.AlphaStreams)
## Optional argument - personal token necessary for restricted dataset
#Quandl.SetAuthCode("PrzwuZR28Wqegvv1sdJ7")
self.SetStartDate(2019,1,1) #Set Start Date
self.SetEndDate(2020,1,1) #Set End Date
self.SetCash(25000) #Set Strategy Cash
self.SetWarmup(456)
self.SetBenchmark("SPY")
self.init = True
self.kei = self.AddData(QuandlCustomColumns, self.quandlCode, Resolution.Daily, TimeZones.NewYork).Symbol
self.sma = self.SMA(self.kei, 1)
self.mom = self.MOMP(self.kei, 2)
Any idea where I should first start in trying to solve/understand this?
Axist
I read the forum post here, and my understanding is if I comment out the:
is all I am supposed to do? When I do this, the algo still has the runtime error. How do I understand what the equivalent datasets would be for NasdaqDataLink so my algo will still function as intended?
Here is sample algo that uses the PythonQuandl:
Vladimir
Axist,
Try this way.
Axist
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!