| | |
| | | |
| | | total_datas = l2_data_util.local_today_datas.get(code) |
| | | if total_datas is None: |
| | | l2_data_util.load_l2_data(code) |
| | | total_datas = l2_data_util.local_today_datas.get(code) |
| | | total_datas = [] |
| | | # l2_data_util.load_l2_data(code) |
| | | # total_datas = l2_data_util.local_today_datas.get(code) |
| | | if is_target_code: |
| | | limit_up_price = gpcode_manager.get_limit_up_price(code) |
| | | limit_up_time = limit_up_time_manager.LimitUpTimeManager().get_limit_up_time_cache(code) |
| | |
| | | date = ps_dict.get('date') |
| | | time_str = ps_dict.get('time') |
| | | total_datas = l2_data_util.local_today_datas.get(code) |
| | | if not total_datas: |
| | | total_datas = [] |
| | | if date or time_str: |
| | | total_datas = None |
| | | else: |
| | |
| | | # 获取正在成交的位置/获取下单位置/获取成交速率 |
| | | total_datas = l2_data_util.local_today_datas.get(code) |
| | | if total_datas is None: |
| | | l2_data_util.load_l2_data(code) |
| | | total_datas = l2_data_util.local_today_datas.get(code) |
| | | total_datas = [] |
| | | trade_index, is_default = transaction_progress.TradeBuyQueue().get_traded_index(code) |
| | | trade_speed = transaction_progress.TradeBuyQueue().get_trade_speed(code) |
| | | # 下单位置 |