main.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
main.py
@@ -220,7 +220,8 @@ x = temp_dict[k][0] r["buy_list"].append({"price": str(x["price"]), "tradeTime": x["tradeTime"], "volume": volume, "type": StrategyBuyOrderRefManager().get_strategy_type(x["orderRef"])}) r["createTime"] = int(buys[0]["tradeTime"].replace(":", "")) if buys: r["createTime"] = int(buys[0]["tradeTime"].replace(":", "")) if "sell_list" not in r: sells = huaxin_trade_record_manager.DealRecordManager().list_sell_by_code_cache(cb_code)