Internal function that converts various data formats to standard wide format with Date column and symbol columns.
standardize_data_format(
data,
date_col = "date",
symbol_col = "symbol",
price_col = "price",
symbol_order = NULL
)Standardized data.table
Input data in long or wide format
Name of date column
Name of symbol column (for long format)
Name of price column (for long format)
Optional ordering for symbols