Skip to content

Commit

Permalink
Update prices.js
Browse files Browse the repository at this point in the history
  • Loading branch information
javeoff authored Dec 23, 2024
1 parent 1969d2d commit b5f5c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prices.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,5 @@ export default function (data) {
const changes = parsePriceChanges(data)
const emoji = changes[0].startsWith('-') ? '📉' : '📈';
const type = changes[0].startsWith('-') ? 'падает' : 'растет';
return `⚡️${emoji} #${data?.symbol} ${type} ${changes[0]} на [${data?.exchange}](${getExchangeUrl(data?.exchange, data.symbol.toLowerCase().replace('usdt', ''), 'usdt')})\nP: ${data?.price} 24h: ${getBigNumber(data.volume)} USDT (${getAgo(new Date(data.createdAt))})\n${changes.slice(1).join(', ')}\n`
return `${emoji} #${data?.symbol} ${type} ${changes[0]} на [${data?.exchange}](${getExchangeUrl(data?.exchange, data.symbol.toLowerCase().replace('usdt', ''), 'usdt')})\nP: ${data?.price} 24h: ${getBigNumber(data.volume)} USDT (${getAgo(new Date(data.createdAt))})\n${changes.slice(1).join(', ')}\n`
}

0 comments on commit b5f5c48

Please sign in to comment.