You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python qsforex/examples/mac.py
/Users/femto/cache/data/random/GBPUSD_20140101.csv
Traceback (most recent call last):
File "qsforex/examples/mac.py", line 27, in <module>
equity=settings.EQUITY
File "/Users/femto/github/femto/qsforex/backtest/backtest.py", line 29, in __init__
self.ticker = data_handler(self.pairs, self.events, self.csv_dir)
File "/Users/femto/github/femto/qsforex/data/price.py", line 107, in __init__
self.file_dates[self.cur_date_idx]
File "/Users/femto/github/femto/qsforex/data/price.py", line 144, in _open_convert_csv_files_for_day
names=("Time", "Ask", "Bid", "AskVolume", "BidVolume")
File "//anaconda/lib/python3.5/site-packages/pandas/io/parsers.py", line 562, in parser_f
return _read(filepath_or_buffer, kwds)
File "//anaconda/lib/python3.5/site-packages/pandas/io/parsers.py", line 315, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "//anaconda/lib/python3.5/site-packages/pandas/io/parsers.py", line 641, in __init__
self.options, self.engine = self._clean_options(options, engine)
File "//anaconda/lib/python3.5/site-packages/pandas/io/parsers.py", line 755, in _clean_options
_validate_header_arg(options['header'])
File "//anaconda/lib/python3.5/site-packages/pandas/io/common.py", line 265, in _validate_header_arg
raise TypeError("Passing a bool to header is invalid. "
TypeError: Passing a bool to header is invalid. Use header=None for no header or header=int or list-like of ints to specify the row(s) making up the column names
According docstring
`````` ?pd.read_csv```
so in https://github.com/mhallsmoore/qsforex/blob/master/data/price.py#L140
should be replaced by
The text was updated successfully, but these errors were encountered: