bmoscon / cryptofeed

Cryptocurrency Exchange Websocket Data Feed Handler
Other
2.14k stars 668 forks source link

Fix Kraken futures symbols of alternative lengths #952

Closed roelvv closed 1 year ago

roelvv commented 1 year ago

Description of code - what bug does this fix / what feature does this add?

Kraken Futures does not handle the parsing of symbols correctly for base currencies that are not of a length of 3 chars. This causes incorrect symbols, for example:

Testing

I did a diff on the symbols before and after the change and verified they are correct.