fix bug
This commit is contained in:
@@ -346,7 +346,6 @@ def format_holding(positions):
|
||||
return holding
|
||||
|
||||
def format_orders(orders):
|
||||
"""显式转换委托/成交字段,保留原始数值类型。"""
|
||||
result = []
|
||||
for order in orders:
|
||||
result.append({
|
||||
@@ -370,7 +369,6 @@ def format_orders(orders):
|
||||
return result
|
||||
|
||||
def format_deals(deals):
|
||||
"""显式转换委托/成交字段,保留原始数值类型。"""
|
||||
result = []
|
||||
for d in deals:
|
||||
result.append({
|
||||
|
||||
Reference in New Issue
Block a user