ezyquant.utils.cache_dataframe_wrapper#
- ezyquant.utils.cache_dataframe_wrapper(method: Callable)#
Wrap a method to cache the result of the method.
- Parameters:
method (Callable) –
- method received keyword argument contain at least
symbol_list: Optional[List[str]] = None
start_date: Optional[str] = None
end_date: Optional[str] = None
method must return dataframe with timestamp as index and symbol as column.