| | |
| | | # import requests |
| | | from strategy import data_cache |
| | | from strategy import basic_methods |
| | | from strategy.kpl_data_manager import KPLStockOfMarketsPlateLogManager |
| | | from strategy.market_sentiment_analysis import index_trend_expectation |
| | | |
| | | from trade import middle_api_protocol |
| | |
| | | if data_cache.L1_DATA_START_TIME < now_time < data_cache.CLOSING_TIME: |
| | | # logger.info(f"精选板块股票强度数据更新 == {market_sift_plate_stock_dict}") |
| | | # 只在盘中时间获取 |
| | | async_log_util.info(logger_stock_of_markets_plate, f"{(market_sift_plate['list'], log_datas)}") |
| | | KPLStockOfMarketsPlateLogManager().add_log(market_sift_plate['list'], log_datas) |
| | | |
| | | return market_sift_plate_stock_dict |
| | | |