Open lunascimentog opened 1 year ago
hey. yes im getting similar problem, but i got 403
i can place trades on webull desktop app
enforce='GTC'
in order for the order to go through. You might be trying to place a day trade during the outside hoursI believe that 405 means its outside of trading hours and 403 is that you don't have enough funds but I don't remember. Hope this helps
The problem is on image verification when i try to login. There is any solution for that? {'msg': 'Fail to verify image verification code.', 'traceId': '191fe5321f414c6b9e983c84794576d5', 'code': 'user.check.slider.pic.fail'}
The instructions are mentioned on other threads. Heres a run down summary:
wb._set_did([your did here])
function and add your did as the argumenthope this helps
I have done that. But I still get the same 405 error when trying to place a trade. I have the available funds and placing trades during markethours, but still get the 405 error.
Hi, I'm having a problem when i'll place an order with options. It happens this error:
"File "c:\Users\Proje\OneDrive\Documentos\GitHub\webull\webull\endpoints.py", line 10, in
result = wb.place_order_option(optionId='1035911289', lmtPrice='0.1', action="BUY" , orderType="LMT", quant=1)
File "C:\Users\Proje\AppData\Local\Programs\Python\Python310\lib\site-packages\webull\webull.py", line 849, in place_order_option
raise Exception('place_option_order failed', response.status_code, response.reason)
Exception: ('place_option_order failed', 405, '')
"
My programmation:
result = wb.place_order_option(optionId='1035911289', lmtPrice='0.1', action="BUY" , orderType="LMT", quant=1)
print(result)