-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for arbitrary number of days of back history #32
base: master
Are you sure you want to change the base?
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! |
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 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: