Extracting Ingested Data to CSV


Is there a built-in method to extract the ingested data to csv? Currently, I can only think of output-ing the data to csv as part of a backtest run, but my implementation of it is very clumsy.
Does anyone have a good way to do that?



I haven’t seen a built-in method, but you can get a dataframe from data.history() and then convert the dataframe to a csv


Hi @dumberchild,

There is no built in method for that but you can refer to this section in the docs for ideas on how to save market data to a csv.