Merge pull request #422 from lunxian/dev
class_<std::vector<ibapi::shared_ptr<OrderCondition>>> 定义重复,删除一行
This commit is contained in:
commit
857668d27a
@ -1798,9 +1798,6 @@ BOOST_PYTHON_MODULE(vnib)
|
||||
class_<std::vector<ibapi::shared_ptr<OrderCondition>>>("OrderConditionList")
|
||||
.def(vector_indexing_suite<std::vector<ibapi::shared_ptr<OrderCondition>>, true>());
|
||||
|
||||
class_<std::vector<ibapi::shared_ptr<OrderCondition>>>("OrderConditionList")
|
||||
.def(vector_indexing_suite<std::vector<ibapi::shared_ptr<OrderCondition>>, true>());
|
||||
|
||||
class_<std::vector<std::string>>("StringList")
|
||||
.def(vector_indexing_suite<std::vector<std::string>, true>());
|
||||
|
||||
|
@ -228,7 +228,7 @@ class CtaLineBar(object):
|
||||
self.__recountEma()
|
||||
self.__recountDmi()
|
||||
self.__recountAtr()
|
||||
self.__recoundAvgVol()
|
||||
self.__recountAvgVol()
|
||||
self.__recountRsi()
|
||||
self.__recountCmi()
|
||||
self.__recountBoll()
|
||||
@ -695,7 +695,7 @@ class CtaLineBar(object):
|
||||
self.lineAtr3.append(self.barAtr3)
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
def __recoundAvgVol(self):
|
||||
def __recountAvgVol(self):
|
||||
"""计算平均成交量"""
|
||||
|
||||
# 1、lineBar满足长度才执行计算
|
||||
|
Loading…
Reference in New Issue
Block a user