-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Sometimes you can see that bot can't sell stocks because of this error: Not enough shares to sell
.
Log example:
[2024-11-01 11:28:53] [INFO] WD > Decision: sell with amount $1.0
[2024-11-01 11:28:53] [DEBUG] Function: order_sell_fractional_by_price, Parameters: ('WD', 1.0), Attempt: 1/3, Result: {'detail': 'Not enough shares to sell.'}
[2024-11-01 11:28:53] [ERROR] WD > Error selling: Not enough shares to sell.
It will be great if bot will prevent it before sell attempt.
Info about this error from Robinhood: https://robinhood.com/us/en/support/articles/not-enough-shares-error/
Metadata
Metadata
Assignees
Labels
No labels