tedchou12 / webull

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

get_history_orders doesn't work #430

Open apimir opened 5 months ago

apimir commented 5 months ago
 print(wb.get_history_orders(status='All', count=20))
{'msg': "org.springframework.validation.BeanPropertyBindingResult: 1 errors\nField error in object 'orderPageQueryParam' on field 'startTime': rejected value [1970-0-1]; codes [typeMismatch.orderPageQueryParam.startTime,typeMismatch.startTime,typeMismatch.java.util.Date,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [orderPageQueryParam.startTime,startTime]; arguments []; default message [startTime]]; default message [Failed to convert property value of type 'java.lang.String' to required type 'java.util.Date' for property 'startTime'; nested exception is org.springframework.core.convert.ConversionFailedException: Failed to convert from type [java.lang.String] to type [java.util.Date] for value '1970-0-1'; nested exception is java.lang.IllegalArgumentException]", 'code': '400', 'success': False}
apimir commented 5 months ago

duplicate - https://github.com/tedchou12/webull/issues/410