Skip to content

Commit 943f10a

Browse files
committed
Enhance delist recommender with API integration and improved data handling. Implemented calculation of 30d volume of perp markets.
- Introduced new Drift Data API configuration, including base URL and headers, to facilitate data fetching for market analysis. - Implemented global rate limiting for API calls to manage request frequency and prevent overload. - Added a comprehensive list of ignored symbols to filter out irrelevant data during analysis. - Enhanced scoring cutoffs and documentation for clarity on expected input formats and value ranges. - Improved error handling and logging throughout the data fetching and processing functions, ensuring robustness against API failures. - Updated the `get_delist_recommendations` function to utilize the new API for fetching market volumes, enhancing the accuracy of recommendations. - Refactored data processing functions to ensure they handle full dollar amounts, aligning with scoring requirements. - Added detailed logging for debugging and tracking the flow of data through the recommendation process.
1 parent 06d4e21 commit 943f10a

File tree

1 file changed

+745
-429
lines changed

1 file changed

+745
-429
lines changed

0 commit comments

Comments
 (0)