Skip to content

"Vibe-Trading: Your Personal Trading Agent"

fix(backtest): price ICE coffee, sugar and cotton multipliers per cent (#1944)

Carson Jones0685d1f90169
diff --git a/agent/backtest/engines/global_futures.py b/agent/backtest/engines/global_futures.py
index 4f6da650b..2afdf3131 100644
--- a/agent/backtest/engines/global_futures.py
+++ b/agent/backtest/engines/global_futures.py
@@ -40,7 +40,7 @@ _MULTIPLIER: dict[str, float] = {
# Currencies (CME)
"6E": 125000, "6J": 12500000, "6B": 62500, "6A": 100000, "6C": 100000,
# Softs (ICE)
- "KC": 37500, "SB": 112000, "CC": 10, "CT": 50000,
+ "KC": 375, "SB": 1120, "CC": 10, "CT": 500,
# Livestock (CME)
"LE": 400, "HE": 400, "GF": 500,
# Eurex
diff --git a/agent/tests/test_global_futures_engine.py b/agent/tests/test_global_futures_engine.py
index ea986c4e4..537d85792 100644
--- a/agent/tests/test_global_futures_engine.py
+++ b/agent/tests/test_global_futures_engine.py
@@ -217,6 +217,9 @@ class TestContractMultiplier:
("GCM25", 100),
("SIH25", 5000),
("ZCH4", 50),
+ ("KC=F", 375),
+ ("SBH25", 1120),
+ ("CTZ4", 500),
("ZBM5", 1000),
("MESZ4", 5),
("6EZ4", 125000),