Handle already indexed non-equity assets classes
Closed this issue · 0 comments
Clueed commented
- Current US stocks already include ETF, Funds and so on
- These need to be treated separately.
- There is a "type" provided by the ticker detail api already.
- It should be added to the UsStocks table and updated the same way that "name" is.
- It probably makes sense to copy all the data from the details api.
- There are things like currency and market included as well. Maybe there are differences.
- It be figured out how to handle separating the different assets classes, or if they should only have the label added but be in "one" table displayed to the user.
- If they need to be in separate table on the backend too (when sigma is calculated) or whether filtering should be done dynamically.
It probably makes sense to look into the frontend stock type feature (It extracts common strings from names and presents them as labels like "Common Stock" or "Class A"). There is probably overlap in the types received from the API described above and the types extracted there. Most likely this should be logic and the backend which dynamically removes string from titles (and merges) them into the type from the API and a seperate key.