@stockalert/sdk
v2.1.1
Published
Official JavaScript/TypeScript SDK for StockAlert.pro API
Readme
StockAlert.pro JavaScript/TypeScript SDK
Official SDK for the StockAlert.pro API.
Installation
npm install @stockalert/sdkQuick Start
import { StockAlert } from '@stockalert/sdk';
const client = new StockAlert({
apiKey: 'sk_your_api_key'
});
// Create alert
const alert = await client.alerts.create({
symbol: 'AAPL',
condition: 'price_above',
threshold: 200
});Documentation
Full documentation: https://stockalert.pro/api/docs
License
MIT
