Administrator
2023-11-23 5f11b657eb65c23b625b839e2d28ca5cc090fe2a
code_attribute/code_nature_analyse.py
@@ -192,9 +192,9 @@
# 设置历史K线
def set_record_datas(code, limit_up_price, record_datas):
    k_format = get_k_format(float(limit_up_price), record_datas)
    CodeNatureRecordManager.save_k_format(code, k_format)
    CodeNatureRecordManager().save_k_format(code, k_format)
    natures = get_nature(record_datas)
    CodeNatureRecordManager.save_nature(code, natures)
    CodeNatureRecordManager().save_nature(code, natures)
# 获取K线形态