Using the history downloader

6 views
Skip to first unread message

davep

unread,
Sep 3, 2008, 7:02:34 PM9/3/08
to ProfitPy Discuss
I have been able to use the history downloader on the demo account to
query historical data up to 2000 data points up to one week ago. My
question is, when I chose to export the data from the workbench, the
file it creates is always empty. I'm aware that this is because the
history downloader is not finished yet, but the functionality that I
need is already there.

Can someone point me in the direction of how to use the features of
the history downloader outside of the workbench so I can save and use
the data I collect.

I am currently working on getting some data in order to train some
neural nets using other python programs, If anyone can help me out I
would really appreciate it, also if I get anywhere I am more than
happy to share my research, for what its worth.


Thanks,
Dave

Troy Melhase

unread,
Sep 3, 2008, 7:27:04 PM9/3/08
to profitpy...@googlegroups.com
> Can someone point me in the direction of how to use the features of
> the history downloader outside of the workbench so I can save and use
> the data I collect.

The object you're after (available to you in the shell) is
"session.models.histdata". Using it, and its source code as a guide,
you should be able to figure out how to save the rows in the model.
(Hint: check the output of iterrows first).

Hope this helps, and I plan on having the export working soon.

Reply all
Reply to author
Forward
0 new messages