
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
SandEx allow you to backtest your trading strategies and order execution in a simple way, or replay your trades based on OHLCV input.
import SandExchange from 'sand-ex';
const exchangeOptions = {
balanceAsset: 1.0,
balanceQuote: 20000.0,
fee: 0.00075,
// feeMaker: 0.00075, // Optional
// feeTaker: 0.00075, // Optional
// candleData: OHLCV[]; // Optional
// candlePrice?: CandlePrice; // Optional , Default: Close
};
const Exchange = new SandExchange(exchangeOptions);
Update Exchange with OHLCV candleStick
Exchange.update([1569160500000, 9977.09, 9992.3, 9972.63, 9986.24, 56.127912]);
If you have CandleData[] as input you can replay tick to tick
Exchange.nextTick();
Exchange.getBalance();
Exchange.createNewOrder({
side: 'BUY',
type: 'LIMIT,
price: 10000,
quantity: 0.8,
});
Exchange.cancelOrder(1);
Get All Orders (New,Filled,Canceled)
Exchange.getOrders();
FAQs
Cryptocurrency Exchange sandbox for backtesting
The npm package sand-ex receives a total of 5 weekly downloads. As such, sand-ex popularity was classified as not popular.
We found that sand-ex 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.