-
Notifications
You must be signed in to change notification settings - Fork 258
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
Filter failure: PRICE_FILTER #4
Comments
it's obvious that your config was not correct. In Binance Exchange, the min_price for symbol BTCUSDT is 0.01, you can check it in website or app. |
i am having the same issue |
"plataforma": "binance_future", error =( |
found the solution change this "quantity": 20, to a smaller one |
你的请求发生了400的错误,检查下你的网络,需要翻墙。记得设置全局。 |
the config file details:
|
I see that you have made good changes. |
Error current Just don't know how to fix see https://dev.binance.vision/t/enable-hedge-mode-on-futures-api/59 |
The code for the future not support the dual position, only support the net position. You can set your position to net position or you can modify the binance_future.py for dual position. Remember to download the latest code. |
I'm just running your codigonofofmodifications。 |
Solution 👍 def change_positionSide(self):
|
Solution 👍 def change_positionSide(self):
path = "/fapi/v1/positionSide/dual"
params = {"dualSidePosition": "False", "timestamp": self._timestamp()}
return self.request(RequestMethod.POST, path=path, requery_dict=params, verify=True) yes, that is the same as in the website, you can close the dual position through website or api. |
error
bid_price: 17984.08, ask_price: 17984.09
buy orders: []
sell orders: []
{'code': -1013, 'msg': 'Filter failure: PRICE_FILTER'} 400
{'code': -1013, 'msg': 'Filter failure: PRICE_FILTER'} 400
{'code': -1013, 'msg': 'Filter failure: PRICE_FILTER'} 400
{'code': -1013, 'msg': 'Filter failure: PRICE_FILTER'} 400
{'code': -1013, 'msg': 'Filter failure: PRICE_FILTER'} 400
{'code': -1013, 'msg': 'Filter failure: PRICE_FILTER'} 400
{'code': -1013, 'msg': 'Filter failure: PRICE_FILTER'} 400
{'code': -1013, 'msg': 'Filter failure: PRICE_FILTER'} 400
{'code': -1013, 'msg': 'Filter failure: PRICE_FILTER'} 400
{'code': -1013, 'msg': 'Filter failure: PRICE_FILTER'} 400
config
"platform": "binance_future",
"symbol": "BTCUSDT",
"api_key": "....",
"secret": "...",
"gap_percent": 0.020,
"quantity": 20,
"min_price": 0.001,
"min_qty": 0.01,
"max_orders": 10
}
The text was updated successfully, but these errors were encountered: