We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I am just getting started using vectorbt. I am trying to import 3rd party data (interactive brokers):
stock = Stock("AAPL", "SMART" , "USD") bars = ib.reqHistoricalData( stock, endDateTime='', durationStr='3000 S', barSizeSetting='1 min', whatToShow='MIDPOINT', useRTH=True) bars_df = util.df(bars) bardict = {"COIN":bars_df} bars_2 = vbt.Data.from_data({"AAPL":bars_df})
However this gives me the following error: TypeError: Data.__init__() missing 1 required positional argument: 'download_kwargs'
TypeError: Data.__init__() missing 1 required positional argument: 'download_kwargs'
Any ideas what might be causing this? Thanks
The text was updated successfully, but these errors were encountered:
You don't need to create a Data object, you can use pandas Series/DataFrame just as fine. But if you still want a Data object, pass download_kwargs={}
download_kwargs={}
Sorry, something went wrong.
No branches or pull requests
Hi,
I am just getting started using vectorbt. I am trying to import 3rd party data (interactive brokers):
However this gives me the following error:
TypeError: Data.__init__() missing 1 required positional argument: 'download_kwargs'
Any ideas what might be causing this?
Thanks
The text was updated successfully, but these errors were encountered: