From fe8ed6cd01eaf52b817848b9195ec928156ed12e Mon Sep 17 00:00:00 2001
From: kieran-mackle <kemackle98@gmail.com>
Date: Wed, 20 Mar 2024 18:28:44 +1000
Subject: [PATCH] fix(ccxt): pass ccxt order params when modifying order

---
 autotrader/brokers/ccxt.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/autotrader/brokers/ccxt.py b/autotrader/brokers/ccxt.py
index a7c7f351..437fed74 100644
--- a/autotrader/brokers/ccxt.py
+++ b/autotrader/brokers/ccxt.py
@@ -667,6 +667,7 @@ def _modify_order(self, order: Order):
                 type=None,
                 amount=order.size,
                 price=order.order_limit_price,
+                params=order.ccxt_params,
             )
         except Exception as e:
             modified_order = e