vortex-stream-sdk
v1.0.10
Published
Realtime multi-exchange crypto market data SDK for Node.js and Rust.
Readme
Vortex Stream
Realtime multi-exchange crypto market data SDK for Node.js and Rust.
Vortex Stream provides unified realtime market data streams across multiple crypto exchanges through a single API.
Features
- Unified exchange abstraction
- Realtime trade streaming
- Multi-exchange support
- Native Rust performance
- Node.js bindings via napi-rs
- Async websocket infrastructure
- Dynamic subscriptions
- Lightweight API
Installation
npm install vortex-stream-sdk
bun add vortex-stream-sdkQuick Start
const { VortexStream } = require("vortex-stream-sdk");
const stream = new VortexStream();
stream.trades(
"binance",
"BTCUSDT",
(trade) => {
console.log(trade);
}
);
setInterval(() => {}, 1000);Trade Structure
{
exchange: string;
symbol: string;
event_type: string;
event_time: string;
trade_id: string;
last_price: string;
quantity: string;
is_buyer_maker?: boolean;
timestamp: number;
}Supported Exchanges
- Binance
- Coinbase
- Bitfinex
- Bitget
- Bitstamp
- Bybit
- Crypto.com
- HTX
- Kraken
- Okx
Examples
Inside:
examples/Available examples:
- single_exchange.rs
- multi_exchange.rs
- dynamic_subscriptions.rs
- unsubscribe.rs
Roadmap
- Orderbook streams
- Candlestick streams
- Funding rates
- Liquidation streams
- Exchange reconnect resilience
- More exchange integrations
- Electron support examples
- Full TypeScript SDK
License
MIT
