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

Error with a coin on binance #401

Open
carecu opened this issue May 7, 2023 · 0 comments
Open

Error with a coin on binance #401

carecu opened this issue May 7, 2023 · 0 comments

Comments

@carecu
Copy link

carecu commented May 7, 2023

hi im getting this error on binance using a clock mode config
error executing order [{'code': -4164, 'msg': "Order's notional must be no smaller than 5.0 (unless you choose reduce only)"}, {'orderId': 1514982812, 'symbol': 'LDOUSDT', 'status': 'NEW', 'clientOrderId': 'clock_close_long_72518_83', 'price': '1.845600', 'avgPrice': '0.000000', 'origQty': '3', 'executedQty': '0', 'cumQty': '0', 'cumQuote': '0', 'timeInForce': 'GTX', 'type': 'LIMIT', 'reduceOnly': True, 'closePosition': False, 'side': 'SELL', 'positionSide': 'LONG', 'stopPrice': '0', 'workingType': 'CONTRACT_PRICE', 'priceProtect': False, 'origType': 'LIMIT', 'updateTime': 1683428172624}] 'side'
returned: [{'code': -4164, 'msg': "Order's notional must be no smaller than 5.0 (unless you choose reduce only)"}, {'orderId': 1514982812, 'symbol': 'LDOUSDT', 'status': 'NEW', 'clientOrderId': 'clock_close_long_72518_83', 'price': '1.845600', 'avgPrice': '0.000000', 'origQty': '3', 'executedQty': '0', 'cumQty': '0', 'cumQuote': '0', 'timeInForce': 'GTX', 'type': 'LIMIT', 'reduceOnly': True, 'closePosition': False, 'side': 'SELL', 'positionSide': 'LONG', 'stopPrice': '0', 'workingType': 'CONTRACT_PRICE', 'priceProtect': False, 'origType': 'LIMIT', 'updateTime': 1683428172624}]
Traceback (most recent call last):
File "/home/user/passivbot/exchanges/binance.py", line 439, in execute_batch_orders
return [
File "/home/user/passivbot/exchanges/binance.py", line 442, in
"side": ex["side"].lower(),
KeyError: 'side'

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

No branches or pull requests

1 participant