trade/huaxin/huaxin_trade_server.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
trade/huaxin/huaxin_trade_server.py
@@ -1192,6 +1192,10 @@ fdata["total"] = d["prePosition"] fdata["available"] = d["availablePosition"] fdata["cost_price"] = round(float(d["historyPosPrice"]), 2) # 有现价就获取现价 current_price = TradeServerProcessor.get_l1_current_price(code) if current_price: fdata["cost_price"] = current_price deal_order_system_id_infos = {} # 获取已经卖的单数 deal_list = self.__DealRecordManager.list_sell_by_code_cache(code)