| | |
| | | |
| | | from strategy.strategy_variable_factory import DataLoader |
| | | from third_data.history_k_data_manager import HistoryKDataManager |
| | | from third_data.kpl_block_manager import KPLCodeJXBlocksManager |
| | | from utils import tool |
| | | |
| | | |
| | |
| | | return count |
| | | |
| | | |
| | | def get_kpl_code_jx_blocks(day): |
| | | """ |
| | | 获取开盘啦代码精选板块数量 |
| | | @param day: |
| | | @return: |
| | | """ |
| | | count = KPLCodeJXBlocksManager(day, set()).get_all_code_blocks_count() |
| | | return count |
| | | |
| | | |
| | | if __name__ == "__main__": |
| | | print(get_history_k_bars("2025-06-04")) |
| | | RealTimeEnvInfo().kpl_current_limit_up = tool.get_now_time_str() |
| | | print(RealTimeEnvInfo().to_dict()) |