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

Quantity less than or equal to zero. #52

Closed
RaphielHS opened this issue Sep 10, 2023 · 3 comments
Closed

Quantity less than or equal to zero. #52

RaphielHS opened this issue Sep 10, 2023 · 3 comments

Comments

@RaphielHS
Copy link

10-09-2023 10:35:58 INFO: Account Balance: $10.35, Total profit: $0, Wins: 0, Losses: 0, Win/Loss ratio: Not available yet, No Open Positions
10-09-2023 10:37:00 WARNING: open_trade() - error occurred placing limit order on BTCUSDT, OP: 3, tick_size: 0.1 Entry price: 25828.2, trade direction: 0, Quantity: 0.0, Error Info: (BinanceAPIException(<Response [400]>, 400, '{"code":-4003,"msg":"Quantity less than or equal to zero."}'), 'trade_manager.py', 315), Error: APIError(code=-4003): Quantity less than or equal to zero.

@RaphielHS
Copy link
Author

10-09-2023 10:43:59 WARNING: open_trade() - error occurred placing limit order on XVGUSDT, OP: 0, tick_size: 1e-06 Entry price: 0.003797, trade direction: 0, Quantity: 1090, Error Info: (BinanceAPIException(<Response [400]>, 400, '{"code":-4164,"msg":"Order's notional must be no smaller than 5 (unless you choose reduce only)."}'), 'trade_manager.py', 315), Error: APIError(code=-4164): Order's notional must be no smaller than 5 (unless you choose reduce only).
too

@RaphielHS
Copy link
Author

reduceOnly is also a problem

@RaphielHS
Copy link
Author

Cause: too small order_size for my balance

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