Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
MButcho opened this issue Jan 13, 2023 · 1 comment
Closed

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

MButcho opened this issue Jan 13, 2023 · 1 comment
Assignees
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@MButcho
Copy link

MButcho commented Jan 13, 2023

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):

  • Version: 3.10.2
  • Ubuntu 22.04
@MButcho MButcho added the bug Something isn't working label Jan 13, 2023
@stale
Copy link

stale bot commented Feb 12, 2023

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.

@stale stale bot added the wontfix This will not be worked on label Feb 12, 2023
@stale stale bot closed this as completed Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants