Support for arbitrary number of days of back history#32
Open
jsnyder wants to merge 11 commits intoprof7bit:masterfrom
Open
Support for arbitrary number of days of back history#32jsnyder wants to merge 11 commits intoprof7bit:masterfrom
jsnyder wants to merge 11 commits intoprof7bit:masterfrom
Conversation
…we still get live trades
|
James, I implemented this patch a few months ago and it has been a brilliant addition to my setup. Basically, I store all tick data and depth messages to a local DB for analysis and mining, so your code and its functionality gave me a basis from which to meaningfully collect, partition and store data. By now my code allows the API to collect historic data from a cache, but the cache building and updates are all happening via this patch. Thanks a lot! |
Author
|
Glad to hear it! I was planning on doing something similar, but haven't gotten around to it. Another thing it might be nice to collect logs of would be the book states going back through history to be used for backtesting. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This implements an ability to tell the client how many back days of trading history to get at startup. In addition, this should deal with long periods of connection failure by pulling trades sequentially up until the current time.
I mainly wanted to see if you'd be interested in this type of patch, which would be useful for those who want more history in their strategies.
Additional considerations: