rssnyder / discord-stock-ticker

Add live stock & crypto prices to your discord sidebar.
https://rssnyder.github.io/discord-stock-ticker/
MIT License
291 stars 113 forks source link

[BUG] Price displayed in USD instead of EUR #194

Closed MButcho closed 1 year ago

MButcho commented 1 year ago

Describe the bug Although the configuration is set up for EUR, price of bot is shown in USD: image

To Reproduce Steps to reproduce the behavior:

  1. Config: curl -X POST -H "Content-Type: application/json" --data '{ "name": "usd-coin", "ticker": "USDC", "currency": "eur", "crypto": true, "decimals": 3, "nickname": true, "frequency": 60, "discord_bot_token": "MTA..." }' localhost:8080/ticker
  2. Log: Jan 13 12:27:28 fun-vm discord-stock-ticker[19389]: time="2023-01-13T12:27:28Z" level=info msg="Using eur" Jan 13 12:27:28 fun-vm discord-stock-ticker[19389]: time="2023-01-13T12:27:28Z" level=info msg="Watching crypto price for usd-coin"
  3. Same behaviour: image

Expected behaviour Price in EUR

Python (please complete the following information):

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.