code_atrribute/position_code_data_manager.py
@@ -25,7 +25,10 @@ for d in datas: code = d[0] price = d[1] buy1_price = d[5] volume = d[3] if not price or price <= 0.0: price = buy1_price cls.__current_price_dict[code] = price cls.__current_buy1_data_dict[code] = (d[5], d[6]) cls.__current_volume_dict[code] = volume @@ -56,4 +59,4 @@ if bars: code = bars[0]['symbol'].split(".")[1] volume = bars[0]['volume'] cls.__pre_day_volume_dict[code] = volume cls.__pre_day_volume_dict[code] = volume