Extracting Ingested Data to CSV


#1

Hello,
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?

Thanks!


#2

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


#3

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.

Lena