8000 New Exchange: Coinzip by iammac360 · Pull Request #4797 · ccxt/ccxt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

New Exchange: Coinzip #4797

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

Closed
wants to merge 47 commits into from
Closed

New Exchange: Coinzip #4797

wants to merge 47 commits into from

Conversation

iammac360
Copy link

Hi, we recently launch Coinzip(https://www.coinzip.co/) and we want to integrate with ccxt. Hope you can accept our PR. Thanks

@kroitor
Copy link
Member
kroitor commented Mar 7, 2019

Hi!

First of, thanks for the PR! Appreciate your involvement!

There's a few issues with it, however, namely, on the language portability... Have you read this:

... and, especially, this:

? )

We need to make sure that it passes the tests and syntactic checks. After that we will be able to verify that all methods are implemented properly, but tests first.

@kroitor kroitor self-assigned this Mar 7, 2019
@kroitor
Copy link
Member
kroitor commented Mar 7, 2019

You might also want to read this to run the same set of tests locally: https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-build--run-tests-on-your-local-machine

@iammac360
Copy link
Author

Hi!

First of, thanks for the PR! Appreciate your involvement!

There's a few issues with it, however, namely, on the language portability... Have you read this:

... and, especially, this:

? )

We need to make sure that it passes the tests and syntactic checks. After that we will be able to verify that all methods are implemented properly, but tests first.

Thanks for the feedback. I guess I have to refactor all the const declation to let. I mislook the coding standards stated here https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#derived-exchange-classes and coded on my own way which is derived from a functional, immutable style which is why I always use const.
I also forgot to run the linters and only run the tests.

Though I've run this script on my local machine:

node run-tests.js --js --php --python coinzip

Everythings green on my last run, but I guess I need to remove the --language option also or did I just missed something?? I'll just rerun this again once I'm home.

I'll update this PR once I've complied to all the standards and everythings green.

@kroitor
Copy link
Member
kroitor commented Mar 7, 2019

Thanks for the feedback. I guess I have to refactor all the const declation to let.

This isn't necessary, we actually do support const already ) So, yeah, we prefer const as well. I will edit that particular rule in the guidelines. But the rest of them still apply.

kroitor added a commit that referenced this pull request Mar 7, 2019
@kroitor
Copy link
Member
kroitor commented Mar 7, 2019

Ok, I've updated the guidelines – const and let are ok (if used properly), but not var ;)

@iammac360
Copy link
Author

Thanks for the feedback. I guess I have to refactor all the const declation to let.

This isn't necessary, we actually do support const already ) So, yeah, we prefer const as well. I will edit that particular rule in the guidelines. But the rest of them still apply.

Okay good to hear that. Thanks again. I'll review the CI errors also to see where that Issue is.

@iammac360
Copy link
Author

Hi @kroitor, I've updated my fork and fixed the failing test. Can you please verify it. Thank you.

@kroitor
Copy link
Member
kroitor commented Mar 11, 2019

Hi Mark! Thank you for the effort and for your time on this! I will review the work that you've done asap and will post my comments on it. In the meantime, if you can help clean up this PR a bit more – that would really speed up things, namely, we need to restore the generated files to their original versions – no need to commit those, as most of them will be overwritten upon building on travis anyway.

From this list:

.editorconfig   // ←-------- we'd take this file
README.md
ccxt.d.ts
ccxt.js
dist/ccxt.browser.js
js/coinzip.js  // ←------------- and we need this file
php/Exchange.php
php/coinzip.php
python/ccxt/__init__.py
python/ccxt/async_support/__init__.py
python/ccxt/async_support/coinzip.py
python/ccxt/coinzip.py
wiki/Exchange-Markets-By-Country.md
wiki/Exchange-Markets.md
wiki/Manual.md

All the other files are generated, so you can revert them to the master version with this command in your local repo:

git checkout master -- README.md ccxt.d.ts ccxt.js dist/ccxt.browser.js php/Exchange.php php/coinzip.php python/ccxt/__init__.py python/ccxt/async_support/__init__.py python/ccxt/async_support/coinzip.py python/ccxt/coinzip.py wiki/Exchange-Markets-By-Country.md wiki/Exchange-Markets.md wiki/Manual.md
git commit -am 'reverted generated files to master'
git push

Thx again! Will get back to you on this soon!

@iammac360
Copy link
Author

HI @kroitor, I've already updated my PR. Can you please check it again. Thanks!

@iammac360
Copy link
Author

Hi @kroitor any feedback?

@kroitor
Copy link
Member
kroitor commented Apr 13, 2019

@iammac360 pardon for the long wait, i'll do my best to get to it asap, didn't have the chance to do it yet, hope for your understanding.

@ttodua ttodua changed the title Add a new exchange: Coinzip New Exchange: Coinzip Jun 10, 2024
@ttodua
Copy link
Member
ttodua commented Jun 10, 2024

dead exchange

@ttodua ttodua closed this Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0