margin rate as %
All checks were successful
Build Docker Image / build (amd64) (push) Successful in 1m13s

This commit is contained in:
thuanle
2024-10-24 11:08:17 +07:00
parent 94a11e8d68
commit 14b3604362

View File

@@ -44,7 +44,7 @@ func RenderOnPriceMessage(symbol string, spotPrice float64, futurePrice float64,
RenderSymbolInfo(symbol), RenderPrice(futurePrice), RenderSymbolInfo(symbol), RenderPrice(futurePrice),
fundrate*100, IconOfFundingFeeDirection(fundrate), timex.CdMinuteStringTime(time.UnixMilli(fundtime)), fundrate*100, IconOfFundingFeeDirection(fundrate), timex.CdMinuteStringTime(time.UnixMilli(fundtime)),
RenderPrice(spotPrice), RenderPrice(spotPrice),
marginRate*365, marginRate*365*100,
) )
} }