Skip to content

Commit

Permalink
Remove unnecessary lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdsellers committed Oct 29, 2023
1 parent b9600c8 commit cbb4e82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
Expand Down

0 comments on commit cbb4e82

Please sign in to comment.