
Security News
Potemkin Understanding in LLMs: New Study Reveals Flaws in AI Benchmarks
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
crypto-aggregator
Advanced tools
Aggregates cryptocurrency prices from various exchanges. Prices from different exchanges are weighted by their market cap.
Continuously scans various exchanges and calculates the average price of each cryptocurrency.
#Installation
npm install crypto-aggregator --save
let options = {
// Forex conversions
getForexData_oxr: true, // Mocked values will be uses if set to false
osx_app_id: "YOUR_OSX_APP_ID", // openexchangerates.org app id
};
var ca = require("../index.js")(options);
ca.start(options);
options: {
loopForEver: true,
maxNumberOfIterations: 10, // ignored if loopForEver == true
printBanner: true,
getCoinGeckoPrices: true, // Get CoinGecko prices as a reference to compare our prices (optional)
// Forex conversions
getForexData_oxr: false, // Mocked values will be uses if set to false
osx_app_id: "YOUR_OSX_APP_ID", // openexchangerates.org app id
// control
enable: true, // Used for start/stop
// Outlier detection
bypassOutliers: true, // Ignores outliers
outlierStandardDeviationDistanceFromMean: 3, // distance from mean for an outlier in sigma
aggregatePriceInterval_ms: 5000, // Aggregate price rate
coingGeckoUpdateInterval_ms: 100 * 1000, // CoinGecko Refresh rate
statusBarTextInterval_ms: 1000, // Status bar update refersh rate
aggregatePricesCallBack: null, // Called whenever the partial WVAP is calculated
iterationCallBack: null, // Calculated whenever all exchanges and pairs were queired at the end of one iteration
discoveredOneTickerCallBack:null, // Called whenever found a new pair on an exchange
bPrintStatus: true, //Print the status bar
printAllPrices: true, // Print a summary table in the log file
coinsInStatusBar: ["BTC", "ETH"], // Coins to be shown in the summary status bar
ccxtExchangeRateLimitDivider:1, // Divides CCXT's recommended rateLimit time if filling adventerous!
// Exchanges to query from
trustedExchanges: [
"huobipro",
"kraken",
"binance",
"bittrex",
"bitmex",
"bitstamp",
"coinbasepro",
"gemini",
"itbit",
"bitflyer",
"poloniex",
"independentreserve",
"liquid",
"upbit"
],
// Exchanges to exclude even if they are in trustedExchanges
excludeExchanges: [
"_1btcxe",
"allcoin",
"theocean",
"xbtce",
"cointiger",
"bibox",
"coolcoin",
"uex",
"dsx",
"flowbtc",
"bcex"
]
}
The logger used in this package is available separately in log-with-statusbar npm package
Issues and pull requests are welcome.
FAQs
Aggregates cryptocurrency prices from various exchanges. Prices from different exchanges are weighted by their volume. The result is the Volume-Weighted-Average-Market-Pair-Price (VWAMPP) for each cryptocurrency.
The npm package crypto-aggregator receives a total of 24 weekly downloads. As such, crypto-aggregator popularity was classified as not popular.
We found that crypto-aggregator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.