| | |
| | | # 是否为测试 |
| | | import os |
| | | import platform |
| | | |
| | | TEST = False |
| | |
| | | return 'D:' if is_windows() else '/home/userzjj' |
| | | |
| | | |
| | | DATA_DIR_PATH = f"{get_path_prefix()}/local_storage_data" |
| | | |
| | | if not os.path.exists(DATA_DIR_PATH): |
| | | os.makedirs(DATA_DIR_PATH) |
| | | |
| | | # 板块数据路径 |
| | | ALL_STOCKS_PLATE_PATH = f"{get_path_prefix()}/local_storage_data/all_stocks_plate_dict.json" |
| | | ALL_STOCKS_PLATE_PATH = f"{DATA_DIR_PATH}/all_stocks_plate_dict.json" |
| | | |
| | | # K线路径 |
| | | K_BARS_PATH = f"{get_path_prefix()}/local_storage_data/all_stocks_all_K_line_property_dict.json" |
| | | K_BARS_PATH = f"{DATA_DIR_PATH}/all_stocks_all_K_line_property_dict.json" |
| | | |
| | | KPL_LIMIT_UP_DATA_PATH = f"{DATA_DIR_PATH}/limit_up_block_date_data.json" |
| | | |
| | | |
| | | |