Real-Time Push
PushClient uses TCP+TLS, varint32 frames, and Protobuf. A Tiger ID can maintain only one active persistent connection; a new connection can kick out the previous one.
import { createClientConfig, PushClient } from '@tigeropenapi/tigeropen';
const client = new PushClient(createClientConfig());
client.setCallbacks({ onError: console.error });
await client.connect();
client.subscribeQuote(['AAPL']);Updated about 12 hours ago
Did this page help you?
