8000 Cryptopia.php load_markets not returning right symbol sometimes · Issue #1359 · ccxt/ccxt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cryptopia.php load_markets not returning right symbol sometimes #1359

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
vitoo opened this issue Jan 18, 2018 · 4 comments
Closed

Cryptopia.php load_markets not returning right symbol sometimes #1359

vitoo opened this issue Jan 18, 2018 · 4 comments
Assignees

Comments

@vitoo
Copy link
vitoo commented Jan 18, 2018

Hi,

I'm using the PHP lib

Cryptopia load_markets() is not returning the right symbol sometimes

Example :

NetCoin/BTC instead of NET/BTC
WarCoin/BTC instead of WRC/TC

Don't know why yet, the code looks correct https://github.com/ccxt/ccxt/blob/master/php/cryptopia.php#L115

@vitoo vitoo changed the title Cryptopia load_markets not returning right symbol sometimes Cryptopia.php load_markets not returning right symbol sometimes Jan 18, 2018
@kroitor kroitor self-assigned this Jan 19, 2018
@kroitor
Copy link
Member
kroitor commented Jan 19, 2018

Hi!

This question is answered here (some symbols are substituted to resolve for conflicts):

Let me know if this does not help.

@vitoo
Copy link
Author
vitoo commented Jan 19, 2018

Hi @kroitor

I dont think it's a synonym issue like BCC > BCH or BTC > XBT

Its more instrument shortname and longname are reversed here, but only for some coin, so i dont get it 😢

@kroitor
Copy link
Member
kroitor commented Jan 19, 2018

@vitoo

I dont think it's a synonym issue like BCC > BCH or BTC > XBT

Yet still, it is, namely it's the NET → NetCoin. Why? Because which other substitution would it be? Why substitute? Because NET stands for Nimiq, which has higher market cap and it's a different coin.

@vitoo
Copy link
Author
vitoo commented Jan 19, 2018

ah okay

So when the long name is chosen, it's because shortname is already used

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

2 participants
0