manipulate_initial_data function

Pre-process transactions and market prices data frames