tedchou12 / webull

Unofficial APIs for Webull.
MIT License
596 stars 181 forks source link

Work around failed #397

Open Lukita11 opened 1 year ago

Lukita11 commented 1 year ago

Hi,

I tried to login with work around methods, both of them didn't work. For the method getting access token, it ran well until this line:

credential_data['refreshToken'] = n_data['refreshToken']

KeyError: 'refreshToken'

and the following two lines got the same error.

for wb.get_account_id( ), it returns this:

wb.get_account_id()

File ~\anaconda3\lib\site-packages\webull\webull.py:325 in get_account_id self.zone_var = str(result['data'][int(id)]['rzone'])

KeyError: 'rzone'

Could you please help me to solve this issue?

Thank you very much!

hadenponish1 commented 11 months ago

having the same issue this morning. Bumping for activity