Closed abootorabi closed 6 months ago
Sometimes, the TSE server does not respond properly and returns an empty response with a code 200 to our requests. When the response is not in the expected format, the data cleaning process can lead to errors, which are reported by other users and experienced by us while working with finpy_tse.
Considering these issues, and acknowledging that we are not dealing with an ideal, perfect, and always reliable server (i.e., TSE), there is little we can do to prevent such errors, as they do not relate to the finpy_tse code. Therefore, it is up to you as a coder to handle these types of errors by retrying the request. In upcoming versions of finpy_tse, we will raise a custom error for these types of issues, so users can understand the nature of the problem.
im trying to get price history of all Tickers but i get "AttributeError: Can only use .dt accessor with datetimelike values" and it does not happen all the time most of the time at at first Ticker gets this Error . and sometimes it passes and 2th or 3th ticker get this error .