Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MaticConradi committed Jun 3, 2022
1 parent 00b5c28 commit 0467408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/ccxt.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def request_lld(cls, request):
"quotePrice": "Funding Rate: {:+.4f} %".format(fundingRate),
"quoteConvertedPrice": "Predicted Rate: {:+.4f} %".format(predictedFundingRate),
"title": ticker.get("name"),
"change": f"<t:{datetime.timestamp(fundingDate)}:R>",
"change": f"<t:{int(datetime.timestamp(fundingDate))}:R>",
"thumbnailUrl": coinThumbnail,
"messageColor": "yellow" if averageFundingRate == 0.01 else ("light green" if averageFundingRate < 0.01 else "deep orange"),
"sourceText": f"Funding on {exchange.name}",
Expand Down

0 comments on commit 0467408

Please sign in to comment.