From cbb4e8239a900d46837765b73ab323df6755234e Mon Sep 17 00:00:00 2001 From: Chris Sellers Date: Sun, 29 Oct 2023 21:22:00 +1100 Subject: [PATCH] Remove unnecessary lambda --- .../adapters/interactive_brokers/parsing/execution.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nautilus_trader/adapters/interactive_brokers/parsing/execution.py b/nautilus_trader/adapters/interactive_brokers/parsing/execution.py index ca43441a5dbf..fc1fb547978e 100644 --- a/nautilus_trader/adapters/interactive_brokers/parsing/execution.py +++ b/nautilus_trader/adapters/interactive_brokers/parsing/execution.py @@ -72,7 +72,7 @@ ("client_order_id", "orderRef", lambda x: x.value), ("display_qty", "displaySize", lambda x: x.as_double()), ("expire_time", "goodTillDate", lambda x: x.strftime("%Y%m%d %H:%M:%S %Z")), - ("limit_offset", "lmtPriceOffset", lambda x: float(x)), + ("limit_offset", "lmtPriceOffset", float), ("order_type", "orderType", lambda x: map_order_type[x]), ("price", "lmtPrice", lambda x: x.as_double()), ("quantity", "totalQuantity", lambda x: x.as_decimal()),