webull
webull copied to clipboard
Placing Trades not going through live account
wb.place_order(stock='ARTL',price=1.15,action='buy',orderType='LMT',quant=1)
{'success': False, 'code': 'trade.system.exception', 'msg': 'The system is busy', 'data': {'lastSerialId': '6095b1c37c60c40001b83980'}}
Can't seem to be able to get the trades to go through. Is there any way to work around this? Thank You
@somuchfood Sorry for the delay. There doesn't seem to be anything wrong with your code. Can you put up more of your code?
result = wb.login(webull_email,password,'My Computer',mfa,security question code, ,security answer')
wb.api_login(access_token=result['accessToken'],refresh_token=result['refreshToken'],token_expire=result['tokenExpireTime'],uuid=result['uuid'],mfa='mfa code') wb.get_trade_token(pin)
and then I enter that code.
Are you able to order this through their portal/app? There might be a minimum quantity restriction on stocks that are of low cap/price (~usd 1).
I am able to order this stock through the app
Unfortunately, I'm receiving the same error now. I don't think this is a source code issue though. Seems as if WeBull is trying to throttle or access control the trade API. I'm able to get my account information and do anything else, except for making trades.
Hello, I am facing the same error. Did you figure out a resolution?