You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The symbols returned by the GET best/worst performers dont match the symbols returned by the GET tickers.
For example Addoha P (performer) vs ADH vs "Douja Promotion Groupe Addoha" (Ticker)
Its hard to link them unless hardcoded and kept an eye on or some kind of regex pattern finding ..
The text was updated successfully, but these errors were encountered:
@TuringSage, we appreciate you bringing this issue to our attention. Indeed, there is a discrepancy between the symbols and names returned by the GET best/worst performers and those related to GET tickers. The issue arises primarily because we present the data of the best/worst performers endpoint in its original form, a form that does not facilitate users to perform further computational analysis on the provided information due to the absence of the ticker identifier.
A solution for this problem will be implemented as soon as feasible. In the meantime, a temporary workaround would be to refer to the constant COMPANIES and utilize its data to match the name received from the GET best/worst performers with its corresponding ticker symbol, for instance:
CompanyInfo(name='Douja Promotion Groupe Addoha', other_name='Addoha P', isin='MA0000011512')
It is evident that the named tuple CompanyInfo comprises the necessary data to conduct a search for the appropriate ticker symbol from the constant COMPANIES using the name provided in the GET best/worst performers functions. Nonetheless, utilizing this method will result in the omission of certain companies, particularly: {AKDITAL P, ATLANTASANAD P, SOTHEMA P}. Hence, to accomplish the task, it is advisable to utilize basic regex with the provided workaround solution.
The symbols returned by the GET best/worst performers dont match the symbols returned by the GET tickers.
For example Addoha P (performer) vs ADH vs "Douja Promotion Groupe Addoha" (Ticker)
Its hard to link them unless hardcoded and kept an eye on or some kind of regex pattern finding ..
The text was updated successfully, but these errors were encountered: