tedchou12 / webull

Unofficial APIs for Webull.
MIT License
597 stars 183 forks source link

place_order_crypto not working #272

Closed cmay10 closed 2 years ago

cmay10 commented 2 years ago

This code gives me the following message:

wb.place_order_crypto(stock='BTCUSD', action='BUY', orderType='MKT', quant=10,entrust_type= 'CASH')

{'msg': 'Your session has expired, please login again.', 'traceId': '2d3cd41f24ad4ebabfcf7b8413666f4a', 'code': 'trade.token.expire', 'data': {}, 'success': False}

This is after I have already logged in. This is not an authentication issue because I can do any other command after I have logged in. Any suggestions?