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

When I place an order I am getting this error 'status': 404, 'error': 'Not Found', 'message': 'No message available', 'path' '/api/trade/order/placeStockOrder' #423

Open
ComplimentDeKoder opened this issue Nov 13, 2023 · 2 comments

Comments

@ComplimentDeKoder
Copy link

{'success': True, 'data': {'timestamp': '2023-11-13T18:29:11.170+0000', 'status': 404, 'error': 'Not Found', 'message': 'No message available', 'path': '/api/trade/order/placeStockOrder'}}

@wgellar
Copy link

wgellar commented Dec 5, 2023

any resolution on this? Running into the same problem for the below:
`from webull import webull

webull = webull()

webull._access_token = 'dc_us_tech1.code'

webull.login('email', 'password')

webull.get_trade_token('token')

print(webull.place_order(stock='ABAT', tId=None, price=3, action='BUY', orderType='LMT', enforce='GTC', quant=1, outsideRegularTradingHour=True, stpPrice=None, trial_value=0, trial_type='DOLLAR'))`

output: {'success': True, 'data': {'timestamp': '2023-12-05T22:10:55.388+0000', 'status': 404, 'error': 'Not Found', 'message': 'No message available', 'path': '/api/trade/order/placeStockOrder'}}

@wgellar
Copy link

wgellar commented Dec 5, 2023

not clever enough to know why, but got around this error by including the below in my login info:
log = webull.is_logged_in()
works now

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

2 participants