Closed warren-oneill closed 8 years ago
cc @dhexus
Algo developers should have inbuilt access to all data that has been provided through data events.
@dhexus please review. Auction history is added. ID will follow in a later story.
IDV is added. need to add more thorough tests.
@maxkoe I will try to fill out the description above over the next few days.
hi @maxkoe I've been messing around a bit with the my current history stuff and it seems quite slow unfortunately. So it would be great if also keep a lookout for any possible ways of increasing performance. Thanks!
also it could be good to have a look at how the zipline people test their history https://github.com/grundgruen/zipline/blob/master/tests/test_history.py. Also they don't have the same issue of different versions of the same price that we have.
Additional test procedures can be found in the files tests/test_history_mock_data.py
and tests/test_history_mock_batch.py, both in the branch
history_tests. The old test is there in the file
test_history_db_data.py`.
Purpose
Give the algo developer access to the last n days of each product, e.g. '01' auction prices for the last 5 days, inside
handle_data
. Currently zipline orders the data by sid but we would like to have the data ordered by product.Level of Ready
EPEX Auction data in databankauction order function in powerlineTasks
make subclass of history function which uses product instead of sid to sort the datahistory should return a dataframe which has the following formMethod should return each trade and not each minuteLevel of Done