Comprehensive guides and API reference for developers
# Install the BullishAI SDK
npm install @bullishai/sdk
# Initialize the client
import { BullishAI } from '@bullishai/sdk';
const client = new BullishAI({
apiKey: 'your-api-key'
});
# Fetch portfolio data
const portfolio = await client.portfolio.get();
console.log(portfolio.totals.tpv);Learn how to authenticate API requests and manage API keys securely.
Access portfolio data, holdings, and performance metrics programmatically.
Retrieve real-time and historical stock quotes, prices, and market information.
Create, manage, and monitor price alerts and notifications via API.
Set up webhooks to receive real-time notifications for portfolio events.
Understand API rate limits, throttling, and best practices for optimal performance.
const holdings = await client.portfolio.holdings();
holdings.items.forEach(holding => {
console.log(`${holding.symbol}: ${holding.totalShares} shares`);
});const alert = await client.alerts.create({
symbol: 'AAPL',
type: 'price_above',
value: 200
});
console.log(`Alert created: ${alert.id}`);Can't find what you're looking for? Our support team is here to help.
Contact Support