I have downloaded QuantRocket and I am currently going through the quant_finance_lectuers series Lecture04-Introduction-to-Pandas. I am running the code below when I found the error:
from quantrocket.master import get_securities
securities = get_securities(symbols='XOM', fields=['Sid','Symbol','Exchange'], vendors='usstock')
securities
Error:
HTTPError: ('400 Client Error: BAD REQUEST for url: http://houston/master/securities.csv?symbols=XOM&vendors=usstock&fields=Sid&fields=Symbol&fields=Exchange', {'status': 'error', 'msg': 'cannot query inactive vendors: usstock (you must first collect listings from a vendor to activate the vendor)'})
How can I resolve this error? What does it mean that I have to collect listings from a vendor to activate it?
Thank you.