Closed MButcho closed 1 year ago
Describe the bug Although the configuration is set up for EUR, price of bot is shown in USD:
To Reproduce Steps to reproduce the behavior:
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
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"
Expected behaviour Price in EUR
Python (please complete the following information):
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.
Describe the bug Although the configuration is set up for EUR, price of bot is shown in USD:
To Reproduce Steps to reproduce the behavior:
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
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"
Expected behaviour Price in EUR
Python (please complete the following information):