in 5-appinfra/modules/hpc-monte-carlo-infra/mc_run.py [0:0]
def create_object(self):
self.object = {
"ticker": self.ticker,
"epoch_time": self.epoch_time,
"iteration": self.iteration,
"start_date": self.start_date,
"end_date": self.end_date,
"simulation_results": list(
map(lambda x: {"price": x}, self.simulation_results)
),
}
return self.object