This commit is contained in:
27942
2025-10-15 15:23:21 +08:00
parent a2bf7c8e3e
commit 60dfdd92c6

View File

@@ -291,14 +291,14 @@ if __name__ == '__main__':
print(f"净利润:{total_profit - total_fee:.2f}")
print("\n===== 信号统计 =====")
# if total_profit > total_fee * 0.1:
# print(f"止盈:{i1}, 止损:{i}")
# print(f"\n一共交易笔数{len(trades)}")
# print(f"一共盈利:{total_profit:.2f}")
# print(f"一共手续费:{total_fee:.2f}")
# print(f"净利润:{total_profit - total_fee * 0.1}")
#
# print("\n===== 信号统计 =====")
# if total_profit > total_fee * 0.1:
# print(f"止盈:{i1}, 止损:{i}")
# print(f"\n一共交易笔数{len(trades)}")
# print(f"一共盈利:{total_profit:.2f}")
# print(f"一共手续费:{total_fee:.2f}")
# print(f"净利润:{total_profit - total_fee * 0.1}")
#
# print("\n===== 信号统计 =====")
#
# for k, v in stats.items():
# win_rate = (v['wins'] / v['count'] * 100) if v['count'] > 0 else 0