Administrator
2023-10-30 99b5f2b72819698d2642b01b931d29e68b3140c4
bug修复
1个文件已修改
2 ■■■ 已修改文件
l2/transaction_progress.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
l2/transaction_progress.py
@@ -190,7 +190,7 @@
        last_info = self.latest_buy_progress_index_cache.get(code)
        if not last_info or last_info[0] != index:
            if last_info:
                val = total_datas[last_info[0]]
                val = total_datas[last_info[0]]['val']
                rate = round(val["num"] * float(val["price"]) * 100 / (time.time() - last_info[1]))
                # 成交速率
                self.trade_speed_cache[code] = rate