Function to aggregate trading results from multiple folders and files
Function to aggregate trading results from multiple folders and files
Read multiple '.csv' files stored in different folders Store results to the intermediate dataframe.
opt_aggregate_results(path_data)
Arguments
path_data: * String, path to the folder containing subfolders
Returns
Dataframe with trading results
Details
user must provide the path to the files in the folders all files in subfolders are read and aggregated into one data object. Data object is sorted in descending order by order close time