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

Implement Gate.io Exchange #91

Open
Griffsano opened this issue Dec 5, 2021 · 1 comment
Open

Implement Gate.io Exchange #91

Griffsano opened this issue Dec 5, 2021 · 1 comment

Comments

@Griffsano
Copy link
Contributor

Griffsano commented Dec 5, 2021

I propose to add Gate.io as new supported exchange.

The CSV export looks like this (UTF-16, tab separation):

No Time Trade type Pair Price Amount Total Fee
1 2021-12-01 00:00:00 Buy BTC/USDT 1.234 5.678 7.006652 0.1 BTC

I've already implemented the CSV read-in in book.py and currently working on the API for price_data.py: https://www.gate.io/docs/apiv4/en/index.html
Python SDK for the API: https://github.com/gateio/gateapi-python

However, it seems that the API does not support historic price data.
Instead, Gate.io offers downloads for historic quotations (CSVs for each month, which is not very practical): https://www.gate.io/developer/historical_quotes

Therefore, we may have to use the fallback solutions proposed in #15, #90.

Any ideas/suggestions how we could do this without the fallback solutions?

@scientes
Copy link
Contributor

scientes commented Dec 5, 2021

For price data: https://github.com/ccxt/ccxt
May work for gate.io #14 is an exchange agnostic Implementation of ccxt for cointaxman

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

No branches or pull requests

3 participants