Skip to content

Commit 1d62d09

Browse files
committed
chore: clean up submit order tx
1 parent 832b9c3 commit 1d62d09

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "deltadefi"
3-
version = "0.0.5"
3+
version = "0.0.6"
44
classifiers = [
55
"Intended Audience :: Developers",
66
"License :: OSI Approved :: Apache Software License",

src/deltadefi/clients/order.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ def build_place_order_transaction(
2525
side: OrderSide,
2626
type: OrderType,
2727
quantity: int,
28-
price: int = None,
29-
max_slippage_basis_point: int = 10000,
30-
limit_slippage: bool = False,
3128
**kwargs,
3229
) -> BuildPlaceOrderTransactionResponse:
3330
"""
@@ -98,7 +95,7 @@ def submit_place_order_transaction(
9895
Returns:
9996
A SubmitPlaceOrderTransactionResponse object containing the submitted order transaction.
10097
"""
101-
check_required_parameters([order_id, "order_id"], [signed_tx, "signed_tx"])
98+
check_required_parameters([[order_id, "order_id"], [signed_tx, "signed_tx"]])
10299
payload = {"order_id": order_id, "signed_tx": signed_tx, **kwargs}
103100

104101
url_path = "/submit"

0 commit comments

Comments
 (0)