admin
2025-03-31 8d4be7d30a05b97590d29dfd3c83eebce4c4fb14
strategy/market_sentiment_analysis.py
@@ -300,10 +300,6 @@
    else:
        index_composite_tick_increase = '三大指数:涨跌不一'
    logger.info(f"开盘指数开盘瞬时走势播报:{index_composite_tick_increase}")
    # print(f"指数K线{data_cache.all_index_k_line_property_dict}")
    if len(data_cache.all_index_k_line_property_dict) > 0 or data_cache.all_index_k_line_property_dict is not None:
        logger.info(f"指数带属性K线数据的昨日是否为空:{data_cache.all_index_k_line_property_dict['SHSE.000001'][0]}")
        # print(f"指数带属性K线数据的昨日是否为空:{data_cache.all_index_k_line_property_dict['SHSE.000001'][0]['open']}")
    if index_trend_expectation_score > 100:
        index_trend_expectation_score = 100
    return index_trend_expectation_score