Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed when try to place an order #1411

Open
Zhongkai939 opened this issue Apr 13, 2024 · 1 comment
Open

Failed when try to place an order #1411

Zhongkai939 opened this issue Apr 13, 2024 · 1 comment
Assignees
Labels

Comments

@Zhongkai939
Copy link

when I try to place an order, it returns
binance.exceptions.BinanceAPIException: APIError(code=-1013): Filter failure: PERCENT_PRICE_BY_SIDE

by using the code like :
from binance.enums import *

order = client.create_order(
symbol='BNBBTC',
side=SIDE_BUY,
type=ORDER_TYPE_LIMIT,
timeInForce=TIME_IN_FORCE_GTC,
quantity=100,
price='0.00001')

could you help me with that? thx

@carlosmiei carlosmiei self-assigned this Oct 21, 2024
@carlosmiei
Copy link
Collaborator

Hello @Zhongkai939,

That error means you're using a price that is outside of the range for prices the exchange allows. (it's too far from the current price)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants