WhaleCoreSDK is a UI-free securities data SDK. Broker App implements its own interface, uses WhaleCore for client sessions, real-time data, and business services, and combines it with TradingAPI for additional Client-scoped HTTP capabilities.
Note
This documentation is derived from public interfaces in the WhaleCore iOS and Android source. Artifact locations, version compatibility, project credentials, and environments are supplied by the Whale project team.
| Module | iOS | Android | Capability |
|---|---|---|---|
| Quotes | quotesService |
getQuoteService() |
Real-time quotes, K-lines, snapshots, and option chains |
| Orders | orderService |
getOrderService() |
Submit, replace, cancel, query, estimate, and events |
| Validation | orderService |
getOrderValidationService() |
Tradability, constraints, qualifications, and pre-submit validation |
| Portfolio | portfolioService |
getPortfoliosService() |
Assets, positions, cash details, and updates |
| Watchlist | watchlistService |
getWatchlistService() |
Groups, stocks, ordering, pinning, and events |
| Requests | requestService |
getRequestService() |
Authenticated pass-through HTTP requests |
| Trade auth | Config delegate | getTradeAuthService() |
Trade-token acquisition, renewal, and state |
SDK instrument identifiers use the CounterId form, such as ST/US/AAPL or ST/HK/00700.
flowchart LR
A[Broker App UI] --> B[WhaleCoreSDK]
B --> C[Quotes and WebSockets]
B --> D[Orders / portfolio / watchlists]
B --> E[Automatic token renewal]
A --> F[TradingAPI]
F --> G[Client-scoped HTTP capabilities]