PBbanana
PBbanana
Hi, I second this suggestion. I have a similar problem caused by the current implementation of time.mktime(). This function assumes the input is in local time. This is a problem...
In case anyone encounters this problem, the issue I had was due to incompatibility between asyncio and my IDK (spyder). I switched to pycharm, seems to work fine
Indeed we do! Alpaca’s documentation states that “Trailing stop orders are currently supported only with single orders. However, we plan to support trailing stop as the stop loss leg of...
I tried to trace back the issue. I think that the problem may be in line 254 of the Screener function: th.get_text().strip() == "Exchange": I think that the word "Exchange"...
> Replacing all instances of `td` with `th` in [finviz/screener.py](https://github.com/mariostoev/finviz/blob/master/finviz/screener.py) fixed it for me. This did NOT fix it for me. What fixed it was to replace 'td' with 'th'...
This did NOT fix it for me. What fixed it was to replace 'td' with 'th' only in line 417 of screener.py (in function get_table_headers): header_elements = self._page_content.cssselect('tr[valign="middle"]')[0].xpath("td")
I can confirm this error. IDK if it matters, but I get the error even after applying the fix to whitespace characters #168
Here is a temporary workaround that worked for me: change the get_total_rows function to: def get_total_rows(page_content): """ Returns the total number of rows(results). """ total_element = page_content.cssselect('td[width="128"]') total_number = (total_element[0].text.split()[2])...