Skip to content

Conversation

@tuturis
Copy link

@tuturis tuturis commented Jul 23, 2017

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

@manu354
Copy link
Owner

manu354 commented Jul 23, 2017

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.

@manu354
Copy link
Owner

manu354 commented Jul 23, 2017

Can you remove the BTC- block so I can squash and merge?

@manu354
Copy link
Owner

manu354 commented Jul 23, 2017

Get on the slack for this project,

Join my Slack team! https://join.slack.com/t/cc-a/shared_invite/MjE2NTQyNzM0NjYwLTE1MDA4MjA5MzEtMjhlNjZmYzJkYg

@manu354
Copy link
Owner

manu354 commented Jul 24, 2017

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) {

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?

Copy link
Author

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

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

Successfully merging this pull request may close these issues.

3 participants