Administrator
2024-07-19 0d1ad299a2e36ca86d1564b7565af65245d85ed3
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)