Howchoo / crypto-ticker

25 stars 15 forks source link

Change/replace asset name #19

Closed JayJayJohnson closed 3 years ago

JayJayJohnson commented 3 years ago

Hey,

is there a easy way to replace the displayed asset name? e.g. when displaying the asset "MIOTA", it overlaps with a negative 24h change value.

Thanks for this awesome project.

Greetings!

JayJayJohnson commented 3 years ago

Ok, it wan't that hard :D I just solved it with my very, very basic coding skills. For sure there is a better solution.

    # MIOTA to IOTA
    if asset['symbol'] == 'MIOTA':
        asset['symbol'] = 'IOTA'