I was not able to find any usage on this.
My file is too large (15mb) for fetch_csv to return in 360 sec so it's timing out.
When I try to run local_csv this is returned
'Runtime exception: NameError: name 'local_csv' is not defined'
I was not able to find any usage on this.
My file is too large (15mb) for fetch_csv to return in 360 sec so it's timing out.
When I try to run local_csv this is returned
'Runtime exception: NameError: name 'local_csv' is not defined'
Are you trying to upload your CSV to analyze in the research environment or to code your algo in the IDE?
If you're analyzing data in the research environment:
If you're coding an algo the IDE:
If you're moving between the research and the IDE, here's a cheat sheet to help out.
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 Quantopian. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. No information contained herein should be regarded as a suggestion to engage in or refrain from any investment-related course of action as none of Quantopian nor any of its affiliates is undertaking to provide investment advice, act as an adviser to any plan or entity subject to the Employee Retirement Income Security Act of 1974, as amended, individual retirement account or individual retirement annuity, or give advice in a fiduciary capacity with respect to the materials presented herein. If you are an individual retirement or other investor, contact your financial advisor or other fiduciary unrelated to Quantopian about whether any given investment idea, strategy, product or service described herein may be appropriate for your circumstances. All investments involve risk, including loss of principal. Quantopian 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.
I understand now. I didnt understand how the research env worked.
I was hoping I could upload a file to research and use in algo. Seems like a waste of bandwith to download data for every backtest.
HI,
I looked in the API documentation but could not find any example of local_cvs import code in research environment(and how the cvs should be formatted, columns header etc ). I am having problems with the date format of the imported data. How can the date be properly imported if it is in d/m/y format?
I noticed there is such an argument for the IDE fetcher, but not for local_cvs research.(why such a different implementation of the some function between IDE and research??)
I am also having a hard time to understand the description of the arguments :
Parameters:
path (str) – Path of file to load, relative to /data.
symbol_column (string, optional) – Column containing strings to convert to Asset objects.
date_column (str, optional) – Column to parse as Datetime. Ignored if parse_dates is passed as an additional keyword argument.
use_date_column_as_index (bool, optional) – If True and date_column is supplied, set it as the frame index.
timezone (str or pytz.timezone object, optional) – Interpret date_column as this timezone.
symbol_reference_date (str or pd.Timestamp, optional) – String or Timestamp representing a date used to resolve symbols that have been held by multiple companies. Defaults to the current time.
read_csv_kwargs (optional) – Extra parameters to forward to pandas.read_csv.
Can you give some more clear explanation and some example?
Thanks