Traceback (most recent call last):


 "E:/区块链工作/区块链工作总结整理/回测系统开发/qstrader-master/examples/moving_average_cross_backtest.py", line 108, in <module>

run(config, testing, tickers, filename)


 "E:/区块链工作/区块链工作总结整理/回测系统开发/qstrader-master/examples/moving_average_cross_backtest.py", line 94, in run

benchmark=tickers[0],


 "D:\Anaconda3.7\lib\site-packages\qstrader\trading_session.py", line 52, in __init__

self._config_session()


 "D:\Anaconda3.7\lib\site-packages\qstrader\trading_session.py", line 68, in _config_session

end_date=self.end_date


 "D:\Anaconda3.7\lib\site-packages\qstrader\price_handler\yahoo_daily_csv_bar.py", line 38, in __init__

self.bar_stream = self._merge_sort_ticker_data()


 "D:\Anaconda3.7\lib\site-packages\qstrader\price_handler\yahoo_daily_csv_bar.py", line 68, in _merge_sort_ticker_data

df = pd.concat(self.tickers_data.values()).sort_index()


 "D:\Anaconda3.7\lib\site-packages\pandas\core\reshape\concat.py", line 225, in concat

copy=copy, sort=sort)


 "D:\Anaconda3.7\lib\site-packages\pandas\core\reshape\concat.py", line 259, in __init__

raise ValueError('No objects to concatenate')
ValueError: No objects to concatenate

Caused by: org.apache.spark.api.python.PythonException: Traceback (most recent call last):


 "/usr/lib/spark/python/pyspark/worker.py", line 372, in main

process()


 "/usr/lib/spark/python/pyspark/worker.py", line 367, in process

serializer.dump_stream(func(split_index, iterator), outfile)


 "/usr/lib/spark/python/pyspark/serializers.py", line 390, in dump_stream

vs = list(itertools.islice(iterator, batch))


 "/usr/lib/spark/python/pyspark/util.py", line 99, in wrapper

return f(*args, **kwargs)


 "/usr/lib/spark/python/pyspark/sql/session.py", line 730, in prepare

verify_func(obj)


 "/usr/lib/spark/python/pyspark/sql/types.py", line 1389, in verify

verify_value(obj)


 "/usr/lib/spark/python/pyspark/sql/types.py", line 1368, in verify_struct

"length of fields (%d)" % (len(obj), len(verifiers))))
ValueError: Length of object (7) does not match with length of fields (5)
