bitfinex symbol mapping bug?
See original GitHub issueLooks like the fetchMyTrades
method for bitfinex (v1) is reverse mapping the symbol using values in commonCurrencies, so the symbol BCH/USD
gets mapped to BABUSD
. However, it looks like the underlying API call is expecting BCHUSD
to be used (otherwise I get zero results).
I don’t know if this is caused by a symbol change maybe?
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
تويتر \ Bitfinex على تويتر: "The Bitfinex Change Log provides ...
The Bitfinex Change Log provides insights into the most recent ... Add symbol mapping for the second currency of the pair - wrote...
Read more >Exchanges — ccxt 2.4.71 documentation
markets mapping, indexed by symbol. This would cause a naming conflict for futures and other derivatives that have the same symbol as their...
Read more >cryptofeed - PyPI
Bugfix: Fix test data generation, fix Binance test cases, ... Bugfix: correct USDT symbol mappings for Bitfinex ... Bugfix: fix symbol in Bitfinex...
Read more >What's New in the Versions - MultiCharts
Fixed the bug in which the open position marker disappeared from the chart when an unrelated Symbol Mapping entry was removed.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@kroitor i think i’m done with this https://github.com/ccxt/ccxt/pull/4712 for now. It doesn’t quite solve the problem because it still can’t map delisted symbols to their new names (like tBCHUSD). However, you can get these trades back now by omitting the symbol parameter.
I’ve not yet figured out how their own reporting system does the mapping (and it’s using the same api). Will have another look soon.
I suggest that we start with verifying the following:
and this:
↑ This shows that we are taking those symbols from bitfinex itself, and we’re not inventing them. So, in case of bitfinex, BAB = BCH ABC = BCH. That is effective since the most recent ABC/SV fork. However, previously, they had a BCH market, that is delisted and is not returned from the fetchMarkets endpoint now, and your trades seem to be dated long before the most recent fork. So it was BCH in April 2018, but then it became BAB.
Proof: https://api.bitfinex.com/v1/symbols_details ← you won’t find any mention of
BCH
orbch
here, but you will findbab
.Let’s think on how we should handle this and where the CCXT could guess that delisted market from…