我说句蠢话,不是说上影线看跌吗?下面的语句我怎么看着是“上影线大则买入”?
if upper_shadow>=upperbound 乘以 real_body and lower_shadow<=lowerbound 乘以 real_body:
# 计算买入数量
num_of_shares=int(cash/current_price)
if num_of_shares>0:
# 买入
order(security,+num_of_shares)
# 记录买入信息
log.info("Buying %s" % (security))
2016-02-14