trump2cash icon indicating copy to clipboard operation
trump2cash copied to clipboard

Generate historical market_data on the fly.

Open zgohr opened this issue 7 years ago • 4 comments

If historical market data isn't found during testing/benchmarking, generate it using the TradeKing API.

A better approach might be to just use the API for benchmarking. Is there a hard requirement that market data be stored locally?

zgohr avatar Feb 12 '17 21:02 zgohr

I actually did that first, but removed it because the data from the API gets less accurate (less granular) over time.

maxbbraun avatar Feb 12 '17 21:02 maxbbraun

Alright. Is there anything you'd like me to do with this PR? I built it to fetch historical prices when benchmarking strategies that included other twitter accounts (@potus, etc.) It might still have value in that capacity.

zgohr avatar Feb 12 '17 22:02 zgohr

I'm not planning to merge this pull request, but thank you for the suggestion!

I suspect that the right way to make getting historical market data better would be to use an API that returns high-quality results, even for older data. Something like that would likely cost money.

maxbbraun avatar Feb 12 '17 22:02 maxbbraun

Does it integrate with any trading api's such that trades can be automatically triggered once a pair/stock is mentioned by potus ?

PhillGeorge avatar Mar 08 '17 05:03 PhillGeorge