-
RQAlpha扩展外部数据源时报错:
AttributeError: 'OutStream' object has no attribute 'buffer'
df为我从数据库中取的dataframe
context.stocks = list(df['code'].values)
-
尝试导入行情数据到redis时,出现如下错误,能帮忙看看吗?
(C:\Users\quantlearning\AppData\Local\Continuum\Anaconda3) C:\Users\quantlearning>rqalpha quotation_server redis://localhost
Traceback (most recent call last):
Fi…
-
rqalpha 3.0.2
In file `rqalpha/data/adjust.py`, function `adjust_bars` have no check on the shape of bars
when len(bars) == 0, assignment of `start_date` and `end_date` would lead to index error.
…
-
![default](https://user-images.githubusercontent.com/10461249/27273092-10b89ae0-5500-11e7-93fb-f139f91b3f5c.png)
在回测结束之后加载股票账户的结果,发现在2017-3-15日现金账户突然增加了两万多。
而且在交易清单中,2017-3-14和2017-3-15日没有任何交易记录…
-
2017-07-01 07:24:33.00 ERROR No module named account
[2017-07-01 07:24:33.068771] ERROR: system_log: 策略运行产生异常
Traceback (most recent call last):
File "//anaconda/lib/python2.7/site-packages/rqalp…
-
1、启用 ctp(0.2.0)模块
2 运行 example 中 run_code_demo.py
结果提示:ERROR expected bytes, NoneType found
-
这是我写的一个测试代码片段,但是运行以后就会报错
from funcat.data.rqalpha_data_backend import RQAlphaDataBackend
from funcat import *
set_data_backend(RQAlphaDataBackend("~/.rqalpha/bundle"))
select(
lambda : C …
-
select(
lambda : (COUNT(CLOSE>0,0)>80) & ((HHV(CLOSE,80)-LLV(CLOSE,80))/LLV(CLOSE,80) 0,0)>80) & ((HHV(CLOSE,80)-LLV(CLOSE,80))/LLV(CLOSE,80)
-
# 提 ISSUE 须知
请先阅读文档 [rqalpha文档](http://rqalpha.readthedocs.io/)
如果仍有问题的话请在 [issue列表](https://github.com/ricequant/rqalpha/issues) 中寻找是否有相关问题的解决方案
如果没有的话 麻烦开一个issue 描述以下问题:
## 1. RQAlpha的版本…
-
``` python
File "/usr/lib/python2.7/site-packages/funcat-0.2.7-py2.7.egg/funcat/time_series.py", line 268, in __getitem__
return self.__class__(series=self.series[:len(self.series) - index], *…