Comments (3)
Issue resolved in the below Pull Request
https://github.com/mhallsmoore/qsforex/pull/23
Cheers!
from qsforex.
from qsforex.
Hi @yabolgha,
Thank you for responding so quickly and my apologies for not...Tis the season.
I tried your suggestion however this did not work and gave a traceback below. I received the same error when set True. The error above was given when set to None.
(qsforex) jbowler@GEN-U-QS-01:~/projects/qsforex$ python examples/mac.py
Traceback (most recent call last):
File "examples/mac.py", line 27, in
equity=settings.EQUITY
File "/home/jbowler/venv/qsforex/local/lib/python2.7/site-packages/qsforex/backtest/backtest.py", line 29, in init
self.ticker = data_handler(self.pairs, self.events, self.csv_dir)
File "/home/jbowler/venv/qsforex/local/lib/python2.7/site-packages/qsforex/data/price.py", line 107, in init
self.file_dates[self.cur_date_idx]
File "/home/jbowler/venv/qsforex/local/lib/python2.7/site-packages/qsforex/data/price.py", line 143, in _open_convert_csv_files_for_day
names=("Time", "Ask", "Bid", "AskVolume", "BidVolume")
File "/home/jbowler/venv/qsforex/local/lib/python2.7/site-packages/pandas/io/parsers.py", line 646, in parser_f
return _read(filepath_or_buffer, kwds)
File "/home/jbowler/venv/qsforex/local/lib/python2.7/site-packages/pandas/io/parsers.py", line 389, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "/home/jbowler/venv/qsforex/local/lib/python2.7/site-packages/pandas/io/parsers.py", line 726, in init
self.options, self.engine = self._clean_options(options, engine)
File "/home/jbowler/venv/qsforex/local/lib/python2.7/site-packages/pandas/io/parsers.py", line 858, in _clean_options
_validate_header_arg(options['header'])
File "/home/jbowler/venv/qsforex/local/lib/python2.7/site-packages/pandas/io/common.py", line 195, 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
from qsforex.
Related Issues (20)
- adding home/quote and home/base to the prices_dict in the PriceHandler
- Use a PriorityQueue object instead of "standard" Queue for the backtesting loop, to reduce pile-up of tick events HOT 1
- How hard to apply this backtester to another type of instrument? HOT 2
- ImportError: No module named urllib3
- OHLCV bar features
- Using Enum HOT 1
- Position accounting mode
- TypeError: Passing a bool to header is invalid with Pandas 0.18.1 HOT 3
- Can qsforex make order with trailing stop?
- Support of other brokers (BTC on Kraken)
- getting the same error on multiple computer operation systems. HOT 4
- How can I make my trading system working on a 5 or 15 minutes time frame interval? HOT 3
- ImportError: No module named 'qsforex' HOT 1
- execution error when running for some time. HOT 3
- add a little GUI
- trading.py - <Response [400]> - how to for request HOT 3
- V20 Interface HOT 1
- Is project alive? HOT 4
- change the instrument pair format from 'aaabbb' to 'aaa_bbb'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qsforex.