Skip to content
Longport Whale
Overview

Whale SDK

Whale client SDK products, including graphical WhaleApp SDK and data-only WhaleCore SDK

Whale SDK is the umbrella name for Whale client SDK products. Broker selects a specific product based on whether a ready-made UI is required and which platform it targets.

Product UI Platforms Best fit
WhaleApp SDK Complete securities UI iOS, Android, WebTrade Integrate a graphical experience in Broker App, website, or web container
WhaleCore SDK No UI iOS and Android available; WebAssembly in development Implement the complete securities UI in Broker App

Choose a product

The graphical SDK with iOS, Android, and WebTrade form factors.

The UI-free data SDK used with Trading API to implement the securities UI from scratch.

WhaleApp SDK

WhaleApp SDK supplies the implemented securities UI and business functionality in three form factors:

Broker App must also integrate system notifications and pass the standard message body to WhaleApp SDK. See Message-push integration for server channels, cloud credentials, and client responsibilities.

WebTrade

WebTrade is the Web form factor of WhaleApp SDK. Broker can integrate it through a new tab, iframe, or WebView and use cookies and postMessage for SSO and page communication.

WhaleCore SDK

WhaleCore SDK is the UI-free data SDK in Whale SDK. It provides market-data subscriptions, WebSocket connectivity, request signing, and automatic token renewal. A Broker App combines WhaleCore SDK with Trading API to implement its complete securities UI and business flow.

Whale Docs