Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
sushiswapcandles
Advanced tools
Readme
With this module, you can retrieve JSON data regarding the trading pairs created on SushiSwap. It allows you to obtain OHLC (Open, High, Low, Close) candlestick data for intervals of 12 hours and any other timeframes you desire. This data will prove invaluable for creating charts and visualizations using libraries like TradingView and other similar resources.
Install using npm:
npm install sushiswapcandles --save
Require library
import { getSushiCandles } from 'sushiswapcandles'
/**
* Parameters
* A => token_main example ( mytoken address) or ( 0x6B3595068778DD592e39A122f4f5a5cF09C90fE2 )
* B => token_pair example (WETH) or (ETH) or (USDT) ( 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 )
* C => time => default 720
*/
/**
* 1440 => 24 hours => recommended
* 720 => 12 hours => recommended
* 120 => 2 hour => recommended
* 60 => 1 hour => recommended
* 15 => 15 minute
* 5 => 5 minute
* 1 => 1 minute
*/
(async () => {
const result = await getSushiCandles('0x6B3595068778DD592e39A122f4f5a5cF09C90fE2',
'0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2', '720');
console.log(result);
})();
FAQs
![Dexi](https://i.ibb.co/ZBk2v0b/dexi.png)
The npm package sushiswapcandles receives a total of 0 weekly downloads. As such, sushiswapcandles popularity was classified as not popular.
We found that sushiswapcandles demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.