Skip to content
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

Data Source #35

Open
bitnom opened this issue Jun 11, 2018 · 1 comment
Open

Data Source #35

bitnom opened this issue Jun 11, 2018 · 1 comment

Comments

@bitnom
Copy link

bitnom commented Jun 11, 2018

Just got here and read the readme. Data sourcing is no problem with BTC or any other crypto. We can get it straight from the exchanges for free. Check out the library CCXT.

@methenol
Copy link
Collaborator

I think CCXT would be a great option as it would standardize the data format from several exchanges and gets around writing individual API calls on a per exchange basis.

I started tinkering with the CCXT library some today out of curiosity and noticed some initial issues that would need to be ironed out. The names of the asset vary between some exchanges (for example Kraken which uses XBT instead of BTC for ISO 3316 naming convention), and the granularity that you can pull is based on the granularity that the exchange supports (for example you can't pull 1m data on poloniex, but 5m works fine which matches the API references). Fortunately it looks like CCXT has some good methods for checking the capabilities of the exchanges so we may be able to set some requirements like minimum granularity or maximum history and populate the SQL tables with data from exchanges that meet the requirements.

A risk is if an exchange updates their APIs we would be stuck until CCXT is updated to comply with the new API format.

Going to explore this some more after we iron out some of the issues with the agent converging on the data in the current v0.2 branch. For now there is probably a benefit to having everyone working off the same dataset, which the kaggle dump ensures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants