webull icon indicating copy to clipboard operation
webull copied to clipboard

Placing Trades not going through live account

Open somuchfood opened this issue 3 years ago • 6 comments

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 avatar May 07 '21 21:05 somuchfood

@somuchfood Sorry for the delay. There doesn't seem to be anything wrong with your code. Can you put up more of your code?

tedchou12 avatar May 14 '21 14:05 tedchou12

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.

somuchfood avatar May 17 '21 01:05 somuchfood

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).

nothingbutbacon avatar May 19 '21 00:05 nothingbutbacon

I am able to order this stock through the app

somuchfood avatar May 20 '21 03:05 somuchfood

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.

darkmarauder0 avatar Sep 02 '21 21:09 darkmarauder0

Hello, I am facing the same error. Did you figure out a resolution?

smr0056 avatar Jun 21 '22 04:06 smr0056