l2/cancel_buy_strategy.py
@@ -316,9 +316,9 @@ @param place_order_time_str:下单时间 @return:(金额(单位:W),笔数) """ max60, yesterday = code_volumn_manager.get_histry_volumn(code) max60, yesterday = code_volumn_manager.CodeVolumeManager().get_histry_volumn(code) if max60: money_y = code_volumn_manager.get_reference_volume_as_money_y(code) money_y = code_volumn_manager.CodeVolumeManager().get_reference_volume_as_money_y(code) money = int(200 * money_y + 280) if tool.trade_time_sub(place_order_time_str, "10:00:00") <= 0: # 10点前下单打7折