-
Notifications
You must be signed in to change notification settings - Fork 340
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
Added c-cex exhange #12
base: master
Are you sure you want to change the base?
Conversation
Thanks for helping out! I haven't tested the code yet but there seems to be a bug with the btc- pairs, we don't need those pairs and it's just going to overwrite the original coins. For example LTC-BTC has the correct price for LTC in BTC. But BTC-LTC will overwrite that with another number which we don't need. |
Can you remove the BTC- block so I can squash and merge? |
Get on the slack for this project, Join my Slack team! https://join.slack.com/t/cc-a/shared_invite/MjE2NTQyNzM0NjYwLTE1MDA4MjA5MzEtMjhlNjZmYzJkYg |
…iew for single highes spread
What's the best way to go through all the changes? I'll take at code look from your last commit and see if everything is fine |
link: 'https://c-cex.com/', | ||
pairURL : '', | ||
last: function (data, coin_prices) { | ||
return new Promise(function (res, rej) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why we need Promise
in this function?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's in the boilerplate
Added c-cex exchange. There's no test to test if it work, but it lists on localhost:3000, but I think there could be some errors in price calculation