Open mdlivingston opened 1 year ago
Hi, I am having the same issue. What is the fix?
@K2083J , Go to webull.py and un comment line 1149 and then replace line 1152 with
response = requests.get(self._urls.bars(tId), params=params, headers=headers, timeout=self.timeout)
then go to endpoints.py and comment line 58
should work then!
There is two things broken. The 'extendTrading' for pre and after hour data and 'timeStamp' for the historical bars.
I made a little test and this also work, without the need of change anything else:
params = {"extendTrading": extendTrading, "timestamp": timeStamp}
response = requests.get(self._urls.bars(tId, interval, count), params=params, headers=headers, timeout=self.timeout)
It fix the timestamp for historical bars, and extended hours candles.
@tedchou12 Hello, please your help with this.
Hello, the get_bars call no longer grabs the premarket bars.. Please add a fix. I noticed the commit on September 27th is where it broke