binance / binance/binance-futures-connector-python

Can't modify to chase order for UM futures

Open
#254 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.2k
Forks
326
PR merge metrics
No merged PRs in 30d

Description

client.modify_order(
symbol=symbol,
orderId=order_id,
side="BUY",
quantity="1",
priceMatch="QUEUE",
)

TypeError: modify_order() missing 1 required positional argument: 'price'

but if i pass through price, it prints ClientError: (400, -1106, "Parameter 'price' sent when not required.",

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the modify_order entry point and compare its required arguments with the UM futures API requirements for priceMatch="QUEUE". Reproduce the call with and without price, then verify that the supported request form succeeds without sending an invalid parameter.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.