Closed matheusturmina closed 3 years ago
The math is a little off based on duckduckgo's conversion rate compared to yahoo finance, but everything seems to add up to me.
USD:
BRL:
As the conversion rate is the same for the current price and the price difference, the percent change across currencies is the same, it shouldn't be different for non-USD currencies.
My test case: USD:
{
"name": "cardano",
"crypto": true,
"set_color": true,
"decorator": " ",
"set_nickname": true,
"frequency": 3,
"discord_bot_token": "xxxxxxxxxxxxxxxxxx"
}
BRL:
{
"name": "cardano",
"crypto": true,
"set_color": true,
"decorator": " ",
"currency": "BRL",
"set_nickname": true,
"frequency": 3,
"discord_bot_token": "xxxxxxxxxxxxxxxxxx"
}
stale
Describe the bug When i change the "currency" of an cryptobot, the bot dont get the variation of an crypto on the same currency. It keeps getting the usd variation.
To Reproduce Steps to reproduce the behavior:
Expected behaviour The bot should get the brl variation