| | |
| | | SERVER_IP = "43.138.167.68" |
| | | SERVER_PORT = 10008 |
| | | TEST = True |
| | | L1_MIN_RATE = 4.0 |
| | |
| | | |
| | | from huaxin_client import socket_util, l1_subscript_codes_manager |
| | | import xmdapi |
| | | from huaxin_client import tool |
| | | from huaxin_client import tool, constant |
| | | from huaxin_client.client_network import SendResponseSkManager |
| | | from log_module.log import logger_system, logger_local_huaxin_l1, logger_l2_codes_subscript |
| | | |
| | |
| | | list_ = [level1_data_dict[k] for k in level1_data_dict] |
| | | flist = [] |
| | | for d in list_: |
| | | if d[2] >= 5: |
| | | if d[2] >= constant.L1_MIN_RATE: |
| | | # 涨幅小于5%的需要删除 |
| | | flist.append(d) |
| | | flist.sort(key=lambda x: x[2], reverse=True) |